diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..bd6e15db --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +docs_api +docs_api/*.* +./docs_api/*.* +.git.7z diff --git a/config.js b/config.js index de0232e1..b681bd41 100644 --- a/config.js +++ b/config.js @@ -18,10 +18,12 @@ requirejs.config( { , 'JChart.CurveGram': 'modules/JChart.CurveGram/0.1/CurveGram' , 'JChart.Histogram': 'modules/JChart.Histogram/0.1/Histogram' + , 'JChart.HistogramLateral': 'modules/JChart.HistogramLateral/0.1/HistogramLateral' , 'JChart.PieGraph': 'modules/JChart.PieGraph/0.1/PieGraph' + , 'JChart.TubularFigure': 'modules/JChart.TubularFigure/0.1/TubularFigure' , 'JChart.DefaultOptions': 'modules/JChart.DefaultOptions/0.1/DefaultOptions' - , 'JChart.Event': 'modules/JChart.Event/0.1/Event' + , 'JChart.Extend': 'modules/JChart.Extend/0.1/Extend' , 'JChart.Geometry': 'modules/JChart.Geometry/0.1/Geometry' , 'JChart.Group': 'modules/JChart.Group/0.1/Group' @@ -29,13 +31,23 @@ requirejs.config( { , 'JChart.GraphicPoint': 'modules/JChart.GraphicPoint/0.1/GraphicPoint' , 'JChart.GraphicRect': 'modules/JChart.GraphicRect/0.1/GraphicRect' , 'JChart.GraphicPiePart': 'modules/JChart.GraphicPiePart/0.1/GraphicPiePart' + , 'JChart.GraphicSector': 'modules/JChart.GraphicSector/0.1/GraphicSector' , 'JChart.IconVLine': 'modules/JChart.IconVLine/0.1/IconVLine' , 'JChart.IconLine': 'modules/JChart.IconLine/0.1/IconLine' , 'JChart.IconRect': 'modules/JChart.IconRect/0.1/IconRect' + , 'JChart.IconCircle': 'modules/JChart.IconCircle/0.1/IconCircle' + + , 'JChart.Legend': 'modules/JChart.Legend/0.1/Legend' + , 'JChart.PieLabel': 'modules/JChart.PieLabel/0.1/PieLabel' + , 'JChart.Test': 'modules/JChart.Test/0.1/Test' + , 'JChart.Tips': 'modules/JChart.Tips/0.1/Tips' , 'Raphael': 'modules/Raphael/latest/raphael' , 'json2': 'modules/JSON/2/JSON' + , 'swfobject': 'modules/swfobject/2.3/swfobject' + , 'SWFObject': 'modules/swfobject/2.3/swfobject' + , 'browser': 'modules/browser/0.7.1/bowser' } }); /** diff --git a/docs_api/api.js b/docs_api/api.js deleted file mode 100644 index 1c838246..00000000 --- a/docs_api/api.js +++ /dev/null @@ -1,28 +0,0 @@ -YUI.add("yuidoc-meta", function(Y) { - Y.YUIDoc = { meta: { - "classes": [ - "JC.BaseMVC", - "JC.BaseMVC.Model", - "JC.PureMVC", - "JC.common", - "JC.f", - "JChart.Base", - "JChart.CurveGram", - "JChart.GraphicBase", - "JChart.GraphicPiePart", - "JChart.GraphicPoint", - "JChart.GraphicRect", - "JChart.Histogram", - "JChart.IconLine", - "JChart.IconRect", - "JChart.IconVLine", - "JChart.PieGraph", - "JChart.common", - "JChart.f", - "window.jQuery", - "window.requirejs" - ], - "modules": [], - "allModules": [] -} }; -}); \ No newline at end of file diff --git a/docs_api/assets/css/cssgrids-min.css b/docs_api/assets/css/cssgrids-min.css deleted file mode 100644 index 346a4c25..00000000 --- a/docs_api/assets/css/cssgrids-min.css +++ /dev/null @@ -1,2 +0,0 @@ -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -.yui3-g{letter-spacing:-0.31em;*letter-spacing:normal;*word-spacing:-0.43em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.yui3-g{word-spacing:-0.43em}.yui3-u{display:inline-block;zoom:1;*display:inline;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.yui3-u-1,.yui3-u-1-2,.yui3-u-1-3,.yui3-u-2-3,.yui3-u-1-4,.yui3-u-3-4,.yui3-u-1-5,.yui3-u-2-5,.yui3-u-3-5,.yui3-u-4-5,.yui3-u-1-6,.yui3-u-5-6,.yui3-u-1-8,.yui3-u-3-8,.yui3-u-5-8,.yui3-u-7-8,.yui3-u-1-12,.yui3-u-5-12,.yui3-u-7-12,.yui3-u-11-12,.yui3-u-1-24,.yui3-u-5-24,.yui3-u-7-24,.yui3-u-11-24,.yui3-u-13-24,.yui3-u-17-24,.yui3-u-19-24,.yui3-u-23-24{display:inline-block;zoom:1;*display:inline;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.yui3-u-1{display:block}.yui3-u-1-2{width:50%}.yui3-u-1-3{width:33.33333%}.yui3-u-2-3{width:66.66666%}.yui3-u-1-4{width:25%}.yui3-u-3-4{width:75%}.yui3-u-1-5{width:20%}.yui3-u-2-5{width:40%}.yui3-u-3-5{width:60%}.yui3-u-4-5{width:80%}.yui3-u-1-6{width:16.656%}.yui3-u-5-6{width:83.33%}.yui3-u-1-8{width:12.5%}.yui3-u-3-8{width:37.5%}.yui3-u-5-8{width:62.5%}.yui3-u-7-8{width:87.5%}.yui3-u-1-12{width:8.3333%}.yui3-u-5-12{width:41.6666%}.yui3-u-7-12{width:58.3333%}.yui3-u-11-12{width:91.6666%}.yui3-u-1-24{width:4.1666%}.yui3-u-5-24{width:20.8333%}.yui3-u-7-24{width:29.1666%}.yui3-u-11-24{width:45.8333%}.yui3-u-13-24{width:54.1666%}.yui3-u-17-24{width:70.8333%}.yui3-u-19-24{width:79.1666%}.yui3-u-23-24{width:95.8333%}#yui3-css-stamp.cssgrids{display:none} diff --git a/docs_api/assets/css/external-small.png b/docs_api/assets/css/external-small.png deleted file mode 100644 index 759a1cdc..00000000 Binary files a/docs_api/assets/css/external-small.png and /dev/null differ diff --git a/docs_api/assets/css/images/sprite.png b/docs_api/assets/css/images/sprite.png deleted file mode 100644 index 321bc3f2..00000000 Binary files a/docs_api/assets/css/images/sprite.png and /dev/null differ diff --git a/docs_api/assets/css/logo.png b/docs_api/assets/css/logo.png deleted file mode 100644 index 609b336c..00000000 Binary files a/docs_api/assets/css/logo.png and /dev/null differ diff --git a/docs_api/assets/css/main.css b/docs_api/assets/css/main.css deleted file mode 100644 index d745d443..00000000 --- a/docs_api/assets/css/main.css +++ /dev/null @@ -1,783 +0,0 @@ -/* -Font sizes for all selectors other than the body are given in percentages, -with 100% equal to 13px. To calculate a font size percentage, multiply the -desired size in pixels by 7.6923076923. - -Here's a quick lookup table: - -10px - 76.923% -11px - 84.615% -12px - 92.308% -13px - 100% -14px - 107.692% -15px - 115.385% -16px - 123.077% -17px - 130.769% -18px - 138.462% -19px - 146.154% -20px - 153.846% -*/ - -html { - background: #fff; - color: #333; - overflow-y: scroll; -} - -body { - /*font: 13px/1.4 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Bitstream Vera Sans', 'Helvetica', 'Arial', sans-serif;*/ - font: 13px/1.4 'Helvetica', 'Arial', sans-serif; - margin: 0; - padding: 0; -} - -/* -- Links ----------------------------------------------------------------- */ -a { - color: #356de4; - text-decoration: none; -} - -.hidden { - display: none; -} - -a:hover { text-decoration: underline; } - -/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from - sight until it's focused. */ -.jump { - position: absolute; - padding: 3px 6px; - left: -99999px; - top: 0; -} - -.jump:focus { left: 40%; } - -/* -- Paragraphs ------------------------------------------------------------ */ -p { margin: 1.3em 0; } -dd p, td p { margin-bottom: 0; } -dd p:first-child, td p:first-child { margin-top: 0; } - -/* -- Headings -------------------------------------------------------------- */ -h1, h2, h3, h4, h5, h6 { - color: #D98527;/*was #f80*/ - font-family: 'Trebuchet MS', sans-serif; - font-weight: bold; - line-height: 1.1; - margin: 1.1em 0 0.5em; -} - -h1 { - font-size: 184.6%; - color: #30418C; - margin: 0.75em 0 0.5em; -} - -h2 { - font-size: 153.846%; - color: #E48A2B; -} - -h3 { font-size: 138.462%; } - -h4 { - border-bottom: 1px solid #DBDFEA; - color: #E48A2B; - font-size: 115.385%; - font-weight: normal; - padding-bottom: 2px; -} - -h5, h6 { font-size: 107.692%; } - -/* -- Code and examples ----------------------------------------------------- */ -code, kbd, pre, samp { - font-family: Menlo, Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; - font-size: 92.308%; - line-height: 1.35; -} - -p code, p kbd, p samp { - background: #FCFBFA; - border: 1px solid #EFEEED; - padding: 0 3px; -} - -a code, a kbd, a samp, -pre code, pre kbd, pre samp, -table code, table kbd, table samp, -.intro code, .intro kbd, .intro samp, -.toc code, .toc kbd, .toc samp { - background: none; - border: none; - padding: 0; -} - -pre.code, pre.terminal, pre.cmd { - overflow-x: auto; - *overflow-x: scroll; - padding: 0.3em 0.6em; -} - -pre.code { - background: #FCFBFA; - border: 1px solid #EFEEED; - border-left-width: 5px; -} - -pre.terminal, pre.cmd { - background: #F0EFFC; - border: 1px solid #D0CBFB; - border-left: 5px solid #D0CBFB; -} - -/* Don't reduce the font size of // elements inside
-   blocks. */
-pre code, pre kbd, pre samp { font-size: 100%; }
-
-/* Used to denote text that shouldn't be selectable, such as line numbers or
-   shell prompts. Guess which browser this doesn't work in. */
-.noselect {
-    -moz-user-select: -moz-none;
-    -khtml-user-select: none;
-    -webkit-user-select: none;
-    -o-user-select: none;
-    user-select: none;
-}
-
-/* -- Lists ----------------------------------------------------------------- */
-dd { margin: 0.2em 0 0.7em 1em; }
-dl { margin: 1em 0; }
-dt { font-weight: bold; }
-
-/* -- Tables ---------------------------------------------------------------- */
-caption, th { text-align: left; }
-
-table {
-    border-collapse: collapse;
-    width: 100%;
-}
-
-td, th {
-    border: 1px solid #fff;
-    padding: 5px 12px;
-    vertical-align: top;
-}
-
-td { background: #E6E9F5; }
-td dl { margin: 0; }
-td dl dl { margin: 1em 0; }
-td pre:first-child { margin-top: 0; }
-
-th {
-    background: #D2D7E6;/*#97A0BF*/
-    border-bottom: none;
-    border-top: none;
-    color: #000;/*#FFF1D5*/
-    font-family: 'Trebuchet MS', sans-serif;
-    font-weight: bold;
-    line-height: 1.3;
-    white-space: nowrap;
-}
-
-
-/* -- Layout and Content ---------------------------------------------------- */
-#doc {
-    margin: auto;
-    min-width: 1024px;
-}
-
-.content { padding: 0 20px 0 25px; }
-
-.sidebar {
-    padding: 0 15px 0 10px;
-}
-#bd {
-    padding: 7px 0 130px;
-    position: relative;
-    width: 99%;
-}
-
-/* -- Table of Contents ----------------------------------------------------- */
-
-/* The #toc id refers to the single global table of contents, while the .toc
-   class refers to generic TOC lists that could be used throughout the page. */
-
-.toc code, .toc kbd, .toc samp { font-size: 100%; }
-.toc li { font-weight: bold; }
-.toc li li { font-weight: normal; }
-
-/* -- Intro and Example Boxes ----------------------------------------------- */
-/*
-.intro, .example { margin-bottom: 2em; }
-.example {
-    -moz-border-radius: 4px;
-    -webkit-border-radius: 4px;
-    border-radius: 4px;
-    -moz-box-shadow: 0 0 5px #bfbfbf;
-    -webkit-box-shadow: 0 0 5px #bfbfbf;
-    box-shadow: 0 0 5px #bfbfbf;
-    padding: 1em;
-}
-.intro {
-    background: none repeat scroll 0 0 #F0F1F8; border: 1px solid #D4D8EB; padding: 0 1em;
-}
-*/
-
-/* -- Other Styles ---------------------------------------------------------- */
-
-/* These are probably YUI-specific, and should be moved out of Selleck's default
-   theme. */
-
-.button {
-    border: 1px solid #dadada;
-    -moz-border-radius: 3px;
-    -webkit-border-radius: 3px;
-    border-radius: 3px;
-    color: #444;
-    display: inline-block;
-    font-family: Helvetica, Arial, sans-serif;
-    font-size: 92.308%;
-    font-weight: bold;
-    padding: 4px 13px 3px;
-    -moz-text-shadow: 1px 1px 0 #fff;
-    -webkit-text-shadow: 1px 1px 0 #fff;
-    text-shadow: 1px 1px 0 #fff;
-    white-space: nowrap;
-
-    background: #EFEFEF; /* old browsers */
-    background: -moz-linear-gradient(top, #f5f5f5 0%, #efefef 50%, #e5e5e5 51%, #dfdfdf 100%); /* firefox */
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(51%,#e5e5e5), color-stop(100%,#dfdfdf)); /* webkit */
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dfdfdf',GradientType=0 ); /* ie */
-}
-
-.button:hover {
-    border-color: #466899;
-    color: #fff;
-    text-decoration: none;
-    -moz-text-shadow: 1px 1px 0 #222;
-    -webkit-text-shadow: 1px 1px 0 #222;
-    text-shadow: 1px 1px 0 #222;
-
-    background: #6396D8; /* old browsers */
-    background: -moz-linear-gradient(top, #6396D8 0%, #5A83BC 50%, #547AB7 51%, #466899 100%); /* firefox */
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6396D8), color-stop(50%,#5A83BC), color-stop(51%,#547AB7), color-stop(100%,#466899)); /* webkit */
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6396D8', endColorstr='#466899',GradientType=0 ); /* ie */
-}
-
-.newwindow { text-align: center; }
-
-.header .version em {
-    display: block;
-    text-align: right;
-}
-
-
-#classdocs .item {
-    border-bottom: 1px solid #466899;
-    margin: 1em 0;
-    padding: 1.5em;
-}
-
-#classdocs .item .params p,
-    #classdocs .item .returns p,{
-    display: inline;
-}
-
-#classdocs .item em code, #classdocs .item em.comment {
-    color: green;
-}
-
-#classdocs .item em.comment a {
-    color: green;
-    text-decoration: underline;
-}
-
-#classdocs .foundat {
-    font-size: 11px;
-    font-style: normal;
-}
-
-.attrs .emits {
-    margin-left: 2em;
-    padding: .5em;
-    border-left: 1px dashed #ccc;
-}
-
-abbr {
-    border-bottom: 1px dashed #ccc;
-    font-size: 80%;
-    cursor: help;
-}
-
-.prettyprint li.L0, 
-.prettyprint li.L1, 
-.prettyprint li.L2, 
-.prettyprint li.L3, 
-.prettyprint li.L5, 
-.prettyprint li.L6, 
-.prettyprint li.L7, 
-.prettyprint li.L8 {
-    list-style: decimal;
-}
-
-ul li p {
-    margin-top: 0;
-}
-
-.method .name {
-    font-size: 110%;
-}
-
-.apidocs .methods .extends .method,
-.apidocs .properties .extends .property,
-.apidocs .attrs .extends .attr,
-.apidocs .events .extends .event {
-    font-weight: bold;
-}
-
-.apidocs .methods .extends .inherited,
-.apidocs .properties .extends .inherited,
-.apidocs .attrs .extends .inherited,
-.apidocs .events .extends .inherited {
-    font-weight: normal;
-}
-
-#hd {
-    background: whiteSmoke;
-    background: -moz-linear-gradient(top,#DCDBD9 0,#F6F5F3 100%);
-    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#DCDBD9),color-stop(100%,#F6F5F3));
-    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdbd9',endColorstr='#F6F5F3',GradientType=0);
-    border-bottom: 1px solid #DFDFDF;
-    padding: 0 15px 1px 20px;
-    margin-bottom: 15px;
-}
-
-#hd img {
-    margin-right: 10px;
-    vertical-align: middle;
-}
-
-
-/* -- API Docs CSS ---------------------------------------------------------- */
-
-/*
-This file is organized so that more generic styles are nearer the top, and more
-specific styles are nearer the bottom of the file. This allows us to take full
-advantage of the cascade to avoid redundant style rules. Please respect this
-convention when making changes.
-*/
-
-/* -- Generic TabView styles ------------------------------------------------ */
-
-/*
-These styles apply to all API doc tabviews. To change styles only for a
-specific tabview, see the other sections below.
-*/
-
-.yui3-js-enabled .apidocs .tabview {
-    visibility: hidden; /* Hide until the TabView finishes rendering. */
-    _visibility: visible;
-}
-
-.apidocs .tabview.yui3-tabview-content { visibility: visible; }
-.apidocs .tabview .yui3-tabview-panel { background: #fff; }
-
-/* -- Generic Content Styles ------------------------------------------------ */
-
-/* Headings */
-h2, h3, h4, h5, h6 {
-    border: none;
-    color: #30418C;
-    font-weight: bold;
-    text-decoration: none;
-}
-
-.link-docs {
-    float: right;
-    font-size: 15px;
-    margin: 4px 4px 6px;
-    padding: 6px 30px 5px;
-}
-
-.apidocs { zoom: 1; }
-
-/* Generic box styles. */
-.apidocs .box {
-    border: 1px solid;
-    border-radius: 3px;
-    margin: 1em 0;
-    padding: 0 1em;
-}
-
-/* A flag is a compact, capsule-like indicator of some kind. It's used to
-   indicate private and protected items, item return types, etc. in an
-   attractive and unobtrusive way. */
-.apidocs .flag {
-    background: #bababa;
-    border-radius: 3px;
-    color: #fff;
-    font-size: 11px;
-    margin: 0 0.5em;
-    padding: 2px 4px 1px;
-}
-
-/* Class/module metadata such as "Uses", "Extends", "Defined in", etc. */
-.apidocs .meta {
-    background: #f9f9f9;
-    border-color: #efefef;
-    color: #555;
-    font-size: 11px;
-    padding: 3px 6px;
-}
-
-.apidocs .meta p { margin: 0; }
-
-/* Deprecation warning. */
-.apidocs .box.deprecated,
-.apidocs .flag.deprecated {
-    background: #fdac9f;
-    border: 1px solid #fd7775;
-}
-
-.apidocs .box.deprecated p { margin: 0.5em 0; }
-.apidocs .flag.deprecated { color: #333; }
-
-/* Module/Class intro description. */
-.apidocs .intro {
-    background: #f0f1f8;
-    border-color: #d4d8eb;
-}
-
-/* Loading spinners. */
-#bd.loading .apidocs,
-#api-list.loading .yui3-tabview-panel {
-    background: #fff url(../img/spinner.gif) no-repeat center 70px;
-    min-height: 150px;
-}
-
-#bd.loading .apidocs .content,
-#api-list.loading .yui3-tabview-panel .apis {
-    display: none;
-}
-
-.apidocs .no-visible-items { color: #666; }
-
-/* Generic inline list. */
-.apidocs ul.inline {
-    display: inline;
-    list-style: none;
-    margin: 0;
-    padding: 0;
-}
-
-.apidocs ul.inline li { display: inline; }
-
-/* Comma-separated list. */
-.apidocs ul.commas li:after { content: ','; }
-.apidocs ul.commas li:last-child:after { content: ''; }
-
-/* Keyboard shortcuts. */
-kbd .cmd { font-family: Monaco, Helvetica; }
-
-/* -- Generic Access Level styles ------------------------------------------- */
-.apidocs .item.protected,
-.apidocs .item.private,
-.apidocs .index-item.protected,
-.apidocs .index-item.deprecated,
-.apidocs .index-item.private {
-    display: none;
-}
-
-.show-deprecated .item.deprecated,
-.show-deprecated .index-item.deprecated,
-.show-protected .item.protected,
-.show-protected .index-item.protected,
-.show-private .item.private,
-.show-private .index-item.private {
-    display: block;
-}
-
-.hide-inherited .item.inherited,
-.hide-inherited .index-item.inherited {
-    display: none;
-}
-
-/* -- Generic Item Index styles --------------------------------------------- */
-.apidocs .index { margin: 1.5em 0 3em; }
-
-.apidocs .index h3 {
-    border-bottom: 1px solid #efefef;
-    color: #333;
-    font-size: 13px;
-    margin: 2em 0 0.6em;
-    padding-bottom: 2px;
-}
-
-.apidocs .index .no-visible-items { margin-top: 2em; }
-
-.apidocs .index-list {
-    border-color: #efefef;
-    font-size: 12px;
-    list-style: none;
-    margin: 0;
-    padding: 0;
-    -moz-column-count: 4;
-    -moz-column-gap: 10px;
-    -moz-column-width: 170px;
-    -ms-column-count: 4;
-    -ms-column-gap: 10px;
-    -ms-column-width: 170px;
-    -o-column-count: 4;
-    -o-column-gap: 10px;
-    -o-column-width: 170px;
-    -webkit-column-count: 4;
-    -webkit-column-gap: 10px;
-    -webkit-column-width: 170px;
-    column-count: 4;
-    column-gap: 10px;
-    column-width: 170px;
-}
-
-.apidocs .no-columns .index-list {
-    -moz-column-count: 1;
-    -ms-column-count: 1;
-    -o-column-count: 1;
-    -webkit-column-count: 1;
-    column-count: 1;
-}
-
-.apidocs .index-item { white-space: nowrap; }
-
-.apidocs .index-item .flag {
-    background: none;
-    border: none;
-    color: #afafaf;
-    display: inline;
-    margin: 0 0 0 0.2em;
-    padding: 0;
-}
-
-/* -- Generic API item styles ----------------------------------------------- */
-.apidocs .args {
-    display: inline;
-    margin: 0 0.5em;
-}
-
-.apidocs .flag.chainable { background: #46ca3b; }
-.apidocs .flag.protected { background: #9b86fc; }
-.apidocs .flag.private { background: #fd6b1b; }
-.apidocs .flag.async { background: #356de4; }
-.apidocs .flag.required { background: #e60923; }
-
-.apidocs .item {
-    border-bottom: 1px solid #efefef;
-    margin: 1.5em 0 2em;
-    padding-bottom: 2em;
-}
-
-.apidocs .item h4,
-.apidocs .item h5,
-.apidocs .item h6 {
-    color: #333;
-    font-family: inherit;
-    font-size: 100%;
-}
-
-.apidocs .item .description p,
-.apidocs .item pre.code {
-    margin: 1em 0 0;
-}
-
-.apidocs .item .meta {
-    background: none;
-    border: none;
-    padding: 0;
-}
-
-.apidocs .item .name {
-    display: inline;
-    font-size: 14px;
-}
-
-.apidocs .item .type,
-.apidocs .item .type a,
-.apidocs .returns-inline {
-    color: #555;
-}
-
-.apidocs .item .type,
-.apidocs .returns-inline {
-    font-size: 11px;
-    margin: 0 0 0 0;
-}
-
-.apidocs .item .type a { border-bottom: 1px dotted #afafaf; }
-.apidocs .item .type a:hover { border: none; }
-
-/* -- Item Parameter List --------------------------------------------------- */
-.apidocs .params-list {
-    list-style: square;
-    margin: 1em 0 0 2em;
-    padding: 0;
-}
-
-.apidocs .param { margin-bottom: 1em; }
-
-.apidocs .param .type,
-.apidocs .param .type a {
-    color: #666;
-}
-
-.apidocs .param .type {
-    margin: 0 0 0 0.5em;
-    *margin-left: 0.5em;
-}
-
-.apidocs .param-name { font-weight: bold; }
-
-/* -- Item "Emits" block ---------------------------------------------------- */
-.apidocs .item .emits {
-    background: #f9f9f9;
-    border-color: #eaeaea;
-}
-
-/* -- Item "Returns" block -------------------------------------------------- */
-.apidocs .item .returns .type,
-.apidocs .item .returns .type a {
-    font-size: 100%;
-    margin: 0;
-}
-
-/* -- Class Constructor block ----------------------------------------------- */
-.apidocs .constructor .item {
-    border: none;
-    padding-bottom: 0;
-}
-
-/* -- File Source View ------------------------------------------------------ */
-.apidocs .file pre.code,
-#doc .apidocs .file pre.prettyprint {
-    background: inherit;
-    border: none;
-    overflow: visible;
-    padding: 0;
-}
-
-.apidocs .L0,
-.apidocs .L1,
-.apidocs .L2,
-.apidocs .L3,
-.apidocs .L4,
-.apidocs .L5,
-.apidocs .L6,
-.apidocs .L7,
-.apidocs .L8,
-.apidocs .L9 {
-    background: inherit;
-}
-
-/* -- Submodule List -------------------------------------------------------- */
-.apidocs .module-submodule-description {
-    font-size: 12px;
-    margin: 0.3em 0 1em;
-}
-
-.apidocs .module-submodule-description p:first-child { margin-top: 0; }
-
-/* -- Sidebar TabView ------------------------------------------------------- */
-#api-tabview { margin-top: 0.6em; }
-
-#api-tabview-filter,
-#api-tabview-panel {
-    border: 1px solid #dfdfdf;
-}
-
-#api-tabview-filter {
-    border-bottom: none;
-    border-top: none;
-    padding: 0.6em 10px 0 10px;
-}
-
-#api-tabview-panel { border-top: none; }
-#api-filter { width: 97%; }
-
-/* -- Content TabView ------------------------------------------------------- */
-#classdocs .yui3-tabview-panel { border: none; }
-
-/* -- Source File Contents -------------------------------------------------- */
-.prettyprint li.L0,
-.prettyprint li.L1,
-.prettyprint li.L2,
-.prettyprint li.L3,
-.prettyprint li.L5,
-.prettyprint li.L6,
-.prettyprint li.L7,
-.prettyprint li.L8 {
-    list-style: decimal;
-}
-
-/* -- API options ----------------------------------------------------------- */
-#api-options {
-    font-size: 11px;
-    margin-top: 2.2em;
-    position: absolute;
-    right: 1.5em;
-}
-
-/*#api-options label { margin-right: 0.6em; }*/
-
-/* -- API list -------------------------------------------------------------- */
-#api-list {
-    margin-top: 1.5em;
-    *zoom: 1;
-}
-
-.apis {
-    font-size: 12px;
-    line-height: 1.4;
-    list-style: none;
-    margin: 0;
-    padding: 0.5em 0 0.5em 0.4em;
-}
-
-.apis a {
-    border: 1px solid transparent;
-    display: block;
-    margin: 0 0 0 -4px;
-    padding: 1px 4px 0;
-    text-decoration: none;
-    _border: none;
-    _display: inline;
-}
-
-.apis a:hover,
-.apis a:focus {
-    background: #E8EDFC;
-    background: -moz-linear-gradient(top, #e8edfc 0%, #becef7 100%);
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E8EDFC), color-stop(100%,#BECEF7));
-    border-color: #AAC0FA;
-    border-radius: 3px;
-    color: #333;
-    outline: none;
-}
-
-.api-list-item a:hover,
-.api-list-item a:focus {
-    font-weight: bold;
-    text-shadow: 1px 1px 1px #fff;
-}
-
-.apis .message { color: #888; }
-.apis .result a { padding: 3px 5px 2px; }
-
-.apis .result .type {
-    right: 4px;
-    top: 7px;
-}
-
-.api-list-item .yui3-highlight {
-    font-weight: bold;
-}
-
diff --git a/docs_api/assets/css/prettify-min.css b/docs_api/assets/css/prettify-min.css
deleted file mode 100644
index d44b3a22..00000000
--- a/docs_api/assets/css/prettify-min.css
+++ /dev/null
@@ -1 +0,0 @@
-.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
\ No newline at end of file
diff --git a/docs_api/assets/css/tabview.css b/docs_api/assets/css/tabview.css
deleted file mode 100644
index 0daf3e8d..00000000
--- a/docs_api/assets/css/tabview.css
+++ /dev/null
@@ -1,2 +0,0 @@
-/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
-.yui3-tab-panel{display:none}.yui3-tab-panel-selected{display:block}.yui3-tabview-list,.yui3-tab{margin:0;padding:0;list-style:none}.yui3-tabview{position:relative}.yui3-tabview,.yui3-tabview-list,.yui3-tabview-panel,.yui3-tab,.yui3-tab-panel{zoom:1}.yui3-tab{display:inline-block;*display:inline;vertical-align:bottom;cursor:pointer}.yui3-tab-label{display:block;display:inline-block;padding:6px 10px;position:relative;text-decoration:none;vertical-align:bottom}.yui3-skin-sam .yui3-tabview-list{border:solid #2647a0;border-width:0 0 5px;zoom:1}.yui3-skin-sam .yui3-tab{margin:0 .2em 0 0;padding:1px 0 0;zoom:1}.yui3-skin-sam .yui3-tab-selected{margin-bottom:-1px}.yui3-skin-sam .yui3-tab-label{background:#d8d8d8 url(http://p4.qhimg.com/d/inn/5ee31427/sprite.png) repeat-x;border:solid #a3a3a3;border-width:1px 1px 0 1px;color:#000;cursor:pointer;font-size:85%;padding:.3em .75em;text-decoration:none}.yui3-skin-sam .yui3-tab-label:hover,.yui3-skin-sam .yui3-tab-label:focus{background:#bfdaff url(http://p4.qhimg.com/d/inn/5ee31427/sprite.png) repeat-x left -1300px;outline:0}.yui3-skin-sam .yui3-tab-selected .yui3-tab-label,.yui3-skin-sam .yui3-tab-selected .yui3-tab-label:focus,.yui3-skin-sam .yui3-tab-selected .yui3-tab-label:hover{background:#2647a0 url(http://p4.qhimg.com/d/inn/5ee31427/sprite.png) repeat-x left -1400px;color:#fff}.yui3-skin-sam .yui3-tab-selected .yui3-tab-label{padding:.4em .75em}.yui3-skin-sam .yui3-tab-selected .yui3-tab-label{border-color:#243356}.yui3-skin-sam .yui3-tabview-panel{background:#edf5ff}.yui3-skin-sam .yui3-tabview-panel{border:1px solid #808080;border-top-color:#243356;padding:.25em .5em}#yui3-css-stamp.skin-sam-tabview{display:none}
diff --git a/docs_api/assets/css/widget.css b/docs_api/assets/css/widget.css
deleted file mode 100644
index f19f60df..00000000
--- a/docs_api/assets/css/widget.css
+++ /dev/null
@@ -1,2 +0,0 @@
-/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
-.yui3-widget-hidden{display:none}.yui3-widget-content{overflow:hidden}.yui3-widget-content-expanded{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:100%}.yui3-widget-tmp-forcesize{overflow:hidden!important}#yui3-css-stamp.skin-sam-widget-base{display:none}
diff --git a/docs_api/assets/favicon.png b/docs_api/assets/favicon.png
deleted file mode 100644
index 5a95ddab..00000000
Binary files a/docs_api/assets/favicon.png and /dev/null differ
diff --git a/docs_api/assets/img/spinner.gif b/docs_api/assets/img/spinner.gif
deleted file mode 100644
index 44f96ba6..00000000
Binary files a/docs_api/assets/img/spinner.gif and /dev/null differ
diff --git a/docs_api/assets/index.html b/docs_api/assets/index.html
deleted file mode 100644
index 487fe15b..00000000
--- a/docs_api/assets/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-    
-        Redirector
-        
-    
-    
-        Click here to redirect
-    
-
diff --git a/docs_api/assets/js/api-filter.js b/docs_api/assets/js/api-filter.js
deleted file mode 100644
index 37aefbab..00000000
--- a/docs_api/assets/js/api-filter.js
+++ /dev/null
@@ -1,52 +0,0 @@
-YUI.add('api-filter', function (Y) {
-
-Y.APIFilter = Y.Base.create('apiFilter', Y.Base, [Y.AutoCompleteBase], {
-    // -- Initializer ----------------------------------------------------------
-    initializer: function () {
-        this._bindUIACBase();
-        this._syncUIACBase();
-    },
-    getDisplayName: function(name) {
-
-        Y.each(Y.YUIDoc.meta.allModules, function(i) {
-            if (i.name === name && i.displayName) {
-                name = i.displayName;
-            }
-        });
-
-        return name;
-    }
-
-}, {
-    // -- Attributes -----------------------------------------------------------
-    ATTRS: {
-        resultHighlighter: {
-            value: 'phraseMatch'
-        },
-
-        // May be set to "classes" or "modules".
-        queryType: {
-            value: 'classes'
-        },
-
-        source: {
-            valueFn: function() {
-                var self = this;
-                return function(q) {
-                    var data = Y.YUIDoc.meta[self.get('queryType')],
-                        out = [];
-                    Y.each(data, function(v) {
-                        if (v.toLowerCase().indexOf(q.toLowerCase()) > -1) {
-                            out.push(v);
-                        }
-                    });
-                    return out;
-                };
-            }
-        }
-    }
-});
-
-}, '3.4.0', {requires: [
-    'autocomplete-base', 'autocomplete-highlighters', 'autocomplete-sources'
-]});
diff --git a/docs_api/assets/js/api-list.js b/docs_api/assets/js/api-list.js
deleted file mode 100644
index 88905b52..00000000
--- a/docs_api/assets/js/api-list.js
+++ /dev/null
@@ -1,251 +0,0 @@
-YUI.add('api-list', function (Y) {
-
-var Lang   = Y.Lang,
-    YArray = Y.Array,
-
-    APIList = Y.namespace('APIList'),
-
-    classesNode    = Y.one('#api-classes'),
-    inputNode      = Y.one('#api-filter'),
-    modulesNode    = Y.one('#api-modules'),
-    tabviewNode    = Y.one('#api-tabview'),
-
-    tabs = APIList.tabs = {},
-
-    filter = APIList.filter = new Y.APIFilter({
-        inputNode : inputNode,
-        maxResults: 1000,
-
-        on: {
-            results: onFilterResults
-        }
-    }),
-
-    search = APIList.search = new Y.APISearch({
-        inputNode : inputNode,
-        maxResults: 100,
-
-        on: {
-            clear  : onSearchClear,
-            results: onSearchResults
-        }
-    }),
-
-    tabview = APIList.tabview = new Y.TabView({
-        srcNode  : tabviewNode,
-        panelNode: '#api-tabview-panel',
-        render   : true,
-
-        on: {
-            selectionChange: onTabSelectionChange
-        }
-    }),
-
-    focusManager = APIList.focusManager = tabviewNode.plug(Y.Plugin.NodeFocusManager, {
-        circular   : true,
-        descendants: '#api-filter, .yui3-tab-panel-selected .api-list-item a, .yui3-tab-panel-selected .result a',
-        keys       : {next: 'down:40', previous: 'down:38'}
-    }).focusManager,
-
-    LIST_ITEM_TEMPLATE =
-        '
  • ' + - '{displayName}' + - '
  • '; - -// -- Init --------------------------------------------------------------------- - -// Duckpunch FocusManager's key event handling to prevent it from handling key -// events when a modifier is pressed. -Y.before(function (e, activeDescendant) { - if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { - return new Y.Do.Prevent(); - } -}, focusManager, '_focusPrevious', focusManager); - -Y.before(function (e, activeDescendant) { - if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { - return new Y.Do.Prevent(); - } -}, focusManager, '_focusNext', focusManager); - -// Create a mapping of tabs in the tabview so we can refer to them easily later. -tabview.each(function (tab, index) { - var name = tab.get('label').toLowerCase(); - - tabs[name] = { - index: index, - name : name, - tab : tab - }; -}); - -// Switch tabs on Ctrl/Cmd-Left/Right arrows. -tabviewNode.on('key', onTabSwitchKey, 'down:37,39'); - -// Focus the filter input when the `/` key is pressed. -Y.one(Y.config.doc).on('key', onSearchKey, 'down:83'); - -// Keep the Focus Manager up to date. -inputNode.on('focus', function () { - focusManager.set('activeDescendant', inputNode); -}); - -// Update all tabview links to resolved URLs. -tabview.get('panelNode').all('a').each(function (link) { - link.setAttribute('href', link.get('href')); -}); - -// -- Private Functions -------------------------------------------------------- -function getFilterResultNode() { - return filter.get('queryType') === 'classes' ? classesNode : modulesNode; -} - -// -- Event Handlers ----------------------------------------------------------- -function onFilterResults(e) { - var frag = Y.one(Y.config.doc.createDocumentFragment()), - resultNode = getFilterResultNode(), - typePlural = filter.get('queryType'), - typeSingular = typePlural === 'classes' ? 'class' : 'module'; - - if (e.results.length) { - YArray.each(e.results, function (result) { - frag.append(Lang.sub(LIST_ITEM_TEMPLATE, { - rootPath : APIList.rootPath, - displayName : filter.getDisplayName(result.highlighted), - name : result.text, - typePlural : typePlural, - typeSingular: typeSingular - })); - }); - } else { - frag.append( - '
  • ' + - 'No ' + typePlural + ' found.' + - '
  • ' - ); - } - - resultNode.empty(true); - resultNode.append(frag); - - focusManager.refresh(); -} - -function onSearchClear(e) { - - focusManager.refresh(); -} - -function onSearchKey(e) { - var target = e.target; - - if (target.test('input,select,textarea') - || target.get('isContentEditable')) { - return; - } - - e.preventDefault(); - - inputNode.focus(); - focusManager.refresh(); -} - -function onSearchResults(e) { - var frag = Y.one(Y.config.doc.createDocumentFragment()); - - if (e.results.length) { - YArray.each(e.results, function (result) { - frag.append(result.display); - }); - } else { - frag.append( - '
  • ' + - 'No results found. Maybe you\'ll have better luck with a ' + - 'different query?' + - '
  • ' - ); - } - - - focusManager.refresh(); -} - -function onTabSelectionChange(e) { - var tab = e.newVal, - name = tab.get('label').toLowerCase(); - - tabs.selected = { - index: tab.get('index'), - name : name, - tab : tab - }; - - switch (name) { - case 'classes': // fallthru - case 'modules': - filter.setAttrs({ - minQueryLength: 0, - queryType : name - }); - - search.set('minQueryLength', -1); - - // Only send a request if this isn't the initially-selected tab. - if (e.prevVal) { - filter.sendRequest(filter.get('value')); - } - break; - - case 'everything': - filter.set('minQueryLength', -1); - search.set('minQueryLength', 1); - - if (search.get('value')) { - search.sendRequest(search.get('value')); - } else { - inputNode.focus(); - } - break; - - default: - // WTF? We shouldn't be here! - filter.set('minQueryLength', -1); - search.set('minQueryLength', -1); - } - - if (focusManager) { - setTimeout(function () { - focusManager.refresh(); - }, 1); - } -} - -function onTabSwitchKey(e) { - var currentTabIndex = tabs.selected.index; - - if (!(e.ctrlKey || e.metaKey)) { - return; - } - - e.preventDefault(); - - switch (e.keyCode) { - case 37: // left arrow - if (currentTabIndex > 0) { - tabview.selectChild(currentTabIndex - 1); - inputNode.focus(); - } - break; - - case 39: // right arrow - if (currentTabIndex < (Y.Object.size(tabs) - 2)) { - tabview.selectChild(currentTabIndex + 1); - inputNode.focus(); - } - break; - } -} - -}, '3.4.0', {requires: [ - 'api-filter', 'api-search', 'event-key', 'node-focusmanager', 'tabview' -]}); diff --git a/docs_api/assets/js/api-search.js b/docs_api/assets/js/api-search.js deleted file mode 100644 index 175f6a61..00000000 --- a/docs_api/assets/js/api-search.js +++ /dev/null @@ -1,98 +0,0 @@ -YUI.add('api-search', function (Y) { - -var Lang = Y.Lang, - Node = Y.Node, - YArray = Y.Array; - -Y.APISearch = Y.Base.create('apiSearch', Y.Base, [Y.AutoCompleteBase], { - // -- Public Properties ---------------------------------------------------- - RESULT_TEMPLATE: - '
  • ' + - '' + - '

    {name}

    ' + - '{resultType}' + - '
    {description}
    ' + - '{class}' + - '
    ' + - '
  • ', - - // -- Initializer ---------------------------------------------------------- - initializer: function () { - this._bindUIACBase(); - this._syncUIACBase(); - }, - - // -- Protected Methods ---------------------------------------------------- - _apiResultFilter: function (query, results) { - // Filter components out of the results. - return YArray.filter(results, function (result) { - return result.raw.resultType === 'component' ? false : result; - }); - }, - - _apiResultFormatter: function (query, results) { - return YArray.map(results, function (result) { - var raw = Y.merge(result.raw), // create a copy - desc = raw.description || ''; - - // Convert description to text and truncate it if necessary. - desc = Node.create('
    ' + desc + '
    ').get('text'); - - if (desc.length > 65) { - desc = Y.Escape.html(desc.substr(0, 65)) + ' …'; - } else { - desc = Y.Escape.html(desc); - } - - raw['class'] || (raw['class'] = ''); - raw.description = desc; - - // Use the highlighted result name. - raw.name = result.highlighted; - - return Lang.sub(this.RESULT_TEMPLATE, raw); - }, this); - }, - - _apiTextLocator: function (result) { - return result.displayName || result.name; - } -}, { - // -- Attributes ----------------------------------------------------------- - ATTRS: { - resultFormatter: { - valueFn: function () { - return this._apiResultFormatter; - } - }, - - resultFilters: { - valueFn: function () { - return this._apiResultFilter; - } - }, - - resultHighlighter: { - value: 'phraseMatch' - }, - - resultListLocator: { - value: 'data.results' - }, - - resultTextLocator: { - valueFn: function () { - return this._apiTextLocator; - } - }, - - source: { - value: '/api/v1/search?q={query}&count={maxResults}' - } - } -}); - -}, '3.4.0', {requires: [ - 'autocomplete-base', 'autocomplete-highlighters', 'autocomplete-sources', - 'escape' -]}); diff --git a/docs_api/assets/js/apidocs.js b/docs_api/assets/js/apidocs.js deleted file mode 100644 index c64bb463..00000000 --- a/docs_api/assets/js/apidocs.js +++ /dev/null @@ -1,370 +0,0 @@ -YUI().use( - 'yuidoc-meta', - 'api-list', 'history-hash', 'node-screen', 'node-style', 'pjax', -function (Y) { - -var win = Y.config.win, - localStorage = win.localStorage, - - bdNode = Y.one('#bd'), - - pjax, - defaultRoute, - - classTabView, - selectedTab; - -// Kill pjax functionality unless serving over HTTP. -if (!Y.getLocation().protocol.match(/^https?\:/)) { - Y.Router.html5 = false; -} - -// Create the default route with middleware which enables syntax highlighting -// on the loaded content. -defaultRoute = Y.Pjax.defaultRoute.concat(function (req, res, next) { - prettyPrint(); - bdNode.removeClass('loading'); - - next(); -}); - -pjax = new Y.Pjax({ - container : '#docs-main', - contentSelector: '#docs-main > .content', - linkSelector : '#bd a', - titleSelector : '#xhr-title', - - navigateOnHash: true, - root : '/', - routes : [ - // -- / ---------------------------------------------------------------- - { - path : '/(index.html)?', - callbacks: defaultRoute - }, - - // -- /classes/* ------------------------------------------------------- - { - path : '/classes/:class.html*', - callbacks: [defaultRoute, 'handleClasses'] - }, - - // -- /files/* --------------------------------------------------------- - { - path : '/files/*file', - callbacks: [defaultRoute, 'handleFiles'] - }, - - // -- /modules/* ------------------------------------------------------- - { - path : '/modules/:module.html*', - callbacks: defaultRoute - } - ] -}); - -// -- Utility Functions -------------------------------------------------------- - -pjax.checkVisibility = function (tab) { - tab || (tab = selectedTab); - - if (!tab) { return; } - - var panelNode = tab.get('panelNode'), - visibleItems; - - // If no items are visible in the tab panel due to the current visibility - // settings, display a message to that effect. - visibleItems = panelNode.all('.item,.index-item').some(function (itemNode) { - if (itemNode.getComputedStyle('display') !== 'none') { - return true; - } - }); - - panelNode.all('.no-visible-items').remove(); - - if (!visibleItems) { - if (Y.one('#index .index-item')) { - panelNode.append( - '
    ' + - '

    ' + - 'Some items are not shown due to the current visibility ' + - 'settings. Use the checkboxes at the upper right of this ' + - 'page to change the visibility settings.' + - '

    ' + - '
    ' - ); - } else { - panelNode.append( - '
    ' + - '

    ' + - 'This class doesn\'t provide any methods, properties, ' + - 'attributes, or events.' + - '

    ' + - '
    ' - ); - } - } - - // Hide index sections without any visible items. - Y.all('.index-section').each(function (section) { - var items = 0, - visibleItems = 0; - - section.all('.index-item').each(function (itemNode) { - items += 1; - - if (itemNode.getComputedStyle('display') !== 'none') { - visibleItems += 1; - } - }); - - section.toggleClass('hidden', !visibleItems); - section.toggleClass('no-columns', visibleItems < 4); - }); -}; - -pjax.initClassTabView = function () { - if (!Y.all('#classdocs .api-class-tab').size()) { - return; - } - - if (classTabView) { - classTabView.destroy(); - selectedTab = null; - } - - classTabView = new Y.TabView({ - srcNode: '#classdocs', - - on: { - selectionChange: pjax.onTabSelectionChange - } - }); - - pjax.updateTabState(); - classTabView.render(); -}; - -pjax.initLineNumbers = function () { - var hash = win.location.hash.substring(1), - container = pjax.get('container'), - hasLines, node; - - // Add ids for each line number in the file source view. - container.all('.linenums>li').each(function (lineNode, index) { - lineNode.set('id', 'l' + (index + 1)); - lineNode.addClass('file-line'); - hasLines = true; - }); - - // Scroll to the desired line. - if (hasLines && /^l\d+$/.test(hash)) { - if ((node = container.getById(hash))) { - win.scroll(0, node.getY()); - } - } -}; - -pjax.initRoot = function () { - var terminators = /^(?:classes|files|modules)$/, - parts = pjax._getPathRoot().split('/'), - root = [], - i, len, part; - - for (i = 0, len = parts.length; i < len; i += 1) { - part = parts[i]; - - if (part.match(terminators)) { - // Makes sure the path will end with a "/". - root.push(''); - break; - } - - root.push(part); - } - - pjax.set('root', root.join('/')); -}; - -pjax.updateTabState = function (src) { - var hash = win.location.hash.substring(1), - defaultTab, node, tab, tabPanel; - - function scrollToNode() { - if (node.hasClass('protected')) { - Y.one('#api-show-protected').set('checked', true); - pjax.updateVisibility(); - } - - if (node.hasClass('private')) { - Y.one('#api-show-private').set('checked', true); - pjax.updateVisibility(); - } - - setTimeout(function () { - // For some reason, unless we re-get the node instance here, - // getY() always returns 0. - var node = Y.one('#classdocs').getById(hash); - win.scrollTo(0, node.getY() - 70); - }, 1); - } - - if (!classTabView) { - return; - } - - if (src === 'hashchange' && !hash) { - defaultTab = 'index'; - } else { - if (localStorage) { - defaultTab = localStorage.getItem('tab_' + pjax.getPath()) || - 'index'; - } else { - defaultTab = 'index'; - } - } - - if (hash && (node = Y.one('#classdocs').getById(hash))) { - if ((tabPanel = node.ancestor('.api-class-tabpanel', true))) { - if ((tab = Y.one('#classdocs .api-class-tab.' + tabPanel.get('id')))) { - if (classTabView.get('rendered')) { - Y.Widget.getByNode(tab).set('selected', 1); - } else { - tab.addClass('yui3-tab-selected'); - } - } - } - - // Scroll to the desired element if this is a hash URL. - if (node) { - if (classTabView.get('rendered')) { - scrollToNode(); - } else { - classTabView.once('renderedChange', scrollToNode); - } - } - } else { - tab = Y.one('#classdocs .api-class-tab.' + defaultTab); - - // When the `defaultTab` node isn't found, `localStorage` is stale. - if (!tab && defaultTab !== 'index') { - tab = Y.one('#classdocs .api-class-tab.index'); - } - - if (classTabView.get('rendered')) { - Y.Widget.getByNode(tab).set('selected', 1); - } else { - tab.addClass('yui3-tab-selected'); - } - } -}; - -pjax.updateVisibility = function () { - var container = pjax.get('container'); - - container.toggleClass('hide-inherited', - !Y.one('#api-show-inherited').get('checked')); - - container.toggleClass('show-deprecated', - Y.one('#api-show-deprecated').get('checked')); - - container.toggleClass('show-protected', - Y.one('#api-show-protected').get('checked')); - - container.toggleClass('show-private', - Y.one('#api-show-private').get('checked')); - - pjax.checkVisibility(); -}; - -// -- Route Handlers ----------------------------------------------------------- - -pjax.handleClasses = function (req, res, next) { - var status = res.ioResponse.status; - - // Handles success and local filesystem XHRs. - if (!status || (status >= 200 && status < 300)) { - pjax.initClassTabView(); - } - - next(); -}; - -pjax.handleFiles = function (req, res, next) { - var status = res.ioResponse.status; - - // Handles success and local filesystem XHRs. - if (!status || (status >= 200 && status < 300)) { - pjax.initLineNumbers(); - } - - next(); -}; - -// -- Event Handlers ----------------------------------------------------------- - -pjax.onNavigate = function (e) { - var hash = e.hash, - originTarget = e.originEvent && e.originEvent.target, - tab; - - if (hash) { - tab = originTarget && originTarget.ancestor('.yui3-tab', true); - - if (hash === win.location.hash) { - pjax.updateTabState('hashchange'); - } else if (!tab) { - win.location.hash = hash; - } - - e.preventDefault(); - return; - } - - // Only scroll to the top of the page when the URL doesn't have a hash. - this.set('scrollToTop', !e.url.match(/#.+$/)); - - bdNode.addClass('loading'); -}; - -pjax.onOptionClick = function (e) { - pjax.updateVisibility(); -}; - -pjax.onTabSelectionChange = function (e) { - var tab = e.newVal, - tabId = tab.get('contentBox').getAttribute('href').substring(1); - - selectedTab = tab; - - // If switching from a previous tab (i.e., this is not the default tab), - // replace the history entry with a hash URL that will cause this tab to - // be selected if the user navigates away and then returns using the back - // or forward buttons. - if (e.prevVal && localStorage) { - localStorage.setItem('tab_' + pjax.getPath(), tabId); - } - - pjax.checkVisibility(tab); -}; - -// -- Init --------------------------------------------------------------------- - -pjax.on('navigate', pjax.onNavigate); - -pjax.initRoot(); -pjax.upgrade(); -pjax.initClassTabView(); -pjax.initLineNumbers(); -pjax.updateVisibility(); - -Y.APIList.rootPath = pjax.get('root'); - -Y.one('#api-options').delegate('click', pjax.onOptionClick, 'input'); - -Y.on('hashchange', function (e) { - pjax.updateTabState('hashchange'); -}, win); - -}); diff --git a/docs_api/assets/js/comps1.js b/docs_api/assets/js/comps1.js deleted file mode 100644 index f027c965..00000000 --- a/docs_api/assets/js/comps1.js +++ /dev/null @@ -1,41 +0,0 @@ -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("oop",function(e,t){function a(t,n,i,s,o){if(t&&t[o]&&t!==e)return t[o].call(t,n,i);switch(r.test(t)){case 1:return r[o](t,n,i);case 2:return r[o](e.Array(t,0,!0),n,i);default:return e.Object[o](t,n,i,s)}}var n=e.Lang,r=e.Array,i=Object.prototype,s="_~yuim~_",o=i.hasOwnProperty,u=i.toString;e.augment=function(t,n,r,i,s){var a=t.prototype,f=a&&n,l=n.prototype,c=a||t,h,p,d,v,m;return s=s?e.Array(s):[],f&&(p={},d={},v={},h=function(e,t){if(r||!(t in a))u.call(e)==="[object Function]"?(v[t]=e,p[t]=d[t]=function(){return m(this,e,arguments)}):p[t]=e},m=function(e,t,r){for(var i in v)o.call(v,i)&&e[i]===d[i]&&(e[i]=v[i]);return n.apply(e,s),t.apply(e,r)},i?e.Array.each(i,function(e){e in l&&h(l[e],e)}):e.Object.each(l,h,null,!0)),e.mix(c,p||l,r,i),f||n.apply(c,s),t},e.aggregate=function(t,n,r,i){return e.mix(t,n,r,i,0,!0)},e.extend=function(t,n,r,s){(!n||!t)&&e.error("extend failed, verify dependencies");var o=n.prototype,u=e.Object(o);return t.prototype=u,u.constructor=t,t.superclass=o,n!=Object&&o.constructor==i.constructor&&(o.constructor=n),r&&e.mix(u,r,!0),s&&e.mix(t,s,!0),t},e.each=function(e,t,n,r){return a(e,t,n,r,"each")},e.some=function(e,t,n,r){return a(e,t,n,r,"some")},e.clone=function(t,r,i,o,u,a){if(!n.isObject(t))return t;if(e.instanceOf(t,YUI))return t;var f,l=a||{},c,h=e.each;switch(n.type(t)){case"date":return new Date(t);case"regexp":return t;case"function":return t;case"array":f=[];break;default:if(t[s])return l[t[s]];c=e.guid(),f=r?{}:e.Object(t),t[s]=c,l[c]=t}return!t.addEventListener&&!t.attachEvent&&h(t,function(n,a){(a||a===0)&&(!i||i.call(o||this,n,a,this,t)!==!1)&&a!==s&&a!="prototype"&&(this[a]=e.clone(n,r,i,o,u||t,l))},f),a||(e.Object.each(l,function(e,t){if(e[s])try{delete e[s]}catch(n){e[s]=null}},this),l=null),f},e.bind=function(t,r){var i=arguments.length>2?e.Array(arguments,2,!0):null;return function(){var s=n.isString(t)?r[t]:t,o=i?i.concat(e.Array(arguments,0,!0)):arguments;return s.apply(r||s,o)}},e.rbind=function(t,r){var i=arguments.length>2?e.Array(arguments,2,!0):null;return function(){var s=n.isString(t)?r[t]:t,o=i?e.Array(arguments,0,!0).concat(i):arguments;return s.apply(r||s,o)}}},"3.9.1",{requires:["yui-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("event-custom-base",function(e,t){e.Env.evt={handles:{},plugins:{}};var n=0,r=1,i={objs:null,before:function(t,r,i,s){var o=t,u;return s&&(u=[t,s].concat(e.Array(arguments,4,!0)),o=e.rbind.apply(e,u)),this._inject(n,o,r,i)},after:function(t,n,i,s){var o=t,u;return s&&(u=[t,s].concat(e.Array(arguments,4,!0)),o=e.rbind.apply(e,u)),this._inject(r,o,n,i)},_inject:function(t,n,r,i){var s=e.stamp(r),o,u;return r._yuiaop||(r._yuiaop={}),o=r._yuiaop,o[i]||(o[i]=new e.Do.Method(r,i),r[i]=function(){return o[i].exec.apply(o[i],arguments)}),u=s+e.stamp(n)+i,o[i].register(u,n,t),new e.EventHandle(o[i],u)},detach:function(e){e.detach&&e.detach()},_unload:function(e,t){}};e.Do=i,i.Method=function(e,t){this.obj=e,this.methodName=t,this.method=e[t],this.before={},this.after={}},i.Method.prototype.register=function(e,t,n){n?this.after[e]=t:this.before[e]=t},i.Method.prototype._delete=function(e){delete this.before[e],delete this.after[e]},i.Method.prototype.exec=function(){var t=e.Array(arguments,0,!0),n,r,s,o=this.before,u=this.after,a=!1;for(n in o)if(o.hasOwnProperty(n)){r=o[n].apply(this.obj,t);if(r)switch(r.constructor){case i.Halt:return r.retVal;case i.AlterArgs:t=r.newArgs;break;case i.Prevent:a=!0;break;default:}}a||(r=this.method.apply(this.obj,t)),i.originalRetVal=r,i.currentRetVal=r;for(n in u)if(u.hasOwnProperty(n)){s=u[n].apply(this.obj,t);if(s&&s.constructor==i.Halt)return s.retVal;s&&s.constructor==i.AlterReturn&&(r=s.newRetVal,i.currentRetVal=r)}return r},i.AlterArgs=function(e,t){this.msg=e,this.newArgs=t},i.AlterReturn=function(e,t){this.msg=e,this.newRetVal=t},i.Halt=function(e,t){this.msg=e,this.retVal=t},i.Prevent=function(e){this.msg=e},i.Error=i.Halt;var s=e.Array,o="after",u=["broadcast","monitored","bubbles","context","contextFn","currentTarget","defaultFn","defaultTargetOnly","details","emitFacade","fireOnce","async","host","preventable","preventedFn","queuable","silent","stoppedFn","target","type"],a=s.hash(u),f=Array.prototype.slice,l=9,c="yui:log",h=function(e,t,n){var r;for(r in t)a[r]&&(n||!(r in e))&&(e[r]=t[r]);return e};e.CustomEvent=function(t,n){this._kds=e.CustomEvent.keepDeprecatedSubs,n=n||{},this.id=e.stamp(this),this.type=t,this.context=e,this.logSystem=t==c,this.silent=this.logSystem,this._kds&&(this.subscribers={}),this._subscribers=[],this._kds&&(this.afters={}),this._afters=[],this.preventable=!0,this.bubbles=!0,this.signature=l,this.applyConfig(n,!0)},e.CustomEvent.keepDeprecatedSubs=!1,e.CustomEvent.mixConfigs=h,e.CustomEvent.prototype={constructor:e.CustomEvent,hasSubs:function(e){var t=this._subscribers.length,n=this._afters.length,r=this.sibling;return r&&(t+=r._subscribers.length,n+=r._afters.length),e?e=="after"?n:t:t+n},monitor:function(e){this.monitored=!0;var t=this.id+"|"+this.type+"_"+e,n=f.call(arguments,0);return n[0]=t,this.host.on.apply(this.host,n)},getSubs:function(){var e=this._subscribers,t=this._afters,n=this.sibling;return e=n?e.concat(n._subscribers):e.concat(),t=n?t.concat(n._afters):t.concat(),[e,t]},applyConfig:function(e,t){h(this,e,t)},_on:function(t,n,r,i){var s=new e.Subscriber(t,n,r,i);return this.fireOnce&&this.fired&&(this.async?setTimeout(e.bind(this._notify,this,s,this.firedWith),0):this._notify(s,this.firedWith)),i==o?this._afters.push(s):this._subscribers.push(s),this._kds&&(i==o?this.afters[s.id]=s:this.subscribers[s.id]=s),new e.EventHandle(this,s)},subscribe:function(e,t){var n=arguments.length>2?f.call(arguments,2):null;return this._on(e,t,n,!0)},on:function(e,t){var n=arguments.length>2?f.call(arguments,2):null;return this.monitored&&this.host&&this.host._monitor("attach",this,{args:arguments}),this._on(e,t,n,!0)},after:function(e,t){var n=arguments.length>2?f.call(arguments,2):null;return this._on(e,t,n,o)},detach:function(e,t){if(e&&e.detach)return e.detach();var n,r,i=0,s=this._subscribers,o=this._afters;for(n=s.length;n>=0;n--)r=s[n],r&&(!e||e===r.fn)&&(this._delete(r,s,n),i++);for(n=o.length;n>=0;n--)r=o[n],r&&(!e||e===r.fn)&&(this._delete(r,o,n),i++);return i},unsubscribe:function(){return this.detach.apply(this,arguments)},_notify:function(e,t,n){var r;return r=e.notify(t,this),!1===r||this.stopped>1?!1:!0},log:function(e,t){},fire:function(){if(this.fireOnce&&this.fired)return!0;var e=f.call(arguments,0);return this.fired=!0,this.fireOnce&&(this.firedWith=e),this.emitFacade?this.fireComplex(e):this.fireSimple(e)},fireSimple:function(e){this.stopped=0,this.prevented=0;if(this.hasSubs()){var t=this.getSubs();this._procSubs(t[0],e),this._procSubs(t[1],e)}return this._broadcast(e),this.stopped?!1:!0},fireComplex:function(e){return e[0]=e[0]||{},this.fireSimple(e)},_procSubs:function(e,t,n){var r,i,s;for(i=0,s=e.length;i-1?e:t+d+e}),w=e.cached(function(e,t){var n=e,r,i,s;return p.isString(n)?(s=n.indexOf(m),s>-1&&(i=!0,n=n.substr(m.length)),s=n.indexOf(v),s>-1&&(r=n.substr(0,s),n=n.substr(s+1),n=="*"&&(n=null)),[r,t?b(n,t):n,i,n]):n}),E=function(t){var n=p.isObject(t)?t:{};this._yuievt=this._yuievt||{id:e.guid(),events:{},targets:{},config:n,chain:"chain"in n?n.chain:e.config.chain,bubbling:!1,defaults:{context:n.context||this,host:this,emitFacade:n.emitFacade,fireOnce:n.fireOnce,queuable:n.queuable,monitored:n.monitored,broadcast:n.broadcast,defaultTargetOnly:n.defaultTargetOnly,bubbles:"bubbles"in n?n.bubbles:!0}}};E.prototype={constructor:E,once:function(){var e=this.on.apply(this,arguments);return e.batch(function(e){e.sub&&(e.sub.once=!0)}),e},onceAfter:function(){var e=this.after.apply(this,arguments);return e.batch(function(e){e.sub&&(e.sub.once=!0)}),e},parseType:function(e,t){return w(e,t||this._yuievt.config.prefix)},on:function(t,n,r){var i=this._yuievt,s=w(t,i.config.prefix),o,u,a,l,c,h,d,v=e.Env.evt.handles,g,y,b,E=e.Node,S,x,T;this._monitor("attach",s[1],{args:arguments,category:s[0],after:s[2]});if(p.isObject(t))return p.isFunction(t)?e.Do.before.apply(e.Do,arguments):(o=n,u=r,a=f.call(arguments,0),l=[],p.isArray(t)&&(T=!0),g=t._after,delete t._after,e.each(t,function(e,t){p.isObject(e)&&(o=e.fn||(p.isFunction(e)?e:o),u=e.context||u);var n=g?m:"";a[0]=n+(T?e:t),a[1]=o,a[2]=u,l.push(this.on.apply(this,a))},this),i.chain?this:new e.EventHandle(l));h=s[0],g=s[2],b=s[3];if(E&&e.instanceOf(this,E)&&b in E.DOM_EVENTS)return a=f.call(arguments,0),a.splice(2,0,E.getDOMNode(this)),e.on.apply(e,a);t=s[1];if(e.instanceOf(this,YUI)){y=e.Env.evt.plugins[t],a=f.call(arguments,0),a[0]=b,E&&(S=a[2],e.instanceOf(S,e.NodeList)?S=e.NodeList.getDOMNodes(S):e.instanceOf(S,E)&&(S=E.getDOMNode(S)),x=b in E.DOM_EVENTS,x&&(a[2]=S));if(y)d=y.on.apply(e,a);else if(!t||x)d=e.Event._attach(a)}return d||(c=i.events[t]||this.publish(t),d=c._on(n,r,arguments.length>3?f.call(arguments,3):null,g?"after":!0)),h&&(v[h]=v[h]||{},v[h][t]=v[h][t]||[],v[h][t].push(d)),i.chain?this:d},subscribe:function(){return this.on.apply(this,arguments)},detach:function(t,n,r){var i=this._yuievt.events,s,o=e.Node,u=o&&e.instanceOf(this,o);if(!t&&this!==e){for(s in i)i.hasOwnProperty(s)&&i[s].detach(n,r);return u&&e.Event.purgeElement(o.getDOMNode(this)),this}var a=w(t,this._yuievt.config.prefix),l=p.isArray(a)?a[0]:null,c=a?a[3]:null,h,d=e.Env.evt.handles,v,m,g,y,b=function(e,t,n){var r=e[t],i,s;if(r)for(s=r.length-1;s>=0;--s)i=r[s].evt,(i.host===n||i.el===n)&&r[s].detach()};if(l){m=d[l],t=a[1],v=u?e.Node.getDOMNode(this):this;if(m){if(t)b(m,t,v);else for(s in m)m.hasOwnProperty(s)&&b(m,s,v);return this}}else{if(p.isObject(t)&&t.detach)return t.detach(),this;if(u&&(!c||c in o.DOM_EVENTS))return g=f.call(arguments,0),g[2]=o.getDOMNode(this),e.detach.apply(e,g),this}h=e.Env.evt.plugins[c];if(e.instanceOf(this,YUI)){g=f.call(arguments,0);if(h&&h.detach)return h.detach.apply(e,g),this;if(!t||!h&&o&&t in o.DOM_EVENTS)return g[0]=t,e.Event.detach.apply(e.Event,g),this}return y=i[a[1]],y&&y.detach(n,r),this},unsubscribe:function(){return this.detach.apply(this,arguments)},detachAll:function(e){return this.detach(e)},unsubscribeAll:function(){return this.detachAll.apply(this,arguments)},publish:function(t,n){var r,i,s,o,u=this._yuievt,a=u.config.prefix;return p.isObject(t)?(s={},e.each(t,function(e,t){s[t]=this.publish(t,e||n)},this),s):(t=a?b(t,a):t,r=u.events,i=r[t],this._monitor("publish",t,{args:arguments}),i?n&&i.applyConfig(n,!0):(o=u.defaults,i=new e.CustomEvent(t,o),n&&i.applyConfig(n,!0),r[t]=i),r[t])},_monitor:function(e,t,n){var r,i,s;if(t){typeof t=="string"?(s=t,i=this.getEvent(t,!0)):(i=t,s=t.type);if(this._yuievt.config.monitored&&(!i||i.monitored)||i&&i.monitored)r=s+"_"+e,n.monitored=e,this.fire.call(this,r,n)}},fire:function(e){var t=p.isString(e),n=t?e:e&&e.type,r=this._yuievt,i=r.config.prefix,s,o,u,a=t?f.call(arguments,1):arguments;n=i?b(n,i):n,s=this.getEvent(n,!0),u=this.getSibling(n,s),u&&!s&&(s=this.publish(n)),this._monitor("fire",s||n,{args:a});if(!s){if(r.hasTargets)return this.bubble({type:n},a,this);o=!0}else s.sibling=u,o=s.fire.apply(s,a);return r.chain?this:o},getSibling:function(e,t){var n;return e.indexOf(d)>-1&&(e=y(e),n=this.getEvent(e,!0),n&&(n.applyConfig(t),n.bubbles=!1,n.broadcast=0)),n},getEvent:function(e,t){var n,r;return t||(n=this._yuievt.config.prefix,e=n?b(e,n):e),r=this._yuievt.events,r[e]||null},after:function(t,n){var r=f.call(arguments,0);switch(p.type(t)){case"function":return e.Do.after.apply(e.Do,arguments);case"array":case"object":r[0]._after=!0;break;default:r[0]=m+t}return this.on.apply(this,r)},before:function(){return this.on.apply(this,arguments)}},e.EventTarget=E,e.mix(e,E.prototype),E.call(e,{bubbles:!1}),YUI.Env.globalEvents=YUI.Env.globalEvents||new E,e.Global=YUI.Env.globalEvents},"3.9.1",{requires:["oop"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("dom-core",function(e,t){var n="nodeType",r="ownerDocument",i="documentElement",s="defaultView",o="parentWindow",u="tagName",a="parentNode",f="previousSibling",l="nextSibling",c="contains",h="compareDocumentPosition",p=[],d=function(){var t=e.config.doc.createElement("div"),n=t.appendChild(e.config.doc.createTextNode("")),r=!1;try{r=t.contains(n)}catch(i){}return r}(),v={byId:function(e,t){return v.allById(e,t)[0]||null},getId:function(e){var t;return e.id&&!e.id.tagName&&!e.id.item?t=e.id:e.attributes&&e.attributes.id&&(t=e.attributes.id.value),t},setId:function(e,t){e.setAttribute?e.setAttribute("id",t):e.id=t},ancestor:function(e,t,n,r){var i=null;return n&&(i=!t||t(e)?e:null),i||v.elementByAxis(e,a,t,null,r)},ancestors:function(e,t,n,r){var i=e,s=[];while(i=v.ancestor(i,t,n,r)){n=!1;if(i){s.unshift(i);if(r&&r(i))return s}}return s},elementByAxis:function(e,t,n,r,i){while(e&&(e=e[t])){if((r||e[u])&&(!n||n(e)))return e;if(i&&i(e))return null}return null},contains:function(e,t){var r=!1;if(!t||!e||!t[n]||!e[n])r=!1;else if(e[c]&&(t[n]===1||d))r=e[c](t);else if(e[h]){if(e===t||!!(e[h](t)&16))r=!0}else r=v._bruteContains(e,t);return r},inDoc:function(e,t){var n=!1,s;return e&&e.nodeType&&(t||(t=e[r]),s=t[i],s&&s.contains&&e.tagName?n=s.contains(e):n=v.contains(s,e)),n},allById:function(t,n){n=n||e.config.doc;var r=[],i=[],s,o;if(n.querySelectorAll)i=n.querySelectorAll('[id="'+t+'"]');else if(n.all){r=n.all(t);if(r){r.nodeName&&(r.id===t?(i.push(r),r=p):r=[r]);if(r.length)for(s=0;o=r[s++];)(o.id===t||o.attributes&&o.attributes.id&&o.attributes.id.value===t)&&i.push(o)}}else i=[v._getDoc(n).getElementById(t)];return i},isWindow:function(e){return!!(e&&e.scrollTo&&e.document)},_removeChildNodes:function(e){while(e.firstChild)e.removeChild(e.firstChild)},siblings:function(e,t){var n=[],r=e;while(r=r[f])r[u]&&(!t||t(r))&&n.unshift(r);r=e;while(r=r[l])r[u]&&(!t||t(r))&&n.push(r);return n},_bruteContains:function(e,t){while(t){if(e===t)return!0;t=t.parentNode}return!1},_getRegExp:function(e,t){return t=t||"",v._regexCache=v._regexCache||{},v._regexCache[e+t]||(v._regexCache[e+t]=new RegExp(e,t)),v._regexCache[e+t]},_getDoc:function(t){var i=e.config.doc;return t&&(i=t[n]===9?t:t[r]||t.document||e.config.doc),i},_getWin:function(t){var n=v._getDoc(t);return n[s]||n[o]||e.config.win},_batch:function(e,t,n,r,i,s){t=typeof t=="string"?v[t]:t;var o,u=0,a,f;if(t&&e)while(a=e[u++])o=o=t.call(v,a,n,r,i,s),typeof o!="undefined"&&(f||(f=[]),f.push(o));return typeof f!="undefined"?f:e},generateID:function(t){var n=t.id;return n||(n=e.stamp(t),t.id=n),n}};e.DOM=v},"3.9.1",{requires:["oop","features"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("dom-base",function(e,t){var n=e.config.doc.documentElement,r=e.DOM,i="tagName",s="ownerDocument",o="",u=e.Features.add,a=e.Features.test;e.mix(r,{getText:n.textContent!==undefined?function(e){var t="";return e&&(t=e.textContent),t||""}:function(e){var t="";return e&&(t=e.innerText||e.nodeValue),t||""},setText:n.textContent!==undefined?function(e,t){e&&(e.textContent=t)}:function(e,t){"innerText"in e?e.innerText=t:"nodeValue"in e&&(e.nodeValue=t)},CUSTOM_ATTRIBUTES:n.hasAttribute?{htmlFor:"for",className:"class"}:{"for":"htmlFor","class":"className"},setAttribute:function(e,t,n,i){e&&t&&e.setAttribute&&(t=r.CUSTOM_ATTRIBUTES[t]||t,e.setAttribute(t,n,i))},getAttribute:function(e,t,n){n=n!==undefined?n:2;var i="";return e&&t&&e.getAttribute&&(t=r.CUSTOM_ATTRIBUTES[t]||t,i=e.getAttribute(t,n),i===null&&(i="")),i},VALUE_SETTERS:{},VALUE_GETTERS:{},getValue:function(e){var t="",n;return e&&e[i]&&(n=r.VALUE_GETTERS[e[i].toLowerCase()],n?t=n(e):t=e.value),t===o&&(t=o),typeof t=="string"?t:""},setValue:function(e,t){var n;e&&e[i]&&(n=r.VALUE_SETTERS[e[i].toLowerCase()],n?n(e,t):e.value=t)},creators:{}}),u("value-set","select",{test:function(){var t=e.config.doc.createElement("select");return t.innerHTML="",t.value="2",t.value&&t.value==="2"}}),a("value-set","select")||(r.VALUE_SETTERS.select=function(e,t){for(var n=0,i=e.getElementsByTagName("option"),s;s=i[n++];)if(r.getValue(s)===t){s.selected=!0;break}}),e.mix(r.VALUE_GETTERS,{button:function(e){return e.attributes&&e.attributes.value?e.attributes.value.value:""}}),e.mix(r.VALUE_SETTERS,{button:function(e,t){var n=e.attributes.value;n||(n=e[s].createAttribute("value"),e.setAttributeNode(n)),n.value=t}}),e.mix(r.VALUE_GETTERS,{option:function(e){var t=e.attributes;return t.value&&t.value.specified?e.value:e.text},select:function(e){var t=e.value,n=e.options;return n&&n.length&&(e.multiple||e.selectedIndex>-1&&(t=r.getValue(n[e.selectedIndex]))),t}});var f,l,c;e.mix(e.DOM,{hasClass:function(t,n){var r=e.DOM._getRegExp("(?:^|\\s+)"+n+"(?:\\s+|$)");return r.test(t.className)},addClass:function(t,n){e.DOM.hasClass(t,n)||(t.className=e.Lang.trim([t.className,n].join(" ")))},removeClass:function(t,n){n&&l(t,n)&&(t.className=e.Lang.trim(t.className.replace(e.DOM._getRegExp("(?:^|\\s+)"+n+"(?:\\s+|$)")," ")),l(t,n)&&c(t,n))},replaceClass:function(e,t,n){c(e,t),f(e,n)},toggleClass:function(e,t,n){var r=n!==undefined?n:!l(e,t);r?f(e,t):c(e,t)}}),l=e.DOM.hasClass,c=e.DOM.removeClass,f=e.DOM.addClass;var h=/<([a-z]+)/i,r=e.DOM,u=e.Features.add,a=e.Features.test,p={},d=function(t,n){var r=e.config.doc.createElement("div"),i=!0;r.innerHTML=t;if(!r.firstChild||r.firstChild.tagName!==n.toUpperCase())i=!1;return i},v=/(?:\/(?:thead|tfoot|tbody|caption|col|colgroup)>)+\s*"}catch(n){return!1}return t.firstChild&&t.firstChild.nodeName==="TBODY"}}),u("innerhtml-div","tr",{test:function(){return d("","tr")}}),u("innerhtml-div","script",{test:function(){return d("","script")}}),a("innerhtml","table")||(p.tbody=function(t,n){var i=r.create(m+t+g,n),s=e.DOM._children(i,"tbody")[0];return i.children.length>1&&s&&!v.test(t)&&s.parentNode.removeChild(s),i}),a("innerhtml-div","script")||(p.script=function(e,t){var n=t.createElement("div");return n.innerHTML="-"+e,n.removeChild(n.firstChild),n},p.link=p.style=p.script),a("innerhtml-div","tr")||(e.mix(p,{option:function(e,t){return r.create('",t)},tr:function(e,t){return r.create(""+e+"",t)},td:function(e,t){return r.create(""+e+"",t)},col:function(e,t){return r.create(""+e+"",t)},tbody:"table"}),e.mix(p,{legend:"fieldset",th:p.td,thead:p.tbody,tfoot:p.tbody,caption:p.tbody,colgroup:p.tbody,optgroup:p.option})),r.creators=p,e.mix( -e.DOM,{setWidth:function(t,n){e.DOM._setSize(t,"width",n)},setHeight:function(t,n){e.DOM._setSize(t,"height",n)},_setSize:function(e,t,n){n=n>0?n:0;var r=0;e.style[t]=n+"px",r=t==="height"?e.offsetHeight:e.offsetWidth,r>n&&(n-=r-n,n<0&&(n=0),e.style[t]=n+"px")}})},"3.9.1",{requires:["dom-core"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("selector-native",function(e,t){(function(e){e.namespace("Selector");var t="compareDocumentPosition",n="ownerDocument",r={_types:{esc:{token:"\ue000",re:/\\[:\[\]\(\)#\.\'\>+~"]/gi},attr:{token:"\ue001",re:/(\[[^\]]*\])/g},pseudo:{token:"\ue002",re:/(\([^\)]*\))/g}},useNative:!0,_escapeId:function(e){return e&&(e=e.replace(/([:\[\]\(\)#\.'<>+~"])/g,"\\$1")),e},_compare:"sourceIndex"in e.config.doc.documentElement?function(e,t){var n=e.sourceIndex,r=t.sourceIndex;return n===r?0:n>r?1:-1}:e.config.doc.documentElement[t]?function(e,n){return e[t](n)&4?-1:1}:function(e,t){var r,i,s;return e&&t&&(r=e[n].createRange(),r.setStart(e,0),i=t[n].createRange(),i.setStart(t,0),s=r.compareBoundaryPoints(1,i)),s},_sort:function(t){return t&&(t=e.Array(t,0,!0),t.sort&&t.sort(r._compare)),t},_deDupe:function(e){var t=[],n,r;for(n=0;r=e[n++];)r._found||(t[t.length]=r,r._found=!0);for(n=0;r=t[n++];)r._found=null,r.removeAttribute("_found");return t},query:function(t,n,i,s){n=n||e.config.doc;var o=[],u=e.Selector.useNative&&e.config.doc.querySelector&&!s,a=[[t,n]],f,l,c,h=u?e.Selector._nativeQuery:e.Selector._bruteQuery;if(t&&h){!s&&(!u||n.tagName)&&(a=r._splitQueries(t,n));for(c=0;f=a[c++];)l=h(f[0],f[1],i),i||(l=e.Array(l,0,!0)),l&&(o=o.concat(l));a.length>1&&(o=r._sort(r._deDupe(o)))}return i?o[0]||null:o},_replaceSelector:function(t){var n=e.Selector._parse("esc",t),i,s;return t=e.Selector._replace("esc",t),s=e.Selector._parse("pseudo",t),t=r._replace("pseudo",t),i=e.Selector._parse("attr",t),t=e.Selector._replace("attr",t),{esc:n,attrs:i,pseudos:s,selector:t}},_restoreSelector:function(t){var n=t.selector;return n=e.Selector._restore("attr",n,t.attrs),n=e.Selector._restore("pseudo",n,t.pseudos),n=e.Selector._restore("esc",n,t.esc),n},_replaceCommas:function(t){var n=e.Selector._replaceSelector(t),t=n.selector;return t&&(t=t.replace(/,/g,"\ue007"),n.selector=t,t=e.Selector._restoreSelector(n)),t},_splitQueries:function(t,n){t.indexOf(",")>-1&&(t=e.Selector._replaceCommas(t));var r=t.split("\ue007"),i=[],s="",o,u,a;if(n){n.nodeType===1&&(o=e.Selector._escapeId(e.DOM.getId(n)),o||(o=e.guid(),e.DOM.setId(n,o)),s='[id="'+o+'"] ');for(u=0,a=r.length;u-1&&e.Selector.pseudos&&e.Selector.pseudos.checked)return e.Selector.query(t,n,r,!0);try{return n["querySelector"+(r?"":"All")](t)}catch(i){return e.Selector.query(t,n,r,!0)}},filter:function(t,n){var r=[],i,s;if(t&&n)for(i=0;s=t[i++];)e.Selector.test(s,n)&&(r[r.length]=s);return r},test:function(t,r,i){var s=!1,o=!1,u,a,f,l,c,h,p,d,v;if(t&&t.tagName)if(typeof r=="function")s=r.call(t,t);else{u=r.split(","),!i&&!e.DOM.inDoc(t)&&(a=t.parentNode,a?i=a:(c=t[n].createDocumentFragment(),c.appendChild(t),i=c,o=!0)),i=i||t[n],h=e.Selector._escapeId(e.DOM.getId(t)),h||(h=e.guid(),e.DOM.setId(t,h));for(p=0;v=u[p++];){v+='[id="'+h+'"]',l=e.Selector.query(v,i);for(d=0;f=l[d++];)if(f===t){s=!0;break}if(s)break}o&&c.removeChild(t)}return s},ancestor:function(t,n,r){return e.DOM.ancestor(t,function(t){return e.Selector.test(t,n)},r)},_parse:function(t,n){return n.match(e.Selector._types[t].re)},_replace:function(t,n){var r=e.Selector._types[t];return n.replace(r.re,r.token)},_restore:function(t,n,r){if(r){var i=e.Selector._types[t].token,s,o;for(s=0,o=r.length;s-1?(s=t,t=t.split(n),e.Object.setValue(i,t,r)):typeof i[t]!="undefined"&&(i[t]=r),r},c.DEFAULT_GETTER=function(t){var r=this._stateProxy,i;return t.indexOf&&t.indexOf(n)>-1?i=e.Object.getValue(r,t.split(n)):typeof r[t]!="undefined"&&(i=r[t]),i},e.mix(c.prototype,{DATA_PREFIX:"data-",toString:function(){var e=this[u]+": not bound to a node",t=this._node,n,i,s;return t&&(n=t.attributes,i=n&&n.id?t.getAttribute("id"):null,s=n&&n.className?t.getAttribute("className"):null,e=t[r],i&&(e+="#"+i),s&&(e+="."+s.replace(" ",".")),e+=" "+this[u]),e},get:function(e){var t;return this._getAttr?t=this._getAttr(e):t=this._get(e),t?t=c.scrubVal(t,this):t===null&&(t=null),t},_get:function(e){var t=c.ATTRS[e],n;return t&&t.getter?n=t.getter.call(this):c.re_aria.test(e)?n=this._node.getAttribute(e,2):n=c.DEFAULT_GETTER.apply(this,arguments),n},set:function(e,t){var n=c.ATTRS[e];return this._setAttr?this._setAttr.apply(this,arguments):n&&n.setter?n.setter.call(this,t,e):c.re_aria.test(e)?this._node.setAttribute(e,t):c.DEFAULT_SETTER.apply(this,arguments),this},setAttrs:function(t){return this._setAttrs?this._setAttrs(t):e.Object.each(t,function(e,t){this.set(t,e)},this),this},getAttrs:function(t){var n={};return this._getAttrs?this._getAttrs(t):e.Array.each(t,function(e,t){n[e]=this.get(e)},this),n},compareTo:function(e){var t=this._node;return e&&e._node&&(e=e._node),t===e},inDoc:function(e){var t=this._node;e=e?e._node||e:t[s];if(e.documentElement)return l.contains(e.documentElement,t)},getById:function(t){var n=this._node,r=l.byId(t,n[s]);return r&&l.contains(n,r)?r=e.one(r):r=null,r},ancestor:function(t,n,r){return arguments.length===2&&(typeof n=="string"||typeof n=="function")&&(r=n),e.one(l.ancestor(this._node,h(t),n,h(r)))},ancestors:function(t,n,r){return arguments.length===2&&(typeof n=="string"||typeof n=="function")&&(r=n),e.all(l.ancestors(this._node,h(t),n,h(r)))},previous:function(t,n){return e.one(l.elementByAxis(this._node,"previousSibling",h(t),n))},next:function(t,n){return e.one(l.elementByAxis(this._node,"nextSibling",h(t),n))},siblings:function(t){return e.all(l.siblings(this._node,h(t)))},one:function(t){return e.one(e.Selector.query(t,this._node,!0))},all:function(t){var n=e.all(e.Selector.query(t,this._node));return n._query=t,n._queryRoot=this._node,n},test:function(t){return e.Selector.test(this._node,t)},remove:function(e){var t=this._node;return t&&t.parentNode&&t.parentNode.removeChild(t),e&&this.destroy(),this},replace:function(e){var t=this._node;return typeof e=="string"&&(e=c.create(e)),t.parentNode.replaceChild(c.getDOMNode(e),t),this},replaceChild:function(t,n){return typeof t=="string"&&(t=l.create(t)),e.one(this._node.replaceChild(c.getDOMNode(t),c.getDOMNode(n)))},destroy:function(t){var n=e.config.doc.uniqueID?"uniqueID":"_yuid",r;this.purge(),this.unplug&&this.unplug(),this.clearData(),t&&e.NodeList.each(this.all("*"),function(t){r=c._instances[t[n]],r?r.destroy():e.Event.purgeElement(t)}),this._node=null,this._stateProxy=null,delete c._instances[this._yuid]},invoke:function(e,t,n,r,i,s){var o=this._node,u;return t&&t._node&&(t=t._node),n&&n._node&&(n=n._node),u=o[e](t,n,r,i,s),c.scrubVal(u,this)},swap:e.config.doc.documentElement.swapNode?function(e){this._node.swapNode(c.getDOMNode(e))}:function(e){e=c.getDOMNode(e);var t=this._node,n=e.parentNode,r=e.nextSibling;return r===t?n.insertBefore(t,e):e===t.nextSibling?n.insertBefore(e,t):(t.parentNode.replaceChild(e,t),l.addHTML(n,t,r)),this},hasMethod:function(e){var t=this._node;return!(!(t&&e in t&&typeof t[e]!="unknown")||typeof t[e]!="function"&&String(t[e]).indexOf("function")!==1)},isFragment:function(){return this.get("nodeType")===11},empty:function(){return this.get("childNodes").remove().destroy(!0),this},getDOMNode:function(){return this._node}},!0),e.Node=c,e.one=c.one;var p=function(t){var n=[];t&&(typeof t=="string"?(this._query=t,t=e.Selector.query(t)):t.nodeType||l.isWindow(t)?t=[t]:t._node?t=[t._node]:t[0]&&t[0]._node?(e.Array.each(t,function(e){ -e._node&&n.push(e._node)}),t=n):t=e.Array(t,0,!0)),this._nodes=t||[]};p.NAME="NodeList",p.getDOMNodes=function(e){return e&&e._nodes?e._nodes:e},p.each=function(t,n,r){var i=t._nodes;i&&i.length&&e.Array.each(i,n,r||t)},p.addMethod=function(t,n,r){t&&n&&(p.prototype[t]=function(){var t=[],i=arguments;return e.Array.each(this._nodes,function(s){var o=s.uniqueID&&s.nodeType!==9?"uniqueID":"_yuid",u=e.Node._instances[s[o]],a,f;u||(u=p._getTempNode(s)),a=r||u,f=n.apply(a,i),f!==undefined&&f!==u&&(t[t.length]=f)}),t.length?t:this})},p.importMethod=function(t,n,r){typeof n=="string"?(r=r||n,p.addMethod(n,t[n])):e.Array.each(n,function(e){p.importMethod(t,e)})},p._getTempNode=function(t){var n=p._tempNode;return n||(n=e.Node.create("
    "),p._tempNode=n),n._node=t,n._stateProxy=t,n},e.mix(p.prototype,{_invoke:function(e,t,n){var r=n?[]:this;return this.each(function(i){var s=i[e].apply(i,t);n&&r.push(s)}),r},item:function(t){return e.one((this._nodes||[])[t])},each:function(t,n){var r=this;return e.Array.each(this._nodes,function(i,s){return i=e.one(i),t.call(n||i,i,s,r)}),r},batch:function(t,n){var r=this;return e.Array.each(this._nodes,function(i,s){var o=e.Node._instances[i[u]];return o||(o=p._getTempNode(i)),t.call(n||o,o,s,r)}),r},some:function(t,n){var r=this;return e.Array.some(this._nodes,function(i,s){return i=e.one(i),n=n||i,t.call(n,i,s,r)})},toFrag:function(){return e.one(e.DOM._nl2frag(this._nodes))},indexOf:function(t){return e.Array.indexOf(this._nodes,e.Node.getDOMNode(t))},filter:function(t){return e.all(e.Selector.filter(this._nodes,t))},modulus:function(t,n){n=n||0;var r=[];return p.each(this,function(e,i){i%t===n&&r.push(e)}),e.all(r)},odd:function(){return this.modulus(2,1)},even:function(){return this.modulus(2)},destructor:function(){},refresh:function(){var t,n=this._nodes,r=this._query,i=this._queryRoot;return r&&(i||n&&n[0]&&n[0].ownerDocument&&(i=n[0].ownerDocument),this._nodes=e.Selector.query(r,i)),this},size:function(){return this._nodes.length},isEmpty:function(){return this._nodes.length<1},toString:function(){var e="",t=this[u]+": not bound to any nodes",n=this._nodes,i;return n&&n[0]&&(i=n[0],e+=i[r],i.id&&(e+="#"+i.id),i.className&&(e+="."+i.className.replace(" ",".")),n.length>1&&(e+="...["+n.length+" items]")),e||t},getDOMNodes:function(){return this._nodes}},!0),p.importMethod(e.Node.prototype,["destroy","empty","remove","set"]),p.prototype.get=function(t){var n=[],r=this._nodes,i=!1,s=p._getTempNode,o,u;return r[0]&&(o=e.Node._instances[r[0]._yuid]||s(r[0]),u=o._get(t),u&&u.nodeType&&(i=!0)),e.Array.each(r,function(r){o=e.Node._instances[r._yuid],o||(o=s(r)),u=o._get(t),i||(u=e.Node.scrubVal(u,o)),n.push(u)}),i?e.all(n):n},e.NodeList=p,e.all=function(e){return new p(e)},e.Node.all=e.all;var d=e.NodeList,v=Array.prototype,m={concat:1,pop:0,push:0,shift:0,slice:1,splice:1,unshift:0};e.Object.each(m,function(t,n){d.prototype[n]=function(){var r=[],i=0,s,o;while(typeof (s=arguments[i++])!="undefined")r.push(s._node||s._nodes||s);return o=v[n].apply(this._nodes,r),t?o=e.all(o):o=e.Node.scrubVal(o),o}}),e.Array.each(["removeChild","hasChildNodes","cloneNode","hasAttribute","scrollIntoView","getElementsByTagName","focus","blur","submit","reset","select","createCaption"],function(t){e.Node.prototype[t]=function(e,n,r){var i=this.invoke(t,e,n,r);return i}}),e.Node.prototype.removeAttribute=function(e){var t=this._node;return t&&t.removeAttribute(e,0),this},e.Node.importMethod(e.DOM,["contains","setAttribute","getAttribute","wrap","unwrap","generateID"]),e.NodeList.importMethod(e.Node.prototype,["getAttribute","setAttribute","removeAttribute","unwrap","wrap","generateID"])},"3.9.1",{requires:["dom-core","selector"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("node-base",function(e,t){var n=["hasClass","addClass","removeClass","replaceClass","toggleClass"];e.Node.importMethod(e.DOM,n),e.NodeList.importMethod(e.Node.prototype,n);var r=e.Node,i=e.DOM;r.create=function(t,n){return n&&n._node&&(n=n._node),e.one(i.create(t,n))},e.mix(r.prototype,{create:r.create,insert:function(e,t){return this._insert(e,t),this},_insert:function(e,t){var n=this._node,r=null;return typeof t=="number"?t=this._node.childNodes[t]:t&&t._node&&(t=t._node),e&&typeof e!="string"&&(e=e._node||e._nodes||e),r=i.addHTML(n,e,t),r},prepend:function(e){return this.insert(e,0)},append:function(e){return this.insert(e,null)},appendChild:function(e){return r.scrubVal(this._insert(e))},insertBefore:function(t,n){return e.Node.scrubVal(this._insert(t,n))},appendTo:function(t){return e.one(t).append(this),this},setContent:function(e){return this._insert(e,"replace"),this},getContent:function(e){return this.get("innerHTML")}}),e.Node.prototype.setHTML=e.Node.prototype.setContent,e.Node.prototype.getHTML=e.Node.prototype.getContent,e.NodeList.importMethod(e.Node.prototype,["append","insert","appendChild","insertBefore","prepend","setContent","getContent","setHTML","getHTML"]);var r=e.Node,i=e.DOM;r.ATTRS={text:{getter:function(){return i.getText(this._node)},setter:function(e){return i.setText(this._node,e),e}},"for":{getter:function(){return i.getAttribute(this._node,"for")},setter:function(e){return i.setAttribute(this._node,"for",e),e}},options:{getter:function(){return this._node.getElementsByTagName("option")}},children:{getter:function(){var t=this._node,n=t.children,r,i,s;if(!n){r=t.childNodes,n=[];for(i=0,s=r.length;i1?this._data[e]=t:this._data=e,this},clearData:function(e){return"_data"in this&&(typeof e!="undefined"?delete this._data[e]:delete this._data),this}}),e.mix(e.NodeList.prototype,{getData:function(e){var t=arguments.length?[e]:[];return this._invoke("getData",t,!0)},setData:function(e,t){var n=arguments.length>1?[e,t]: -[e];return this._invoke("setData",n)},clearData:function(e){var t=arguments.length?[e]:[];return this._invoke("clearData",[e])}})},"3.9.1",{requires:["event-base","node-core","dom-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -(function(){var e=YUI.Env;e._ready||(e._ready=function(){e.DOMReady=!0,e.remove(YUI.config.doc,"DOMContentLoaded",e._ready)},e.add(YUI.config.doc,"DOMContentLoaded",e._ready))})(),YUI.add("event-base",function(e,t){e.publish("domready",{fireOnce:!0,async:!0}),YUI.Env.DOMReady?e.fire("domready"):e.Do.before(function(){e.fire("domready")},YUI.Env,"_ready");var n=e.UA,r={},i={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9,63272:46,63273:36,63275:35},s=function(t){if(!t)return t;try{t&&3==t.nodeType&&(t=t.parentNode)}catch(n){return null}return e.one(t)},o=function(e,t,n){this._event=e,this._currentTarget=t,this._wrapper=n||r,this.init()};e.extend(o,Object,{init:function(){var e=this._event,t=this._wrapper.overrides,r=e.pageX,o=e.pageY,u,a=this._currentTarget;this.altKey=e.altKey,this.ctrlKey=e.ctrlKey,this.metaKey=e.metaKey,this.shiftKey=e.shiftKey,this.type=t&&t.type||e.type,this.clientX=e.clientX,this.clientY=e.clientY,this.pageX=r,this.pageY=o,u=e.keyCode||e.charCode,n.webkit&&u in i&&(u=i[u]),this.keyCode=u,this.charCode=u,this.which=e.which||e.charCode||u,this.button=this.which,this.target=s(e.target),this.currentTarget=s(a),this.relatedTarget=s(e.relatedTarget);if(e.type=="mousewheel"||e.type=="DOMMouseScroll")this.wheelDelta=e.detail?e.detail*-1:Math.round(e.wheelDelta/80)||(e.wheelDelta<0?-1:1);this._touch&&this._touch(e,a,this._wrapper)},stopPropagation:function(){this._event.stopPropagation(),this._wrapper.stopped=1,this.stopped=1},stopImmediatePropagation:function(){var e=this._event;e.stopImmediatePropagation?e.stopImmediatePropagation():this.stopPropagation(),this._wrapper.stopped=2,this.stopped=2},preventDefault:function(e){var t=this._event;t.preventDefault(),t.returnValue=e||!1,this._wrapper.prevented=1,this.prevented=1},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}}),o.resolve=s,e.DOM2EventFacade=o,e.DOMEventFacade=o,function(){e.Env.evt.dom_wrappers={},e.Env.evt.dom_map={};var t=e.DOM,n=e.Env.evt,r=e.config,i=r.win,s=YUI.Env.add,o=YUI.Env.remove,u=function(){YUI.Env.windowLoaded=!0,e.Event._load(),o(i,"load",u)},a=function(){e.Event._unload()},f="domready",l="~yui|2|compat~",c=function(n){try{return n&&typeof n!="string"&&e.Lang.isNumber(n.length)&&!n.tagName&&!t.isWindow(n)}catch(r){return!1}},h=e.CustomEvent.prototype._delete,p=function(t){var n=h.apply(this,arguments);return this.hasSubs()||e.Event._clean(this),n},d=function(){var r=!1,u=0,h=[],v=n.dom_wrappers,m=null,g=n.dom_map;return{POLL_RETRYS:1e3,POLL_INTERVAL:40,lastError:null,_interval:null,_dri:null,DOMReady:!1,startInterval:function(){d._interval||(d._interval=setInterval(d._poll,d.POLL_INTERVAL))},onAvailable:function(t,n,r,i,s,o){var a=e.Array(t),f,l;for(f=0;f4?n.slice(4):null),h&&a.fire(),p):!1},detach:function(n,r,i,s){var o=e.Array(arguments,0,!0),u,a,f,h,p,m;o[o.length-1]===l&&(u=!0);if(n&&n.detach)return n.detach();typeof i=="string"&&(u?i=t.byId(i):(i=e.Selector.query(i),a=i.length,a<1?i=null:a==1&&(i=i[0])));if(!i)return!1;if(i.detach)return o.splice(2,1),i.detach.apply(i,o);if(c(i)){f=!0;for(h=0,a=i.length;h0),a=[],f=function(t,n){var r,i=n.override;try{n.compat?(n.override?i===!0?r=n.obj:r=i:r=t,n.fn.call(r,n.obj)):(r=n.obj||e.one(t),n.fn.apply(r,e.Lang.isArray(i)?i:[]))}catch(s){}};for(n=0,i=h.length;n4?e.Array(arguments,4,!0):null;return e.Event.onAvailable.call(e.Event,r,n,i,s)}},e.Env.evt.plugins.contentready={on:function(t,n,r,i){var s=arguments.length>4?e.Array(arguments,4,!0):null;return e.Event.onContentReady.call(e.Event,r,n,i,s)}}},"3.9.1",{requires:["event-custom-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("event-delegate",function(e,t){function f(t,r,u,l){var c=n(arguments,0,!0),h=i(u)?u:null,p,d,v,m,g,y,b,w,E;if(s(t)){w=[];if(o(t))for(y=0,b=t.length;y1&&(g=p.shift(),c[0]=t=p.shift()),d=e.Node.DOM_EVENTS[t],s(d)&&d.delegate&&(E=d.delegate.apply(d,arguments));if(!E){if(!t||!r||!u||!l)return;v=h?e.Selector.query(h,null,!0):u,!v&&i(u)&&(E=e.on("available",function(){e.mix(E,e.delegate.apply(e,c),!0)},u)),!E&&v&&(c.splice(2,2,v),E=e.Event._attach(c,{facade:!1}),E.sub.filter=l,E.sub._notify=f.notifySub)}return E&&g&&(m=a[g]||(a[g]={}),m=m[t]||(m[t]=[]),m.push(E)),E}var n=e.Array,r=e.Lang,i=r.isString,s=r.isObject,o=r.isArray,u=e.Selector.test,a=e.Env.evt.handles;f.notifySub=function(t,r,i){r=r.slice(),this.args&&r.push.apply(r,this.args);var s=f._applyFilter(this.filter,r,i),o,u,a,l;if(s){s=n(s),o=r[0]=new e.DOMEventFacade(r[0],i.el,i),o.container=e.one(i.el);for(u=0,a=s.length;u=0;o--)s=n[o],a=s._UNPLUG,a&&e.mix(i,a,!0),u=s._PLUG,u&&e.mix(r,u,!0);for(f in r)r.hasOwnProperty(f)&&(i[f]||this.plug(r[f]));t&&t.plugins&&this.plug(t.plugins)},n.plug=function(t,n,i){var s,o,u,a;if(t!==e.Base){t._PLUG=t._PLUG||{},r.isArray(n)||(i&&(n={fn:n,cfg:i}),n=[n]);for(o=0,u=n.length;o=4.2)i[0]+=s,i[1]+=o}else i=d._getOffset(r)}return i}:function(t){var n=null,s,o,u,a,f;if(t)if(d.inDoc(t)){n=[t.offsetLeft,t.offsetTop],s=t.ownerDocument,o=t,u=e.UA.gecko||e.UA.webkit>519?!0:!1;while(o=o.offsetParent)n[0]+=o.offsetLeft,n[1]+=o.offsetTop,u&&(n=d._calcBorders(o,n));if(d.getStyle(t,r)!=i){o=t;while(o=o.parentNode){a=o.scrollTop,f=o.scrollLeft,e.UA.gecko&&d.getStyle(o,"overflow")!=="visible"&&(n=d._calcBorders(o,n));if(a||f)n[0]-=f,n[1]-=a}n[0]+=d.docScrollX(t,s),n[1]+=d.docScrollY(t,s)}else n[0]+=d.docScrollX(t,s),n[1]+=d.docScrollY(t,s)}else n=d._getOffset(t);return n}}(),getScrollbarWidth:e.cached(function(){var t=e.config.doc,n=t.createElement("div"),r=t.getElementsByTagName("body")[0],i=.1;return r&&(n.style.cssText="position:absolute;visibility:hidden;overflow:scroll;width:20px;",n.appendChild(t.createElement("p")).style.height="1px",r.insertBefore(n,r.firstChild),i=n.offsetWidth-n.clientWidth,r.removeChild(n)),i},null,.1),getX:function(e){return d.getXY(e)[0]},getY:function(e){return d.getXY(e)[1]},setXY:function(e,t,n){var i=d.setStyle,a,f,l,c;e&&t&&(a=d.getStyle(e,r),f=d._getOffset(e),a=="static"&&(a=s,i(e,r,a)),c=d.getXY(e),t[0]!==null&&i(e,o,t[0]-c[0]+f[0]+"px"),t[1]!==null&&i(e,u,t[1]-c[1]+f[1]+"px"),n||(l=d.getXY(e),(l[0]!==t[0]||l[1]!==t[1])&&d.setXY(e,t,!0)))},setX:function(e,t){return d.setXY(e,[t,null])},setY:function(e,t){return d.setXY(e,[null,t])},swapXY:function(e,t){var n=d.getXY(e);d.setXY(e,d.getXY(t)),d.setXY(t,n)},_calcBorders:function(t,n){var r=parseInt(d[p](t,c),10)||0,i=parseInt(d[p](t,l),10)||0;return e.UA.gecko&&v.test(t.tagName)&&(r=0,i=0),n[0]+=i,n[1]+=r,n},_getWinSize:function(r,i){i=i||r?d._getDoc(r):e.config.doc;var s=i.defaultView||i.parentWindow,o=i[n],u=s.innerHeight,a=s.innerWidth,f=i[t];return o&&!e.UA.opera&&(o!="CSS1Compat"&&(f=i.body),u=f.clientHeight,a=f.clientWidth),{height:u,width:a}},_getDocSize:function(r){var i=r?d._getDoc(r):e.config.doc,s=i[t];return i[n]!="CSS1Compat"&&(s=i.body),{height:s.scrollHeight,width:s.scrollWidth}}})})(e),function(e){var t="top",n="right",r="bottom",i="left",s=function(e,s){var o=Math.max(e[t],s[t]),u=Math.min(e[n],s[n]),a=Math.min(e[r],s[r]),f=Math.max(e[i],s[i]),l={};return l[t]=o,l[n]=u,l[r]=a,l[i]=f,l},o=e.DOM;e.mix(o,{region:function(e){var t=o.getXY(e),n=!1;return e&&t&&(n=o._getRegion(t[1],t[0]+e.offsetWidth,t[1]+e.offsetHeight,t[0])),n},intersect:function(u,a,f){var l=f||o.region(u),c={},h=a,p;if(h.tagName)c=o.region(h);else{if(!e.Lang.isObject(a))return!1;c=a}return p=s(c,l),{top:p[t],right:p[n],bottom:p[r],left:p[i],area:(p[r]-p[t])*(p[n]-p[i]),yoff:p[r]-p[t],xoff:p[n]-p[i],inRegion:o.inRegion(u,a,!1,f)}},inRegion:function(u,a,f,l){var c={},h=l||o.region(u),p=a,d;if(p.tagName)c=o.region(p);else{if(!e.Lang.isObject(a))return!1;c=a}return f?h[i]>=c[i]&&h[n]<=c[n]&&h[t]>=c[t]&&h[r]<=c[r]:(d=s(c,h),d[r]>=d[t]&&d[n]>=d[i]?!0:!1)},inViewportRegion:function(e,t,n){return o.inRegion(e,o.viewportRegion(e),t,n)},_getRegion:function(e,s,o,u){var a={};return a[t]=a[1]=e,a[i]=a[0]=u,a[r]=o,a[n]=s,a.width=a[n]-a[i],a.height=a[r]-a[t],a},viewportRegion:function(t){t=t||e.config.doc.documentElement;var n=!1,r,i;return t&&(r=o.docScrollX(t),i=o.docScrollY(t),n=o._getRegion(i,o.winWidth(t)+r,i+o.winHeight(t),r)),n}})}(e)},"3.9.1",{requires:["dom-base","dom-style"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("node-screen",function(e,t){e.each(["winWidth","winHeight","docWidth","docHeight","docScrollX","docScrollY"],function(t){e.Node.ATTRS[t]={getter:function(){var n=Array.prototype.slice.call(arguments);return n.unshift(e.Node.getDOMNode(this)),e.DOM[t].apply(this,n)}}}),e.Node.ATTRS.scrollLeft={getter:function(){var t=e.Node.getDOMNode(this);return"scrollLeft"in t?t.scrollLeft:e.DOM.docScrollX(t)},setter:function(t){var n=e.Node.getDOMNode(this);n&&("scrollLeft"in n?n.scrollLeft=t:(n.document||n.nodeType===9)&&e.DOM._getWin(n).scrollTo(t,e.DOM.docScrollY(n)))}},e.Node.ATTRS.scrollTop={getter:function(){var t=e.Node.getDOMNode(this);return"scrollTop"in t?t.scrollTop:e.DOM.docScrollY(t)},setter:function(t){var n=e.Node.getDOMNode(this);n&&("scrollTop"in n?n.scrollTop=t:(n.document||n.nodeType===9)&&e.DOM._getWin(n).scrollTo(e.DOM.docScrollX(n),t))}},e.Node.importMethod(e.DOM,["getXY","setXY","getX","setX","getY","setY","swapXY"]),e.Node.ATTRS.region={getter:function(){var t=this.getDOMNode(),n;return t&&!t.tagName&&t.nodeType===9&&(t=t.documentElement),e.DOM.isWindow(t)?n=e.DOM.viewportRegion(t):n=e.DOM.region(t),n}},e.Node.ATTRS.viewportRegion={getter:function(){return e.DOM.viewportRegion(e.Node.getDOMNode(this))}},e.Node.importMethod(e.DOM,"inViewportRegion"),e.Node.prototype.intersect=function(t,n){var r=e.Node.getDOMNode(this);return e.instanceOf(t,e.Node)&&(t=e.Node.getDOMNode(t)),e.DOM.intersect(r,t,n)},e.Node.prototype.inRegion=function(t,n,r){var i=e.Node.getDOMNode(this);return e.instanceOf(t,e.Node)&&(t=e.Node.getDOMNode(t)),e.DOM.inRegion(i,t,n,r)}},"3.9.1",{requires:["dom-screen","node-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("node-style",function(e,t){(function(e){e.mix(e.Node.prototype,{setStyle:function(t,n){return e.DOM.setStyle(this._node,t,n),this},setStyles:function(t){return e.DOM.setStyles(this._node,t),this},getStyle:function(t){return e.DOM.getStyle(this._node,t)},getComputedStyle:function(t){return e.DOM.getComputedStyle(this._node,t)}}),e.NodeList.importMethod(e.Node.prototype,["getStyle","getComputedStyle","setStyle","setStyles"])})(e)},"3.9.1",{requires:["dom-style","node-base"]}); diff --git a/docs_api/assets/js/comps2.js b/docs_api/assets/js/comps2.js deleted file mode 100644 index 4a39db1d..00000000 --- a/docs_api/assets/js/comps2.js +++ /dev/null @@ -1,41 +0,0 @@ - -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("array-extras",function(e,t){var n=e.Array,r=e.Lang,i=Array.prototype;n.lastIndexOf=r._isNative(i.lastIndexOf)?function(e,t,n){return n||n===0?e.lastIndexOf(t,n):e.lastIndexOf(t)}:function(e,t,n){var r=e.length,i=r-1;if(n||n===0)i=Math.min(n<0?r+n:n,r);if(i>-1&&r>0)for(;i>-1;--i)if(i in e&&e[i]===t)return i;return-1},n.unique=function(e,t){var n=0,r=e.length,i=[],s,o,u,a;e:for(;n=0;--v){o=t[v];for(s in o)o.hasOwnProperty(s)&&(u=d({},o[s],g),h=u.value,m=u.cloneDefaultValue,h&&(m===undefined&&(f===h.constructor||r.isArray(h))||m===l||m===!0?u.value=e.clone(h):m===c&&(u.value=e.merge(h))),p=null,s.indexOf(i)!==-1&&(p=s.split(i),s=p.shift()),y=b[s],p&&y&&y.value?n.setValue(y.value,p,h):p||(y?(y.valueFn&&a in u&&(y.valueFn=null),d(y,u,g)):b[s]=u))}return b},_initHierarchy:function(e){var t=this._lazyAddAttrs,n,r,i,s,o,a,f,l=this._getClasses(),c=this._getAttrCfgs(),h=l.length-1;for(i=h;i>=0;i--){n=l[i],r=n.prototype,f=n._yuibuild&&n._yuibuild.exts;if(f)for(s=0,o=f.length;s":">",'"':""","'":"'","/":"/","`":"`"},r={html:function(e){return(e+"").replace(/[&<>"'\/`]/g,r._htmlReplacer)},regex:function(e){return(e+"").replace(/[\-$\^*()+\[\]{}|\\,.?\s]/g,"\\$&")},_htmlReplacer:function(e){return n[e]}};r.regexp=r.regex,e.Escape=r},"3.9.1",{requires:["yui-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("event-synthetic",function(e,t){function c(e,t){this.handle=e,this.emitFacade=t}function h(e,t,n){this.handles=[],this.el=e,this.key=n,this.domkey=t}function p(){this._init.apply(this,arguments)}var n=e.CustomEvent,r=e.Env.evt.dom_map,i=e.Array,s=e.Lang,o=s.isObject,u=s.isString,a=s.isArray,f=e.Selector.query,l=function(){};c.prototype.fire=function(t){var n=i(arguments,0,!0),r=this.handle,s=r.evt,u=r.sub,a=u.context,f=u.filter,l=t||{},c;if(this.emitFacade){if(!t||!t.preventDefault)l=s._getFacade(),o(t)&&!t.preventDefault?(e.mix(l,t,!0),n[0]=l):n.unshift(l);l.type=s.type,l.details=n.slice(),f&&(l.container=s.host)}else f&&o(t)&&t.currentTarget&&n.shift();return u.context=a||l.currentTarget||s.host,c=s.fire.apply(s,n),u.context=a,c},h.prototype={constructor:h,type:"_synth",fn:l,capture:!1,register:function(e){e.evt.registry=this,this.handles.push(e)},unregister:function(t){var n=this.handles,i=r[this.domkey],s;for(s=n.length-1;s>=0;--s)if(n[s].sub===t){n.splice(s,1);break}n.length||(delete i[this.key],e.Object.size(i)||delete r[this.domkey])},detachAll:function(){var e=this.handles,t=e.length;while(--t>=0)e[t].detach()}},e.mix(p,{Notifier:c,SynthRegistry:h,getRegistry:function(t,n,i){var s=t._node,o=e.stamp(s),u="event:"+o+n+"_synth",a=r[o];return i&&(a||(a=r[o]={}),a[u]||(a[u]=new h(s,o,u))),a&&a[u]||null},_deleteSub:function(e){if(e&&e.fn){var t=this.eventDef,r=e.filter?"detachDelegate":"detach";this._subscribers=[],n.keepDeprecatedSubs&&(this.subscribers={}),t[r](e.node,e,this.notifier,e.filter),this.registry.unregister(e),delete e.fn,delete e.node,delete e.context}},prototype:{constructor:p,_init:function(){var e=this.publishConfig||(this.publishConfig={});this.emitFacade="emitFacade"in e?e.emitFacade:!0,e.emitFacade=!1},processArgs:l,on:l,detach:l,delegate:l,detachDelegate:l,_on:function(t,n){var r=[],s=t.slice(),o=this.processArgs(t,n),a=t[2],l=n?"delegate":"on",c,h;return c=u(a)?f(a):i(a||e.one(e.config.win)),!c.length&&u(a)?(h=e.on("available",function(){e.mix(h,e[l].apply(e,s),!0)},a),h):(e.Array.each(c,function(i){var s=t.slice(),u;i=e.one(i),i&&(n&&(u=s.splice(3,1)[0]),s.splice(0,4,s[1],s[3]),(!this.preventDups||!this.getSubs(i,t,null,!0))&&r.push(this._subscribe(i,l,s,o,u)))},this),r.length===1?r[0]:new e.EventHandle(r))},_subscribe:function(t,n,r,i,s){var o=new e.CustomEvent(this.type,this.publishConfig),u=o.on.apply(o,r),a=new c(u,this.emitFacade),f=p.getRegistry(t,this.type,!0),l=u.sub;return l.node=t,l.filter=s,i&&this.applyArgExtras(i,l),e.mix(o,{eventDef:this,notifier:a,host:t,currentTarget:t,target:t,el:t._node,_delete:p._deleteSub},!0),u.notifier=a,f.register(u),this[n](t,l,a,s),u},applyArgExtras:function(e,t){t._extra=e},_detach:function(t){var n=t[2],r=u(n)?f(n):i(n),s,o,a,l,c;t.splice(2,1);for(o=0,a=r.length;o=0;--c)l[c].detach()}}},getSubs:function(e,t,n,r){var i=p.getRegistry(e,this.type),s=[],o,u,a,f;if(i){o=i.handles,n||(n=this.subMatch);for(u=0,a=o.length;u0&&o.length>v&&(o.length=v);if(h){c=h.call(this,e,o.concat());if(!c)return;for(p=0,d=c.length;p1&&(o[s-1]=e,e=o.join(n+" ")),e=e+n+" "),this.set(b,e)},_afterSourceTypeChange:function(e){this._rawSource&&this.set("source",this._rawSource)},_afterValueChange:function(e){var t=e.newVal,n=this,r=e.src===T.UI_SRC,i,s,o,u;r||n._inputNode.set(b,t),o=n.get("minQueryLength"),u=n._parseValue(t)||"",o>=0&&u.length>=o?r?(i=n.get("queryDelay"),s=function(){n.fire(S,{inputValue:t,query:u,src:e.src})},i?(clearTimeout(n._delay),n._delay=setTimeout(s,i)):s()):n._set(d,u):(clearTimeout(n._delay),n.fire(E,{prevVal:e.prevVal?n._parseValue(e.prevVal):null,src:e.src}))},_onInputBlur:function(e){var t=this.get(v),n,i,s;if(t&&!this.get("allowTrailingDelimiter")){t=r.trimRight(t),s=i=this._inputNode.get(b);if(t)while((i=r.trimRight(i))&&(n=i.length-t.length)&&i.lastIndexOf(t)===n)i=i.substring(0,n);else i=r.trimRight(i);i!==s&&this.set(b,i)}},_onInputValueChange:function(e){var t=e.newVal;t!==this.get(b)&&this.set(b,t,{src:T.UI_SRC})},_onResponse:function(e,t){e===(this.get(d)||"")&&this._parseResponse(e||"",t.response,t.data)},_defClearFn:function(){this._set(d,null),this._set(g,[])},_defQueryFn:function(e){this.sendRequest(e.query)},_defResultsFn:function(e){this._set(g,e[g])}},T.ATTRS={allowBrowserAutocomplete:{value:!1},allowTrailingDelimiter:{value:!1},enableCache:{lazyAdd:!1,setter:"_setEnableCache",value:!0},inputNode:{setter:e.one,writeOnce:"initOnly"},maxResults:{value:0},minQueryLength:{value:1},query:{readOnly:!0,value:null},queryDelay:{value:100},queryDelimiter:{value:null},requestTemplate:{setter:"_setRequestTemplate",value:null},resultFilters:{setter:"_setResultFilters",value:[]},resultFormatter -:{validator:l,value:null},resultHighlighter:{setter:"_setResultHighlighter",value:null},resultListLocator:{setter:"_setLocator",value:null},results:{readOnly:!0,value:[]},resultTextLocator:{setter:"_setLocator",value:null},source:{setter:"_setSource",value:null},sourceType:{value:null},tokenInput:{readOnly:!0},value:{value:""}},T._buildCfg={aggregates:["SOURCE_TYPES"],statics:["UI_SRC"]},T.SOURCE_TYPES={array:"_createArraySource","function":"_createFunctionSource",object:"_createObjectSource"},T.UI_SRC=e.Widget&&e.Widget.UI_SRC||"ui",e.AutoCompleteBase=T},"3.9.1",{optional:["autocomplete-sources"],requires:["array-extras","base-build","escape","event-valuechange","node-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("classnamemanager",function(e,t){var n="classNamePrefix",r="classNameDelimiter",i=e.config;i[n]=i[n]||"yui3",i[r]=i[r]||"-",e.ClassNameManager=function(){var t=i[n],s=i[r];return{getClassName:e.cached(function(){var n=e.Array(arguments);return n[n.length-1]!==!0?n.unshift(t):n.pop(),n.join(s)})}}()},"3.9.1",{requires:["yui-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("text-data-wordbreak",function(e,t){e.namespace("Text.Data").WordBreak={aletter:"[A-Za-z\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f3\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u10a0-\u10c5\u10d0-\u10fa\u10fc\u1100-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1a00-\u1a16\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bc0-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u24b6-\u24e9\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2d00-\u2d25\u2d30-\u2d65\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005\u303b\u303c\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790\ua791\ua7a0-\ua7a9\ua7fa-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]",midnumlet:"['\\.\u2018\u2019\u2024\ufe52\uff07\uff0e]",midletter:"[:\u00b7\u00b7\u05f4\u2027\ufe13\ufe55\uff1a]",midnum:"[,;;\u0589\u060c\u060d\u066c\u07f8\u2044\ufe10\ufe14\ufe50\ufe54\uff0c\uff1b]",numeric:"[0-9\u0660-\u0669\u066b\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\uaa50-\uaa59\uabf0-\uabf9]",cr:"\\r",lf:"\\n",newline:"[ \f\u0085\u2028\u2029]",extend:"[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f\u109a-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b6-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u192b\u1930-\u193b\u19b0-\u19c0\u19c8\u19c9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f\u1b00-\u1b04\u1b34-\u1b44\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1baa\u1be6-\u1bf3\u1c24-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe3-\uabea\uabec\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]" -,format:"[\u00ad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200e\u200f\u202a-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb]",katakana:"[\u3031-\u3035\u309b\u309c\u30a0-\u30fa\u30fc-\u30ff\u31f0-\u31ff\u32d0-\u32fe\u3300-\u3357\uff66-\uff9d]",extendnumlet:"[_\u203f\u2040\u2054\ufe33\ufe34\ufe4d-\ufe4f\uff3f]",punctuation:"[!-#%-*,-\\/:;?@\\[-\\]_{}\u00a1\u00ab\u00b7\u00bb\u00bf;\u00b7\u055a-\u055f\u0589\u058a\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1361-\u1368\u1400\u166d\u166e\u169b\u169c\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d\u207e\u208d\u208e\u3008\u3009\u2768-\u2775\u27c5\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc\u29fd\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00-\u2e2e\u2e30\u2e31\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uabeb\ufd3e\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a\uff1b\uff1f\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]"}},"3.9.1",{requires:["yui-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("text-wordbreak",function(e,t){var n=e.Text,r=n.Data.WordBreak,i=0,s=1,o=2,u=3,a=4,f=5,l=6,c=7,h=8,p=9,d=10,v=11,m=12,g=[new RegExp(r.aletter),new RegExp(r.midnumlet),new RegExp(r.midletter),new RegExp(r.midnum),new RegExp(r.numeric),new RegExp(r.cr),new RegExp(r.lf),new RegExp(r.newline),new RegExp(r.extend),new RegExp(r.format),new RegExp(r.katakana),new RegExp(r.extendnumlet)],y="",b=new RegExp("^"+r.punctuation+"$"),w=/\s/,E={getWords:function(e,t){var n=0,r=E._classify(e),i=r.length,s=[],o=[],u,a,f;t||(t={}),t.ignoreCase&&(e=e.toLowerCase()),a=t.includePunctuation,f=t.includeWhitespace;for(;ne.length-1&&t!==0?!1:r===i&&m===i?!1:(g=e[t+2],r!==i||m!==o&&m!==s||g!==i?(n=e[t-1],r!==o&&r!==s||m!==i||n!==i?r!==a&&r!==i||m!==a&&m!==i?r!==u&&r!==s||m!==a||n!==a?r!==a||m!==u&&m!==s||g!==a?r===h||r===p||n===h||n===p||m===h||m===p?!1:r===f&&m===l?!1:r===c||r===f||r===l?!0:m===c||m===f||m===l?!0:r===d&&m===d?!1:m!==v||r!==i&&r!==a&&r!==d&&r!==v?r!==v||m!==i&&m!==a&&m!==d?!0:!1:!1:!1:!1:!1:!1):!1)}};n.WordBreak=E},"3.9.1",{requires:["array-extras","text-data-wordbreak"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("highlight-base",function(e,t){var n=e.Array,r=e.Escape,i=e.Text.WordBreak,s=e.Lang.isArray,o={},u="(&[^;\\s]*)?",a={_REGEX:u+"(%needles)",_REPLACER:function(e,t,n){return t&&!/\s/.test(n)?e:a._TEMPLATE.replace(/\{s\}/g,n)},_START_REGEX:"^"+u+"(%needles)",_TEMPLATE:'{s}',all:function(e,t,n){var i=[],u,f,l,c,h,p;n||(n=o),u=n.escapeHTML!==!1,h=n.startsWith?a._START_REGEX:a._REGEX,p=n.replacer||a._REPLACER,t=s(t)?t:[t];for(f=0,l=t.length;f=2)&&(!e.UA.android||e.UA.android>=2.4)),p.nativeHashChange=("onhashchange"in a||"onhashchange"in o)&&(!u||u>7),e.mix(p.prototype,{_init:function(e){var t;e=this._config=e||{},this.force=!!e.force,t=this._initialState=this._initialState||e.initialState||null,this.publish(l,{broadcast:2,defaultFn:this._defChangeFn}),t&&this.replace(t)},add:function(){var e=s(arguments,0,!0);return e.unshift(c),this._change.apply(this,e)},addValue:function(e,t,n){var r={};return r[e]=t,this._change(c,r,n)},get:function(t){var n=i._state,s=d(n);return t?s&&r.owns(n,t)?n[t]:undefined:s?e.mix({},n,!0):n},replace:function(){var e=s(arguments,0,!0);return e.unshift(h),this._change.apply(this,e)},replaceValue:function(e,t,n){var r={};return r[e]=t,this._change(h,r,n)},_change:function(t,n,r){return r=r?e.merge(f,r):f,r.merge&&d(n)&&d(i._state)&&(n=e.merge(i._state,n)),this._resolveChanges(t,n,r),this},_fireEvents:function(e,t,n){this.fire(l,{_options:n,changed:t.changed,newVal:t.newState,prevVal:t.prevState,removed:t.removed,src:e}),r.each(t.changed,function(t,n){this._fireChangeEvent(e,n,t)},this),r.each(t.removed,function(t,n){this._fireRemoveEvent(e,n,t)},this)},_fireChangeEvent:function(e,t,n){this.fire(t+"Change",{newVal:n.newVal,prevVal:n.prevVal,src:e})},_fireRemoveEvent:function(e,t,n){this.fire(t+"Remove",{prevVal:n,src:e})},_resolveChanges:function(e,t,n){var s={},o,u=i._state,a={};t||(t={}),n||(n={}),d(t)&&d(u)?(r.each(t,function(e,t){var n=u[t];e!==n&&(s[t]={newVal:e,prevVal:n},o=!0)},this),r.each(u,function(e,n){if(!r.owns(t,n)||t[n]===null)delete t[n],a[n]=e,o=!0},this)):o=t!==u,(o||this.force)&&this._fireEvents(e,{changed:s,newState:t,prevState:u,removed:a},n)},_storeState:function(e,t){i._state=t||{}},_defChangeFn:function(e){this._storeState(e.src,e.newVal,e._options)}},!0),e.HistoryBase=p},"3.9.1",{requires:["event-custom-complex"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("history-html5",function(e,t){function a(){a.superclass.constructor.apply(this,arguments)}var n=e.HistoryBase,r=e.Lang,i=e.config.win,s=e.config.useHistoryHTML5,o="popstate",u=n.SRC_REPLACE;e.extend(a,n,{_init:function(t){var n=i.history.state;e.Object.isEmpty(n)&&(n=null),t||(t={}),t.initialState&&r.type(t.initialState)==="object"&&r.type(n)==="object"?this._initialState=e.merge(t.initialState,n):this._initialState=n,e.on("popstate",this._onPopState,i,this),a.superclass._init.apply(this,arguments)},_storeState:function(t,n,r){t!==o&&i.history[t===u?"replaceState":"pushState"](n,r.title||e.config.doc.title||"",r.url||null),a.superclass._storeState.apply(this,arguments)},_onPopState:function(e){this._resolveChanges(o,e._event.state||null)}},{NAME:"historyhtml5",SRC_POPSTATE:o}),e.Node.DOM_EVENTS.popstate||(e.Node.DOM_EVENTS.popstate=1),e.HistoryHTML5=a;if(s===!0||s!==!1&&n.html5)e.History=a},"3.9.1",{optional:["json"],requires:["event-base","history-base","node-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("history-hash",function(e,t){function p(){p.superclass.constructor.apply(this,arguments)}var n=e.HistoryBase,r=e.Lang,i=e.Array,s=e.Object,o=YUI.namespace("Env.HistoryHash"),u="hash",a,f,l,c=e.config.win,h=e.config.useHistoryHTML5;e.extend(p,n,{_init:function(t){var n=p.parseHash();t=t||{},this._initialState=t.initialState?e.merge(t.initialState,n):n,e.after("hashchange",e.bind(this._afterHashChange,this),c),p.superclass._init.apply(this,arguments)},_change:function(e,t,n){return s.each(t,function(e,n){r.isValue(e)&&(t[n]=e.toString())}),p.superclass._change.call(this,e,t,n)},_storeState:function(e,t){var r=p.decode,i=p.createHash(t);p.superclass._storeState.apply(this,arguments),e!==u&&r(p.getHash())!==r(i)&&p[e===n.SRC_REPLACE?"replaceHash":"setHash"](i)},_afterHashChange:function(e){this._resolveChanges(u,p.parseHash(e.newHash),{})}},{NAME:"historyHash",SRC_HASH:u,hashPrefix:"",_REGEX_HASH:/([^\?#&]+)=([^&]+)/g,createHash:function(e){var t=p.encode,n=[];return s.each(e,function(e,i){r.isValue(e)&&n.push(t(i)+"="+t(e))}),n.join("&")},decode:function(e){return decodeURIComponent(e.replace(/\+/g," "))},encode:function(e){return encodeURIComponent(e).replace(/%20/g,"+")},getHash:e.UA.gecko?function(){var t=e.getLocation(),n=/#(.*)$/.exec(t.href),r=n&&n[1]||"",i=p.hashPrefix;return i&&r.indexOf(i)===0?r.replace(i,""):r}:function(){var t=e.getLocation(),n=t.hash.substring(1),r=p.hashPrefix;return r&&n.indexOf(r)===0?n.replace(r,""):n},getUrl:function(){return location.href},parseHash:function(e){var t=p.decode,n,i,s,o,u={},a=p.hashPrefix,f;e=r.isValue(e)?e:p.getHash();if(a){f=e.indexOf(a);if(f===0||f===1&&e.charAt(0)==="#")e=e.replace(a,"")}s=e.match(p._REGEX_HASH)||[];for(n=0,i=s.length;n')),e.config.doc.documentElement.appendChild(s),i._updateIframe(t||"#"),e.on("hashchange",function(e){t=e.newHash,i.getIframeHash()!==t&&i._updateIframe(t)},o),e.later(50,null,function(){var e=i.getIframeHash();e!==t&&i.setHash(e)},null,!0)})}},"3.9.1",{requires:["history-hash","node-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("router",function(e,t){function f(){f.superclass.constructor.apply(this,arguments)}var n=e.HistoryHash,r=e.QueryString,i=e.Array,s=e.config.win,o=[],u=[],a="ready";e.Router=e.extend(f,e.Base,{_regexPathParam:/([:*])([\w\-]+)?/g,_regexUrlQuery:/\?([^#]*).*$/,_regexUrlOrigin:/^(?:[^\/#?:]+:\/\/|\/\/)[^\/]*/,initializer:function(t){var n=this;n._html5=n.get("html5"),n._routes=[],n._url=n._getURL(),n._setRoutes(t&&t.routes?t.routes:n.get("routes")),n._html5?(n._history=new e.HistoryHTML5({force:!0}),n._historyEvents=e.after("history:change",n._afterHistoryChange,n)):n._historyEvents=e.on("hashchange",n._afterHistoryChange,s,n),n.publish(a,{defaultFn:n._defReadyFn,fireOnce:!0,preventable:!1}),n.once("initializedChange",function(){e.once("load",function(){setTimeout(function(){n.fire(a,{dispatched:!!n._dispatched})},20)})}),o.push(this)},destructor:function(){var e=i.indexOf(o,this);e>-1&&o.splice(e,1),this._historyEvents&&this._historyEvents.detach()},dispatch:function(){return this.once(a,function(){this._ready=!0;if(this._html5&&this.upgrade())return;this._dispatch(this._getPath(),this._getURL())}),this},getPath:function(){return this._getPath()},hasRoute:function(e){var t;return this._hasSameOrigin(e)?(this._html5||(e=this._upgradeURL(e)),t=this.removeQuery(this.removeRoot(e)),!!this.match(t).length):!1},match:function(e){return i.filter(this._routes,function(t){return e.search(t.regex)>-1})},removeRoot:function(e){var t=this.get("root");return e=e.replace(this._regexUrlOrigin,""),t&&e.indexOf(t)===0&&(e=e.substring(t.length)),e.charAt(0)==="/"?e:"/"+e},removeQuery:function(e){return e.replace(/\?.*$/,"")},replace:function(e){return this._queue(e,!0)},route:function(e,t){t=i.flatten(i(arguments,1,!0));var n=[];return this._routes.push({callbacks:t,keys:n,path:e,regex:this._getRegex(e,n),callback:t[0]}),this},save:function(e){return this._queue(e)},upgrade:function(){if(!this._html5)return!1;var e=this._getHashPath();return e?(this.once(a,function(){this.replace(e)}),!0):!1},_decode:function(e){return decodeURIComponent(e.replace(/\+/g," "))},_dequeue:function(){var t=this,n;return YUI.Env.windowLoaded?(n=u.shift(),n?n():this):(e.once("load",function(){t._dequeue()}),this)},_dispatch:function(t,n,r){var s=this,o=s._decode,u=s.match(t),a=[],f,l,c;return s._dispatching=s._dispatched=!0,!u||!u.length?(s._dispatching=!1,s):(l=s._getRequest(t,n,r),c=s._getResponse(l),l.next=function(n){var r,h,p;if(n)n==="route"?(a=[],l.next()):e.error(n);else if(r=a.shift())typeof r=="string"&&(h=r,r=s[h],r||e.error("Router: Callback not found: "+h,null,"router")),l.pendingCallbacks=a.length,r.call(s,l,c,l.next);else if(p=u.shift())a=p.callbacks.concat(),f=i.map(p.regex.exec(t)||[],o),f.length===p.keys.length+1?l.params=i.hash(p.keys,f.slice(1)):l.params=f.concat(),l.pendingRoutes=u.length,l.next()},l.next(),s._dispatching=!1,s._dequeue())},_getHashPath:function(e){return e||(e=n.getHash()),e&&e.charAt(0)==="/"?this._joinURL(e):""},_getOrigin:function(){var t=e.getLocation();return t.origin||t.protocol+"//"+t.host},_getPath:function(){var t=!this._html5&&this._getHashPath()||e.getLocation().pathname;return this.removeQuery(this.removeRoot(t))},_getPathRoot:function(){var t="/",n=e.getLocation().pathname,r;return n.charAt(n.length-1)===t?n:(r=n.split(t),r.pop(),r.join(t)+t)},_getQuery:function(){var t=e.getLocation(),r,i;return this._html5?t.search.substring(1):(r=n.getHash(),i=r.match(this._regexUrlQuery),r&&i?i[1]:t.search.substring(1))},_getRegex:function(e,t){return e instanceof RegExp?e:e==="*"?/.*/:(e=e.replace(this._regexPathParam,function(e,n,r){return r?(t.push(r),n==="*"?"(.*?)":"([^/#?]*)"):n==="*"?".*":e}),new RegExp("^"+e+"$"))},_getRequest:function(e,t,n){return{path:e,query:this._parseQuery(this._getQuery()),url:t,src:n}},_getResponse:function(e){var t=function(){return e.next.apply(this,arguments)};return t.req=e,t},_getRoutes:function(){return this._routes.concat()},_getURL:function(){var t=e.getLocation().toString();return this._html5||(t=this._upgradeURL(t)),t},_hasSameOrigin:function(t){var n=(t&&t.match(this._regexUrlOrigin)||[])[0];return n&&n.indexOf("//")===0&&(n=e.getLocation().protocol+n),!n||n===this._getOrigin()},_joinURL:function(e){var t=this.get("root");return e=this.removeRoot(e),e.charAt(0)==="/"&&(e=e.substring(1)),t&&t.charAt(t.length-1)==="/"?t+e:t+"/"+e},_normalizePath:function(e){var t="..",n="/",r,i,s,o,u,a;if(!e||e===n)return n;o=e.split(n),a=[];for(r=0,i=o.length;r=3),_instances:o,dispatch:function(){var e,t,n;for(e=0,t=o.length;e=200&&n<300||n===304||n===1223?this.success(e,t):this.failure(e,t)},_rS:function(e,t){var n=this;e.c.readyState===4&&(t.timeout&&n._clearTimeout(e.id),setTimeout(function(){n.complete(e,t),n._result(e,t)},0))},_abort:function(e,t){e&&e.c&&(e.e=t,e.c.abort())},send:function(t,n,i){var s,o,u,a,f,c,h=this,p=t,d={};n=n?e.Object(n):{},s=h._create(n,i),o=n.method?n.method.toUpperCase():"GET",f=n.sync,c=n.data,e.Lang.isObject(c)&&!c.nodeType&&!s.upload&&e.QueryString&&e.QueryString.stringify&&(n.data=c=e.QueryString.stringify(c));if(n.form){if(n.form.upload)return h.upload(s,t,n);c=h._serialize(n.form,c)}c||(c="");if(c)switch(o){case"GET":case"HEAD":case"DELETE":p=h._concat(p,c),c="";break;case"POST":case"PUT":n.headers=e.merge({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},n.headers)}if(s.xdr)return h.xdr(p,s,n);if(s.notify)return s.c.send(s,t,n);!f&&!s.upload&&(s.c.onreadystatechange=function(){h._rS(s,n)});try{s.c.open(o,p,!f,n.username||null,n.password||null),h._setHeaders(s.c,n.headers||{}),h.start(s,n),n.xdr&&n.xdr.credentials&&l&&(s.c.withCredentials=!0),s.c.send(c);if(f){for(u=0,a=r.length;u-1?"&":"?")+"pjax=1",t+(n||"")})),this._request=e.io(i,{arguments:{route:{req:t,res:n,next:r},url:i},context:this,headers:{"X-PJAX":"true"},timeout:this.get("timeout"),on:{complete:this._onPjaxIOComplete,end:this._onPjaxIOEnd}})},_onPjaxIOComplete:function(e,t,n){var r=this.getContent(t.responseText),i=n.route,s=i.req,o=i.res;s.ioURL=n.url,o.content=r,o.ioResponse=t,i.next()},_onPjaxIOEnd:function(){this._request=null}},n.ATTRS={addPjaxParam:{value:!0},contentSelector:{value:null},titleSelector:{value:"title"},timeout:{value:3e4}},e.PjaxContent=n},"3.9.1",{requires:["io-base","node-base","router"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("pjax",function(e,t){var n=["loadContent","_defaultRoute"],r="error",i="load";e.Pjax=e.Base.create("pjax",e.Router,[e.PjaxBase,e.PjaxContent],{initializer:function(){this.publish(r,{defaultFn:this._defCompleteFn}),this.publish(i,{defaultFn:this._defCompleteFn})},_defaultRoute:function(e,t,n){var s=t.ioResponse,o=s.status,u=o>=200&&o<300?i:r;this.fire(u,{content:t.content,responseText:s.responseText,status:o,url:e.ioURL}),n()},_defCompleteFn:function(t){var n=this.get("container"),r=t.content;n&&r.node&&n.setHTML(r.node),r.title&&e.config.doc&&(e.config.doc.title=r.title)}},{ATTRS:{container:{value:null,setter:e.one},routes:{value:[{path:"*",callbacks:n}]}},defaultRoute:n})},"3.9.1",{requires:["pjax-base","pjax-content"]}); diff --git a/docs_api/assets/js/comps4.js b/docs_api/assets/js/comps4.js deleted file mode 100644 index e9b91f19..00000000 --- a/docs_api/assets/js/comps4.js +++ /dev/null @@ -1,464 +0,0 @@ - -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-highlighters",function(e,t){var n=e.Array,r=e.Highlight,i=e.mix(e.namespace("AutoCompleteHighlighters"),{charMatch:function(e,t,i){var s=n.unique((i?e:e.toLowerCase()).split(""));return n.map(t,function(e){return r.all(e.text,s,{caseSensitive:i})})},charMatchCase:function(e,t){return i.charMatch(e,t,!0)},phraseMatch:function(e,t,i){return n.map(t,function(t){return r.all(t.text,[e],{caseSensitive:i})})},phraseMatchCase:function(e,t){return i.phraseMatch(e,t,!0)},startsWith:function(e,t,i){return n.map(t,function(t){return r.all(t.text,[e],{caseSensitive:i,startsWith:!0})})},startsWithCase:function(e,t){return i.startsWith(e,t,!0)},subWordMatch:function(t,i,s){var o=e.Text.WordBreak.getUniqueWords(t,{ignoreCase:!s});return n.map(i,function(e){return r.all(e.text,o,{caseSensitive:s})})},subWordMatchCase:function(e,t){return i.subWordMatch(e,t,!0)},wordMatch:function(e,t,i){return n.map(t,function(t){return r.words(t.text,e,{caseSensitive:i})})},wordMatchCase:function(e,t){return i.wordMatch(e,t,!0)}})},"3.9.1",{requires:["array-extras","highlight-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-sources",function(e,t){var n=e.AutoCompleteBase,r=e.Lang,i="_sourceSuccess",s="maxResults",o="requestTemplate",u="resultListLocator";e.mix(n.prototype,{_YQL_SOURCE_REGEX:/^(?:select|set|use)\s+/i,_beforeCreateObjectSource:function(t){return t instanceof e.Node&&t.get("nodeName").toLowerCase()==="select"?this._createSelectSource(t):e.JSONPRequest&&t instanceof e.JSONPRequest?this._createJSONPSource(t):this._createObjectSource(t)},_createIOSource:function(t){function a(n){var o=n.request;if(r._cache&&o in r._cache){r[i](r._cache[o],n);return}s&&s.isInProgress()&&s.abort(),s=e.io(r._getXHRUrl(t,n),{on:{success:function(t,s){var u;try{u=e.JSON.parse(s.responseText)}catch(a){e.error("JSON parse error",a)}u&&(r._cache&&(r._cache[o]=u),r[i](u,n))}}})}var n={type:"io"},r=this,s,o,u;return n.sendRequest=function(t){o=t;if(u)return;u=!0,e.use("io-base","json-parse",function(){n.sendRequest=a,a(o)})},n},_createJSONPSource:function(t){function u(e){var n=e.request,s=e.query;if(r._cache&&n in r._cache){r[i](r._cache[n],e);return}t._config.on.success=function(t){r._cache&&(r._cache[n]=t),r[i](t,e)},t.send(s)}var n={type:"jsonp"},r=this,s,o;return n.sendRequest=function(i){s=i;if(o)return;o=!0,e.use("jsonp",function(){t instanceof e.JSONPRequest||(t=new e.JSONPRequest(t,{format:e.bind(r._jsonpFormatter,r)})),n.sendRequest=u,u(s)})},n},_createSelectSource:function(e){var t=this;return{type:"select",sendRequest:function(n){var r=[];e.get("options").each(function(e){r.push({html:e.get("innerHTML"),index:e.get("index"),node:e,selected:e.get("selected"),text:e.get("text"),value:e.get("value")})}),t[i](r,n)}}},_createStringSource:function(e){return this._YQL_SOURCE_REGEX.test(e)?this._createYQLSource(e):e.indexOf("{callback}")!==-1?this._createJSONPSource(e):this._createIOSource(e)},_createYQLSource:function(t){function c(o){var u=o.query,a=n.get("yqlEnv"),f=n.get(s),c,h,p;p=r.sub(t,{maxResults:f>0?f:1e3,request:o.request,query:u});if(n._cache&&p in n._cache){n[i](n._cache[p],o);return}c=function(e){n._cache&&(n._cache[p]=e),n[i](e,o)},h={proto:n.get("yqlProtocol")},l?(l._callback=c,l._opts=h,l._params.q=p,a&&(l._params.env=a)):l=new e.YQLRequest(p,{on:{success:c},allowCache:!1},a?{env:a}:null,h),l.send()}var n=this,o={type:"yql"},a,f,l;return n.get(u)||n.set(u,n._defaultYQLLocator),o.sendRequest=function(t){a=t,f||(f=!0,e.use("yql",function(){o.sendRequest=c,c(a)}))},o},_defaultYQLLocator:function(t){var n=t&&t.query&&t.query.results,i;return n&&r.isObject(n)?(i=e.Object.values(n)||[],n=i.length===1?i[0]:i,r.isArray(n)||(n=[n])):n=[],n},_getXHRUrl:function(e,t){var n=this.get(s);return t.query!==t.request&&(e+=t.request),r.sub(e,{maxResults:n>0?n:1e3,query:encodeURIComponent(t.query)})},_jsonpFormatter:function(e,t,n){var i=this.get(s),u=this.get(o);return u&&(e+=u(n)),r.sub(e,{callback:t,maxResults:i>0?i:1e3,query:encodeURIComponent(n)})}}),e.mix(n.ATTRS,{yqlEnv:{value:null},yqlProtocol:{value:"http"}}),e.mix(n.SOURCE_TYPES,{io:"_createIOSource",jsonp:"_createJSONPSource",object:"_beforeCreateObjectSource",select:"_createSelectSource",string:"_createStringSource",yql:"_createYQLSource"},!0)},"3.9.1",{optional:["io-base","json-parse","jsonp","yql"],requires:["autocomplete-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("event-key",function(e,t){var n="+alt",r="+ctrl",i="+meta",s="+shift",o=e.Lang.trim,u={KEY_MAP:{enter:13,esc:27,backspace:8,tab:9,pageup:33,pagedown:34},_typeRE:/^(up|down|press):/,_keysRE:/^(?:up|down|press):|\+(alt|ctrl|meta|shift)/g,processArgs:function(t){var n=t.splice(3,1)[0],r=e.Array.hash(n.match(/\+(?:alt|ctrl|meta|shift)\b/g)||[]),i={type:this._typeRE.test(n)?RegExp.$1:null,mods:r,keys:null},s=n.replace(this._keysRE,""),u,a,f,l;if(s){s=s.split(","),i.keys={};for(l=s.length-1;l>=0;--l){u=o(s[l]);if(!u)continue;+u==u?i.keys[u]=r:(f=u.toLowerCase(),this.KEY_MAP[f]?(i.keys[this.KEY_MAP[f]]=r,i.type||(i.type="down")):(u=u.charAt(0),a=u.toUpperCase(),r["+shift"]&&(u=a),i.keys[u.charCodeAt(0)]=u===a?e.merge(r,{"+shift":!0}):r))}}return i.type||(i.type="press"),i},on:function(e,t,o,u){var a=t._extra,f="key"+a.type,l=a.keys,c=u?"delegate":"on";t._detach=e[c](f,function(e){var t=l?l[e.which]:a.mods;t&&(!t[n]||t[n]&&e.altKey)&&(!t[r]||t[r]&&e.ctrlKey)&&(!t[i]||t[i]&&e.metaKey)&&(!t[s]||t[s]&&e.shiftKey)&&o.fire(e)},u)},detach:function(e,t,n){t._detach.detach()}};u.delegate=u.on,u.detachDelegate=u.detach,e.Event.define("key",u,!0)},"3.9.1",{requires:["event-synthetic"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("attribute-complex",function(e,t){var n=e.Attribute;n.Complex=function(){},n.Complex.prototype={_normAttrVals:n.prototype._normAttrVals,_getAttrInitVal:n.prototype._getAttrInitVal},e.AttributeComplex=n.Complex},"3.9.1",{requires:["attribute-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("plugin",function(e,t){function n(t){!this.hasImpl||!this.hasImpl(e.Plugin.Base)?n.superclass.constructor.apply(this,arguments):n.prototype.initializer.apply(this,arguments)}n.ATTRS={host:{writeOnce:!0}},n.NAME="plugin",n.NS="plugin",e.extend(n,e.Base,{_handles:null,initializer:function(e){this._handles=[]},destructor:function(){if(this._handles)for(var e=0,t=this._handles.length;e0?m:v,t.fireEvent("on"+u,g)):e.error("simulateKeyEvent(): No event simulation framework present.")}function v(t,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x){t||e.error("simulateMouseEvent(): Invalid target."),r(f)?!u[f.toLowerCase()]&&!a[f]&&e.error("simulateMouseEvent(): Event type '"+f+"' not supported."):e.error("simulateMouseEvent(): Event type must be a string."),i(l)||(l=!0),i(c)||(c=f!=="mousemove"),s(h)||(h=e.config.win),o(p)||(p=1),o(d)||(d=0),o(v)||(v=0),o(m)||(m=0),o(g)||(g=0),i(y)||(y=!1),i(b)||(b=!1),i(w)||(w=!1),i(E)||(E=!1),o(S)||(S=0),x=x||null;var T=null;if(n(e.config.doc.createEvent))T=e.config.doc.createEvent("MouseEvents"),T.initMouseEvent?T.initMouseEvent(f,l,c,h,p,d,v,m,g,y,b,w,E,S,x):(T=e.config.doc.createEvent("UIEvents"),T.initEvent(f,l,c),T.view=h,T.detail=p,T.screenX=d,T.screenY=v,T.clientX=m,T.clientY=g,T.ctrlKey=y,T.altKey=b,T.metaKey=E,T.shiftKey=w,T.button=S,T.relatedTarget=x),x&&!T.relatedTarget&&(f==="mouseout"?T.toElement=x:f==="mouseover"&&(T.fromElement=x)),t.dispatchEvent(T);else if(s(e.config.doc.createEventObject)){T=e.config.doc.createEventObject(),T.bubbles=l,T.cancelable=c,T.view=h,T.detail=p,T.screenX=d,T.screenY=v,T.clientX=m,T.clientY=g,T.ctrlKey=y,T.altKey=b,T.metaKey=E,T.shiftKey=w;switch(S){case 0:T.button=1;break;case 1:T.button=4;break;case 2:break;default:T.button=0}T.relatedTarget=x,t.fireEvent("on"+f,T)}else e.error("simulateMouseEvent(): No event simulation framework present.")}function m(t,u,a,f,h,p){t||e.error("simulateUIEvent(): Invalid target."),r(u)?(u=u.toLowerCase(),l[u]||e.error("simulateUIEvent(): Event type '"+u+"' not supported.")):e.error("simulateUIEvent(): Event type must be a string.");var d=null;i(a)||(a=u in c),i(f)||(f=u==="submit"),s(h)||(h=e.config.win),o(p)||(p=1),n(e.config.doc.createEvent)?(d=e.config.doc.createEvent("UIEvents"),d.initUIEvent(u,a,f,h,p),t.dispatchEvent(d)):s(e.config.doc.createEventObject)?(d=e.config.doc.createEventObject(),d.bubbles=a,d.cancelable=f,d.view=h,d.detail=p,t.fireEvent("on"+u,d)):e.error("simulateUIEvent(): No event simulation framework present.")}function g(t,n,r,i,s,o,u,a,f,l,c,h,d,v,m,g){var y;(!e.UA.ios||e.UA.ios<2)&&e.error("simulateGestureEvent(): Native gesture DOM eventframe is not available in this platform."),t||e.error("simulateGestureEvent(): Invalid target."),e.Lang.isString(n)?(n=n.toLowerCase(),p[n]||e.error("simulateTouchEvent(): Event type '"+n+"' not supported.")):e.error("simulateGestureEvent(): Event type must be a string."),e.Lang.isBoolean(r)||(r=!0),e.Lang.isBoolean(i)||(i=!0),e.Lang.isObject(s)||(s=e.config.win),e.Lang.isNumber(o)||(o=2),e.Lang.isNumber(u)||(u=0),e.Lang.isNumber(a)||(a=0),e.Lang.isNumber(f)||(f=0),e.Lang.isNumber(l)||(l=0),e.Lang.isBoolean(c)||(c=!1),e.Lang.isBoolean(h)||(h=!1),e.Lang.isBoolean(d)||(d=!1),e.Lang.isBoolean(v)||(v=!1),e.Lang.isNumber(m)||(m=1),e.Lang.isNumber(g)||(g=0),y=e.config.doc.createEvent("GestureEvent"),y.initGestureEvent(n,r,i,s,o,u,a,f,l,c,h,d,v,t,m,g),t.dispatchEvent(y)}function y(t,n,r,i,s,o,u,a,f,l,c,p,d,v,m,g,y,b,w){var E;t||e.error("simulateTouchEvent(): Invalid target."),e.Lang.isString(n)?(n=n.toLowerCase(),h[n]||e.error("simulateTouchEvent(): Event type '"+n+"' not supported.")):e.error("simulateTouchEvent(): Event type must be a string."),n==="touchstart"||n==="touchmove"?m.length===0&&e.error("simulateTouchEvent(): No touch object in touches"):n==="touchend"&&y.length===0&&e.error("simulateTouchEvent(): No touch object in changedTouches"),e.Lang.isBoolean(r)||(r=!0),e.Lang.isBoolean(i)||(i=n!=="touchcancel"),e.Lang.isObject(s)||(s=e.config.win),e.Lang.isNumber(o)||(o=1),e.Lang.isNumber(u)||(u=0),e.Lang.isNumber(a)||(a=0),e.Lang.isNumber(f)||(f=0),e.Lang.isNumber(l)||(l=0),e.Lang.isBoolean(c)||(c=!1),e.Lang.isBoolean(p)||(p=!1),e.Lang.isBoolean(d)||(d=!1),e.Lang.isBoolean(v)||(v=!1),e.Lang.isNumber(b)||(b=1),e.Lang.isNumber(w)||(w=0),e.Lang.isFunction(e.config.doc.createEvent)?(e.UA.android?e.UA.android<4?(E=e.config.doc.createEvent("MouseEvents"),E.initMouseEvent(n,r,i,s,o,u,a,f,l,c,p,d,v,0,t),E.touches=m,E.targetTouches=g,E.changedTouches=y):(E=e.config.doc.createEvent("TouchEvent"),E.initTouchEvent(m,g,y,n,s,u,a,f,l,c,p,d,v)):e.UA.ios?e.UA.ios>=2?(E=e.config.doc.createEvent("TouchEvent"),E.initTouchEvent(n,r,i,s,o,u,a,f,l,c,p,d,v,m,g,y,b,w)):e.error("simulateTouchEvent(): No touch event simulation framework present for iOS, "+e.UA.ios+"."):e.error("simulateTouchEvent(): Not supported agent yet, "+e.UA.userAgent),t.dispatchEvent(E)):e.error("simulateTouchEvent(): No event simulation framework present.")}var t=e.Lang,n=t.isFunction,r=t.isString,i=t.isBoolean,s=t.isObject,o=t.isNumber,u={click:1,dblclick:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,mousemove:1,contextmenu:1},a={MSPointerOver:1,MSPointerOut:1,MSPointerDown:1,MSPointerUp:1,MSPointerMove:1},f={keydown:1,keyup:1,keypress:1},l={submit:1,blur:1,change:1,focus:1,resize:1,scroll:1,select:1},c={scroll:1,resize:1,reset:1,submit:1,change:1,select -:1,error:1,abort:1},h={touchstart:1,touchmove:1,touchend:1,touchcancel:1},p={gesturestart:1,gesturechange:1,gestureend:1};e.mix(c,u),e.mix(c,f),e.mix(c,h),e.Event.simulate=function(t,n,r){r=r||{},u[n]||a[n]?v(t,n,r.bubbles,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget):f[n]?d(t,n,r.bubbles,r.cancelable,r.view,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.keyCode,r.charCode):l[n]?m(t,n,r.bubbles,r.cancelable,r.view,r.detail):h[n]?e.config.win&&"ontouchstart"in e.config.win&&!e.UA.phantomjs&&!(e.UA.chrome&&e.UA.chrome<6)?y(t,n,r.bubbles,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.touches,r.targetTouches,r.changedTouches,r.scale,r.rotation):e.error("simulate(): Event '"+n+"' can't be simulated. Use gesture-simulate module instead."):e.UA.ios&&e.UA.ios>=2&&p[n]?g(t,n,r.bubbles,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.scale,r.rotation):e.error("simulate(): Event '"+n+"' can't be simulated.")}})()},"3.9.1",{requires:["event-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("async-queue",function(e,t){e.AsyncQueue=function(){this._init(),this.add.apply(this,arguments)};var n=e.AsyncQueue,r="execute",i="shift",s="promote",o="remove",u=e.Lang.isObject,a=e.Lang.isFunction;n.defaults=e.mix({autoContinue:!0,iterations:1,timeout:10,until:function(){return this.iterations|=0,this.iterations<=0}},e.config.queueDefaults||{}),e.extend(n,e.EventTarget,{_running:!1,_init:function(){e.EventTarget.call(this,{prefix:"queue",emitFacade:!0}),this._q=[],this.defaults={},this._initEvents()},_initEvents:function(){this.publish({execute:{defaultFn:this._defExecFn,emitFacade:!0},shift:{defaultFn:this._defShiftFn,emitFacade:!0},add:{defaultFn:this._defAddFn,emitFacade:!0},promote:{defaultFn:this._defPromoteFn,emitFacade:!0},remove:{defaultFn:this._defRemoveFn,emitFacade:!0}})},next:function(){var e;while(this._q.length){e=this._q[0]=this._prepare(this._q[0]);if(!e||!e.until())break;this.fire(i,{callback:e}),e=null}return e||null},_defShiftFn:function(e){this.indexOf(e.callback)===0&&this._q.shift()},_prepare:function(t){if(a(t)&&t._prepared)return t;var r=e.merge(n.defaults,{context:this,args:[],_prepared:!0},this.defaults,a(t)?{fn:t}:t),i=e.bind(function(){i._running||i.iterations--,a(i.fn)&&i.fn.apply(i.context||e,e.Array(i.args))},this);return e.mix(i,r)},run:function(){var e,t=!0;for(e=this.next();t&&e&&!this.isRunning();e=this.next())t=e.timeout<0?this._execute(e):this._schedule(e);return e||this.fire("complete"),this},_execute:function(e){this._running=e._running=!0,e.iterations--,this.fire(r,{callback:e});var t=this._running&&e.autoContinue;return this._running=e._running=!1,t},_schedule:function(t){return this._running=e.later(t.timeout,this,function(){this._execute(t)&&this.run()}),!1},isRunning:function(){return!!this._running},_defExecFn:function(e){e.callback()},add:function(){return this.fire("add",{callbacks:e.Array(arguments,0,!0)}),this},_defAddFn:function(t){var n=this._q,r=[];e.Array.each(t.callbacks,function(e){u(e)&&(n.push(e),r.push(e))}),t.added=r},pause:function(){return u(this._running)&&this._running.cancel(),this._running=!1,this},stop:function(){return this._q=[],this.pause()},indexOf:function(e){var t=0,n=this._q.length,r;for(;t-1?this._q[t]:null},promote:function(e){var t={callback:e},n;return this.isRunning()?n=this.after(i,function(){this.fire(s,t),n.detach()},this):this.fire(s,t),this},_defPromoteFn:function(e){var t=this.indexOf(e.callback),n=t>-1?this._q.splice(t,1)[0]:null;e.promoted=n,n&&this._q.unshift(n)},remove:function(e){var t={callback:e},n;return this.isRunning()?n=this.after(i,function(){this.fire(o,t),n.detach()},this):this.fire(o,t),this},_defRemoveFn:function(e){var t=this.indexOf(e.callback);e.removed=t>-1?this._q.splice(t,1)[0]:null},size:function(){return this.isRunning()||this.next(),this._q.length}})},"3.9.1",{requires:["event-custom"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("gesture-simulate",function(e,t){function T(n){n||e.error(t+": invalid target node"),this.node=n,this.target=e.Node.getDOMNode(n);var r=this.node.getXY(),i=this._getDims();a=r[0]+i[0]/2,f=r[1]+i[1]/2}var t="gesture-simulate",n=e.config.win&&"ontouchstart"in e.config.win&&!e.UA.phantomjs&&!(e.UA.chrome&&e.UA.chrome<6),r={tap:1,doubletap:1,press:1,move:1,flick:1,pinch:1,rotate:1},i={touchstart:1,touchmove:1,touchend:1,touchcancel:1},s=e.config.doc,o,u=20,a,f,l={HOLD_TAP:10,DELAY_TAP:10,HOLD_PRESS:3e3,MIN_HOLD_PRESS:1e3,MAX_HOLD_PRESS:6e4,DISTANCE_MOVE:200,DURATION_MOVE:1e3,MAX_DURATION_MOVE:5e3,MIN_VELOCITY_FLICK:1.3,DISTANCE_FLICK:200,DURATION_FLICK:1e3,MAX_DURATION_FLICK:5e3,DURATION_PINCH:1e3},c="touchstart",h="touchmove",p="touchend",d="gesturestart",v="gesturechange",m="gestureend",g="mouseup",y="mousemove",b="mousedown",w="click",E="dblclick",S="x",x="y";T.prototype={_toRadian:function(e){return e*(Math.PI/180)},_getDims:function(){var e,t,n;return this.target.getBoundingClientRect?(e=this.target.getBoundingClientRect(),"height"in e?n=e.height:n=Math.abs(e.bottom-e.top),"width"in e?t=e.width:t=Math.abs(e.right-e.left)):(e=this.node.get("region"),t=e.width,n=e.height),[t,n]},_calculateDefaultPoint:function(t){var n;return!e.Lang.isArray(t)||t.length===0?t=[a,f]:(t.length==1&&(n=this._getDims[1],t[1]=n/2),t[0]=this.node.getX()+t[0],t[1]=this.node.getY()+t[1]),t},rotate:function(n,r,i,s,o,u,a){var f,l=i,c=s;if(!e.Lang.isNumber(l)||!e.Lang.isNumber(c)||l<0||c<0)f=this.target.offsetWidth=2&&this._simulateEvent(this.target,d,e.merge({scale:k,rotation:O},r))},timeout:0,context:this}),H=Math.floor(o/b),T=(x-S)/H,A=(L-k)/H,_=(M-O)/H,B=function(t){var n=S+T*t,r=N+n*Math.sin(this._toRadian(O+_*t)),i=C-n*Math.cos(this._toRadian(O+_*t)),s=N-n*Math.sin(this._toRadian(O+_*t)),o=C+n*Math.cos(this._toRadian(O+_*t)),u=(r+s)/2,a=(i+o)/2,f,l,c,p;f={pageX:r,pageY:i,clientX:r,clientY:i},l={pageX:s,pageY:o,clientX:s,clientY:o},p=this._createTouchList([e.merge({identifier:E++},f),e.merge({identifier:E++},l)]),c={pageX:u,pageY:a,clientX:u,clientY:a},this._simulateEvent(this.target,h,e.merge({touches:p,targetTouches:p,changedTouches:p,scale:k+A*t,rotation:O+_*t},c)),e.UA.ios>=2&&this._simulateEvent(this.target,v,e.merge({scale:k+A*t,rotation:O+_*t},c))};for(y=0;y=2&&this._simulateEvent(this.target,m,e.merge({scale:L,rotation:M},i)),this._simulateEvent(this.target,p,e.merge({touches:t,targetTouches:t,changedTouches:s,scale:L,rotation:M},i))},context:this}),n&&e.Lang.isFunction(n)&&g.add({fn:n,context:this.node}),g.run()},tap:function(t,r,i,s,o){var u=new e.AsyncQueue,a=this._getEmptyTouchList(),f,h,d,v,m;r=this._calculateDefaultPoint(r);if(!e.Lang.isNumber(i)||i<1)i=1;e.Lang.isNumber(s)||(s=l.HOLD_TAP),e.Lang.isNumber(o)||(o=l.DELAY_TAP),h={pageX:r[0],pageY:r[1],clientX:r[0],clientY:r[1]},f=this._createTouchList([e.merge({identifier:0},h)]),v=function(){this._simulateEvent(this.target,c,e.merge({touches:f,targetTouches:f,changedTouches:f},h))},m=function(){this._simulateEvent(this.target,p,e.merge({touches:a,targetTouches:a,changedTouches:f},h))};for(d=0;d1&&!n&&u.add({fn:function(){this._simulateEvent(this.target,E,h)},context:this}),t&&e.Lang.isFunction(t)&&u.add({fn:t,context:this.node}),u.run()},flick:function(n,r,i,s,o){var u;r=this._calculateDefaultPoint(r),e.Lang.isString(i)?(i=i.toLowerCase(),i!==S&&i!==x&&e.error(t+"(flick): Only x or y axis allowed")):i=S,e.Lang.isNumber(s)||(s=l.DISTANCE_FLICK),e.Lang.isNumber(o)?o>l.MAX_DURATION_FLICK&&(o=l.MAX_DURATION_FLICK):o=l.DURATION_FLICK,Math.abs(s)/ol.MAX_DURATION_MOVE&&(r=l.MAX_DURATION_MOVE):r=l.DURATION_MOVE,i={start:e.clone(n.point),end:[n.point[0]+n.xdist,n.point[1]+n.ydist]},this._move(t,i,r)},_move:function(t,n,r){var i,s,o=u,d,v,m,g=0,y;e.Lang.isNumber(r)?r>l.MAX_DURATION_MOVE&&(r=l.MAX_DURATION_MOVE):r=l.DURATION_MOVE,e.Lang.isObject(n)?(e.Lang.isArray(n.start)||(n.start=[a,f]),e.Lang.isArray(n.end)||(n.end=[a+l.DISTANCE_MOVE,f])):n={start:[a,f],end:[a+l.DISTANCE_MOVE,f]},e.AsyncQueue.defaults.timeout=o,i=new e.AsyncQueue,i.add({fn:function(){var t={pageX:n.start[0],pageY:n.start[1],clientX:n.start[0],clientY:n.start[1]},r=this._createTouchList([e.merge({identifier:g++},t)]);this._simulateEvent(this.target,c,e.merge({touches:r,targetTouches:r,changedTouches:r},t))},timeout:0,context:this}),d=Math.floor(r/o),v=(n.end[0]-n.start[0])/d,m=(n.end[1]-n.start[1])/d,y=function(t){var r=n.start[0]+v*t,i=n.start[1]+m*t,s={pageX:r,pageY:i,clientX:r,clientY:i},o=this._createTouchList([e.merge({identifier:g++},s)]);this._simulateEvent(this.target,h,e.merge({touches:o,targetTouches:o,changedTouches:o},s))};for(s=0;s=4||e.UA.ios&&e.UA.ios>=2?(e.each(n,function(t){t.identifier||(t.identifier=0),t.pageX||(t.pageX=0),t.pageY||(t.pageY=0),t.screenX||(t.screenX=0),t.screenY||(t.screenY=0),r.push(s.createTouch(e.config.win,o.target,t.identifier,t.pageX,t.pageY,t.screenX,t.screenY))}),i=s.createTouchList.apply(s,r)):e.UA.ios&&e.UA.ios<2?e.error(t+": No touch event simulation framework present."):(i=[],e.each(n,function(e){e.identifier||(e.identifier=0),e.clientX||(e.clientX=0),e.clientY||(e.clientY=0),e.pageX||(e.pageX=0),e.pageY||(e.pageY=0),e.screenX||(e.screenX=0),e.screenY||(e.screenY=0),i.push({target:o.target,identifier:e.identifier,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY})}),i.item=function(e){return i[e]}):e.error(t+": Invalid touchPoints passed"),i},_simulateEvent:function(t,r,s){var o;i[r]?n?e.Event.simulate(t,r,s):this._isSingleTouch(s.touches,s.targetTouches,s.changedTouches)?(r={touchstart:b,touchmove:y,touchend:g}[r],s.button=0,s.relatedTarget=null,o=r===g?s.changedTouches:s.touches,s=e.mix(s,{screenX:o.item(0).screenX,screenY:o.item(0).screenY,clientX:o.item(0).clientX,clientY:o.item(0).clientY},!0),e.Event.simulate(t,r,s),r==g&&e.Event.simulate(t,w,s)):e.error("_simulateEvent(): Event '"+r+"' has multi touch objects that can't be simulated in your platform."):e.Event.simulate(t,r,s)},_isSingleTouch:function(e,t,n){return e&&e.length<=1&&t&&t.length<=1&&n&&n.length<=1}},e.GestureSimulation=T,e.GestureSimulation.defaults=l,e.GestureSimulation.GESTURES=r,e.Event.simulateGesture=function(n,i,s,o){n=e.one(n);var u=new e.GestureSimulation(n);i=i.toLowerCase(),!o&&e.Lang.isFunction(s)&&(o=s,s={}),s=s||{};if(r[i])switch(i){case"tap":u.tap(o,s.point,s.times,s.hold,s.delay);break;case"doubletap":u.tap(o,s.point,2);break;case"press":e.Lang.isNumber(s.hold)?s.holdl.MAX_HOLD_PRESS&&(s.hold=l.MAX_HOLD_PRESS):s.hold=l.HOLD_PRESS,u.tap(o,s.point,1,s.hold);break;case"move":u.move(o,s.path,s.duration);break;case"flick":u.flick(o,s.point,s.axis,s.distance,s.duration);break;case"pinch":u.pinch(o,s.center,s.r1,s.r2,s.duration,s.start,s.rotation);break;case"rotate":u.rotate(o,s.center,s.r1,s.r2,s.duration,s.start,s.rotation)}else e.error(t+": Not a supported gesture simulation: "+i)}},"3.9.1",{requires:["async-queue","event-simulate","node-screen"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("node-event-simulate",function(e,t){e.Node.prototype.simulate=function(t,n){e.Event.simulate(e.Node.getDOMNode(this),t,n)},e.Node.prototype.simulateGesture=function(t,n,r){e.Event.simulateGesture(this,t,n,r)}},"3.9.1",{requires:["node-base","event-simulate","gesture-simulate"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("node-focusmanager",function(e,t){var n="activeDescendant",r="id",i="disabled",s="tabIndex",o="focused",u="focusClass",a="circular",f="UI",l="key",c=n+"Change",h="host",p={37:!0,38:!0,39:!0,40:!0},d={a:!0,button:!0,input:!0,object:!0},v=e.Lang,m=e.UA,g=function(){g.superclass.constructor.apply(this,arguments)};g.ATTRS={focused:{value:!1,readOnly:!0},descendants:{getter:function(e){return this.get(h).all(e)}},activeDescendant:{setter:function(t){var n=v.isNumber,i=e.Attribute.INVALID_VALUE,s=this._descendantsMap,o=this._descendants,u,a,f;return n(t)?(u=t,a=u):t instanceof e.Node&&s?(u=s[t.get(r)],n(u)?a=u:a=i):a=i,o&&(f=o.item(u),f&&f.get("disabled")&&(a=i)),a}},keys:{value:{next:null,previous:null}},focusClass:{},circular:{value:!0}},e.extend(g,e.Plugin.Base,{_stopped:!0,_descendants:null,_descendantsMap:null,_focusedNode:null,_lastNodeIndex:0,_eventHandlers:null,_initDescendants:function(){var t=this.get("descendants"),o={},u=-1,a,f=this.get(n),l,c,h=0;v.isUndefined(f)&&(f=-1);if(t){a=t.size();for(h=0;h=0&&(r-=1,r===-1&&this.get(a)&&(r=this._lastNodeIndex),i=this._descendants.item(r),i&&(i.get("disabled")?this._focusPrevious(e,r):this.focus(r))),this._preventScroll(e)},_afterActiveDescendantChange:function(e){var t=this._descendants.item(e.prevVal);t&&t.set(s,-1),t=this._descendants.item(e.newVal),t&&t.set(s,0)},initializer:function(e){this.start()},destructor:function(){this.stop(),this.get(h).focusManager=null},focus:function(e){v.isUndefined(e)&&(e=this.get(n)),this.set(n,e,{src:f});var t=this._descendants.item(this.get(n));t&&(t.focus(),m.opera&&t.get("nodeName").toLowerCase()==="button"&&(this._focusTarget=t))},blur:function(){var e;this.get(o)&&(e=this._descendants.item(this.get(n)),e&&(e.blur(),this._removeFocusClass()),this._set(o,!1,{src:f}))},start:function(){this._stopped&&(this._initDescendants(),this._attachEventHandlers(),this._stopped=!1)},stop:function(){this._stopped||(this._detachEventHandlers(),this._descendants=null,this._focusedNode=null,this._lastNodeIndex=0,this._stopped=!0)},refresh:function(){this._initDescendants(),this._eventHandlers||this._attachEventHandlers()}}),g.NAME="nodeFocusManager",g.NS="focusManager",e.namespace("Plugin"),e.Plugin.NodeFocusManager=g},"3.9.1",{requires:["attribute","node","plugin","node-event-simulate","event-key","event-focus"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("base-pluginhost",function(e,t){var n=e.Base,r=e.Plugin.Host;e.mix(n,r,!1,null,1),n.plug=r.plug,n.unplug=r.unplug},"3.9.1",{requires:["base-base","pluginhost"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("widget-base",function(e,t){function R(e){var t=this,n,r,i=t.constructor;t._strs={},t._cssPrefix=i.CSS_PREFIX||s(i.NAME.toLowerCase()),e=e||{},R.superclass.constructor.call(t,e),r=t.get(T),r&&(r!==P&&(n=r),t.render(n))}var n=e.Lang,r=e.Node,i=e.ClassNameManager,s=i.getClassName,o,u=e.cached(function(e){return e.substring(0,1).toUpperCase()+e.substring(1)}),a="content",f="visible",l="hidden",c="disabled",h="focused",p="width",d="height",v="boundingBox",m="contentBox",g="parentNode",y="ownerDocument",b="auto",w="srcNode",E="body",S="tabIndex",x="id",T="render",N="rendered",C="destroyed",k="strings",L="
    ",A="Change",O="loading",M="_uiSet",_="",D=function(){},P=!0,H=!1,B,j={},F=[f,c,d,p,h,S],I=e.UA.webkit,q={};R.NAME="widget",B=R.UI_SRC="ui",R.ATTRS=j,j[x]={valueFn:"_guid",writeOnce:P},j[N]={value:H,readOnly:P},j[v]={value:null,setter:"_setBB",writeOnce:P},j[m]={valueFn:"_defaultCB",setter:"_setCB",writeOnce:P},j[S]={value:null,validator:"_validTabIndex"},j[h]={value:H,readOnly:P},j[c]={value:H},j[f]={value:P},j[d]={value:_},j[p]={value:_},j[k]={value:{},setter:"_strSetter",getter:"_strGetter"},j[T]={value:H,writeOnce:P},R.CSS_PREFIX=s(R.NAME.toLowerCase()),R.getClassName=function(){return s.apply(i,[R.CSS_PREFIX].concat(e.Array(arguments),!0))},o=R.getClassName,R.getByNode=function(t){var n,i=o();return t=r.one(t),t&&(t=t.ancestor("."+i,!0),t&&(n=q[e.stamp(t,!0)])),n||null},e.extend(R,e.Base,{getClassName:function(){return s.apply(i,[this._cssPrefix].concat(e.Array(arguments),!0))},initializer:function(t){var n=this.get(v);n instanceof r&&this._mapInstance(e.stamp(n)),this._applyParser&&this._applyParser(t)},_mapInstance:function(e){q[e]=this},destructor:function(){var t=this.get(v),n;t instanceof r&&(n=e.stamp(t,!0),n in q&&delete q[n],this._destroyBox())},destroy:function(e){return this._destroyAllNodes=e,R.superclass.destroy.apply(this)},_destroyBox:function(){var e=this.get(v),t=this.get(m),n=this._destroyAllNodes,r;r=e&&e.compareTo(t),this.UI_EVENTS&&this._destroyUIEvents(),this._unbindUI(e),n?(e.empty(),e.remove(P)):(t&&t.remove(P),r||e.remove(P))},render:function(e){return!this.get(C)&&!this.get(N)&&(this.publish(T,{queuable:H,fireOnce:P,defaultTargetOnly:P,defaultFn:this._defRenderFn}),this.fire(T,{parentNode:e?r.one(e):null})),this},_defRenderFn:function(e){this._parentNode=e.parentNode,this.renderer(),this._set(N,P),this._removeLoadingClassNames()},renderer:function(){var e=this;e._renderUI(),e.renderUI(),e._bindUI(),e.bindUI(),e._syncUI(),e.syncUI()},bindUI:D,renderUI:D,syncUI:D,hide:function(){return this.set(f,H)},show:function(){return this.set(f,P)},focus:function(){return this._set(h,P)},blur:function(){return this._set(h,H)},enable:function(){return this.set(c,H)},disable:function(){return this.set(c,P)},_uiSizeCB:function(e){this.get(m).toggleClass(o(a,"expanded"),e)},_renderBox:function(e){var t=this,n=t.get(m),i=t.get(v),s=t.get(w),o=t.DEF_PARENT_NODE,u=s&&s.get(y)||i.get(y)||n.get(y);s&&!s.compareTo(n)&&!n.inDoc(u)&&s.replace(n),!i.compareTo(n.get(g))&&!i.compareTo(n)&&(n.inDoc(u)&&n.replace(i),i.appendChild(n)),e=e||o&&r.one(o),e?e.appendChild(i):i.inDoc(u)||r.one(E).insert(i,0)},_setBB:function(e){return this._setBox(this.get(x),e,this.BOUNDING_TEMPLATE,!0)},_setCB:function(e){return this.CONTENT_TEMPLATE===null?this.get(v):this._setBox(null,e,this.CONTENT_TEMPLATE,!1)},_defaultCB:function(e){return this.get(w)||null},_setBox:function(t,n,i,s){return n=r.one(n),n||(n=r.create(i),s?this._bbFromTemplate=!0:this._cbFromTemplate=!0),n.get(x)||n.set(x,t||e.guid()),n},_renderUI:function(){this._renderBoxClassNames(),this._renderBox(this._parentNode)},_renderBoxClassNames:function(){var e=this._getClasses(),t,n=this.get(v),r;n.addClass(o());for(r=e.length-3;r>=0;r--)t=e[r],n.addClass(t.CSS_PREFIX||s(t.NAME.toLowerCase()));this.get(m).addClass(this.getClassName(a))},_removeLoadingClassNames:function(){var e=this.get(v),t=this.get(m),n=this.getClassName(O),r=o(O);e.removeClass(r).removeClass(n),t.removeClass(r).removeClass(n)},_bindUI:function(){this._bindAttrUI(this._UI_ATTRS.BIND),this._bindDOM()},_unbindUI:function(e){this._unbindDOM(e)},_bindDOM:function(){var t=this.get(v).get(y),n=R._hDocFocus;n||(n=R._hDocFocus=t.on("focus",this._onDocFocus,this),n.listeners={count:0}),n.listeners[e.stamp(this,!0)]=!0,n.listeners.count++,I&&(this._hDocMouseDown=t.on("mousedown",this._onDocMouseDown,this))},_unbindDOM:function(t){var n=R._hDocFocus,r=e.stamp(this,!0),i,s=this._hDocMouseDown;n&&(i=n.listeners,i[r]&&(delete i[r],i.count--),i.count===0&&(n.detach(),R._hDocFocus=null)),I&&s&&s.detach()},_syncUI:function(){this._syncAttrUI(this._UI_ATTRS.SYNC)},_uiSetHeight:function(e){this._uiSetDim(d,e),this._uiSizeCB(e!==_&&e!==b)},_uiSetWidth:function(e){this._uiSetDim(p,e)},_uiSetDim:function(e,t){this.get(v).setStyle(e,n.isNumber(t)?t+this.DEF_UNIT:t)},_uiSetVisible:function(e){this.get(v).toggleClass(this.getClassName(l),!e)},_uiSetDisabled:function(e){this.get(v).toggleClass(this.getClassName(c),e)},_uiSetFocused:function(e,t){var n=this.get(v);n.toggleClass(this.getClassName(h),e),t!==B&&(e?n.focus():n.blur())},_uiSetTabIndex:function(e){var t=this.get(v);n.isNumber(e)?t.set(S,e):t.removeAttribute(S)},_onDocMouseDown:function(e){this._domFocus&&this._onDocFocus(e)},_onDocFocus:function(e){var t=R.getByNode(e.target),n=R._active;n&&n!==t&&(n._domFocus=!1,n._set(h,!1,{src:B}),R._active=null),t&&(t._domFocus=!0,t._set(h,!0,{src:B}),R._active=t)},toString:function(){return this.name+"["+this.get(x)+"]"},DEF_UNIT:"px",DEF_PARENT_NODE:null,CONTENT_TEMPLATE:L,BOUNDING_TEMPLATE:L,_guid:function(){return e.guid()},_validTabIndex:function(e){return n.isNumber(e)||n.isNull(e)},_bindAttrUI:function(e){var t,n=e.length;for(t=0;t=0;r--)i=t[r].HTML_PARSER,i&&e.mix(n,i,!0);return n}})},"3.9.1",{requires:["widget-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("widget-skin",function(e,t){var n="boundingBox",r="contentBox",i="skin",s=e.ClassNameManager.getClassName;e.Widget.prototype.getSkinName=function(){var e=this.get(r)||this.get(n),t=new RegExp("\\b"+s(i)+"-(\\S+)"),o;return e&&e.ancestor(function(e){return o=e.get("className").match(t),o}),o?o[1]:null}},"3.9.1",{requires:["widget-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("widget-uievents",function(e,t){var n="boundingBox",r=e.Widget,i="render",s=e.Lang,o=":",u=e.Widget._uievts=e.Widget._uievts||{};e.mix(r.prototype,{_destroyUIEvents:function(){var t=e.stamp(this,!0);e.each(u,function(n,r){n.instances[t]&&(delete n.instances[t],e.Object.isEmpty(n.instances)&&(n.handle.detach(),u[r]&&delete u[r]))})},UI_EVENTS:e.Node.DOM_EVENTS,_getUIEventNode:function(){return this.get(n)},_createUIEvent:function(t){var n=this._getUIEventNode(),i=e.stamp(n)+t,s=u[i],o;s||(o=n.delegate(t,function(e){var t=r.getByNode(this);t&&t._filterUIEvent(e)&&t.fire(e.type,{domEvent:e})},"."+e.Widget.getClassName()),u[i]=s={instances:{},handle:o}),s.instances[e.stamp(this)]=1},_filterUIEvent:function(e){return e.currentTarget.compareTo(e.container)||e.container.compareTo(this._getUIEventNode())},_getUIEvent:function(e){if(s.isString(e)){var t=this.parseType(e)[1],n,r;return t&&(n=t.indexOf(o),n>-1&&(t=t.substring(n+o.length)),this.UI_EVENTS[t]&&(r=t)),r}},_initUIEvent:function(e){var t=this._getUIEvent(e),n=this._uiEvtsInitQueue||{};t&&!n[t]&&(this._uiEvtsInitQueue=n[t]=1,this.after(i,function(){this._createUIEvent(t),delete this._uiEvtsInitQueue[t]}))},on:function(e){return this._initUIEvent(e),r.superclass.on.apply(this,arguments)},publish:function(e,t){var n=this._getUIEvent(e);return n&&t&&t.defaultFn&&this._initUIEvent(n),r.superclass.publish.apply(this,arguments)}},!0)},"3.9.1",{requires:["node-event-delegate","widget-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("arraylist",function(e,t){function s(t){t!==undefined?this._items=e.Lang.isArray(t)?t:n(t):this._items=this._items||[]}var n=e.Array,r=n.each,i;i={item:function(e){return this._items[e]},each:function(e,t){return r(this._items,function(n,r){n=this.item(r),e.call(t||n,n,r,this)},this),this},some:function(e,t){return n.some(this._items,function(n,r){return n=this.item(r),e.call(t||n,n,r,this)},this)},indexOf:function(e){return n.indexOf(this._items,e)},size:function(){return this._items.length},isEmpty:function(){return!this.size()},toJSON:function(){return this._items}},i._item=i.item,e.mix(s.prototype,i),e.mix(s,{addMethod:function(e,t){t=n(t),r(t,function(t){e[t]=function(){var e=n(arguments,0,!0),i=[];return r(this._items,function(n,r){n=this._item(r);var s=n[t].apply(n,e);s!==undefined&&s!==n&&(i[r]=s)},this),i.length?i:this}})}}),e.ArrayList=s},"3.9.1",{requires:["yui-base"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("widget-parent",function(e,t){function s(t){this.publish("addChild",{defaultTargetOnly:!0,defaultFn:this._defAddChildFn}),this.publish("removeChild",{defaultTargetOnly:!0,defaultFn:this._defRemoveChildFn}),this._items=[];var n,r;t&&t.children&&(n=t.children,r=this.after("initializedChange",function(e){this._add(n),r.detach()})),e.after(this._renderChildren,this,"renderUI"),e.after(this._bindUIParent,this,"bindUI"),this.after("selectionChange",this._afterSelectionChange),this.after("selectedChange",this._afterParentSelectedChange),this.after("activeDescendantChange",this._afterActiveDescendantChange),this._hDestroyChild=this.after("*:destroy",this._afterDestroyChild),this.after("*:focusedChange",this._updateActiveDescendant)}var n=e.Lang,r="rendered",i="boundingBox";s.ATTRS={defaultChildType:{setter:function(t){var r=e.Attribute.INVALID_VALUE,i=n.isString(t)?e[t]:t;return n.isFunction(i)&&(r=i),r}},activeDescendant:{readOnly:!0},multiple:{value:!1,validator:n.isBoolean,writeOnce:!0,getter:function(e){var t=this.get("root");return t&&t!=this?t.get("multiple"):e}},selection:{readOnly:!0,setter:"_setSelection",getter:function(t){var r=n.isArray(t)?new e.ArrayList(t):t;return r}},selected:{setter:function(t){var n=t;return t===1&&!this.get("multiple")&&(n=e.Attribute.INVALID_VALUE),n}}},s.prototype={destructor:function(){this._destroyChildren()},_afterDestroyChild:function(e){var t=e.target;t.get("parent")==this&&t.remove()},_afterSelectionChange:function(t){if(t.target==this&&t.src!=this){var n=t.newVal,r=0;n&&(r=2,e.instanceOf(n,e.ArrayList)&&n.size()===this.size()&&(r=1)),this.set("selected",r,{src:this})}},_afterActiveDescendantChange:function(e){var t=this.get("parent");t&&t._set("activeDescendant",e.newVal)},_afterParentSelectedChange:function(e){var t=e.newVal;this==e.target&&e.src!=this&&(t===0||t===1)&&this.each(function(e){e.set("selected",t,{src:this})},this)},_setSelection:function(e){var t=null,n;return this.get("multiple")&&!this.isEmpty()?(n=[],this.each(function(e){e.get("selected")>0&&n.push(e)}),n.length>0&&(t=n)):e.get("selected")>0&&(t=e),t},_updateSelection:function(e){var t=e.target,n;t.get("parent")==this&&(e.src!="_updateSelection"&&(n=this.get("selection"),!this.get("multiple")&&n&&e.newVal>0&&n.set("selected",0,{src:"_updateSelection"}),this._set("selection",t)),e.src==this&&this._set("selection",t,{src:this}))},_updateActiveDescendant:function(e){var t=e.newVal===!0?e.target:null;this._set("activeDescendant",t)},_createChild:function(t){var r=this.get("defaultChildType"),i=t.childType||t.type,s,o,u;return i&&(o=n.isString(i)?e[i]:i),n.isFunction(o)?u=o:r&&(u=r),u?s=new u(t):e.error("Could not create a child instance because its constructor is either undefined or invalid."),s},_defAddChildFn:function(t){var r=t.child,i=t.index,s=this._items;r.get("parent")&&r.remove(),n.isNumber(i)?s.splice(i,0,r):s.push(r),r._set("parent",this),r.addTarget(this),t.index=r.get("index"),r.after("selectedChange",e.bind(this._updateSelection,this))},_defRemoveChildFn:function(e){var t=e.child,n=e.index,r=this._items;t.get("focused")&&t.blur(),t.get("selected")&&t.set("selected",0),r.splice(n,1),t.removeTarget(this),t._oldParent=t.get("parent"),t._set("parent",null)},_add:function(t,r){var i,s,o;return n.isArray(t)?(i=[],e.each(t,function(e,t){s=this._add(e,r+t),s&&i.push(s)},this),i.length>0&&(o=i)):(e.instanceOf(t,e.Widget)?s=t:s=this._createChild(t),s&&this.fire("addChild",{child:s,index:r})&&(o=s)),o},add:function(){var t=this._add.apply(this,arguments),r=t?n.isArray(t)?t:[t]:[];return new e.ArrayList(r)},remove:function(e){var t=this._items[e],n;return t&&this.fire("removeChild",{child:t,index:e})&&(n=t),n},removeAll:function(){var t=[],n;return e.each(this._items.concat(),function(){n=this.remove(0),n&&t.push(n)},this),new e.ArrayList(t)},selectChild:function(e){this.item(e).set("selected",1)},selectAll:function(){this.set("selected",1)},deselectAll:function(){this.set("selected",0)},_uiAddChild:function(e,t){e.render(t);var n=e.get("boundingBox"),s,o=e.next(!1),u;o&&o.get(r)?(s=o.get(i),s.insert(n,"before")):(u=e.previous(!1),u&&u.get(r)?(s=u.get(i),s.insert(n,"after")):t.contains(n)||t.appendChild(n))},_uiRemoveChild:function(e){e.get("boundingBox").remove()},_afterAddChild:function(e){var t=e.child;t.get("parent")==this&&this._uiAddChild(t,this._childrenContainer)},_afterRemoveChild:function(e){var t=e.child;t._oldParent==this&&this._uiRemoveChild(t)},_bindUIParent:function(){this.after("addChild",this._afterAddChild),this.after("removeChild",this._afterRemoveChild)},_renderChildren:function(){var e=this._childrenContainer||this.get("contentBox");this._childrenContainer=e,this.each(function(t){t.render(e)})},_destroyChildren:function(){this._hDestroyChild.detach(),this.each(function(e){e.destroy()})}},e.augment(s,e.ArrayList),e.WidgetParent=s},"3.9.1",{requires:["arraylist","base-build","widget"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("widget-child",function(e,t){function r(){e.after(this._syncUIChild,this,"syncUI"),e.after(this._bindUIChild,this,"bindUI")}var n=e.Lang;r.ATTRS={selected:{value:0,validator:n.isNumber},index:{readOnly:!0,getter:function(){var e=this.get("parent"),t=-1;return e&&(t=e.indexOf(this)),t}},parent:{readOnly:!0},depth:{readOnly:!0,getter:function(){var e=this.get("parent"),t=this.get("root"),n=-1;while(e){n+=1;if(e==t)break;e=e.get("parent")}return n}},root:{readOnly:!0,getter:function(){var t=function(n){var r=n.get("parent"),i=n.ROOT_TYPE,s=r;return i&&(s=r&&e.instanceOf(r,i)),s?t(r):n};return t(this)}}},r.prototype={ROOT_TYPE:null,_getUIEventNode:function(){var e=this.get("root"),t;return e&&(t=e.get("boundingBox")),t},next:function(e){var t=this.get("parent"),n;return t&&(n=t.item(this.get("index")+1)),!n&&e&&(n=t.item(0)),n},previous:function(e){var t=this.get("parent"),n=this.get("index"),r;return t&&n>0&&(r=t.item([n-1])),!r&&e&&(r=t.item(t.size()-1)),r},remove:function(t){var r,i;return n.isNumber(t)?i=e.WidgetParent.prototype.remove.apply(this,arguments):(r=this.get("parent"),r&&(i=r.remove(this.get("index")))),i},isRoot:function(){return this==this.get("root")},ancestor:function(e){var t=this.get("root"),n;if(this.get("depth")>e){n=this.get("parent");while(n!=t&&n.get("depth")>e)n=n.get("parent")}return n},_uiSetChildSelected:function(e){var t=this.get("boundingBox"),n=this.getClassName("selected");e===0?t.removeClass(n):t.addClass(n)},_afterChildSelectedChange:function(e){this._uiSetChildSelected(e.newVal)},_syncUIChild:function(){this._uiSetChildSelected(this.get("selected"))},_bindUIChild:function(){this.after("selectedChange",this._afterChildSelectedChange)}},e.WidgetChild=r},"3.9.1",{requires:["base-build","widget"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add("tabview-base",function(e,t){var n=e.ClassNameManager.getClassName,r="tabview",i="tab",s="panel",o="selected",u={},a=".",f={tabview:n(r),tabviewPanel:n(r,s),tabviewList:n(r,"list"),tab:n(i),tabLabel:n(i,"label"),tabPanel:n(i,s),selectedTab:n(i,o),selectedPanel:n(i,s,o)},l={tabview:a+f.tabview,tabviewList:"> ul",tab:"> ul > li",tabLabel:"> ul > li > a",tabviewPanel:"> div",tabPanel:"> div > div",selectedTab:"> ul > "+a+f.selectedTab,selectedPanel:"> div "+a+f.selectedPanel},c=function(){this.init.apply(this,arguments)};c.NAME="tabviewBase",c._queries=l,c._classNames=f,e.mix(c.prototype,{init:function(t){t=t||u,this._node=t.host||e.one(t.node),this.refresh()},initClassNames:function(t){e.Object.each(l,function(e,n){if(f[n]){var r=this.all(e);t!==undefined&&(r=r.item(t)),r&&r.addClass(f[n])}},this._node),this._node.addClass(f.tabview)},_select:function(e){var t=this._node,n=t.one(l.selectedTab),r=t.one(l.selectedPanel),i=t.all(l.tab).item(e),s=t.all(l.tabPanel).item(e);n&&n.removeClass(f.selectedTab),r&&r.removeClass(f.selectedPanel),i&&i.addClass(f.selectedTab),s&&s.addClass(f.selectedPanel)},initState:function(){var e=this._node,t=e.one(l.selectedTab),n=t?e.all(l.tab).indexOf(t):0;this._select(n)},_scrubTextNodes:function(){this._node.one(l.tabviewList).get("childNodes").each(function(e){e.get("nodeType")===3&&e.remove()})},refresh:function(){this._scrubTextNodes(),this.initClassNames(),this.initState(),this.initEvents()},tabEventName:"click",initEvents:function(){this._node.delegate(this.tabEventName,this.onTabEvent,l.tab,this)},onTabEvent:function(e){e.preventDefault(),this._select(this._node.all(l.tab).indexOf(e.currentTarget))},destroy:function(){this._node.detach(this.tabEventName)}}),e.TabviewBase=c},"3.9.1",{requires:["node-event-delegate","classnamemanager"]}); -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ - - - -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -YUI.add('tabview', function (Y, NAME) { - -/** - * The TabView module - * - * @module tabview - */ - -var _queries = Y.TabviewBase._queries, - _classNames = Y.TabviewBase._classNames, - DOT = '.', - - /** - * Provides a tabbed widget interface - * @param config {Object} Object literal specifying tabview configuration properties. - * - * @class TabView - * @constructor - * @extends Widget - * @uses WidgetParent - */ - TabView = Y.Base.create('tabView', Y.Widget, [Y.WidgetParent], { - _afterChildAdded: function() { - this.get('contentBox').focusManager.refresh(); - }, - - _defListNodeValueFn: function() { - return Y.Node.create(TabView.LIST_TEMPLATE); - }, - - _defPanelNodeValueFn: function() { - return Y.Node.create(TabView.PANEL_TEMPLATE); - }, - - _afterChildRemoved: function(e) { // update the selected tab when removed - var i = e.index, - selection = this.get('selection'); - - if (!selection) { // select previous item if selection removed - selection = this.item(i - 1) || this.item(0); - if (selection) { - selection.set('selected', 1); - } - } - - this.get('contentBox').focusManager.refresh(); - }, - - _initAria: function() { - var contentBox = this.get('contentBox'), - tablist = contentBox.one(_queries.tabviewList); - - if (tablist) { - tablist.setAttrs({ - //'aria-labelledby': - role: 'tablist' - }); - } - }, - - bindUI: function() { - // Use the Node Focus Manager to add keyboard support: - // Pressing the left and right arrow keys will move focus - // among each of the tabs. - - this.get('contentBox').plug(Y.Plugin.NodeFocusManager, { - descendants: DOT + _classNames.tabLabel, - keys: { next: 'down:39', // Right arrow - previous: 'down:37' }, // Left arrow - circular: true - }); - - this.after('render', this._setDefSelection); - this.after('addChild', this._afterChildAdded); - this.after('removeChild', this._afterChildRemoved); - }, - - renderUI: function() { - var contentBox = this.get('contentBox'); - this._renderListBox(contentBox); - this._renderPanelBox(contentBox); - this._childrenContainer = this.get('listNode'); - this._renderTabs(contentBox); - }, - - _setDefSelection: function() { - // If no tab is selected, select the first tab. - var selection = this.get('selection') || this.item(0); - - this.some(function(tab) { - if (tab.get('selected')) { - selection = tab; - return true; - } - }); - if (selection) { - // TODO: why both needed? (via widgetParent/Child)? - this.set('selection', selection); - selection.set('selected', 1); - } - }, - - _renderListBox: function(contentBox) { - var node = this.get('listNode'); - if (!node.inDoc()) { - contentBox.append(node); - } - }, - - _renderPanelBox: function(contentBox) { - var node = this.get('panelNode'); - if (!node.inDoc()) { - contentBox.append(node); - } - }, - - _renderTabs: function(contentBox) { - var tabs = contentBox.all(_queries.tab), - panelNode = this.get('panelNode'), - panels = (panelNode) ? this.get('panelNode').get('children') : null, - tabview = this; - - if (tabs) { // add classNames and fill in Tab fields from markup when possible - tabs.addClass(_classNames.tab); - contentBox.all(_queries.tabLabel).addClass(_classNames.tabLabel); - contentBox.all(_queries.tabPanel).addClass(_classNames.tabPanel); - - tabs.each(function(node, i) { - var panelNode = (panels) ? panels.item(i) : null; - tabview.add({ - boundingBox: node, - contentBox: node.one(DOT + _classNames.tabLabel), - panelNode: panelNode - }); - }); - } - } -}, { - - LIST_TEMPLATE: '
      ', - PANEL_TEMPLATE: '
      ', - - ATTRS: { - defaultChildType: { - value: 'Tab' - }, - - listNode: { - setter: function(node) { - node = Y.one(node); - if (node) { - node.addClass(_classNames.tabviewList); - } - return node; - }, - - valueFn: '_defListNodeValueFn' - }, - - panelNode: { - setter: function(node) { - node = Y.one(node); - if (node) { - node.addClass(_classNames.tabviewPanel); - } - return node; - }, - - valueFn: '_defPanelNodeValueFn' - }, - - tabIndex: { - value: null - //validator: '_validTabIndex' - } - }, - - HTML_PARSER: { - listNode: _queries.tabviewList, - panelNode: _queries.tabviewPanel - } -}); - -Y.TabView = TabView; -var Lang = Y.Lang, - _classNames = Y.TabviewBase._classNames; - -/** - * Provides Tab instances for use with TabView - * @param config {Object} Object literal specifying tabview configuration properties. - * - * @class Tab - * @constructor - * @extends Widget - * @uses WidgetChild - */ -Y.Tab = Y.Base.create('tab', Y.Widget, [Y.WidgetChild], { - BOUNDING_TEMPLATE: '
    • ', - CONTENT_TEMPLATE: '', - PANEL_TEMPLATE: '
      ', - - _uiSetSelectedPanel: function(selected) { - this.get('panelNode').toggleClass(_classNames.selectedPanel, selected); - }, - - _afterTabSelectedChange: function(event) { - this._uiSetSelectedPanel(event.newVal); - }, - - _afterParentChange: function(e) { - if (!e.newVal) { - this._remove(); - } else { - this._add(); - } - }, - - _initAria: function() { - var anchor = this.get('contentBox'), - id = anchor.get('id'), - panel = this.get('panelNode'); - - if (!id) { - id = Y.guid(); - anchor.set('id', id); - } - // Apply the ARIA roles, states and properties to each tab - anchor.set('role', 'tab'); - anchor.get('parentNode').set('role', 'presentation'); - - - // Apply the ARIA roles, states and properties to each panel - panel.setAttrs({ - role: 'tabpanel', - 'aria-labelledby': id - }); - }, - - syncUI: function() { - this.set('label', this.get('label')); - this.set('content', this.get('content')); - this._uiSetSelectedPanel(this.get('selected')); - }, - - bindUI: function() { - this.after('selectedChange', this._afterTabSelectedChange); - this.after('parentChange', this._afterParentChange); - }, - - renderUI: function() { - this._renderPanel(); - this._initAria(); - }, - - _renderPanel: function() { - this.get('parent').get('panelNode') - .appendChild(this.get('panelNode')); - }, - - _add: function() { - var parent = this.get('parent').get('contentBox'), - list = parent.get('listNode'), - panel = parent.get('panelNode'); - - if (list) { - list.appendChild(this.get('boundingBox')); - } - - if (panel) { - panel.appendChild(this.get('panelNode')); - } - }, - - _remove: function() { - this.get('boundingBox').remove(); - this.get('panelNode').remove(); - }, - - _onActivate: function(e) { - if (e.target === this) { - // Prevent the browser from navigating to the URL specified by the - // anchor's href attribute. - e.domEvent.preventDefault(); - e.target.set('selected', 1); - } - }, - - initializer: function() { - this.publish(this.get('triggerEvent'), { - defaultFn: this._onActivate - }); - }, - - _defLabelGetter: function() { - return this.get('contentBox').getHTML(); - }, - - _defLabelSetter: function(label) { - var labelNode = this.get('contentBox'); - if (labelNode.getHTML() !== label) { // Avoid rewriting existing label. - labelNode.setHTML(label); - } - return label; - }, - - _defContentSetter: function(content) { - var panel = this.get('panelNode'); - if (panel.getHTML() !== content) { // Avoid rewriting existing content. - panel.setHTML(content); - } - return content; - }, - - _defContentGetter: function() { - return this.get('panelNode').getHTML(); - }, - - // find panel by ID mapping from label href - _defPanelNodeValueFn: function() { - var href = this.get('contentBox').get('href') || '', - parent = this.get('parent'), - hashIndex = href.indexOf('#'), - panel; - - href = href.substr(hashIndex); - - if (href.charAt(0) === '#') { // in-page nav, find by ID - panel = Y.one(href); - if (panel) { - panel.addClass(_classNames.tabPanel); - } - } - - // use the one found by id, or else try matching indices - if (!panel && parent) { - panel = parent.get('panelNode') - .get('children').item(this.get('index')); - } - - if (!panel) { // create if none found - panel = Y.Node.create(this.PANEL_TEMPLATE); - } - return panel; - } -}, { - ATTRS: { - /** - * @attribute triggerEvent - * @default "click" - * @type String - */ - triggerEvent: { - value: 'click' - }, - - /** - * @attribute label - * @type HTML - */ - label: { - setter: '_defLabelSetter', - getter: '_defLabelGetter' - }, - - /** - * @attribute content - * @type HTML - */ - content: { - setter: '_defContentSetter', - getter: '_defContentGetter' - }, - - /** - * @attribute panelNode - * @type Y.Node - */ - panelNode: { - setter: function(node) { - node = Y.one(node); - if (node) { - node.addClass(_classNames.tabPanel); - } - return node; - }, - valueFn: '_defPanelNodeValueFn' - }, - - tabIndex: { - value: null, - validator: '_validTabIndex' - } - - }, - - HTML_PARSER: { - selected: function() { - var ret = (this.get('boundingBox').hasClass(_classNames.selectedTab)) ? - 1 : 0; - return ret; - } - } - -}); - - -}, '3.9.1', { - "requires": [ - "widget", - "widget-parent", - "widget-child", - "tabview-base", - "node-pluginhost", - "node-focusmanager" - ], - "skinnable": true -}); diff --git a/docs_api/assets/js/yui-min.js b/docs_api/assets/js/yui-min.js deleted file mode 100644 index af1775cd..00000000 --- a/docs_api/assets/js/yui-min.js +++ /dev/null @@ -1,16 +0,0 @@ -/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ -typeof YUI!="undefined"&&(YUI._YUI=YUI);var YUI=function(){var e=0,t=this,n=arguments,r=n.length,i=function(e,t){return e&&e.hasOwnProperty&&e instanceof t},s=typeof YUI_config!="undefined"&&YUI_config;i(t,YUI)?(t._init(),YUI.GlobalConfig&&t.applyConfig(YUI.GlobalConfig),s&&t.applyConfig(s),r||t._setup()):t=new YUI;if(r){for(;e-1&&(n="3.5.0"),e={applyConfig:function(e){e=e||u;var t,n,r=this.config,i=r.modules,s=r.groups,o=r.aliases,a=this.Env._loader;for(n in e)e.hasOwnProperty(n)&&(t=e[n],i&&n=="modules"?E(i,t):o&&n=="aliases"?E(o,t):s&&n=="groups"?E(s,t):n=="win"?(r[n]=t&&t.contentWindow||t,r.doc=r[n]?r[n].document:null):n!="_yuid"&&(r[n]=t));a&&a._config(e)},_config:function(e){this.applyConfig(e)},_init:function(){var e,t,r=this,s=YUI.Env,u=r.Env,a;r.version=n;if(!u){r.Env={core:["get","features","intl-base","yui-log","yui-later","loader-base","loader-rollup","loader-yui3"],loaderExtras:["loader-rollup","loader-yui3"],mods:{},versions:{},base:i,cdn:i+n+"/build/",_idx:0,_used:{},_attached:{},_missed:[],_yidx:0,_uidx:0,_guidp:"y",_loaded:{},_BASE_RE:/(?:\?(?:[^&]*&)*([^&]*))?\b(simpleyui|yui(?:-\w+)?)\/\2(?:-(min|debug))?\.js/,parseBasePath:function(e,t){var n=e.match(t),r,i;return n&&(r=RegExp.leftContext||e.slice(0,e.indexOf(n[0])),i=n[3],n[1]&&(r+="?"+n[1]),r={filter:i,path:r}),r},getBase:s&&s.getBase||function(t){var n=h&&h.getElementsByTagName("script")||[],i=u.cdn,s,o,a,f;for(o=0,a=n.length;o',YUI.Env.cssStampEl=t.firstChild,h.body?h.body.appendChild(YUI.Env.cssStampEl):p.insertBefore(YUI.Env.cssStampEl,p.firstChild)):h&&h.getElementById(o)&&!YUI.Env.cssStampEl&&(YUI.Env.cssStampEl=h.getElementById(o)),r.config.lang=r.config.lang||"en-US",r.config.base=YUI.config.base||r.Env.getBase(r.Env._BASE_RE);if(!e||!"mindebug".indexOf(e))e="min";e=e?"-"+e:e,r.config.loaderPath=YUI.config.loaderPath||"loader/loader"+e+".js"},_setup:function(){var e,t=this,n=[],r=YUI.Env.mods,i=t.config.core||[].concat(YUI.Env.core);for(e=0;e-1){s=o.split(r);for(i=s[0]=="YAHOO"?1:0;ii&&i in t?t[i]:!0);return n},h.indexOf=f._isNative(l.indexOf)?function(e,t,n){return l.indexOf.call(e,t,n)}:function(e,t,n){var r=e.length;n=+n||0,n=(n>0||-1)*Math.floor(Math.abs(n)),n<0&&(n+=r,n<0&&(n=0));for(;n1?Array.prototype.join.call(arguments,d):String(r);if(!(i in t)||n&&t[i]==n)t[i]=e.apply(e,arguments);return t[i]}},e.getLocation=function(){var t=e.config.win;return t&&t.location},e.merge=function(){var e=0,t=arguments.length,n={},r,i;for(;e-1},g.each=function(t,n,r,i){var s;for(s in t)(i||E(t,s))&&n.call(r||e,t[s],s,t);return e},g.some=function(t,n,r,i){var s;for(s in t)if(i||E(t,s))if(n.call(r||e,t[s],s,t))return!0;return!1},g.getValue=function(t,n){if(!f.isObject(t))return m;var r,i=e.Array(n),s=i.length;for(r=0;t!==m&&r=0){for(i=0;u!==m&&i0),t||(typeof process=="object"&&process.versions&&process.versions.node&&(s.os=process.platform,s.nodejs=n(process.versions.node)),YUI.Env.UA=s),s},e.UA=YUI.Env.UA||YUI.Env.parseUA(),e.UA.compareVersions=function(e,t){var n,r,i,s,o,u;if(e===t)return 0;r=(e+"").split("."),s=(t+"").split(".");for(o=0,u=Math.max(r.length,s.length);oi)return 1}return 0},YUI.Env.aliases={anim:["anim-base","anim-color","anim-curve","anim-easing","anim-node-plugin","anim-scroll","anim-xy"],"anim-shape-transform":["anim-shape"],app:["app-base","app-content","app-transitions","lazy-model-list","model","model-list","model-sync-rest","router","view","view-node-map"],attribute:["attribute-base","attribute-complex"],"attribute-events":["attribute-observable"],autocomplete:["autocomplete-base","autocomplete-sources","autocomplete-list","autocomplete-plugin"],axes:["axis-numeric","axis-category","axis-time","axis-stacked"],"axes-base":["axis-numeric-base","axis-category-base","axis-time-base","axis-stacked-base"],base:["base-base","base-pluginhost","base-build"],cache:["cache-base","cache-offline","cache-plugin"],charts:["charts-base"],collection:["array-extras","arraylist","arraylist-add","arraylist-filter","array-invoke"],color:["color-base","color-hsl","color-harmony"],controller:["router"],dataschema:["dataschema-base","dataschema-json","dataschema-xml","dataschema-array","dataschema-text"],datasource:["datasource-local","datasource-io","datasource-get","datasource-function","datasource-cache","datasource-jsonschema","datasource-xmlschema","datasource-arrayschema","datasource-textschema","datasource-polling"],datatable:["datatable-core","datatable-table","datatable-head","datatable-body","datatable-base","datatable-column-widths","datatable-message","datatable-mutable","datatable-sort","datatable-datasource"],datatype:["datatype-date","datatype-number","datatype-xml"],"datatype-date":["datatype-date-parse","datatype-date-format","datatype-date-math"],"datatype-number":["datatype-number-parse","datatype-number-format"],"datatype-xml":["datatype-xml-parse","datatype-xml-format"],dd:["dd-ddm-base","dd-ddm","dd-ddm-drop","dd-drag","dd-proxy","dd-constrain","dd-drop","dd-scroll","dd-delegate"],dom:["dom-base","dom-screen","dom-style","selector-native","selector"],editor:["frame","editor-selection","exec-command","editor-base","editor-para","editor-br","editor-bidi","editor-tab","createlink-base"],event:["event-base","event-delegate","event-synthetic","event-mousewheel","event-mouseenter","event-key","event-focus","event-resize","event-hover","event-outside","event-touch","event-move","event-flick","event-valuechange","event-tap"],"event-custom":["event-custom-base","event-custom-complex"],"event-gestures":["event-flick","event-move"],handlebars:["handlebars-compiler"],highlight:["highlight-base","highlight-accentfold"],history:["history-base","history-hash","history-hash-ie","history-html5"],io:["io-base","io-xdr","io-form","io-upload-iframe","io-queue"],json:["json-parse","json-stringify"],loader:["loader-base","loader-rollup","loader-yui3"],node:["node-base","node-event-delegate","node-pluginhost","node-screen","node-style"],pluginhost:["pluginhost-base","pluginhost-config"],querystring:["querystring-parse","querystring-stringify"],recordset:["recordset-base","recordset-sort","recordset-filter","recordset-indexer"],resize:["resize-base","resize-proxy","resize-constrain"],slider:["slider-base","slider-value-range","clickable-rail","range-slider"],template:["template-base","template-micro"],text:["text-accentfold","text-wordbreak"],widget:["widget-base","widget-htmlparser","widget-skin","widget-uievents"]}},"3.9.1",{use:["yui-base","get","features","intl-base","yui-log","yui-later","loader-base","loader-rollup","loader-yui3"]}),YUI.add("get",function(e,t){var n=e.Lang,r,i,s;e.Get=i={cssOptions:{attributes:{rel:"stylesheet"},doc:e.config.linkDoc||e.config.doc,pollInterval:50},jsOptions:{autopurge:!0,doc:e.config.scriptDoc||e.config.doc},options:{attributes:{charset:"utf-8"},purgethreshold:20},REGEX_CSS:/\.css(?:[?;].*)?$/i,REGEX_JS:/\.js(?:[?;].*)?$/i,_insertCache:{},_pending:null,_purgeNodes:[],_queue:[],abort:function(e){var t,n,r,i,s;if(!e.abort){n=e,s=this._pending,e=null;if(s&&s.transaction.id===n)e=s.transaction,this._pending=null;else for(t=0,i=this._queue.length;t=e&&this._purge(this._purgeNodes)},_getEnv:function(){var t=e.config.doc,n=e.UA;return this._env={async:t&&t.createElement("script").async===!0||n.ie>=10,cssFail:n.gecko>=9||n.compareVersions(n.webkit,535.24)>=0,cssLoad:(!n.gecko&&!n.webkit||n.gecko>=9||n.compareVersions(n.webkit,535.24)>=0)&&!(n.chrome&&n.chrome<=18),preservesScriptOrder:!!(n.gecko||n.opera||n.ie&&n.ie>=10)}},_getTransaction:function(t,r){var i=[],o,u,a,f;n.isArray(t)||(t=[t]),r=e.merge(this.options,r),r.attributes=e.merge(this.options.attributes,r.attributes);for(o=0,u=t.length;o-1&&n.splice(i,1))}}},i.script=i.js,i.Transaction=s=function(t,n){var r=this;r.id=s._lastId+=1,r.data=n.data,r.errors=[],r.nodes=[],r.options=n,r.requests=t,r._callbacks=[],r._queue=[],r._reqsWaiting=0,r.tId=r.id,r.win=n.win||e.config.win},s._lastId=0,s.prototype={_state:"new",abort:function(e){this._pending=null,this._pendingCSS=null,this._pollTimer=clearTimeout(this._pollTimer),this._queue=[],this._reqsWaiting=0,this.errors.push({error:e||"Aborted"}),this._finish()},execute:function(e){var t=this,n=t.requests,r=t._state,i,s,o,u;if(r==="done"){e&&e(t.errors.length?t.errors:null,t);return}e&&t._callbacks.push(e);if(r==="executing")return;t._state="executing",t._queue=o=[],t.options.timeout&&(t._timeout=setTimeout(function(){t.abort("Timeout")},t.options.timeout)),t._reqsWaiting=n.length;for(i=0,s=n.length;i=10?(o.onerror=function(){setTimeout(c,0)},o.onload=function(){setTimeout(h,0)}):(o.onerror=c,o.onload=h),!n.cssFail&&!s&&(f=setTimeout(c,t.timeout||3e3))),this.nodes.push(o),r.parentNode.insertBefore(o,r)},_next:function(){if(this._pending)return;this._queue.length?this._insert(this._queue.shift()):this._reqsWaiting||this._finish()},_poll:function(t){var n=this,r=n._pendingCSS,i=e.UA.webkit,s,o,u,a,f,l;if(t){r||(r=n._pendingCSS=[]),r.push(t);if(n._pollTimer)return}n._pollTimer=null;for(s=0;s=0)if(l[u].href===a){r.splice(s,1),s-=1,n._progress(null,f);break}}else try{o=!!f.node.sheet.cssRules,r.splice(s,1),s-=1,n._progress(null,f)}catch(c){}}r.length&&(n._pollTimer=setTimeout(function(){n._poll.call(n)},n.options.pollInterval))},_progress:function(e,t){var n=this.options;e&&(t.error=e,this.errors.push({error:e,request:t})),t.node._yuiget_finished=t.finished=!0,n.onProgress&&n.onProgress.call(n.context||this,this._getEventData(t)),t.autopurge&&(i._autoPurge(this.options.purgethreshold),i._purgeNodes.push(t.node)),this._pending===t&&(this._pending=null),this._reqsWaiting-=1,this._next()}}},"3.9.1",{requires:["yui-base"]}),YUI.add("features",function(e,t){var n={};e.mix(e.namespace("Features"),{tests:n,add:function(e,t,r){n[e]=n[e]||{},n[e][t]=r},all:function(t,r){var i=n[t],s=[];return i&&e.Object.each(i,function(n,i){s.push(i+":"+(e.Features.test(t,i,r)?1:0))}),s.length?s.join(";"):""},test:function(t,r,i){i=i||[];var s,o,u,a=n[t],f=a&&a[r];return!f||(s=f.result,e.Lang.isUndefined(s)&&(o=f.ua,o&&(s=e.UA[o]),u=f.test,u&&(!o||s)&&(s=u.apply(e,i)),f.result=s)),s}});var r=e.Features.add;r("load","0",{name:"app-transitions-native",test:function(e){var t=e.config.doc,n=t?t.documentElement:null;return n&&n.style?"MozTransition"in n.style||"WebkitTransition"in n.style||"transition"in n.style:!1},trigger:"app-transitions"}),r("load","1",{name:"autocomplete-list-keys",test:function(e){return!e.UA.ios&&!e.UA.android},trigger:"autocomplete-list"}),r("load","2",{name:"dd-gestures",trigger:"dd-drag",ua:"touchEnabled"}),r("load","3",{name:"dom-style-ie",test:function(e){var t=e.Features.test,n=e.Features.add,r=e.config.win,i=e.config.doc,s="documentElement",o=!1;return n("style","computedStyle",{test:function(){return r&&"getComputedStyle"in r}}),n("style","opacity",{test:function(){return i&&"opacity"in i[s].style}}),o=!t("style","opacity" -)&&!t("style","computedStyle"),o},trigger:"dom-style"}),r("load","4",{name:"editor-para-ie",trigger:"editor-para",ua:"ie",when:"instead"}),r("load","5",{name:"event-base-ie",test:function(e){var t=e.config.doc&&e.config.doc.implementation;return t&&!t.hasFeature("Events","2.0")},trigger:"node-base"}),r("load","6",{name:"graphics-canvas",test:function(e){var t=e.config.doc,n=e.config.defaultGraphicEngine&&e.config.defaultGraphicEngine=="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return(!i||n)&&r&&r.getContext&&r.getContext("2d")},trigger:"graphics"}),r("load","7",{name:"graphics-canvas-default",test:function(e){var t=e.config.doc,n=e.config.defaultGraphicEngine&&e.config.defaultGraphicEngine=="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return(!i||n)&&r&&r.getContext&&r.getContext("2d")},trigger:"graphics"}),r("load","8",{name:"graphics-svg",test:function(e){var t=e.config.doc,n=!e.config.defaultGraphicEngine||e.config.defaultGraphicEngine!="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return i&&(n||!r)},trigger:"graphics"}),r("load","9",{name:"graphics-svg-default",test:function(e){var t=e.config.doc,n=!e.config.defaultGraphicEngine||e.config.defaultGraphicEngine!="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return i&&(n||!r)},trigger:"graphics"}),r("load","10",{name:"graphics-vml",test:function(e){var t=e.config.doc,n=t&&t.createElement("canvas");return t&&!t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!n||!n.getContext||!n.getContext("2d"))},trigger:"graphics"}),r("load","11",{name:"graphics-vml-default",test:function(e){var t=e.config.doc,n=t&&t.createElement("canvas");return t&&!t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!n||!n.getContext||!n.getContext("2d"))},trigger:"graphics"}),r("load","12",{name:"history-hash-ie",test:function(e){var t=e.config.doc&&e.config.doc.documentMode;return e.UA.ie&&(!("onhashchange"in e.config.win)||!t||t<8)},trigger:"history-hash"}),r("load","13",{name:"io-nodejs",trigger:"io-base",ua:"nodejs"}),r("load","14",{name:"json-parse-shim",test:function(e){function i(e,t){return e==="ok"?!0:t}var t=e.config.global.JSON,n=Object.prototype.toString.call(t)==="[object JSON]"&&t,r=e.config.useNativeJSONParse!==!1&&!!n;if(r)try{r=n.parse('{"ok":false}',i).ok}catch(s){r=!1}return!r},trigger:"json-parse"}),r("load","15",{name:"json-stringify-shim",test:function(e){var t=e.config.global.JSON,n=Object.prototype.toString.call(t)==="[object JSON]"&&t,r=e.config.useNativeJSONStringify!==!1&&!!n;if(r)try{r="0"===n.stringify(0)}catch(i){r=!1}return!r},trigger:"json-stringify"}),r("load","16",{name:"scrollview-base-ie",trigger:"scrollview-base",ua:"ie"}),r("load","17",{name:"selector-css2",test:function(e){var t=e.config.doc,n=t&&!("querySelectorAll"in t);return n},trigger:"selector"}),r("load","18",{name:"transition-timer",test:function(e){var t=e.config.doc,n=t?t.documentElement:null,r=!0;return n&&n.style&&(r=!("MozTransition"in n.style||"WebkitTransition"in n.style||"transition"in n.style)),r},trigger:"transition"}),r("load","19",{name:"widget-base-ie",trigger:"widget-base",ua:"ie"}),r("load","20",{name:"yql-jsonp",test:function(e){return!e.UA.nodejs&&!e.UA.winjs},trigger:"yql",when:"after"}),r("load","21",{name:"yql-nodejs",trigger:"yql",ua:"nodejs",when:"after"}),r("load","22",{name:"yql-winjs",trigger:"yql",ua:"winjs",when:"after"})},"3.9.1",{requires:["yui-base"]}),YUI.add("intl-base",function(e,t){var n=/[, ]/;e.mix(e.namespace("Intl"),{lookupBestLang:function(t,r){function a(e){var t;for(t=0;t0){o=a(s);if(o)return o;u=s.lastIndexOf("-");if(!(u>=0))break;s=s.substring(0,u),u>=2&&s.charAt(u-2)==="-"&&(s=s.substring(0,u-2))}}return""}})},"3.9.1",{requires:["yui-base"]}),YUI.add("yui-log",function(e,t){var n=e,r="yui:log",i="undefined",s={debug:1,info:1,warn:1,error:1};n.log=function(e,t,o,u){var a,f,l,c,h,p=n,d=p.config,v=p.fire?p:YUI.Env.globalEvents;return d.debug&&(o=o||"",typeof o!="undefined"&&(f=d.logExclude,l=d.logInclude,!l||o in l?l&&o in l?a=!l[o]:f&&o in f&&(a=f[o]):a=1),a||(d.useBrowserConsole&&(c=o?o+": "+e:e,p.Lang.isFunction(d.logFn)?d.logFn.call(p,e,t,o):typeof console!==i&&console.log?(h=t&&console[t]&&t in s?t:"log",console[h](c)):typeof opera!==i&&opera.postError(c)),v&&!u&&(v===p&&!v.getEvent(r)&&v.publish(r,{broadcast:2}),v.fire(r,{msg:e,cat:t,src:o})))),p},n.message=function(){return n.log.apply(n,arguments)}},"3.9.1",{requires:["yui-base"]}),YUI.add("yui-later",function(e,t){var n=[];e.later=function(t,r,i,s,o){t=t||0,s=e.Lang.isUndefined(s)?n:e.Array(s),r=r||e.config.win||e;var u=!1,a=r&&e.Lang.isString(i)?r[i]:i,f=function(){u||(a.apply?a.apply(r,s||n):a(s[0],s[1],s[2],s[3]))},l=o?setInterval(f,t):setTimeout(f,t);return{id:l,interval:o,cancel:function(){u=!0,this.interval?clearInterval(l):clearTimeout(l)}}},e.Lang.later=e.later},"3.9.1",{requires:["yui-base"]}),YUI.add("loader-base",function(e,t){YUI.Env[e.version]||function(){var t=e.version,n="/build/",r=t+n,i=e.Env.base,s="gallery-2013.02.27-21-03",o="2in3",u="4",a="2.9.0",f=i+"combo?",l={version:t,root:r,base:e.Env.base,comboBase:f,skin:{defaultSkin:"sam",base:"assets/skins/",path:"skin.css",after:["cssreset","cssfonts","cssgrids","cssbase","cssreset-context","cssfonts-context"]},groups:{},patterns:{}},c=l.groups,h=function(e,t,r){var s=o+"."+(e||u)+"/"+(t||a)+n,l=r&&r.base?r.base:i,h=r&&r.comboBase?r.comboBase:f;c.yui2.base=l+s,c.yui2.root=s,c.yui2.comboBase=h}, -p=function(e,t){var r=(e||s)+n,o=t&&t.base?t.base:i,u=t&&t.comboBase?t.comboBase:f;c.gallery.base=o+r,c.gallery.root=r,c.gallery.comboBase=u};c[t]={},c.gallery={ext:!1,combine:!0,comboBase:f,update:p,patterns:{"gallery-":{},"lang/gallery-":{},"gallerycss-":{type:"css"}}},c.yui2={combine:!0,ext:!1,comboBase:f,update:h,patterns:{"yui2-":{configFn:function(e){/-skin|reset|fonts|grids|base/.test(e.name)&&(e.type="css",e.path=e.path.replace(/\.js/,".css"),e.path=e.path.replace(/\/yui2-skin/,"/assets/skins/sam/yui2-skin"))}}}},p(),h(),YUI.Env[t]=l}();var n={},r=[],i=1024,s=YUI.Env,o=s._loaded,u="css",a="js",f="intl",l="sam",c=e.version,h="",p=e.Object,d=p.each,v=e.Array,m=s._loaderQueue,g=s[c],y="skin-",b=e.Lang,w=s.mods,E,S=function(e,t,n,r){var i=e+"/"+t;return r||(i+="-min"),i+="."+(n||u),i};YUI.Env._cssLoaded||(YUI.Env._cssLoaded={}),e.Env.meta=g,e.Loader=function(t){var n=this;t=t||{},E=g.md5,n.context=e,n.base=e.Env.meta.base+e.Env.meta.root,n.comboBase=e.Env.meta.comboBase,n.combine=t.base&&t.base.indexOf(n.comboBase.substr(0,20))>-1,n.comboSep="&",n.maxURLLength=i,n.ignoreRegistered=t.ignoreRegistered,n.root=e.Env.meta.root,n.timeout=0,n.forceMap={},n.allowRollup=!1,n.filters={},n.required={},n.patterns={},n.moduleInfo={},n.groups=e.merge(e.Env.meta.groups),n.skin=e.merge(e.Env.meta.skin),n.conditions={},n.config=t,n._internal=!0,n._populateCache(),n.loaded=o[c],n.async=!0,n._inspectPage(),n._internal=!1,n._config(t),n.forceMap=n.force?e.Array.hash(n.force):{},n.testresults=null,e.config.tests&&(n.testresults=e.config.tests),n.sorted=[],n.dirty=!0,n.inserted={},n.skipped={},n.tested={},n.ignoreRegistered&&n._resetModules()},e.Loader.prototype={_populateCache:function(){var t=this,n=g.modules,r=s._renderedMods,i;if(r&&!t.ignoreRegistered){for(i in r)r.hasOwnProperty(i)&&(t.moduleInfo[i]=e.merge(r[i]));r=s._conditions;for(i in r)r.hasOwnProperty(i)&&(t.conditions[i]=e.merge(r[i]))}else for(i in n)n.hasOwnProperty(i)&&t.addModule(n[i],i)},_resetModules:function(){var e=this,t,n,r,i,s;for(t in e.moduleInfo)if(e.moduleInfo.hasOwnProperty(t)){r=e.moduleInfo[t],i=r.name,s=YUI.Env.mods[i]?YUI.Env.mods[i].details:null,s&&(e.moduleInfo[i]._reset=!0,e.moduleInfo[i].requires=s.requires||[],e.moduleInfo[i].optional=s.optional||[],e.moduleInfo[i].supersedes=s.supercedes||[]);if(r.defaults)for(n in r.defaults)r.defaults.hasOwnProperty(n)&&r[n]&&(r[n]=r.defaults[n]);delete r.langCache,delete r.skinCache,r.skinnable&&e._addSkin(e.skin.defaultSkin,r.name)}},REGEX_CSS:/\.css(?:[?;].*)?$/i,FILTER_DEFS:{RAW:{searchExp:"-min\\.js",replaceStr:".js"},DEBUG:{searchExp:"-min\\.js",replaceStr:"-debug.js"},COVERAGE:{searchExp:"-min\\.js",replaceStr:"-coverage.js"}},_inspectPage:function(){var e=this,t,n,r,i,s;for(s in e.moduleInfo)e.moduleInfo.hasOwnProperty(s)&&(t=e.moduleInfo[s],t.type&&t.type===u&&e.isCSSLoaded(t.name)&&(e.loaded[s]=!0));for(s in w)w.hasOwnProperty(s)&&(t=w[s],t.details&&(n=e.moduleInfo[t.name],r=t.details.requires,i=n&&n.requires,n?!n._inspected&&r&&i.length!==r.length&&delete n.expanded:n=e.addModule(t.details,s),n._inspected=!0))},_requires:function(e,t){var n,r,i,s,o=this.moduleInfo,a=o[e],f=o[t];if(!a||!f)return!1;r=a.expanded_map,i=a.after_map;if(i&&t in i)return!0;i=f.after_map;if(i&&e in i)return!1;s=o[t]&&o[t].supersedes;if(s)for(n=0;n-1&&(k=n);if(C&&(C[c]||k&&C[k])){L=c,C[k]&&(L=k);for(n=0;n-1},getModule:function(t){if(!t)return null;var n,r,i,s=this.moduleInfo[t],o=this.patterns;if(!s||s&&s.ext)for(i in o)if(o.hasOwnProperty(i)){n=o[i],n.test||(n.test=this._patternTest);if(n.test(t,i)){r=n;break}}return s?r&&s&&r.configFn&&!s.configFn&&(s.configFn=r.configFn,s.configFn(s)):r&&(n.action?n.action.call(this,t,i):(s=this.addModule(e.merge(r),t),r.configFn&&(s.configFn=r.configFn),s.temp=!0)),s},_rollup:function(){},_reduce:function(e){e=e||this.required;var t,n,r,i,s=this.loadType,o=this.ignore?v.hash(this.ignore):!1;for(t in e)if(e.hasOwnProperty(t)){i=this.getModule(t),((this.loaded[t]||w[t])&&!this.forceMap[t]&&!this.ignoreRegistered||s&&i&&i.type!==s)&&delete e[t],o&&o[t]&&delete e[t],r=i&&i.supersedes;if(r)for(n=0;n0&&(m.running=!0,m.next()())},insert:function(t,n,r){var i=this,s=e.merge(this);delete s.require,delete s.dirty,m.add(function(){i._insert(s,t,n,r)}),this._continue()},loadNext:function(){return},_filter:function(e,t,n){var r=this.filter,i=t&&t in this.filters,s=i&&this.filters[t],o=n||(this.moduleInfo[t]?this.moduleInfo[t].group:null);return o&&this.groups[o]&&this.groups -[o].filter&&(s=this.groups[o].filter,i=!0),e&&(i&&(r=b.isString(s)?this.FILTER_DEFS[s.toUpperCase()]||null:s),r&&(e=e.replace(new RegExp(r.searchExp,"g"),r.replaceStr))),e},_url:function(e,t,n){return this._filter((n||this.base||"")+e,t)},resolve:function(e,t){var r,s,o,f,c,h,p,d,v,m,g,y,w,E,S=[],x,T,N={},C=this,k,A,O=C.ignoreRegistered?{}:C.inserted,M={js:[],jsMods:[],css:[],cssMods:[]},_=C.loadType||"js",D;(C.skin.overrides||C.skin.defaultSkin!==l||C.ignoreRegistered)&&C._resetModules(),e&&C.calculate(),t=t||C.sorted,D=function(e){if(e){c=e.group&&C.groups[e.group]||n,c.async===!1&&(e.async=c.async),f=e.fullpath?C._filter(e.fullpath,t[s]):C._url(e.path,t[s],c.base||e.base);if(e.attributes||e.async===!1)f={url:f,async:e.async},e.attributes&&(f.attributes=e.attributes);M[e.type].push(f),M[e.type+"Mods"].push(e)}},r=t.length,y=C.comboBase,f=y,m={};for(s=0;sA){S=[];for(t=0;tA&&(o=S.pop(),x=w+S.join(k),M[_].push(C._filter(x,null,N[w].group)),S=[],o&&S.push(o));S.length&&(x=w+S.join(k),M[_].push(C._filter(x,null,N[w].group)))}else M[_].push(C._filter(x,null,N[w].group));M[_+"Mods"]=M[_+"Mods"].concat(g)}}return N=null,M},load:function(e){if(!e)return;var t=this,n=t.resolve(!0);t.data=n,t.onEnd=function(){e.apply(t.context||t,arguments)},t.insert()}}},"3.9.1",{requires:["get","features"]}),YUI.add("loader-rollup",function(e,t){e.Loader.prototype._rollup=function(){var e,t,n,r,i=this.required,s,o=this.moduleInfo,u,a,f;if(this.dirty||!this.rollups){this.rollups={};for(e in o)o.hasOwnProperty(e)&&(n=this.getModule(e),n&&n.rollup&&(this.rollups[e]=n))}for(;;){u=!1;for(e in this.rollups)if(this.rollups.hasOwnProperty(e)&&!i[e]&&(!this.loaded[e]||this.forceMap[e])){n=this.getModule(e),r=n.supersedes||[],s=!1;if(!n.rollup)continue;a=0;for(t=0;t=n.rollup;if(s)break}}s&&(i[e]=!0,u=!0,this.getRequires(n))}if(!u)break}}},"3.9.1",{requires:["loader-base"]}),YUI.add("loader-yui3",function(e,t){YUI.Env[e.version].modules=YUI.Env[e.version].modules||{},e.mix(YUI.Env[e.version].modules,{"align-plugin":{requires:["node-screen","node-pluginhost"]},anim:{use:["anim-base","anim-color","anim-curve","anim-easing","anim-node-plugin","anim-scroll","anim-xy"]},"anim-base":{requires:["base-base","node-style"]},"anim-color":{requires:["anim-base"]},"anim-curve":{requires:["anim-xy"]},"anim-easing":{requires:["anim-base"]},"anim-node-plugin":{requires:["node-pluginhost","anim-base"]},"anim-scroll":{requires:["anim-base"]},"anim-shape":{requires:["anim-base","anim-easing","anim-color","matrix"]},"anim-shape-transform":{use:["anim-shape"]},"anim-xy":{requires:["anim-base","node-screen"]},app:{use:["app-base","app-content","app-transitions","lazy-model-list","model","model-list","model-sync-rest","router","view","view-node-map"]},"app-base":{requires:["classnamemanager","pjax-base","router","view"]},"app-content":{requires:["app-base","pjax-content"]},"app-transitions":{requires:["app-base"]},"app-transitions-css":{type:"css"},"app-transitions-native":{condition:{name:"app-transitions-native",test:function(e){var t=e.config.doc,n=t?t.documentElement:null;return n&&n.style?"MozTransition"in n.style||"WebkitTransition"in n.style||"transition"in n.style:!1},trigger:"app-transitions"},requires:["app-transitions","app-transitions-css","parallel","transition"]},"array-extras":{requires:["yui-base"]},"array-invoke":{requires:["yui-base"]},arraylist:{requires:["yui-base"]},"arraylist-add":{requires:["arraylist"]},"arraylist-filter":{requires:["arraylist"]},arraysort:{requires:["yui-base"]},"async-queue":{requires:["event-custom"]},attribute:{use:["attribute-base","attribute-complex"]},"attribute-base":{requires:["attribute-core","attribute-observable","attribute-extras"]},"attribute-complex":{requires:["attribute-base"]},"attribute-core":{requires:["oop"]},"attribute-events":{use:["attribute-observable"]},"attribute-extras":{requires:["oop"]},"attribute-observable":{requires:["event-custom"]},autocomplete:{use:["autocomplete-base","autocomplete-sources","autocomplete-list","autocomplete-plugin"]},"autocomplete-base":{optional:["autocomplete-sources"],requires:["array-extras","base-build","escape","event-valuechange","node-base"]},"autocomplete-filters":{requires:["array-extras","text-wordbreak"]},"autocomplete-filters-accentfold":{requires:["array-extras","text-accentfold","text-wordbreak"]},"autocomplete-highlighters":{requires:["array-extras","highlight-base"]},"autocomplete-highlighters-accentfold":{requires:["array-extras","highlight-accentfold"]},"autocomplete-list":{after:["autocomplete-sources"],lang:["en","es"],requires:["autocomplete-base","event-resize","node-screen","selector-css3","shim-plugin","widget","widget-position","widget-position-align"],skinnable:!0},"autocomplete-list-keys":{condition:{name:"autocomplete-list-keys",test:function(e){return!e.UA.ios&&!e.UA.android},trigger:"autocomplete-list"},requires: -["autocomplete-list","base-build"]},"autocomplete-plugin":{requires:["autocomplete-list","node-pluginhost"]},"autocomplete-sources":{optional:["io-base","json-parse","jsonp","yql"],requires:["autocomplete-base"]},axes:{use:["axis-numeric","axis-category","axis-time","axis-stacked"]},"axes-base":{use:["axis-numeric-base","axis-category-base","axis-time-base","axis-stacked-base"]},axis:{requires:["dom","widget","widget-position","widget-stack","graphics","axis-base"]},"axis-base":{requires:["classnamemanager","datatype-number","datatype-date","base","event-custom"]},"axis-category":{requires:["axis","axis-category-base"]},"axis-category-base":{requires:["axis-base"]},"axis-numeric":{requires:["axis","axis-numeric-base"]},"axis-numeric-base":{requires:["axis-base"]},"axis-stacked":{requires:["axis-numeric","axis-stacked-base"]},"axis-stacked-base":{requires:["axis-numeric-base"]},"axis-time":{requires:["axis","axis-time-base"]},"axis-time-base":{requires:["axis-base"]},base:{use:["base-base","base-pluginhost","base-build"]},"base-base":{requires:["attribute-base","base-core","base-observable"]},"base-build":{requires:["base-base"]},"base-core":{requires:["attribute-core"]},"base-observable":{requires:["attribute-observable"]},"base-pluginhost":{requires:["base-base","pluginhost"]},button:{requires:["button-core","cssbutton","widget"]},"button-core":{requires:["attribute-core","classnamemanager","node-base"]},"button-group":{requires:["button-plugin","cssbutton","widget"]},"button-plugin":{requires:["button-core","cssbutton","node-pluginhost"]},cache:{use:["cache-base","cache-offline","cache-plugin"]},"cache-base":{requires:["base"]},"cache-offline":{requires:["cache-base","json"]},"cache-plugin":{requires:["plugin","cache-base"]},calendar:{lang:["de","en","es","es-AR","fr","it","ja","nb-NO","nl","pt-BR","ru","zh-HANT-TW"],requires:["calendar-base","calendarnavigator"],skinnable:!0},"calendar-base":{lang:["de","en","es","es-AR","fr","it","ja","nb-NO","nl","pt-BR","ru","zh-HANT-TW"],requires:["widget","datatype-date","datatype-date-math","cssgrids"],skinnable:!0},calendarnavigator:{requires:["plugin","classnamemanager","datatype-date","node"],skinnable:!0},charts:{use:["charts-base"]},"charts-base":{requires:["dom","event-mouseenter","event-touch","graphics-group","axes","series-pie","series-line","series-marker","series-area","series-spline","series-column","series-bar","series-areaspline","series-combo","series-combospline","series-line-stacked","series-marker-stacked","series-area-stacked","series-spline-stacked","series-column-stacked","series-bar-stacked","series-areaspline-stacked","series-combo-stacked","series-combospline-stacked"]},"charts-legend":{requires:["charts-base"]},classnamemanager:{requires:["yui-base"]},"clickable-rail":{requires:["slider-base"]},collection:{use:["array-extras","arraylist","arraylist-add","arraylist-filter","array-invoke"]},color:{use:["color-base","color-hsl","color-harmony"]},"color-base":{requires:["yui-base"]},"color-harmony":{requires:["color-hsl"]},"color-hsl":{requires:["color-base"]},"color-hsv":{requires:["color-base"]},console:{lang:["en","es","ja"],requires:["yui-log","widget"],skinnable:!0},"console-filters":{requires:["plugin","console"],skinnable:!0},controller:{use:["router"]},cookie:{requires:["yui-base"]},"createlink-base":{requires:["editor-base"]},cssbase:{after:["cssreset","cssfonts","cssgrids","cssreset-context","cssfonts-context","cssgrids-context"],type:"css"},"cssbase-context":{after:["cssreset","cssfonts","cssgrids","cssreset-context","cssfonts-context","cssgrids-context"],type:"css"},cssbutton:{type:"css"},cssfonts:{type:"css"},"cssfonts-context":{type:"css"},cssgrids:{optional:["cssreset","cssfonts"],type:"css"},"cssgrids-base":{optional:["cssreset","cssfonts"],type:"css"},"cssgrids-responsive":{optional:["cssreset","cssfonts"],requires:["cssgrids","cssgrids-responsive-base"],type:"css"},"cssgrids-units":{optional:["cssreset","cssfonts"],requires:["cssgrids-base"],type:"css"},cssnormalize:{type:"css"},"cssnormalize-context":{type:"css"},cssreset:{type:"css"},"cssreset-context":{type:"css"},dataschema:{use:["dataschema-base","dataschema-json","dataschema-xml","dataschema-array","dataschema-text"]},"dataschema-array":{requires:["dataschema-base"]},"dataschema-base":{requires:["base"]},"dataschema-json":{requires:["dataschema-base","json"]},"dataschema-text":{requires:["dataschema-base"]},"dataschema-xml":{requires:["dataschema-base"]},datasource:{use:["datasource-local","datasource-io","datasource-get","datasource-function","datasource-cache","datasource-jsonschema","datasource-xmlschema","datasource-arrayschema","datasource-textschema","datasource-polling"]},"datasource-arrayschema":{requires:["datasource-local","plugin","dataschema-array"]},"datasource-cache":{requires:["datasource-local","plugin","cache-base"]},"datasource-function":{requires:["datasource-local"]},"datasource-get":{requires:["datasource-local","get"]},"datasource-io":{requires:["datasource-local","io-base"]},"datasource-jsonschema":{requires:["datasource-local","plugin","dataschema-json"]},"datasource-local":{requires:["base"]},"datasource-polling":{requires:["datasource-local"]},"datasource-textschema":{requires:["datasource-local","plugin","dataschema-text"]},"datasource-xmlschema":{requires:["datasource-local","plugin","datatype-xml","dataschema-xml"]},datatable:{use:["datatable-core","datatable-table","datatable-head","datatable-body","datatable-base","datatable-column-widths","datatable-message","datatable-mutable","datatable-sort","datatable-datasource"]},"datatable-base":{requires:["datatable-core","datatable-table","datatable-head","datatable-body","base-build","widget"],skinnable:!0},"datatable-body":{requires:["datatable-core","view","classnamemanager"]},"datatable-column-widths":{requires:["datatable-base"]},"datatable-core":{requires:["escape","model-list","node-event-delegate"]},"datatable-datasource":{requires:["datatable-base","plugin","datasource-local" -]},"datatable-formatters":{requires:["datatable-body","datatype-number-format","datatype-date-format","escape"]},"datatable-head":{requires:["datatable-core","view","classnamemanager"]},"datatable-message":{lang:["en","fr","es"],requires:["datatable-base"],skinnable:!0},"datatable-mutable":{requires:["datatable-base"]},"datatable-scroll":{requires:["datatable-base","datatable-column-widths","dom-screen"],skinnable:!0},"datatable-sort":{lang:["en","fr","es"],requires:["datatable-base"],skinnable:!0},"datatable-table":{requires:["datatable-core","datatable-head","datatable-body","view","classnamemanager"]},datatype:{use:["datatype-date","datatype-number","datatype-xml"]},"datatype-date":{use:["datatype-date-parse","datatype-date-format","datatype-date-math"]},"datatype-date-format":{lang:["ar","ar-JO","ca","ca-ES","da","da-DK","de","de-AT","de-DE","el","el-GR","en","en-AU","en-CA","en-GB","en-IE","en-IN","en-JO","en-MY","en-NZ","en-PH","en-SG","en-US","es","es-AR","es-BO","es-CL","es-CO","es-EC","es-ES","es-MX","es-PE","es-PY","es-US","es-UY","es-VE","fi","fi-FI","fr","fr-BE","fr-CA","fr-FR","hi","hi-IN","id","id-ID","it","it-IT","ja","ja-JP","ko","ko-KR","ms","ms-MY","nb","nb-NO","nl","nl-BE","nl-NL","pl","pl-PL","pt","pt-BR","ro","ro-RO","ru","ru-RU","sv","sv-SE","th","th-TH","tr","tr-TR","vi","vi-VN","zh-Hans","zh-Hans-CN","zh-Hant","zh-Hant-HK","zh-Hant-TW"]},"datatype-date-math":{requires:["yui-base"]},"datatype-date-parse":{},"datatype-number":{use:["datatype-number-parse","datatype-number-format"]},"datatype-number-format":{},"datatype-number-parse":{},"datatype-xml":{use:["datatype-xml-parse","datatype-xml-format"]},"datatype-xml-format":{},"datatype-xml-parse":{},dd:{use:["dd-ddm-base","dd-ddm","dd-ddm-drop","dd-drag","dd-proxy","dd-constrain","dd-drop","dd-scroll","dd-delegate"]},"dd-constrain":{requires:["dd-drag"]},"dd-ddm":{requires:["dd-ddm-base","event-resize"]},"dd-ddm-base":{requires:["node","base","yui-throttle","classnamemanager"]},"dd-ddm-drop":{requires:["dd-ddm"]},"dd-delegate":{requires:["dd-drag","dd-drop-plugin","event-mouseenter"]},"dd-drag":{requires:["dd-ddm-base"]},"dd-drop":{requires:["dd-drag","dd-ddm-drop"]},"dd-drop-plugin":{requires:["dd-drop"]},"dd-gestures":{condition:{name:"dd-gestures",trigger:"dd-drag",ua:"touchEnabled"},requires:["dd-drag","event-synthetic","event-gestures"]},"dd-plugin":{optional:["dd-constrain","dd-proxy"],requires:["dd-drag"]},"dd-proxy":{requires:["dd-drag"]},"dd-scroll":{requires:["dd-drag"]},dial:{lang:["en","es"],requires:["widget","dd-drag","event-mouseenter","event-move","event-key","transition","intl"],skinnable:!0},dom:{use:["dom-base","dom-screen","dom-style","selector-native","selector"]},"dom-base":{requires:["dom-core"]},"dom-core":{requires:["oop","features"]},"dom-deprecated":{requires:["dom-base"]},"dom-screen":{requires:["dom-base","dom-style"]},"dom-style":{requires:["dom-base"]},"dom-style-ie":{condition:{name:"dom-style-ie",test:function(e){var t=e.Features.test,n=e.Features.add,r=e.config.win,i=e.config.doc,s="documentElement",o=!1;return n("style","computedStyle",{test:function(){return r&&"getComputedStyle"in r}}),n("style","opacity",{test:function(){return i&&"opacity"in i[s].style}}),o=!t("style","opacity")&&!t("style","computedStyle"),o},trigger:"dom-style"},requires:["dom-style"]},dump:{requires:["yui-base"]},editor:{use:["frame","editor-selection","exec-command","editor-base","editor-para","editor-br","editor-bidi","editor-tab","createlink-base"]},"editor-base":{requires:["base","frame","node","exec-command","editor-selection"]},"editor-bidi":{requires:["editor-base"]},"editor-br":{requires:["editor-base"]},"editor-lists":{requires:["editor-base"]},"editor-para":{requires:["editor-para-base"]},"editor-para-base":{requires:["editor-base"]},"editor-para-ie":{condition:{name:"editor-para-ie",trigger:"editor-para",ua:"ie",when:"instead"},requires:["editor-para-base"]},"editor-selection":{requires:["node"]},"editor-tab":{requires:["editor-base"]},escape:{requires:["yui-base"]},event:{after:["node-base"],use:["event-base","event-delegate","event-synthetic","event-mousewheel","event-mouseenter","event-key","event-focus","event-resize","event-hover","event-outside","event-touch","event-move","event-flick","event-valuechange","event-tap"]},"event-base":{after:["node-base"],requires:["event-custom-base"]},"event-base-ie":{after:["event-base"],condition:{name:"event-base-ie",test:function(e){var t=e.config.doc&&e.config.doc.implementation;return t&&!t.hasFeature("Events","2.0")},trigger:"node-base"},requires:["node-base"]},"event-contextmenu":{requires:["event-synthetic","dom-screen"]},"event-custom":{use:["event-custom-base","event-custom-complex"]},"event-custom-base":{requires:["oop"]},"event-custom-complex":{requires:["event-custom-base"]},"event-delegate":{requires:["node-base"]},"event-flick":{requires:["node-base","event-touch","event-synthetic"]},"event-focus":{requires:["event-synthetic"]},"event-gestures":{use:["event-flick","event-move"]},"event-hover":{requires:["event-mouseenter"]},"event-key":{requires:["event-synthetic"]},"event-mouseenter":{requires:["event-synthetic"]},"event-mousewheel":{requires:["node-base"]},"event-move":{requires:["node-base","event-touch","event-synthetic"]},"event-outside":{requires:["event-synthetic"]},"event-resize":{requires:["node-base","event-synthetic"]},"event-simulate":{requires:["event-base"]},"event-synthetic":{requires:["node-base","event-custom-complex"]},"event-tap":{requires:["node-base","event-base","event-touch","event-synthetic"]},"event-touch":{requires:["node-base"]},"event-valuechange":{requires:["event-focus","event-synthetic"]},"exec-command":{requires:["frame"]},features:{requires:["yui-base"]},file:{requires:["file-flash","file-html5"]},"file-flash":{requires:["base"]},"file-html5":{requires:["base"]},frame:{requires:["base","node","selector-css3","yui-throttle"]},"gesture-simulate":{requires:["async-queue","event-simulate","node-screen"]},get:{requires -:["yui-base"]},graphics:{requires:["node","event-custom","pluginhost","matrix","classnamemanager"]},"graphics-canvas":{condition:{name:"graphics-canvas",test:function(e){var t=e.config.doc,n=e.config.defaultGraphicEngine&&e.config.defaultGraphicEngine=="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return(!i||n)&&r&&r.getContext&&r.getContext("2d")},trigger:"graphics"},requires:["graphics"]},"graphics-canvas-default":{condition:{name:"graphics-canvas-default",test:function(e){var t=e.config.doc,n=e.config.defaultGraphicEngine&&e.config.defaultGraphicEngine=="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return(!i||n)&&r&&r.getContext&&r.getContext("2d")},trigger:"graphics"}},"graphics-group":{requires:["graphics"]},"graphics-svg":{condition:{name:"graphics-svg",test:function(e){var t=e.config.doc,n=!e.config.defaultGraphicEngine||e.config.defaultGraphicEngine!="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return i&&(n||!r)},trigger:"graphics"},requires:["graphics"]},"graphics-svg-default":{condition:{name:"graphics-svg-default",test:function(e){var t=e.config.doc,n=!e.config.defaultGraphicEngine||e.config.defaultGraphicEngine!="canvas",r=t&&t.createElement("canvas"),i=t&&t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");return i&&(n||!r)},trigger:"graphics"}},"graphics-vml":{condition:{name:"graphics-vml",test:function(e){var t=e.config.doc,n=t&&t.createElement("canvas");return t&&!t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!n||!n.getContext||!n.getContext("2d"))},trigger:"graphics"},requires:["graphics"]},"graphics-vml-default":{condition:{name:"graphics-vml-default",test:function(e){var t=e.config.doc,n=t&&t.createElement("canvas");return t&&!t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!n||!n.getContext||!n.getContext("2d"))},trigger:"graphics"}},handlebars:{use:["handlebars-compiler"]},"handlebars-base":{requires:[]},"handlebars-compiler":{requires:["handlebars-base"]},highlight:{use:["highlight-base","highlight-accentfold"]},"highlight-accentfold":{requires:["highlight-base","text-accentfold"]},"highlight-base":{requires:["array-extras","classnamemanager","escape","text-wordbreak"]},history:{use:["history-base","history-hash","history-hash-ie","history-html5"]},"history-base":{requires:["event-custom-complex"]},"history-hash":{after:["history-html5"],requires:["event-synthetic","history-base","yui-later"]},"history-hash-ie":{condition:{name:"history-hash-ie",test:function(e){var t=e.config.doc&&e.config.doc.documentMode;return e.UA.ie&&(!("onhashchange"in e.config.win)||!t||t<8)},trigger:"history-hash"},requires:["history-hash","node-base"]},"history-html5":{optional:["json"],requires:["event-base","history-base","node-base"]},imageloader:{requires:["base-base","node-style","node-screen"]},intl:{requires:["intl-base","event-custom"]},"intl-base":{requires:["yui-base"]},io:{use:["io-base","io-xdr","io-form","io-upload-iframe","io-queue"]},"io-base":{requires:["event-custom-base","querystring-stringify-simple"]},"io-form":{requires:["io-base","node-base"]},"io-nodejs":{condition:{name:"io-nodejs",trigger:"io-base",ua:"nodejs"},requires:["io-base"]},"io-queue":{requires:["io-base","queue-promote"]},"io-upload-iframe":{requires:["io-base","node-base"]},"io-xdr":{requires:["io-base","datatype-xml-parse"]},json:{use:["json-parse","json-stringify"]},"json-parse":{requires:["yui-base"]},"json-parse-shim":{condition:{name:"json-parse-shim",test:function(e){function i(e,t){return e==="ok"?!0:t}var t=e.config.global.JSON,n=Object.prototype.toString.call(t)==="[object JSON]"&&t,r=e.config.useNativeJSONParse!==!1&&!!n;if(r)try{r=n.parse('{"ok":false}',i).ok}catch(s){r=!1}return!r},trigger:"json-parse"},requires:["json-parse"]},"json-stringify":{requires:["yui-base"]},"json-stringify-shim":{condition:{name:"json-stringify-shim",test:function(e){var t=e.config.global.JSON,n=Object.prototype.toString.call(t)==="[object JSON]"&&t,r=e.config.useNativeJSONStringify!==!1&&!!n;if(r)try{r="0"===n.stringify(0)}catch(i){r=!1}return!r},trigger:"json-stringify"},requires:["json-stringify"]},jsonp:{requires:["get","oop"]},"jsonp-url":{requires:["jsonp"]},"lazy-model-list":{requires:["model-list"]},loader:{use:["loader-base","loader-rollup","loader-yui3"]},"loader-base":{requires:["get","features"]},"loader-rollup":{requires:["loader-base"]},"loader-yui3":{requires:["loader-base"]},matrix:{requires:["yui-base"]},model:{requires:["base-build","escape","json-parse"]},"model-list":{requires:["array-extras","array-invoke","arraylist","base-build","escape","json-parse","model"]},"model-sync-rest":{requires:["model","io-base","json-stringify"]},node:{use:["node-base","node-event-delegate","node-pluginhost","node-screen","node-style"]},"node-base":{requires:["event-base","node-core","dom-base"]},"node-core":{requires:["dom-core","selector"]},"node-deprecated":{requires:["node-base"]},"node-event-delegate":{requires:["node-base","event-delegate"]},"node-event-html5":{requires:["node-base"]},"node-event-simulate":{requires:["node-base","event-simulate","gesture-simulate"]},"node-flick":{requires:["classnamemanager","transition","event-flick","plugin"],skinnable:!0},"node-focusmanager":{requires:["attribute","node","plugin","node-event-simulate","event-key","event-focus"]},"node-load":{requires:["node-base","io-base"]},"node-menunav":{requires:["node","classnamemanager","plugin","node-focusmanager"],skinnable:!0},"node-pluginhost":{requires:["node-base","pluginhost"]},"node-screen":{requires:["dom-screen","node-base"]},"node-scroll-info":{requires:["base-build","dom-screen","event-resize","node-pluginhost","plugin"]},"node-style":{requires:["dom-style" -,"node-base"]},oop:{requires:["yui-base"]},overlay:{requires:["widget","widget-stdmod","widget-position","widget-position-align","widget-stack","widget-position-constrain"],skinnable:!0},panel:{requires:["widget","widget-autohide","widget-buttons","widget-modality","widget-position","widget-position-align","widget-position-constrain","widget-stack","widget-stdmod"],skinnable:!0},parallel:{requires:["yui-base"]},pjax:{requires:["pjax-base","pjax-content"]},"pjax-base":{requires:["classnamemanager","node-event-delegate","router"]},"pjax-content":{requires:["io-base","node-base","router"]},"pjax-plugin":{requires:["node-pluginhost","pjax","plugin"]},plugin:{requires:["base-base"]},pluginhost:{use:["pluginhost-base","pluginhost-config"]},"pluginhost-base":{requires:["yui-base"]},"pluginhost-config":{requires:["pluginhost-base"]},profiler:{requires:["yui-base"]},promise:{requires:["timers"]},querystring:{use:["querystring-parse","querystring-stringify"]},"querystring-parse":{requires:["yui-base","array-extras"]},"querystring-parse-simple":{requires:["yui-base"]},"querystring-stringify":{requires:["yui-base"]},"querystring-stringify-simple":{requires:["yui-base"]},"queue-promote":{requires:["yui-base"]},"range-slider":{requires:["slider-base","slider-value-range","clickable-rail"]},recordset:{use:["recordset-base","recordset-sort","recordset-filter","recordset-indexer"]},"recordset-base":{requires:["base","arraylist"]},"recordset-filter":{requires:["recordset-base","array-extras","plugin"]},"recordset-indexer":{requires:["recordset-base","plugin"]},"recordset-sort":{requires:["arraysort","recordset-base","plugin"]},resize:{use:["resize-base","resize-proxy","resize-constrain"]},"resize-base":{requires:["base","widget","event","oop","dd-drag","dd-delegate","dd-drop"],skinnable:!0},"resize-constrain":{requires:["plugin","resize-base"]},"resize-plugin":{optional:["resize-constrain"],requires:["resize-base","plugin"]},"resize-proxy":{requires:["plugin","resize-base"]},router:{optional:["querystring-parse"],requires:["array-extras","base-build","history"]},scrollview:{requires:["scrollview-base","scrollview-scrollbars"]},"scrollview-base":{requires:["widget","event-gestures","event-mousewheel","transition"],skinnable:!0},"scrollview-base-ie":{condition:{name:"scrollview-base-ie",trigger:"scrollview-base",ua:"ie"},requires:["scrollview-base"]},"scrollview-list":{requires:["plugin","classnamemanager"],skinnable:!0},"scrollview-paginator":{requires:["plugin","classnamemanager"]},"scrollview-scrollbars":{requires:["classnamemanager","transition","plugin"],skinnable:!0},selector:{requires:["selector-native"]},"selector-css2":{condition:{name:"selector-css2",test:function(e){var t=e.config.doc,n=t&&!("querySelectorAll"in t);return n},trigger:"selector"},requires:["selector-native"]},"selector-css3":{requires:["selector-native","selector-css2"]},"selector-native":{requires:["dom-base"]},"series-area":{requires:["series-cartesian","series-fill-util"]},"series-area-stacked":{requires:["series-stacked","series-area"]},"series-areaspline":{requires:["series-area","series-curve-util"]},"series-areaspline-stacked":{requires:["series-stacked","series-areaspline"]},"series-bar":{requires:["series-marker","series-histogram-base"]},"series-bar-stacked":{requires:["series-stacked","series-bar"]},"series-base":{requires:["graphics","axis-base"]},"series-candlestick":{requires:["series-range"]},"series-cartesian":{requires:["series-base"]},"series-column":{requires:["series-marker","series-histogram-base"]},"series-column-stacked":{requires:["series-stacked","series-column"]},"series-combo":{requires:["series-cartesian","series-line-util","series-plot-util","series-fill-util"]},"series-combo-stacked":{requires:["series-stacked","series-combo"]},"series-combospline":{requires:["series-combo","series-curve-util"]},"series-combospline-stacked":{requires:["series-combo-stacked","series-curve-util"]},"series-curve-util":{},"series-fill-util":{},"series-histogram-base":{requires:["series-cartesian","series-plot-util"]},"series-line":{requires:["series-cartesian","series-line-util"]},"series-line-stacked":{requires:["series-stacked","series-line"]},"series-line-util":{},"series-marker":{requires:["series-cartesian","series-plot-util"]},"series-marker-stacked":{requires:["series-stacked","series-marker"]},"series-ohlc":{requires:["series-range"]},"series-pie":{requires:["series-base","series-plot-util"]},"series-plot-util":{},"series-range":{requires:["series-cartesian"]},"series-spline":{requires:["series-line","series-curve-util"]},"series-spline-stacked":{requires:["series-stacked","series-spline"]},"series-stacked":{requires:["axis-stacked"]},"shim-plugin":{requires:["node-style","node-pluginhost"]},slider:{use:["slider-base","slider-value-range","clickable-rail","range-slider"]},"slider-base":{requires:["widget","dd-constrain","event-key"],skinnable:!0},"slider-value-range":{requires:["slider-base"]},sortable:{requires:["dd-delegate","dd-drop-plugin","dd-proxy"]},"sortable-scroll":{requires:["dd-scroll","sortable"]},stylesheet:{requires:["yui-base"]},substitute:{optional:["dump"],requires:["yui-base"]},swf:{requires:["event-custom","node","swfdetect","escape"]},swfdetect:{requires:["yui-base"]},tabview:{requires:["widget","widget-parent","widget-child","tabview-base","node-pluginhost","node-focusmanager"],skinnable:!0},"tabview-base":{requires:["node-event-delegate","classnamemanager"]},"tabview-plugin":{requires:["tabview-base"]},template:{use:["template-base","template-micro"]},"template-base":{requires:["yui-base"]},"template-micro":{requires:["escape"]},test:{requires:["event-simulate","event-custom","json-stringify"]},"test-console":{requires:["console-filters","test","array-extras"],skinnable:!0},text:{use:["text-accentfold","text-wordbreak"]},"text-accentfold":{requires:["array-extras","text-data-accentfold"]},"text-data-accentfold":{requires:["yui-base"]},"text-data-wordbreak":{requires:["yui-base" -]},"text-wordbreak":{requires:["array-extras","text-data-wordbreak"]},timers:{requires:["yui-base"]},transition:{requires:["node-style"]},"transition-timer":{condition:{name:"transition-timer",test:function(e){var t=e.config.doc,n=t?t.documentElement:null,r=!0;return n&&n.style&&(r=!("MozTransition"in n.style||"WebkitTransition"in n.style||"transition"in n.style)),r},trigger:"transition"},requires:["transition"]},tree:{requires:["base-build","tree-node"]},"tree-labelable":{requires:["tree"]},"tree-lazy":{requires:["base-pluginhost","plugin","tree"]},"tree-node":{},"tree-openable":{requires:["tree"]},"tree-selectable":{requires:["tree"]},uploader:{requires:["uploader-html5","uploader-flash"]},"uploader-flash":{requires:["swf","widget","base","cssbutton","node","event-custom","file-flash","uploader-queue"]},"uploader-html5":{requires:["widget","node-event-simulate","file-html5","uploader-queue"]},"uploader-queue":{requires:["base"]},view:{requires:["base-build","node-event-delegate"]},"view-node-map":{requires:["view"]},widget:{use:["widget-base","widget-htmlparser","widget-skin","widget-uievents"]},"widget-anim":{requires:["anim-base","plugin","widget"]},"widget-autohide":{requires:["base-build","event-key","event-outside","widget"]},"widget-base":{requires:["attribute","base-base","base-pluginhost","classnamemanager","event-focus","node-base","node-style"],skinnable:!0},"widget-base-ie":{condition:{name:"widget-base-ie",trigger:"widget-base",ua:"ie"},requires:["widget-base"]},"widget-buttons":{requires:["button-plugin","cssbutton","widget-stdmod"]},"widget-child":{requires:["base-build","widget"]},"widget-htmlparser":{requires:["widget-base"]},"widget-locale":{requires:["widget-base"]},"widget-modality":{requires:["base-build","event-outside","widget"],skinnable:!0},"widget-parent":{requires:["arraylist","base-build","widget"]},"widget-position":{requires:["base-build","node-screen","widget"]},"widget-position-align":{requires:["widget-position"]},"widget-position-constrain":{requires:["widget-position"]},"widget-skin":{requires:["widget-base"]},"widget-stack":{requires:["base-build","widget"],skinnable:!0},"widget-stdmod":{requires:["base-build","widget"]},"widget-uievents":{requires:["node-event-delegate","widget-base"]},yql:{requires:["oop"]},"yql-jsonp":{condition:{name:"yql-jsonp",test:function(e){return!e.UA.nodejs&&!e.UA.winjs},trigger:"yql",when:"after"},requires:["jsonp","jsonp-url"]},"yql-nodejs":{condition:{name:"yql-nodejs",trigger:"yql",ua:"nodejs",when:"after"}},"yql-winjs":{condition:{name:"yql-winjs",trigger:"yql",ua:"winjs",when:"after"}},yui:{},"yui-base":{},"yui-later":{requires:["yui-base"]},"yui-log":{requires:["yui-base"]},"yui-throttle":{requires:["yui-base"]}}),YUI.Env[e.version].md5="660f328e92276f36e9abfafb02169183"},"3.9.1",{requires:["loader-base"]}),YUI.add("yui",function(e,t){},"3.9.1",{use:["yui-base","get","features","intl-base","yui-log","yui-later","loader-base","loader-rollup","loader-yui3"]}); diff --git a/docs_api/assets/js/yui-prettify.js b/docs_api/assets/js/yui-prettify.js deleted file mode 100644 index 18de8649..00000000 --- a/docs_api/assets/js/yui-prettify.js +++ /dev/null @@ -1,17 +0,0 @@ -YUI().use('node', function(Y) { - var code = Y.all('.prettyprint.linenums'); - if (code.size()) { - code.each(function(c) { - var lis = c.all('ol li'), - l = 1; - lis.each(function(n) { - n.prepend(''); - l++; - }); - }); - var h = location.hash; - location.hash = ''; - h = h.replace('LINE_', 'LINENUM_'); - location.hash = h; - } -}); diff --git a/docs_api/assets/vendor/prettify/CHANGES.html b/docs_api/assets/vendor/prettify/CHANGES.html deleted file mode 100644 index b50b8414..00000000 --- a/docs_api/assets/vendor/prettify/CHANGES.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - Change Log - - - README - -

      Known Issues

      -
        -
      • Perl formatting is really crappy. Partly because the author is lazy and - partly because Perl is - hard to parse. -
      • On some browsers, <code> elements with newlines in the text - which use CSS to specify white-space:pre will have the newlines - improperly stripped if the element is not attached to the document at the time - the stripping is done. Also, on IE 6, all newlines will be stripped from - <code> elements because of the way IE6 produces - innerHTML. Workaround: use <pre> for code with - newlines. -
      - -

      Change Log

      -

      29 March 2007

      -
        -
      • Added tests for PHP support - to address - issue 3. -
      • Fixed - bug: prettyPrintOne was not halting. This was not - reachable through the normal entry point. -
      • Fixed - bug: recursing into a script block or PHP tag that was not properly - closed would not silently drop the content. - (test) -
      • Fixed - bug: was eating tabs - (test) -
      • Fixed entity handling so that the caveat -
        -

        Caveats: please properly escape less-thans. x&lt;y - instead of x<y, and use " instead of - &quot; for string delimiters.

        -
        - is no longer applicable. -
      • Added noisefree's C# - patch -
      • Added a distribution that has comments and - whitespace removed to reduce download size from 45.5kB to 12.8kB. -
      -

      4 Jul 2008

      -
        -
      • Added language specific formatters that are triggered by the presence - of a lang-<language-file-extension>
      • -
      • Fixed bug: python handling of '''string''' -
      • Fixed bug: / in regex [charsets] should not end regex -
      -

      5 Jul 2008

      -
      -

      14 Jul 2008

      - -

      6 Jan 2009

      - -

      21 May 2009

      - -

      14 August 2009

      - -

      3 October 2009

      - -

      19 July 2010

      - - - diff --git a/docs_api/assets/vendor/prettify/COPYING b/docs_api/assets/vendor/prettify/COPYING deleted file mode 100644 index d6456956..00000000 --- a/docs_api/assets/vendor/prettify/COPYING +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/docs_api/assets/vendor/prettify/README.html b/docs_api/assets/vendor/prettify/README.html deleted file mode 100644 index c6fe1a32..00000000 --- a/docs_api/assets/vendor/prettify/README.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - Javascript code prettifier - - - - - - - - - - Languages : CH -

      Javascript code prettifier

      - -

      Setup

      -
        -
      1. Download a distribution -
      2. Include the script and stylesheets in your document - (you will need to make sure the css and js file are on your server, and - adjust the paths in the script and link tag) -
        -<link href="prettify.css" type="text/css" rel="stylesheet" />
        -<script type="text/javascript" src="prettify.js"></script>
        -
      3. Add onload="prettyPrint()" to your - document's body tag. -
      4. Modify the stylesheet to get the coloring you prefer
      5. -
      - -

      Usage

      -

      Put code snippets in - <pre class="prettyprint">...</pre> - or <code class="prettyprint">...</code> - and it will automatically be pretty printed. - - - - -
      The original - Prettier -
      class Voila {
      -public:
      -  // Voila
      -  static const string VOILA = "Voila";
      -
      -  // will not interfere with embedded tags.
      -}
      - -
      class Voila {
      -public:
      -  // Voila
      -  static const string VOILA = "Voila";
      -
      -  // will not interfere with embedded tags.
      -}
      -
      - -

      FAQ

      -

      Which languages does it work for?

      -

      The comments in prettify.js are authoritative but the lexer - should work on a number of languages including C and friends, - Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles. - It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl - and Ruby, but, because of commenting conventions, doesn't work on - Smalltalk, or CAML-like languages.

      - -

      LISPy languages are supported via an extension: - lang-lisp.js.

      -

      And similarly for - CSS, - Haskell, - Lua, - OCAML, SML, F#, - Visual Basic, - SQL, - Protocol Buffers, and - WikiText.. - -

      If you'd like to add an extension for your favorite language, please - look at src/lang-lisp.js and file an - issue including your language extension, and a testcase.

      - -

      How do I specify which language my code is in?

      -

      You don't need to specify the language since prettyprint() - will guess. You can specify a language by specifying the language extension - along with the prettyprint class like so:

      -
      <pre class="prettyprint lang-html">
      -  The lang-* class specifies the language file extensions.
      -  File extensions supported by default include
      -    "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
      -    "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
      -    "xhtml", "xml", "xsl".
      -</pre>
      - -

      It doesn't work on <obfuscated code sample>?

      -

      Yes. Prettifying obfuscated code is like putting lipstick on a pig - — i.e. outside the scope of this tool.

      - -

      Which browsers does it work with?

      -

      It's been tested with IE 6, Firefox 1.5 & 2, and Safari 2.0.4. - Look at the test page to see if it - works in your browser.

      - -

      What's changed?

      -

      See the change log

      - -

      Why doesn't Prettyprinting of strings work on WordPress?

      -

      Apparently wordpress does "smart quoting" which changes close quotes. - This causes end quotes to not match up with open quotes. -

      This breaks prettifying as well as copying and pasting of code samples. - See - WordPress's help center for info on how to stop smart quoting of code - snippets.

      - -

      How do I put line numbers in my code?

      -

      You can use the linenums class to turn on line - numbering. If your code doesn't start at line number 1, you can - add a colon and a line number to the end of that class as in - linenums:52. - -

      For example -

      <pre class="prettyprint linenums:4"
      ->// This is line 4.
      -foo();
      -bar();
      -baz();
      -boo();
      -far();
      -faz();
      -<pre>
      - produces -
      // This is line 4.
      -foo();
      -bar();
      -baz();
      -boo();
      -far();
      -faz();
      -
      - -

      How do I prevent a portion of markup from being marked as code?

      -

      You can use the nocode class to identify a span of markup - that is not code. -

      <pre class=prettyprint>
      -int x = foo();  /* This is a comment  <span class="nocode">This is not code</span>
      -  Continuation of comment */
      -int y = bar();
      -</pre>
      -produces -
      -int x = foo();  /* This is a comment  This is not code
      -  Continuation of comment */
      -int y = bar();
      -
      - -

      For a more complete example see the issue22 - testcase.

      - -

      I get an error message "a is not a function" or "opt_whenDone is not a function"

      -

      If you are calling prettyPrint via an event handler, wrap it in a function. - Instead of doing -

      - addEventListener('load', prettyPrint, false); -
      - wrap it in a closure like -
      - addEventListener('load', function (event) { prettyPrint() }, false); -
      - so that the browser does not pass an event object to prettyPrint which - will confuse it. - -


      - - - - diff --git a/docs_api/assets/vendor/prettify/prettify-min.css b/docs_api/assets/vendor/prettify/prettify-min.css deleted file mode 100644 index d44b3a22..00000000 --- a/docs_api/assets/vendor/prettify/prettify-min.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} \ No newline at end of file diff --git a/docs_api/assets/vendor/prettify/prettify-min.js b/docs_api/assets/vendor/prettify/prettify-min.js deleted file mode 100644 index 4845d05d..00000000 --- a/docs_api/assets/vendor/prettify/prettify-min.js +++ /dev/null @@ -1 +0,0 @@ -window.PR_SHOULD_USE_CONTINUATION=true;var prettyPrintOne;var prettyPrint;(function(){var O=window;var j=["break,continue,do,else,for,if,return,while"];var v=[j,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var q=[v,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var m=[q,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var y=[q,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var T=[y,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"];var s="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes";var x=[q,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var t="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var J=[j,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var g=[j,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var I=[j,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var B=[m,T,x,t+J,g,I];var f=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;var D="str";var A="kwd";var k="com";var Q="typ";var H="lit";var M="pun";var G="pln";var n="tag";var F="dec";var K="src";var R="atn";var o="atv";var P="nocode";var N="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function l(ab){var af=0;var U=false;var ae=false;for(var X=0,W=ab.length;X122)){if(!(am<65||ai>90)){ah.push([Math.max(65,ai)|32,Math.min(am,90)|32])}if(!(am<97||ai>122)){ah.push([Math.max(97,ai)&~32,Math.min(am,122)&~32])}}}}ah.sort(function(aw,av){return(aw[0]-av[0])||(av[1]-aw[1])});var ak=[];var aq=[];for(var at=0;atau[0]){if(au[1]+1>au[0]){ao.push("-")}ao.push(V(au[1]))}}ao.push("]");return ao.join("")}function Y(an){var al=an.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var aj=al.length;var ap=[];for(var am=0,ao=0;am=2&&ak==="["){al[am]=Z(ai)}else{if(ak!=="\\"){al[am]=ai.replace(/[a-zA-Z]/g,function(aq){var ar=aq.charCodeAt(0);return"["+String.fromCharCode(ar&~32,ar|32)+"]"})}}}}return al.join("")}var ac=[];for(var X=0,W=ab.length;X=0;){U[ae.charAt(ag)]=aa}}var ah=aa[1];var ac=""+ah;if(!ai.hasOwnProperty(ac)){aj.push(ah);ai[ac]=null}}aj.push(/[\0-\uffff]/);X=l(aj)})();var Z=V.length;var Y=function(aj){var ab=aj.sourceCode,aa=aj.basePos;var af=[aa,G];var ah=0;var ap=ab.match(X)||[];var al={};for(var ag=0,at=ap.length;ag=5&&"lang-"===ar.substring(0,5);if(ao&&!(ak&&typeof ak[1]==="string")){ao=false;ar=K}if(!ao){al[ai]=ar}}var ad=ah;ah+=ai.length;if(!ao){af.push(aa+ad,ar)}else{var an=ak[1];var am=ai.indexOf(an);var ae=am+an.length;if(ak[2]){ae=ai.length-ak[2].length;am=ae-an.length}var au=ar.substring(5);C(aa+ad,ai.substring(0,am),Y,af);C(aa+ad+am,an,r(au,an),af);C(aa+ad+ae,ai.substring(ae),Y,af)}}aj.decorations=af};return Y}function i(V){var Y=[],U=[];if(V.tripleQuotedStrings){Y.push([D,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(V.multiLineStrings){Y.push([D,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{Y.push([D,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(V.verbatimStrings){U.push([D,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var ab=V.hashComments;if(ab){if(V.cStyleComments){if(ab>1){Y.push([k,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{Y.push([k,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}U.push([D,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])}else{Y.push([k,/^#[^\r\n]*/,null,"#"])}}if(V.cStyleComments){U.push([k,/^\/\/[^\r\n]*/,null]);U.push([k,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(V.regexLiterals){var aa=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");U.push(["lang-regex",new RegExp("^"+N+"("+aa+")")])}var X=V.types;if(X){U.push([Q,X])}var W=(""+V.keywords).replace(/^ | $/g,"");if(W.length){U.push([A,new RegExp("^(?:"+W.replace(/[\s,]+/g,"|")+")\\b"),null])}Y.push([G,/^\s+/,null," \r\n\t\xA0"]);var Z=/^.[^\s\w\.$@\'\"\`\/\\]*/;U.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[Q,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[G,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[G,/^\\[\s\S]?/,null],[M,Z,null]);return h(Y,U)}var L=i({keywords:B,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function S(W,ah,aa){var V=/(?:^|\s)nocode(?:\s|$)/;var ac=/\r\n?|\n/;var ad=W.ownerDocument;var ag=ad.createElement("li");while(W.firstChild){ag.appendChild(W.firstChild)}var X=[ag];function af(am){switch(am.nodeType){case 1:if(V.test(am.className)){break}if("br"===am.nodeName){ae(am);if(am.parentNode){am.parentNode.removeChild(am)}}else{for(var ao=am.firstChild;ao;ao=ao.nextSibling){af(ao)}}break;case 3:case 4:if(aa){var an=am.nodeValue;var ak=an.match(ac);if(ak){var aj=an.substring(0,ak.index);am.nodeValue=aj;var ai=an.substring(ak.index+ak[0].length);if(ai){var al=am.parentNode;al.insertBefore(ad.createTextNode(ai),am.nextSibling)}ae(am);if(!aj){am.parentNode.removeChild(am)}}}break}}function ae(al){while(!al.nextSibling){al=al.parentNode;if(!al){return}}function aj(am,at){var ar=at?am.cloneNode(false):am;var ap=am.parentNode;if(ap){var aq=aj(ap,1);var ao=am.nextSibling;aq.appendChild(ar);for(var an=ao;an;an=ao){ao=an.nextSibling;aq.appendChild(an)}}return ar}var ai=aj(al.nextSibling,0);for(var ak;(ak=ai.parentNode)&&ak.nodeType===1;){ai=ak}X.push(ai)}for(var Z=0;Z=U){aj+=2}if(Y>=ar){ac+=2}}}finally{if(au){au.style.display=ak}}}var u={};function d(W,X){for(var U=X.length;--U>=0;){var V=X[U];if(!u.hasOwnProperty(V)){u[V]=W}else{if(O.console){console.warn("cannot override language handler %s",V)}}}}function r(V,U){if(!(V&&u.hasOwnProperty(V))){V=/^\s*]*(?:>|$)/],[k,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[M,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);d(h([[G,/^[\s]+/,null," \t\r\n"],[o,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[n,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[R,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[M,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);d(h([],[[o,/^[\s\S]+/]]),["uq.val"]);d(i({keywords:m,hashComments:true,cStyleComments:true,types:f}),["c","cc","cpp","cxx","cyc","m"]);d(i({keywords:"null,true,false"}),["json"]);d(i({keywords:T,hashComments:true,cStyleComments:true,verbatimStrings:true,types:f}),["cs"]);d(i({keywords:y,cStyleComments:true}),["java"]);d(i({keywords:I,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);d(i({keywords:J,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);d(i({keywords:t,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);d(i({keywords:g,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);d(i({keywords:x,cStyleComments:true,regexLiterals:true}),["js"]);d(i({keywords:s,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);d(h([],[[D,/^[\s\S]+/]]),["regex"]);function e(X){var W=X.langExtension;try{var U=b(X.sourceNode,X.pre);var V=U.sourceCode;X.sourceCode=V;X.spans=U.spans;X.basePos=0;r(W,V)(X);E(X)}catch(Y){if(O.console){console.log(Y&&Y.stack?Y.stack:Y)}}}function z(Y,X,W){var U=document.createElement("pre");U.innerHTML=Y;if(W){S(U,W,true)}var V={langExtension:X,numberLines:W,sourceNode:U,pre:1};e(V);return U.innerHTML}function c(aj){function ab(al){return document.getElementsByTagName(al)}var ah=[ab("pre"),ab("code"),ab("xmp")];var V=[];for(var ae=0;ae]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); \ No newline at end of file diff --git a/docs_api/classes/JC.BaseMVC.Model.html b/docs_api/classes/JC.BaseMVC.Model.html deleted file mode 100644 index 254c6e3d..00000000 --- a/docs_api/classes/JC.BaseMVC.Model.html +++ /dev/null @@ -1,902 +0,0 @@ - - - - - JC.BaseMVC.Model - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JC.BaseMVC.Model Class

      - -
      -

      MVC Model 类( 仅供扩展用 ) -
      这个类默认已经包含在lib.js里面, 不需要显式引用

      -

      JC Project Site -| API docs -| demo link

      -

      see also: JC.BaseMVC

      -
      -
      -

      Constructor

      -
      -

      JC.BaseMVC.Model

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -

      Properties

      - -
      -
      -
      -

      Methods

      -
      -

      attrProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      读取 html 属性值 -
      这个跟 stringProp 的区别是不会强制转换为小写

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      boolProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      • - _defalut -
      • -
      ) -
      - - Bool | Undefined - - -
      -

      读取 boolean 属性的值

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String | Bool -
        -
        -
      • -
      • - _defalut - Bool -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool | Undefined: -
      -
      -
      -
      -

      callbackProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - Function | Undefined - - -
      -

      读取 callback 属性的值

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Function | Undefined: -
      -
      -
      -
      -

      floatProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      读取 float 属性的值

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      float

      -
      -
      -
      -
      -

      intProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      读取 int 属性的值

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      int

      -
      -
      -
      -
      -

      is

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      判断 _selector 是否具体某种特征

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      bool

      -
      -
      -
      -
      -

      jsonProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - Json | null - - -
      -

      获取 selector 属性的 json 数据

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Json | null: -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - -
      -

      使用 jquery on 为 controler 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -
      -

      scriptTplProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      获取 脚本模板 jquery 选择器

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      bool

      -
      -
      -
      -
      -

      selector

      -
      - (
        -
      • - _setter -
      • -
      ) -
      - - - - -
      -

      初始化的 jq 选择器

      -
      -
      -

      Parameters:

      -
        -
      • - _setter - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      selectorProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      获取 selector 属性的 jquery 选择器

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      bool

      -
      -
      -
      -
      -

      stringProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - - - -
      -

      读取 string 属性的值

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - -
      -

      使用 jquery trigger 触发 controler 绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -
      -

      windowProp

      -
      - (
        -
      • - _selector -
      • -
      • - _key -
      • -
      ) -
      - - Window variable - - -
      -

      获取与属性名匹配的 window 变量

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -

        如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()

        -
        -
      • -
      • - _key - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Window variable: -
      -
      -
      -
      -
      -

      Properties

      -
      -

      _instanceName

      - String - private - static - -
      -

      设置 selector 实例引用的 data 属性名

      -
      -

      Default: BaseMVCIns

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JC.BaseMVC.html b/docs_api/classes/JC.BaseMVC.html deleted file mode 100644 index b3245a6a..00000000 --- a/docs_api/classes/JC.BaseMVC.html +++ /dev/null @@ -1,618 +0,0 @@ - - - - - JC.BaseMVC - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JC.BaseMVC Class

      - -
      -

      MVC 抽象类 ( 仅供扩展用, 这个类不能实例化)

      -

      require: - jQuery - , JC.common -

      -

      JC Project Site -| API docs -| demo link

      -
      -
      -

      Constructor

      -
      -

      JC.BaseMVC

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -

      Properties

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      build

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      复制 BaseMVC 的所有方法到 _outClass

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildClass

      -
      - (
        -
      • - _inClass -
      • -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      复制 _inClass 的所有方法到 _outClass

      -
      -
      -

      Parameters:

      -
        -
      • - _inClass - Class -
        -
        -
      • -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildModel

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      为 _outClass 生成一个通用 Model 类

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildView

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      为 _outClass 生成一个通用 View 类

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      getInstance

      -
      - (
        -
      • - _selector -
      • -
      • - _staticClass -
      • -
      • - _classInstance -
      • -
      ) -
      - - ClassInstance | null - - static - -
      -

      获取或设置组件实例

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      • - _staticClass - Class -
        -
        -
      • -
      • - _classInstance - ClassInstance -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - ClassInstance | null: -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      selector

      - () - - - - -
      -

      获取 显示 BaseMVC 的触发源选择器, 比如 a 标签

      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -
      -

      Properties

      -
      -

      autoInit

      - Bool - static - -
      -

      是否自动初始化

      -
      -

      Default: true

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JC.PureMVC.Model.html b/docs_api/classes/JC.PureMVC.Model.html deleted file mode 100644 index dedf0a32..00000000 --- a/docs_api/classes/JC.PureMVC.Model.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      - -
      -

      MVC Model 类( 仅供扩展用 ) -
      这个类默认已经包含在lib.js里面, 不需要显式引用

      -

      JC Project Site -| demo link

      -

      see also: JC.PureMVC

      -
      -
      -

      Constructor

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -

      Properties

      - -
      -
      -
      -

      Methods

      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - -
      -

      使用 jquery on 为 controler 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - -
      -

      使用 jquery trigger 触发 controler 绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -
      -
      -

      Properties

      -
      -

      _instanceName

      - String - private - static - -
      -

      设置 selector 实例引用的 data 属性名

      -
      -

      Default: PureMVCIns

      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JC.PureMVC.html b/docs_api/classes/JC.PureMVC.html deleted file mode 100644 index 7ebfa4eb..00000000 --- a/docs_api/classes/JC.PureMVC.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - JC.PureMVC - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JC.PureMVC Class

      - -
      -

      MVC 抽象类 ( 仅供扩展用, 这个类不能实例化)

      -

      require: - JC.common -

      -

      JC Project Site -| API docs -| demo link

      -
      -
      -

      Constructor

      -
      -

      JC.PureMVC

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      build

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      复制 PureMVC 的所有方法到 _outClass

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildClass

      -
      - (
        -
      • - _inClass -
      • -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      复制 _inClass 的所有方法到 _outClass

      -
      -
      -

      Parameters:

      -
        -
      • - _inClass - Class -
        -
        -
      • -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildModel

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      为 _outClass 生成一个通用 Model 类

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      buildView

      -
      - (
        -
      • - _outClass -
      • -
      ) -
      - static - -
      -

      为 _outClass 生成一个通用 View 类

      -
      -
      -

      Parameters:

      -
        -
      • - _outClass - Class -
        -
        -
      • -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JC.common.html b/docs_api/classes/JC.common.html deleted file mode 100644 index 529b4984..00000000 --- a/docs_api/classes/JC.common.html +++ /dev/null @@ -1,2816 +0,0 @@ - - - - - JC.common - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JC.common Class

      - -
      -

      JC 组件通用静态方法和属性 ( JC.common, 别名: JC.f ) -
      所有 JC 组件都会依赖这个静态类

      -

      require: jQuery

      -

      JC Project Site -| API docs -| demo link

      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -

      Properties

      - -
      -
      -
      -

      Methods

      -
      -

      addUrlParams

      -
      - (
        -
      • - _url -
      • -
      • - _params -
      • -
      ) -
      - - - - static - -
      -

      添加URL参数 -
      require: delUrlParam, filterXSS

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
             var url = addUrlParams( location.href, {'key1': 'key1value', 'key2': 'key2value' } );
      -
      -
      -
      -
      -

      arrayId

      -
      - (
        -
      • - _ar -
      • -
      ) -
      - - - - static - -
      -

      一维数组去重

      -
      -
      -

      Parameters:

      -
        -
      • - _ar - Array -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Array

      -
      -
      -
      -
      -

      cloneDate

      -
      - (
        -
      • - _date -
      • -
      ) -
      - - Date - - static - -
      -

      克隆日期对象

      -
      -
      -

      Parameters:

      -
        -
      • - _date - Date -
        -

        需要克隆的日期

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Date: -

      需要克隆的日期对象

      -
      -
      -
      -
      -

      cloneObject

      -
      - (
        -
      • - _inObj -
      • -
      ) -
      - - - - static - -
      -

      深度克隆对象

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      Object

      -
      -
      -
      -
      -

      dateDetect

      -
      - (
        -
      • - _dateStr -
      • -
      ) -
      - - Date | Null - - static - -
      -

      日期占位符识别功能

      -
      -
      -

      Parameters:

      -
        -
      • - _dateStr - String -
        -

        如果起始字符为 NOW, 那么将视为当前日期 - , 如果起始字符为 NOWFirst, 那么将视为当前月的1号

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Date | Null: -
      -
      -
      -

      Example:

      -
      -
       dateDetect( 'now' ); //2014-10-02
      - dateDetect( 'now,3d' ); //2013-10-05
      - dateDetect( 'now,-3d' ); //2013-09-29
      - dateDetect( 'now,2w' ); //2013-10-16
      - dateDetect( 'now,-2m' ); //2013-08-02
      - dateDetect( 'now,4y' ); //2017-10-02
      - dateDetect( 'now,1d,1w,1m,1y' ); //2014-11-10
      -
      -
      -
      -
      -

      dateFormat

      -
      - (
        -
      • - _date -
      • -
      • - _format -
      • -
      ) -
      - - - - static - -
      -

      日期格式化 (具体格式请查看 PHP Date Formats)

      -
      -
      -

      Parameters:

      -
        -
      • - _date - Date -
        -

        default = now

        -
        -
      • -
      • - _format - String -
        -

        default = "YY-MM-DD"

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      delUrlParam

      -
      - (
        -
      • - _url -
      • -
      • - _key -
      • -
      ) -
      - - - - static - -
      -

      删除URL参数 -
      require: filterXSS

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
             var url = delUrlParam( location.href, 'tag' );
      -
      -
      -
      -
      -

      delUrlParams

      -
      - (
        -
      • - _url -
      • -
      • - _keys -
      • -
      ) -
      - - - - static - -
      -

      批量删除URL参数 -
      require: delUrlParam

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
             var url = delUrlParam( location.href, [ 'k1', 'k2' ] );
      -
      -
      -
      -
      -

      docSize

      -
      - (
        -
      • - _doc -
      • -
      ) -
      - - - - static - -
      -

      获取 document 的 相关大小

      -
      -
      -

      Parameters:

      -
        -
      • - _doc - Document -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Object

      -
      -
      -
      -
      -

      easyEffect

      -
      - (
        -
      • - _cb -
      • -
      • - _maxVal -
      • -
      • - _startVal -
      • -
      • - _duration -
      • -
      • - _stepMs -
      • -
      ) -
      - - - - static - -
      -

      缓动函数, 动画效果为按时间缓动 -
      这个函数只考虑递增, 你如果需要递减的话, 在回调里用 _maxVal - _stepval

      -
      -
      -

      Parameters:

      -
        -
      • - _cb - Function -
        -

        缓动运动时的回调

        -
        -
      • -
      • - _maxVal - Number -
        -

        缓动的最大值, default = 200

        -
        -
      • -
      • - _startVal - Number -
        -

        缓动的起始值, default = 0

        -
        -
      • -
      • - _duration - Number -
        -

        缓动的总时间, 单位毫秒, default = 200

        -
        -
      • -
      • - _stepMs - Number -
        -

        缓动的间隔, 单位毫秒, default = 2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      interval

      -
      -
      -
      -

      Example:

      -
      -
             $(document).ready(function(){
      -           window.js_output = $('span.js_output');
      -           window.ls = [];
      -           window.EFF_INTERVAL = easyEffect( effectcallback, 100);
      -       });
      -       function effectcallback( _stepval, _done ){
      -           js_output.html( _stepval );
      -           ls.push( _stepval );
      -           !_done && js_output.html( _stepval );
      -           _done && js_output.html( _stepval + '<br />' + ls.join() );
      -       }
      -
      -
      -
      -
      -

      encoder

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - - Encode function - - static - -
      -

      URL 请求时, 获取对URL参数进行编码的函数

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Encode function: -

      default encodeURIComponent

      -
      -
      -
      -
      -

      extendObject

      -
      - (
        -
      • - _source -
      • -
      • - _new -
      • -
      • - _overwrite -
      • -
      ) -
      - - - - static - -
      -

      扩展对象属性

      -
      -
      -

      Parameters:

      -
        -
      • - _source - Object -
        -
        -
      • -
      • - _new - Object -
        -
        -
      • -
      • - _overwrite - Bool -
        -

        是否覆盖已有属性, default = true

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      object

      -
      -
      -
      -
      -

      filterXSS

      -
      - (
        -
      • - _s -
      • -
      ) -
      - - - - static - -
      -

      xss 过滤函数

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      formatISODate

      -
      - (
        -
      • - _date -
      • -
      • - _split -
      • -
      ) -
      - - - - static - -
      -

      格式化日期为 YYYY-mm-dd 格式 -
      require: pad_char_f

      -
      -
      -

      Parameters:

      -
        -
      • - _date - Date -
        -

        要格式化日期的日期对象

        -
        -
      • -
      • - _split - String | Undefined -
        -

        定义年月日的分隔符, 默认为 '-'

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      funcName

      -
      - (
        -
      • - _func -
      • -
      ) -
      - - - - static - -
      -

      取函数名 ( 匿名函数返回空 )

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      getJqParent

      -
      - (
        -
      • - _selector -
      • -
      • - _filter -
      • -
      ) -
      - - - - static - -
      -

      获取 selector 的指定父级标签

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      • - _filter - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      getUrlParam

      -
      - (
        -
      • - _url -
      • -
      • - _key -
      • -
      ) -
      - - - - static - -
      -

      取URL参数的值 -
      require: filterXSS

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
             var defaultTag = getUrlParam(location.href, 'tag');  
      -
      -
      -
      -
      -

      getUrlParams

      -
      - (
        -
      • - _url -
      • -
      • - _key -
      • -
      ) -
      - - - - static - -
      -

      取URL参数的值, 这个方法返回数组 -
      与 getUrlParam 的区别是可以获取 checkbox 的所有值 -
      require: filterXSS

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      Array

      -
      -
      -
      -

      Example:

      -
      -
             var params = getUrlParams(location.href, 'tag');  
      -
      -
      -
      -
      -

      hasUrlParam

      -
      - (
        -
      • - _url -
      • -
      • - _key -
      • -
      ) -
      - - - - static - -
      -

      判断URL中是否有某个get参数

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      bool

      -
      -
      -
      -

      Example:

      -
      -
       var bool = hasUrlParam( 'getkey' );
      -
      -
      -
      -
      -

      httpRequire

      -
      - (
        -
      • - _msg -
      • -
      ) -
      - - - - static - -
      -

      提示需要 HTTP 环境

      -
      -
      -

      Parameters:

      -
        -
      • - _msg - String -
        -

        要提示的文字, 默认 "本示例需要HTTP环境'

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      bool 如果是HTTP环境返回true, 否则返回false

      -
      -
      -
      -
      -

      isSameDay

      -
      - (
        -
      • - _d1 -
      • -
      • - _d2 -
      • -
      ) -
      - - Bool - - static - -
      -

      判断两个日期是否为同一天

      -
      -
      -

      Parameters:

      -
        -
      • - _d1 - Date -
        -

        需要判断的日期1

        -
        -
      • -
      • - _d2 - Date -
        -

        需要判断的日期2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -

      isSameMonth

      -
      - (
        -
      • - _d1 -
      • -
      • - _d2 -
      • -
      ) -
      - - Bool - - static - -
      -

      判断两个日期是否为同一月份

      -
      -
      -

      Parameters:

      -
        -
      • - _d1 - Date -
        -

        需要判断的日期1

        -
        -
      • -
      • - _d2 - Date -
        -

        需要判断的日期2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -

      isSameSeason

      -
      - (
        -
      • - _d1 -
      • -
      • - _d2 -
      • -
      ) -
      - - Bool - - static - -
      -

      判断两个日期是否为同一季度

      -
      -
      -

      Parameters:

      -
        -
      • - _d1 - Date -
        -

        需要判断的日期1

        -
        -
      • -
      • - _d2 - Date -
        -

        需要判断的日期2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -

      isSameSeason

      -
      - (
        -
      • - _d1 -
      • -
      • - _d2 -
      • -
      ) -
      - - Bool - - static - -
      -

      判断两个日期是否为同一年

      -
      -
      -

      Parameters:

      -
        -
      • - _d1 - Date -
        -

        需要判断的日期1

        -
        -
      • -
      • - _d2 - Date -
        -

        需要判断的日期2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -

      isSameWeek

      -
      - (
        -
      • - _d1 -
      • -
      • - _d2 -
      • -
      ) -
      - - Bool - - static - -
      -

      判断两个日期是否为同一季度

      -
      -
      -

      Parameters:

      -
        -
      • - _d1 - Date -
        -

        需要判断的日期1

        -
        -
      • -
      • - _d2 - Date -
        -

        需要判断的日期2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -

      jcAutoInitComps

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - static - -
      -

      动态添加内容时, 初始化可识别的组件

      -

      -
      目前会自动识别的组件
      -
      - Bizs.CommonModify, JC.Panel, JC.Dialog -
      自动识别的组件不用显式调用 jcAutoInitComps 去识别可识别的组件 -
      -

      -

      -
      可识别的组件
      -
      - JC.AutoSelect, JC.AutoChecked, JC.AjaxUpload, JC.Calendar - , JC.Drag, JC.DCalendar, JC.Placeholder, JC.TableFreeze, JC.ImageCutter -
      Bizs.DisableLogic, Bizs.FormLogic, Bizs.MoneyTips, Bizs.AutoSelectComplete -
      -

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      maxDayOfMonth

      -
      - (
        -
      • - _date -
      • -
      ) -
      - - Int - - static - -
      -

      取得一个月份中最大的一天

      -
      -
      -

      Parameters:

      -
        -
      • - _date - Date -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Int: -

      月份中最大的一天

      -
      -
      -
      -
      -

      moneyFormat

      -
      - (
        -
      • - _number -
      • -
      • - _len -
      • -
      • - _floatLen -
      • -
      • - _splitSymbol -
      • -
      ) -
      - - - - static - -
      -

      逗号格式化金额

      -
      -
      -

      Parameters:

      -
        -
      • - _number - Int | String -
        -
        -
      • -
      • - _len - Int -
        -
        -
      • -
      • - _floatLen - Int -
        -
        -
      • -
      • - _splitSymbol - Int -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      mousewheelEvent

      -
      - (
        -
      • - _cb -
      • -
      • - _detach -
      • -
      • - _selector, -
      • -
      ) -
      - static - -
      -

      绑定或清除 mousewheel 事件

      -
      -
      -

      Parameters:

      -
        -
      • - _cb - Function -
        -
        -
      • -
      • - _detach - Bool -
        -
        -
      • -
      • - _selector, - Selector -
        -

        default = document

        -
        -
      • -
      -
      -
      -
      -

      padChar

      -
      - (
        -
      • - _str -
      • -
      • - _len -
      • -
      • - _char -
      • -
      ) -
      - - - - static - -
      -

      js 附加字串函数

      -
      -
      -

      Parameters:

      -
        -
      • - _str - String -
        -
        -
      • -
      • - _len - Intl -
        -
        -
      • -
      • - _char - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      parentSelector

      -
      - (
        -
      • - _item -
      • -
      • - _selector -
      • -
      • - _finder -
      • -
      ) -
      - - - - static - -
      -

      扩展 jquery 选择器 -
      扩展起始字符的 '/' 符号为 jquery 父节点选择器 -
      扩展起始字符的 '|' 符号为 jquery 子节点选择器 -
      扩展起始字符的 '(' 符号为 jquery 父节点查找识别符( getJqParent )

      -
      -
      -

      Parameters:

      -
        -
      • - _item - Selector -
        -
        -
      • -
      • - _selector - String -
        -
        -
      • -
      • - _finder - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      parseBool

      -
      - (
        -
      • - _input -
      • -
      ) -
      - - - - static - -
      -

      把输入值转换为布尔值

      -
      -
      -

      Parameters:

      -
        -
      • - _input - -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      bool

      -
      -
      -
      -
      -

      parseDate

      -
      - (
        -
      • - _date -
      • -
      • - _selector -
      • -
      • - _forceISO -
      • -
      ) -
      - - Date | Null - - static - -
      -

      从日期字符串解析日期对象 -
      兼容 JC.Calendar 日期格式

      -
      -
      -

      Parameters:

      -
        -
      • - _date - Date -
        -
        -
      • -
      • - _selector - Selector -
        -

        如果 _selector 为真, 则尝试从 _selector 的 html 属性 dateParse 对日期进行格式化

        -
        -
      • -
      • - _forceISO - Boolean -
        -

        是否强制转换为ISO日期

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Date | Null: -
      -
      -
      -
      -

      parseFinance

      -
      - (
        -
      • - _i -
      • -
      • - _dot, -
      • -
      ) -
      - - - - static - -
      -

      取小数点的N位 -
      JS 解析 浮点数的时候,经常出现各种不可预知情况,这个函数就是为了解决这个问题

      -
      -
      -

      Parameters:

      -
        -
      • - _i - Number -
        -
        -
      • -
      • - _dot, - Int -
        -

        default = 2

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      number

      -
      -
      -
      -
      -

      parseISODate

      -
      - (
        -
      • - _datestr -
      • -
      ) -
      - - - - static - -
      -

      从 ISODate 字符串解析日期对象

      -
      -
      -

      Parameters:

      -
        -
      • - _datestr - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      date

      -
      -
      -
      -
      -

      printf

      -
      - (
        -
      • - _str -
      • -
      ) -
      - - - - static - -
      -

      按格式输出字符串

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
       printf( 'asdfasdf{0}sdfasdf{1}', '000', 1111 );
      - //return asdfasdf000sdfasdf1111
      -
      -
      -
      -
      -

      printKey

      -
      - (
        -
      • - _str -
      • -
      • - _keys -
      • -
      ) -
      - - - - static - -
      -

      按格式输出字符串

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
       JC.f.printKey( 'asdfasdf{key1}sdfasdf{key2},{0}', { 'key1': '000', 'key2': 1111, '0': 222 );
      - //return asdfasdf000sdfasdf1111,222
      -
      -
      -
      -
      -

      pureDate

      -
      - (
        -
      • - _d -
      • -
      ) -
      - - - - -
      -

      获取不带 时分秒的 日期对象

      -
      -
      -

      Parameters:

      -
        -
      • - _d - Date -
        -

        可选参数, 如果为空 = new Date

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Date

      -
      -
      -
      -
      -

      relativePath

      -
      - (
        -
      • - _path -
      • -
      • - _url -
      • -
      ) -
      - - - - static - -
      -

      把 URL 相对路径 转换为 绝对路径

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      reloadPage

      -
      - (
        -
      • - _url -
      • -
      • - _nornd -
      • -
      • - _delayms -
      • -
      ) -
      - static - -
      -

      重载页面 -
      require: removeUrlSharp, addUrlParams, filterXSS

      -
      -
      -

      Parameters:

      -
        -
      • - _url - String -
        -
        -
      • -
      • - _nornd - Bool -
        -
        -
      • -
      • - _delayms - Int -
        -
        -
      • -
      -
      -
      -
      -

      removeUrlSharp

      -
      - (
        -
      • - _url -
      • -
      • - _nornd -
      • -
      • - _rndName -
      • -
      ) -
      - - - - static - -
      -

      删除 URL 的锚点 -
      require: addUrlParams, filterXSS

      -
      -
      -

      Parameters:

      -
        -
      • - _url - String -
        -
        -
      • -
      • - _nornd - Bool -
        -

        是否不添加随机参数

        -
        -
      • -
      • - _rndName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      safeTimeout

      -
      - (
        -
      • - _timeout -
      • -
      • - _obj -
      • -
      • - _name -
      • -
      • - _ms -
      • -
      ) -
      - - - - static - -
      -

      timeout 控制逻辑, 避免相同功能的 setTimeout 重复执行

      -
      -
      -

      Parameters:

      -
        -
      • - _timeout - Timeout | Function -
        -
        -
      • -
      • - _obj - Object -
        -

        default = window.TIMEOUT_HOST || {}

        -
        -
      • -
      • - _name - String -
        -

        default = 'NORMAL'

        -
        -
      • -
      • - _ms - Int -
        -

        default = 50

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      object

      -
      -
      -
      -
      -

      scriptContent

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - - - - static - -
      -

      获取脚本模板的内容

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      scriptPath

      - () - - String - - static - -
      -

      取当前脚本标签的 src路径

      -
      -
      -

      Returns:

      -
      - String: -

      脚本所在目录的完整路径

      -
      -
      -
      -
      -

      seasonOfYear

      -
      - (
        -
      • - _year -
      • -
      ) -
      - - - - static - -
      -

      取一年中所有的季度, 及其开始结束日期

      -
      -
      -

      Parameters:

      -
        -
      • - _year - Int -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Array

      -
      -
      -
      -
      -

      sliceArgs

      -
      - (
        -
      • - args -
      • -
      ) -
      - - - - static - -
      -

      把函数的参数转为数组

      -
      -
      -

      Parameters:

      -
        -
      • - args - Arguments -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Array

      -
      -
      -
      -
      -

      urlDetect

      -
      - (
        -
      • - _url -
      • -
      ) -
      - - - - static - -
      -

      URL 占位符识别功能 -
      require: addUrlParams, filterXSS

      -
      -
      -

      Parameters:

      -
        -
      • - _url - String -
        -

        如果 起始字符为 URL, 那么 URL 将祝为本页的URL

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -

      Example:

      -
      -
       urlDetect( '?test' ); //output: ?test
      - urlDetect( 'URL,a=1&b=2' ); //output: your.com?a=1&b=2
      - urlDetect( 'URL,a=1,b=2' ); //output: your.com?a=1&b=2
      - urlDetect( 'URLa=1&b=2' ); //output: your.com?a=1&b=2
      -
      -
      -
      -
      -

      urlHostName

      -
      - (
        -
      • - _url -
      • -
      ) -
      - - - - static - -
      -

      取 URL 的 host name

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      string

      -
      -
      -
      -
      -

      weekOfYear

      -
      - (
        -
      • - _year -
      • -
      • - _dayOffset -
      • -
      ) -
      - - - - static - -
      -

      取一年中所有的星期, 及其开始结束日期

      -
      -
      -

      Parameters:

      -
        -
      • - _year - Int -
        -
        -
      • -
      • - _dayOffset - Int -
        -

        每周的默认开始为周几, 默认0(周一)

        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      Array

      -
      -
      -
      -
      -
      -

      Properties

      -
      -

      ZINDEX_COUNT

      - Int - static - -
      -

      全局 css z-index 控制属性 -
      注意: 这个变量是 window.ZINDEX_COUNT

      -
      -

      Default: 50001

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JC.f.html b/docs_api/classes/JC.f.html deleted file mode 100644 index abbc20f2..00000000 --- a/docs_api/classes/JC.f.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - JC.f - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JC.f Class

      - -
      -

      JC.f 是 JC.common 的别名 -
      具体使用请见 JC.common

      -
      -
      - -
      -
      -

      Item Index

      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.Base.html b/docs_api/classes/JChart.Base.html deleted file mode 100644 index 8f240736..00000000 --- a/docs_api/classes/JChart.Base.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - - JChart.Base - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.Base Class

      -
      -
      - Extends JC.BaseMVC -
      - -
      -
      -

      组件用途简述

      -

      require: - JC.BaseMVC - , RaphaelJS -

      -

      JChart Project Site - | API docs - | demo link

      -

      页面只要引用本脚本, 默认会处理 div class="js_compBase"

      -

      可用的 HTML attribute

      -
      -
      -
      -
      -
      -
      -

      Constructor

      -
      -

      JChart.Base

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.Base 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      selector

      - () - - - - -
      -

      获取 显示 BaseMVC 的触发源选择器, 比如 a 标签

      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      update

      -
      - (
        -
      • - object -
      • -
      ) -
      - -
      -

      更新数据

      -
      -
      -

      Parameters:

      -
        -
      • - object - Object -
        -

        _data

        -
        -
      • -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.CurveGram.html b/docs_api/classes/JChart.CurveGram.html deleted file mode 100644 index 6ffbfd0a..00000000 --- a/docs_api/classes/JChart.CurveGram.html +++ /dev/null @@ -1,471 +0,0 @@ - - - - - JChart.CurveGram - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.CurveGram Class

      - -
      -

      曲线图

      -

      require: - JChart.Base -

      -

      JChart Project Site - | API docs - | demo link

      -

      页面只要引用本脚本, 默认会处理 span class="jchartCurveGram"

      -

      可用的 HTML attribute

      -
      -
      -
      -
      -
      -
      -

      Constructor

      -
      -

      JChart.CurveGram

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JChart.CurveGram 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - - Array of CurveGramInstance - - static - -
      -

      初始化可识别的 CurveGram 实例

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Array of CurveGramInstance: -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      selector

      - () - - - - -
      -

      获取 显示 BaseMVC 的触发源选择器, 比如 a 标签

      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      update

      -
      - (
        -
      • - object -
      • -
      ) -
      - -
      -

      更新数据

      -
      -
      -

      Parameters:

      -
        -
      • - object - Object -
        -

        _data

        -
        -
      • -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.GraphicBase.html b/docs_api/classes/JChart.GraphicBase.html deleted file mode 100644 index 1d9f715a..00000000 --- a/docs_api/classes/JChart.GraphicBase.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.GraphicBase - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.GraphicBase Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.GraphicBase

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.GraphicBase 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.GraphicPiePart.html b/docs_api/classes/JChart.GraphicPiePart.html deleted file mode 100644 index c37e6945..00000000 --- a/docs_api/classes/JChart.GraphicPiePart.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.GraphicPiePart - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.GraphicPiePart Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.GraphicPiePart

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.GraphicPiePart 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.GraphicPoint.html b/docs_api/classes/JChart.GraphicPoint.html deleted file mode 100644 index 9afad788..00000000 --- a/docs_api/classes/JChart.GraphicPoint.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.GraphicPoint - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.GraphicPoint Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.GraphicPoint

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.GraphicPoint 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.GraphicRect.html b/docs_api/classes/JChart.GraphicRect.html deleted file mode 100644 index a4744fd4..00000000 --- a/docs_api/classes/JChart.GraphicRect.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.GraphicRect - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.GraphicRect Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.GraphicRect

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.GraphicRect 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.Histogram.html b/docs_api/classes/JChart.Histogram.html deleted file mode 100644 index d5a64b09..00000000 --- a/docs_api/classes/JChart.Histogram.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - JChart.Histogram - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.Histogram Class

      - -
      -

      柱状图

      -

      require: - JChart.Base -

      -

      JChart Project Site - | API docs - | demo link

      -

      页面只要引用本脚本, 默认会处理 span class="jchartHistogram"

      -

      可用的 HTML attribute

      -
      -
      -
      -
      -
      -
      -

      Constructor

      -
      -

      JChart.Histogram

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - - Array of HistogramInstance - - static - -
      -

      初始化可识别的 Histogram 实例

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Array of HistogramInstance: -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      selector

      - () - - - - -
      -

      获取 显示 BaseMVC 的触发源选择器, 比如 a 标签

      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      update

      -
      - (
        -
      • - object -
      • -
      ) -
      - -
      -

      更新数据

      -
      -
      -

      Parameters:

      -
        -
      • - object - Object -
        -

        _data

        -
        -
      • -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.IconLine.html b/docs_api/classes/JChart.IconLine.html deleted file mode 100644 index 60da8b82..00000000 --- a/docs_api/classes/JChart.IconLine.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.IconLine - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.IconLine Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.IconLine

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.IconLine 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.IconRect.html b/docs_api/classes/JChart.IconRect.html deleted file mode 100644 index b814d3be..00000000 --- a/docs_api/classes/JChart.IconRect.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.IconRect - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.IconRect Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.IconRect

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.IconRect 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.IconVLine.html b/docs_api/classes/JChart.IconVLine.html deleted file mode 100644 index 3cacad6c..00000000 --- a/docs_api/classes/JChart.IconVLine.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - JChart.IconVLine - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.IconVLine Class

      - -
      -

      组件用途简述

      -

      require: - JC.PureMVC -

      -

      JC Project Site - | API docs - | demo link

      -
      -
      -

      Constructor

      -
      -

      JChart.IconVLine

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -

      Example:

      -
      -
         <h2>JC.IconVLine 示例</h2>
      -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      PureMVCInstance

      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.PieGraph.html b/docs_api/classes/JChart.PieGraph.html deleted file mode 100644 index 8f6790fc..00000000 --- a/docs_api/classes/JChart.PieGraph.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - JChart.PieGraph - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.PieGraph Class

      - -
      -

      柱状图

      -

      require: - JChart.Base -

      -

      JChart Project Site - | API docs - | demo link

      -

      页面只要引用本脚本, 默认会处理 span class="jchartPieGraph"

      -

      可用的 HTML attribute

      -
      -
      -
      -
      -
      -
      -

      Constructor

      -
      -

      JChart.PieGraph

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - -
      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector | String -
        -
        -
      • -
      -
      -
      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      _beforeInit

      - () - private - -
      -

      初始化之前调用的方法

      -
      -
      -
      -

      _init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - private - -
      -

      内部初始化方法

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -
      -

      _inited

      - () - private - -
      -

      内部初始化完毕时, 调用的方法

      -
      -
      -
      -

      _initHanlderEvent

      - () - private - -
      -

      内部事件初始化方法

      -
      -
      -
      -

      init

      -
      - (
        -
      • - _selector -
      • -
      ) -
      - - Array of PieGraphInstance - - static - -
      -

      初始化可识别的 PieGraph 实例

      -
      -
      -

      Parameters:

      -
        -
      • - _selector - Selector -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      - Array of PieGraphInstance: -
      -
      -
      -
      -

      on

      -
      - (
        -
      • - _evtName -
      • -
      • - _cb -
      • -
      ) -
      - - - - -
      -

      使用 jquery on 绑定事件

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      selector

      - () - - - - -
      -

      获取 显示 BaseMVC 的触发源选择器, 比如 a 标签

      -
      -
      -

      Returns:

      -
      -

      selector

      -
      -
      -
      -
      -

      trigger

      -
      - (
        -
      • - _evtName -
      • -
      ) -
      - - - - -
      -

      使用 jquery trigger 触发绑定事件

      -
      -
      -

      Parameters:

      -
        -
      • - _evtName - String -
        -
        -
      • -
      -
      -
      -

      Returns:

      -
      -

      BaseMVCInstance

      -
      -
      -
      -
      -

      update

      -
      - (
        -
      • - object -
      • -
      ) -
      - -
      -

      更新数据

      -
      -
      -

      Parameters:

      -
        -
      • - object - Object -
        -

        _data

        -
        -
      • -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.common.html b/docs_api/classes/JChart.common.html deleted file mode 100644 index c4f7d647..00000000 --- a/docs_api/classes/JChart.common.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - JChart.common - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.common Class

      - -
      -

      JChart 组件通用静态方法和属性 ( JChart.common, 别名: JChart.f ) -
      所有 JC 组件都会依赖这个静态类

      -

      require: jQuery

      -

      JChart Project Site -| API docs -| demo link

      -
      -
      - -
      -
      -

      Item Index

      -
      -

      Methods

      - -
      -
      -
      -

      Methods

      -
      -

      isArray

      -
      - (
        -
      • - obj -
      • -
      ) -
      - - Bool - - static - -
      -

      判断参数是否为数组

      -
      -
      -

      Parameters:

      - -
      -
      -

      Returns:

      -
      - Bool: -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/JChart.f.html b/docs_api/classes/JChart.f.html deleted file mode 100644 index 72088c63..00000000 --- a/docs_api/classes/JChart.f.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - JChart.f - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      JChart.f Class

      - -
      -

      JChart.f 是 JChart.common 的别名 -
      具体使用请见 JChart.common

      -
      -
      - -
      -
      -

      Item Index

      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/index.html b/docs_api/classes/index.html deleted file mode 100644 index 1d37e1b7..00000000 --- a/docs_api/classes/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - Redirector - - - - Click here to redirect - - \ No newline at end of file diff --git a/docs_api/classes/window.jQuery.html b/docs_api/classes/window.jQuery.html deleted file mode 100644 index 358c6241..00000000 --- a/docs_api/classes/window.jQuery.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - window.jQuery - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      window.jQuery Class

      -
      -
      - Defined in: ../lib.js:2062 -
      -
      -
      -

      jQuery JavaScript Library v1.9.1

      -
      http://jquery.com/
      -Includes Sizzle.js
      -http://sizzlejs.com/
      -Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
      -Released under the MIT license
      -http://jquery.org/license
      -Date: 2013-2-4
      -
      -
      - -
      -
      -

      Item Index

      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/classes/window.requirejs.html b/docs_api/classes/window.requirejs.html deleted file mode 100644 index 64ab3776..00000000 --- a/docs_api/classes/window.requirejs.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - window.requirejs - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -

      window.requirejs Class

      -
      -
      - Defined in: ../lib.js:1 -
      -
      -
      -

      RequireJS 2.1.8

      -
      http://github.com/jrburke/requirejs
      -
      -
      - -
      -
      -

      Item Index

      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/data.json b/docs_api/data.json deleted file mode 100644 index e79cd3e3..00000000 --- a/docs_api/data.json +++ /dev/null @@ -1,4385 +0,0 @@ -{ - "project": { - "name": "JChart", - "description": "javascript chart", - "version": "0.2", - "url": "http://jchart.openjavascript/", - "logo": "jc_logo.png" - }, - "files": { - "../modules/JC.BaseMVC/0.1/BaseMVC.js": { - "name": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "modules": {}, - "classes": { - "JC.BaseMVC": 1, - "JC.BaseMVC.Model": 1 - }, - "fors": {}, - "namespaces": { - "JC": 1 - } - }, - "../modules/JC.PureMVC/0.1/PureMVC.js": { - "name": "../modules/JC.PureMVC/0.1/PureMVC.js", - "modules": {}, - "classes": { - "JC.PureMVC": 1, - "JC.PureMVC.Model": 1 - }, - "fors": {}, - "namespaces": { - "JC": 1 - } - }, - "../modules/JC.common/0.2/common.js": { - "name": "../modules/JC.common/0.2/common.js", - "modules": {}, - "classes": { - "JC.f": 1, - "JC.common": 1 - }, - "fors": {}, - "namespaces": {} - }, - "../modules/JChart.Base/0.1/Base.js": { - "name": "../modules/JChart.Base/0.1/Base.js", - "modules": {}, - "classes": { - "JChart.Base": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.CurveGram/0.1/CurveGram.js": { - "name": "../modules/JChart.CurveGram/0.1/CurveGram.js", - "modules": {}, - "classes": { - "JChart.CurveGram": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.Geometry/0.1/Geometry.js": { - "name": "../modules/JChart.Geometry/0.1/Geometry.js", - "modules": {}, - "classes": {}, - "fors": {}, - "namespaces": {} - }, - "../modules/JChart.GraphicBase/0.1/GraphicBase.js": { - "name": "../modules/JChart.GraphicBase/0.1/GraphicBase.js", - "modules": {}, - "classes": { - "JChart.GraphicBase": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js": { - "name": "../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js", - "modules": {}, - "classes": { - "JChart.GraphicPiePart": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.GraphicPoint/0.1/GraphicPoint.js": { - "name": "../modules/JChart.GraphicPoint/0.1/GraphicPoint.js", - "modules": {}, - "classes": { - "JChart.GraphicPoint": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.GraphicRect/0.1/GraphicRect.js": { - "name": "../modules/JChart.GraphicRect/0.1/GraphicRect.js", - "modules": {}, - "classes": { - "JChart.GraphicRect": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.Histogram/0.1/Histogram.js": { - "name": "../modules/JChart.Histogram/0.1/Histogram.js", - "modules": {}, - "classes": { - "JChart.Histogram": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.IconLine/0.1/IconLine.js": { - "name": "../modules/JChart.IconLine/0.1/IconLine.js", - "modules": {}, - "classes": { - "JChart.IconLine": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.IconRect/0.1/IconRect.js": { - "name": "../modules/JChart.IconRect/0.1/IconRect.js", - "modules": {}, - "classes": { - "JChart.IconRect": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.IconVLine/0.1/IconVLine.js": { - "name": "../modules/JChart.IconVLine/0.1/IconVLine.js", - "modules": {}, - "classes": { - "JChart.IconVLine": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.PieGraph/0.1/PieGraph.js": { - "name": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "modules": {}, - "classes": { - "JChart.PieGraph": 1 - }, - "fors": {}, - "namespaces": { - "JChart": 1 - } - }, - "../modules/JChart.common/0.1/common.js": { - "name": "../modules/JChart.common/0.1/common.js", - "modules": {}, - "classes": { - "JChart.f": 1, - "JChart.common": 1 - }, - "fors": {}, - "namespaces": {} - }, - "../config.js": { - "name": "../config.js", - "modules": {}, - "classes": {}, - "fors": {}, - "namespaces": {} - }, - "../lib.js": { - "name": "../lib.js", - "modules": {}, - "classes": { - "window.requirejs": 1, - "window.jQuery": 1 - }, - "fors": {}, - "namespaces": { - "window": 1 - } - } - }, - "modules": {}, - "classes": { - "JC.BaseMVC": { - "name": "JC.BaseMVC", - "shortname": "JC.BaseMVC", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 3, - "description": "MVC 抽象类 ( 仅供扩展用, 这个类不能实例化)\n

      require: \n jQuery\n , JC.common\n

      \n

      JC Project Site\n| API docs\n| demo link

      ", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-09-07", - "author": "qiushaowei | 75 Team" - }, - "JC.BaseMVC.Model": { - "name": "JC.BaseMVC.Model", - "shortname": "JC.BaseMVC.Model", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 215, - "description": "MVC Model 类( 仅供扩展用 )\n
      这个类默认已经包含在lib.js里面, 不需要显式引用\n

      JC Project Site\n| API docs\n| demo link

      \n

      see also: JC.BaseMVC

      ", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-09-11", - "author": "qiushaowei | 75 Team" - }, - "JC.PureMVC": { - "name": "JC.PureMVC", - "shortname": "JC.PureMVC", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 3, - "description": "MVC 抽象类 ( 仅供扩展用, 这个类不能实例化)\n

      require: \n JC.common\n

      \n

      JC Project Site\n| API docs\n| demo link

      ", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-05", - "author": "qiushaowei | 75 Team" - }, - "JC.PureMVC.Model": { - "name": "JC.PureMVC.Model", - "shortname": "JC.PureMVC.Model", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 172, - "description": "MVC Model 类( 仅供扩展用 )\n
      这个类默认已经包含在lib.js里面, 不需要显式引用\n

      JC Project Site\n| API docs\n| demo link

      \n

      see also: JC.PureMVC

      ", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-09-11", - "author": "qiushaowei | 75 Team" - }, - "JC.f": { - "name": "JC.f", - "shortname": "JC.f", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.common/0.2/common.js", - "line": 21, - "description": "JC.f 是 JC.common 的别名\n
      具体使用请见 JC.common

      ", - "static": 1 - }, - "JC.common": { - "name": "JC.common", - "shortname": "JC.common", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JC", - "file": "../modules/JC.common/0.2/common.js", - "line": 27, - "description": "JC 组件通用静态方法和属性 ( JC.common, 别名: JC.f )\n
      所有 JC 组件都会依赖这个静态类\n

      require: jQuery

      \n

      JC Project Site\n| API docs\n| demo link

      ", - "static": 1, - "version": "dev 0.1 2013-07-04", - "author": "qiushaowei | 360 75 Team" - }, - "JChart.Base": { - "name": "JChart.Base", - "shortname": "JChart.Base", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 10, - "description": "组件用途简述\n\n

      require:\n JC.BaseMVC\n , RaphaelJS\n

      \n\n

      JChart Project Site\n | API docs\n | demo link

      \n \n

      页面只要引用本脚本, 默认会处理 div class=\"js_compBase\"

      \n\n

      可用的 HTML attribute

      \n\n
      \n
      \n
      \n
      ", - "extends": "JC.BaseMVC", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-02-13", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.Base 示例

      " - ] - }, - "JChart.CurveGram": { - "name": "JChart.CurveGram", - "shortname": "JChart.CurveGram", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.CurveGram/0.1/CurveGram.js", - "line": 2, - "description": "曲线图\n\n

      require:\n JChart.Base\n

      \n\n

      JChart Project Site\n | API docs\n | demo link

      \n \n

      页面只要引用本脚本, 默认会处理 span class=\"jchartCurveGram\"

      \n\n

      可用的 HTML attribute

      \n\n
      \n
      \n
      \n
      ", - "extends": "JChart.Base", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-11", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JChart.CurveGram 示例

      " - ] - }, - "JChart.GraphicBase": { - "name": "JChart.GraphicBase", - "shortname": "JChart.GraphicBase", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.GraphicBase/0.1/GraphicBase.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JC.PureMVC", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-12-13", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.GraphicBase 示例

      " - ] - }, - "JChart.GraphicPiePart": { - "name": "JChart.GraphicPiePart", - "shortname": "JChart.GraphicPiePart", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-26", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.GraphicPiePart 示例

      " - ] - }, - "JChart.GraphicPoint": { - "name": "JChart.GraphicPoint", - "shortname": "JChart.GraphicPoint", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.GraphicPoint/0.1/GraphicPoint.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-12-13", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.GraphicPoint 示例

      " - ] - }, - "JChart.GraphicRect": { - "name": "JChart.GraphicRect", - "shortname": "JChart.GraphicRect", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.GraphicRect/0.1/GraphicRect.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-23", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.GraphicRect 示例

      " - ] - }, - "JChart.Histogram": { - "name": "JChart.Histogram", - "shortname": "JChart.Histogram", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.Histogram/0.1/Histogram.js", - "line": 2, - "description": "柱状图\n\n

      require:\n JChart.Base\n

      \n\n

      JChart Project Site\n | API docs\n | demo link

      \n \n

      页面只要引用本脚本, 默认会处理 span class=\"jchartHistogram\"

      \n\n

      可用的 HTML attribute

      \n\n
      \n
      \n
      \n
      ", - "extends": "JChart.Base", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-20", - "author": "qiushaowei | 75 Team" - }, - "JChart.IconLine": { - "name": "JChart.IconLine", - "shortname": "JChart.IconLine", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.IconLine/0.1/IconLine.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-26", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.IconLine 示例

      " - ] - }, - "JChart.IconRect": { - "name": "JChart.IconRect", - "shortname": "JChart.IconRect", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.IconRect/0.1/IconRect.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-24", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.IconRect 示例

      " - ] - }, - "JChart.IconVLine": { - "name": "JChart.IconVLine", - "shortname": "JChart.IconVLine", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.IconVLine/0.1/IconVLine.js", - "line": 2, - "description": "组件用途简述\n\n

      require:\n JC.PureMVC\n

      \n\n

      JC Project Site\n | API docs\n | demo link

      ", - "extends": "JChart.GraphicBase", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2013-12-13", - "author": "qiushaowei | 75 Team", - "example": [ - "\n

      JC.IconVLine 示例

      " - ] - }, - "JChart.PieGraph": { - "name": "JChart.PieGraph", - "shortname": "JChart.PieGraph", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 2, - "description": "柱状图\n\n

      require:\n JChart.Base\n

      \n\n

      JChart Project Site\n | API docs\n | demo link

      \n \n

      页面只要引用本脚本, 默认会处理 span class=\"jchartPieGraph\"

      \n\n

      可用的 HTML attribute

      \n\n
      \n
      \n
      \n
      ", - "extends": "JChart.Base", - "is_constructor": 1, - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector|string" - } - ], - "version": "dev 0.1 2014-06-20", - "author": "qiushaowei | 75 Team" - }, - "JChart.f": { - "name": "JChart.f", - "shortname": "JChart.f", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.common/0.1/common.js", - "line": 7, - "description": "JChart.f 是 JChart.common 的别名\n
      具体使用请见 JChart.common

      ", - "static": 1 - }, - "JChart.common": { - "name": "JChart.common", - "shortname": "JChart.common", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "JChart", - "file": "../modules/JChart.common/0.1/common.js", - "line": 13, - "description": "JChart 组件通用静态方法和属性 ( JChart.common, 别名: JChart.f )\n
      所有 JC 组件都会依赖这个静态类\n

      require: jQuery

      \n

      JChart Project Site\n| API docs\n| demo link

      ", - "static": 1, - "version": "2014-07-02", - "author": "qiushaowei | 360 75 Team" - }, - "window.requirejs": { - "name": "window.requirejs", - "shortname": "window.requirejs", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "window", - "file": "../lib.js", - "line": 1, - "description": "RequireJS 2.1.8 \n
      http://github.com/jrburke/requirejs
      ", - "global": "" - }, - "window.jQuery": { - "name": "window.jQuery", - "shortname": "window.jQuery", - "classitems": [], - "plugins": [], - "extensions": [], - "plugin_for": [], - "extension_for": [], - "namespace": "window", - "file": "../lib.js", - "line": 2062, - "description": "jQuery JavaScript Library v1.9.1\n
      http://jquery.com/\n\nIncludes Sizzle.js\nhttp://sizzlejs.com/\n\nCopyright 2005, 2012 jQuery Foundation, Inc. and other contributors\nReleased under the MIT license\nhttp://jquery.org/license\nDate: 2013-2-4
      ", - "global": "" - } - }, - "classitems": [ - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 32, - "description": "内部初始化方法", - "itemtype": "method", - "name": "_init", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "access": "private", - "tagname": "", - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 61, - "description": "初始化之前调用的方法", - "itemtype": "method", - "name": "_beforeInit", - "access": "private", - "tagname": "", - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 69, - "description": "内部事件初始化方法", - "itemtype": "method", - "name": "_initHanlderEvent", - "access": "private", - "tagname": "", - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 77, - "description": "内部初始化完毕时, 调用的方法", - "itemtype": "method", - "name": "_inited", - "access": "private", - "tagname": "", - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 85, - "description": "获取 显示 BaseMVC 的触发源选择器, 比如 a 标签", - "itemtype": "method", - "name": "selector", - "return": { - "description": "selector" - }, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 91, - "description": "使用 jquery on 绑定事件", - "itemtype": "method", - "name": "on", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - }, - { - "name": "_cb", - "description": "", - "type": "Function" - } - ], - "return": { - "description": "BaseMVCInstance" - }, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 99, - "description": "使用 jquery trigger 触发绑定事件", - "itemtype": "method", - "name": "trigger", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - } - ], - "return": { - "description": "BaseMVCInstance" - }, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 107, - "description": "获取或设置组件实例", - "itemtype": "method", - "name": "getInstance", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - }, - { - "name": "_staticClass", - "description": "", - "type": "Class" - }, - { - "name": "_classInstance", - "description": "", - "type": "ClassInstance" - } - ], - "static": 1, - "return": { - "description": "", - "type": "ClassInstance | null" - }, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 132, - "description": "是否自动初始化", - "itemtype": "property", - "name": "autoInit", - "type": "bool", - "default": "true", - "static": 1, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 140, - "description": "复制 BaseMVC 的所有方法到 _outClass", - "itemtype": "method", - "name": "build", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 158, - "description": "复制 _inClass 的所有方法到 _outClass", - "itemtype": "method", - "name": "buildClass", - "params": [ - { - "name": "_inClass", - "description": "", - "type": "Class" - }, - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 187, - "description": "为 _outClass 生成一个通用 Model 类", - "itemtype": "method", - "name": "buildModel", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 200, - "description": "为 _outClass 生成一个通用 View 类", - "itemtype": "method", - "name": "buildView", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 210, - "description": "初始化 BaseMVC Model 类 和 View 类", - "class": "JC.BaseMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 230, - "description": "设置 selector 实例引用的 data 属性名", - "itemtype": "property", - "name": "_instanceName", - "type": "string", - "default": "BaseMVCIns", - "access": "private", - "tagname": "", - "static": 1, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 244, - "description": "使用 jquery on 为 controler 绑定事件", - "itemtype": "method", - "name": "on", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - }, - { - "name": "_cb", - "description": "", - "type": "Function" - } - ], - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 255, - "description": "使用 jquery trigger 触发 controler 绑定事件", - "itemtype": "method", - "name": "trigger", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - } - ], - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 267, - "description": "初始化的 jq 选择器", - "itemtype": "method", - "name": "selector", - "params": [ - { - "name": "_setter", - "description": "", - "type": "Selector" - } - ], - "return": { - "description": "selector" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 278, - "description": "读取 int 属性的值", - "itemtype": "method", - "name": "intProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "int" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 299, - "description": "读取 float 属性的值", - "itemtype": "method", - "name": "floatProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "float" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 320, - "description": "读取 string 属性的值", - "itemtype": "method", - "name": "stringProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 338, - "description": "读取 html 属性值\n
      这个跟 stringProp 的区别是不会强制转换为小写", - "itemtype": "method", - "name": "attrProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 361, - "description": "读取 boolean 属性的值", - "itemtype": "method", - "name": "boolProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String|bool" - }, - { - "name": "_defalut", - "description": "", - "type": "Bool" - } - ], - "return": { - "description": "", - "type": "Bool|undefined" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 387, - "description": "读取 callback 属性的值", - "itemtype": "method", - "name": "callbackProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "", - "type": "Function|undefined" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 410, - "description": "获取与属性名匹配的 window 变量", - "itemtype": "method", - "name": "windowProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "", - "type": "Window variable" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 421, - "description": "获取 selector 属性的 jquery 选择器", - "itemtype": "method", - "name": "selectorProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "bool" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 444, - "description": "获取 脚本模板 jquery 选择器", - "itemtype": "method", - "name": "scriptTplProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "bool" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 469, - "description": "获取 selector 属性的 json 数据", - "itemtype": "method", - "name": "jsonProp", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "", - "type": "Json | null" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 493, - "description": "判断 _selector 是否具体某种特征", - "itemtype": "method", - "name": "is", - "params": [ - { - "name": "_selector", - "description": "如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()", - "type": "Selector|string" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "bool" - }, - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 522, - "description": "使用 jquery on 为 controler 绑定事件", - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.BaseMVC/0.1/BaseMVC.js", - "line": 530, - "description": "使用 jquery trigger 触发 controler 绑定事件", - "class": "JC.BaseMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 28, - "description": "内部初始化方法", - "itemtype": "method", - "name": "_init", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "access": "private", - "tagname": "", - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 57, - "description": "初始化之前调用的方法", - "itemtype": "method", - "name": "_beforeInit", - "access": "private", - "tagname": "", - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 65, - "description": "内部事件初始化方法", - "itemtype": "method", - "name": "_initHanlderEvent", - "access": "private", - "tagname": "", - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 73, - "description": "内部初始化完毕时, 调用的方法", - "itemtype": "method", - "name": "_inited", - "access": "private", - "tagname": "", - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 81, - "description": "使用 jquery on 绑定事件", - "itemtype": "method", - "name": "on", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - }, - { - "name": "_cb", - "description": "", - "type": "Function" - } - ], - "return": { - "description": "PureMVCInstance" - }, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 89, - "description": "使用 jquery trigger 触发绑定事件", - "itemtype": "method", - "name": "trigger", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - } - ], - "return": { - "description": "PureMVCInstance" - }, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 97, - "description": "复制 PureMVC 的所有方法到 _outClass", - "itemtype": "method", - "name": "build", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 115, - "description": "复制 _inClass 的所有方法到 _outClass", - "itemtype": "method", - "name": "buildClass", - "params": [ - { - "name": "_inClass", - "description": "", - "type": "Class" - }, - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 144, - "description": "为 _outClass 生成一个通用 Model 类", - "itemtype": "method", - "name": "buildModel", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 157, - "description": "为 _outClass 生成一个通用 View 类", - "itemtype": "method", - "name": "buildView", - "params": [ - { - "name": "_outClass", - "description": "", - "type": "Class" - } - ], - "static": 1, - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 167, - "description": "初始化 PureMVC Model 类 和 View 类", - "class": "JC.PureMVC", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 187, - "description": "设置 selector 实例引用的 data 属性名", - "itemtype": "property", - "name": "_instanceName", - "type": "string", - "default": "PureMVCIns", - "access": "private", - "tagname": "", - "static": 1, - "class": "JC.PureMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 201, - "description": "使用 jquery on 为 controler 绑定事件", - "itemtype": "method", - "name": "on", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - }, - { - "name": "_cb", - "description": "", - "type": "Function" - } - ], - "class": "JC.PureMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 212, - "description": "使用 jquery trigger 触发 controler 绑定事件", - "itemtype": "method", - "name": "trigger", - "type": "String", - "params": [ - { - "name": "_evtName", - "description": "", - "type": "String" - } - ], - "class": "JC.PureMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 231, - "description": "使用 jquery on 为 controler 绑定事件", - "class": "JC.PureMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.PureMVC/0.1/PureMVC.js", - "line": 239, - "description": "使用 jquery trigger 触发 controler 绑定事件", - "class": "JC.PureMVC.Model", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 2, - "description": "如果 console 不可用, 生成一个模拟的 console 对象", - "class": "JC.f", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 9, - "description": "声明主要命名空间, 方便迁移", - "class": "JC.f", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 95, - "description": "判断 JC.common 是否需要向后兼容, 如果需要的话, 向 window 添加全局静态函数", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 118, - "description": "jquery 1.9.1 默认 string 没有 trim 方法, 这里对 string 原型添加一个默认的 trim 方法", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 122, - "description": "兼容 低版本 ie Array 的 indexOf 方法", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 137, - "description": "全局 css z-index 控制属性\n
      注意: 这个变量是 window.ZINDEX_COUNT", - "itemtype": "property", - "name": "ZINDEX_COUNT", - "type": "int", - "default": "50001", - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 155, - "description": "一维数组去重", - "itemtype": "method", - "name": "arrayId", - "params": [ - { - "name": "_ar", - "description": "", - "type": "Array" - } - ], - "return": { - "description": "Array" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 174, - "description": "把函数的参数转为数组", - "itemtype": "method", - "name": "sliceArgs", - "params": [ - { - "name": "args", - "description": "", - "type": "Arguments" - } - ], - "return": { - "description": "Array" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 188, - "description": "取 URL 的 host name", - "itemtype": "method", - "name": "urlHostName", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 204, - "description": "把 URL 相对路径 转换为 绝对路径", - "itemtype": "method", - "name": "relativePath", - "params": [ - { - "name": "_path", - "description": "", - "type": "String" - }, - { - "name": "_url", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 232, - "description": "按格式输出字符串", - "itemtype": "method", - "name": "printf", - "static": 1, - "params": [ - { - "name": "_str", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "example": [ - "\n printf( 'asdfasdf{0}sdfasdf{1}', '000', 1111 );\n //return asdfasdf000sdfasdf1111" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 248, - "description": "按格式输出字符串", - "itemtype": "method", - "name": "printKey", - "static": 1, - "params": [ - { - "name": "_str", - "description": "", - "type": "String" - }, - { - "name": "_keys", - "description": "", - "type": "Object" - } - ], - "return": { - "description": "string" - }, - "example": [ - "\n JC.f.printKey( 'asdfasdf{key1}sdfasdf{key2},{0}', { 'key1': '000', 'key2': 1111, '0': 222 );\n //return asdfasdf000sdfasdf1111,222" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 266, - "description": "判断URL中是否有某个get参数", - "itemtype": "method", - "name": "hasUrlParam", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "bool" - }, - "static": 1, - "example": [ - "\n var bool = hasUrlParam( 'getkey' );" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 288, - "description": "添加URL参数\n
      require: delUrlParam, filterXSS", - "itemtype": "method", - "name": "addUrlParams", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_params", - "description": "", - "type": "Object" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "example": [ - "\n var url = addUrlParams( location.href, {'key1': 'key1value', 'key2': 'key2value' } );" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 314, - "description": "xss 过滤函数", - "itemtype": "method", - "name": "filterXSS", - "params": [ - { - "name": "_s", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 329, - "description": "取URL参数的值\n
      require: filterXSS", - "itemtype": "method", - "name": "getUrlParam", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "example": [ - "\n var defaultTag = getUrlParam(location.href, 'tag'); " - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 357, - "description": "取URL参数的值, 这个方法返回数组\n
      与 getUrlParam 的区别是可以获取 checkbox 的所有值\n
      require: filterXSS", - "itemtype": "method", - "name": "getUrlParams", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "Array" - }, - "static": 1, - "example": [ - "\n var params = getUrlParams(location.href, 'tag'); " - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 388, - "description": "删除URL参数\n
      require: filterXSS", - "itemtype": "method", - "name": "delUrlParam", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_key", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "example": [ - "\n var url = delUrlParam( location.href, 'tag' );" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 418, - "description": "批量删除URL参数\n
      require: delUrlParam", - "itemtype": "method", - "name": "delUrlParams", - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_keys", - "description": "", - "type": "Array" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "example": [ - "\n var url = delUrlParam( location.href, [ 'k1', 'k2' ] );" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 434, - "description": "提示需要 HTTP 环境", - "itemtype": "method", - "name": "httpRequire", - "static": 1, - "params": [ - { - "name": "_msg", - "description": "要提示的文字, 默认 \"本示例需要HTTP环境'", - "type": "String" - } - ], - "return": { - "description": "bool 如果是HTTP环境返回true, 否则返回false" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 449, - "description": "删除 URL 的锚点\n
      require: addUrlParams, filterXSS", - "itemtype": "method", - "name": "removeUrlSharp", - "static": 1, - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_nornd", - "description": "是否不添加随机参数", - "type": "Bool" - }, - { - "name": "_rndName", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 471, - "description": "重载页面\n
      require: removeUrlSharp, addUrlParams, filterXSS", - "itemtype": "method", - "name": "reloadPage", - "static": 1, - "params": [ - { - "name": "_url", - "description": "", - "type": "String" - }, - { - "name": "_nornd", - "description": "", - "type": "Bool" - }, - { - "name": "_delayms", - "description": "", - "type": "Int" - } - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 492, - "description": "取小数点的N位\n
      JS 解析 浮点数的时候,经常出现各种不可预知情况,这个函数就是为了解决这个问题", - "itemtype": "method", - "name": "parseFinance", - "static": 1, - "params": [ - { - "name": "_i", - "description": "", - "type": "Number" - }, - { - "name": "_dot,", - "description": "default = 2", - "type": "Int" - } - ], - "return": { - "description": "number" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 507, - "description": "js 附加字串函数", - "itemtype": "method", - "name": "padChar", - "static": 1, - "params": [ - { - "name": "_str", - "description": "", - "type": "String" - }, - { - "name": "_len", - "description": "", - "type": "Intl" - }, - { - "name": "_char", - "description": "", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 523, - "description": "格式化日期为 YYYY-mm-dd 格式\n
      require: pad\\_char\\_f", - "itemtype": "method", - "name": "formatISODate", - "static": 1, - "params": [ - { - "name": "_date", - "description": "要格式化日期的日期对象", - "type": "Date" - }, - { - "name": "_split", - "description": "定义年月日的分隔符, 默认为 '-'", - "type": "String|undefined" - } - ], - "return": { - "description": "string" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 537, - "description": "从 ISODate 字符串解析日期对象", - "itemtype": "method", - "name": "parseISODate", - "static": 1, - "params": [ - { - "name": "_datestr", - "description": "", - "type": "String" - } - ], - "return": { - "description": "date" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 560, - "description": "从日期字符串解析日期对象\n
      兼容 JC.Calendar 日期格式", - "itemtype": "method", - "name": "parseDate", - "params": [ - { - "name": "_date", - "description": "", - "type": "Date" - }, - { - "name": "_selector", - "description": "如果 _selector 为真, 则尝试从 _selector 的 html 属性 dateParse 对日期进行格式化", - "type": "Selector" - }, - { - "name": "_forceISO", - "description": "是否强制转换为ISO日期", - "type": "Boolean" - } - ], - "return": { - "description": "", - "type": "Date|null" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 584, - "description": "获取不带 时分秒的 日期对象", - "itemtype": "method", - "name": "pureDate", - "params": [ - { - "name": "_d", - "description": "可选参数, 如果为空 = new Date", - "type": "Date" - } - ], - "return": { - "description": "Date" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 596, - "description": "克隆日期对象", - "itemtype": "method", - "name": "cloneDate", - "static": 1, - "params": [ - { - "name": "_date", - "description": "需要克隆的日期", - "type": "Date" - } - ], - "return": { - "description": "需要克隆的日期对象", - "type": "Date" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 604, - "description": "判断两个日期是否为同一天", - "itemtype": "method", - "name": "isSameDay", - "static": 1, - "params": [ - { - "name": "_d1", - "description": "需要判断的日期1", - "type": "Date" - }, - { - "name": "_d2", - "description": "需要判断的日期2", - "type": "Date" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 616, - "description": "判断两个日期是否为同一月份", - "itemtype": "method", - "name": "isSameMonth", - "static": 1, - "params": [ - { - "name": "_d1", - "description": "需要判断的日期1", - "type": "Date" - }, - { - "name": "_d2", - "description": "需要判断的日期2", - "type": "Date" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 629, - "description": "判断两个日期是否为同一季度", - "itemtype": "method", - "name": "isSameWeek", - "static": 1, - "params": [ - { - "name": "_d1", - "description": "需要判断的日期1", - "type": "Date" - }, - { - "name": "_d2", - "description": "需要判断的日期2", - "type": "Date" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 660, - "description": "判断两个日期是否为同一季度", - "itemtype": "method", - "name": "isSameSeason", - "static": 1, - "params": [ - { - "name": "_d1", - "description": "需要判断的日期1", - "type": "Date" - }, - { - "name": "_d2", - "description": "需要判断的日期2", - "type": "Date" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 692, - "description": "判断两个日期是否为同一年", - "itemtype": "method", - "name": "isSameSeason", - "static": 1, - "params": [ - { - "name": "_d1", - "description": "需要判断的日期1", - "type": "Date" - }, - { - "name": "_d2", - "description": "需要判断的日期2", - "type": "Date" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 704, - "description": "取一年中所有的星期, 及其开始结束日期", - "itemtype": "method", - "name": "weekOfYear", - "static": 1, - "params": [ - { - "name": "_year", - "description": "", - "type": "Int" - }, - { - "name": "_dayOffset", - "description": "每周的默认开始为周几, 默认0(周一)", - "type": "Int" - } - ], - "return": { - "description": "Array" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 716, - "description": "元旦开始的第一个星期一开始的一周为政治经济上的第一周", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 741, - "description": "取一年中所有的季度, 及其开始结束日期", - "itemtype": "method", - "name": "seasonOfYear", - "static": 1, - "params": [ - { - "name": "_year", - "description": "", - "type": "Int" - } - ], - "return": { - "description": "Array" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 778, - "description": "取得一个月份中最大的一天", - "itemtype": "method", - "name": "maxDayOfMonth", - "static": 1, - "params": [ - { - "name": "_date", - "description": "", - "type": "Date" - } - ], - "return": { - "description": "月份中最大的一天", - "type": "Int" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 791, - "description": "取当前脚本标签的 src路径", - "itemtype": "method", - "name": "scriptPath", - "static": 1, - "return": { - "description": "脚本所在目录的完整路径", - "type": "String" - }, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 803, - "description": "缓动函数, 动画效果为按时间缓动 \n
      这个函数只考虑递增, 你如果需要递减的话, 在回调里用 _maxVal - _stepval", - "itemtype": "method", - "name": "easyEffect", - "static": 1, - "params": [ - { - "name": "_cb", - "description": "缓动运动时的回调", - "type": "Function" - }, - { - "name": "_maxVal", - "description": "缓动的最大值, default = 200", - "type": "Number" - }, - { - "name": "_startVal", - "description": "缓动的起始值, default = 0", - "type": "Number" - }, - { - "name": "_duration", - "description": "缓动的总时间, 单位毫秒, default = 200", - "type": "Number" - }, - { - "name": "_stepMs", - "description": "缓动的间隔, 单位毫秒, default = 2", - "type": "Number" - } - ], - "return": { - "description": "interval" - }, - "example": [ - "\n $(document).ready(function(){\n window.js_output = $('span.js_output');\n window.ls = [];\n window.EFF_INTERVAL = easyEffect( effectcallback, 100);\n });\n\n function effectcallback( _stepval, _done ){\n js_output.html( _stepval );\n ls.push( _stepval );\n\n !_done && js_output.html( _stepval );\n _done && js_output.html( _stepval + '
      ' + ls.join() );\n }" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 856, - "description": "把输入值转换为布尔值", - "itemtype": "method", - "name": "parseBool", - "params": [ - { - "name": "_input", - "description": "", - "type": "*" - } - ], - "return": { - "description": "bool" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 875, - "description": "绑定或清除 mousewheel 事件", - "itemtype": "method", - "name": "mousewheelEvent", - "params": [ - { - "name": "_cb", - "description": "", - "type": "Function" - }, - { - "name": "_detach", - "description": "", - "type": "Bool" - }, - { - "name": "_selector,", - "description": "default = document", - "type": "Selector" - } - ], - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 899, - "description": "获取 selector 的指定父级标签", - "itemtype": "method", - "name": "getJqParent", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - }, - { - "name": "_filter", - "description": "", - "type": "Selector" - } - ], - "return": { - "description": "selector" - }, - "require": "jquery", - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 925, - "description": "扩展 jquery 选择器\n
      扩展起始字符的 '/' 符号为 jquery 父节点选择器\n
      扩展起始字符的 '|' 符号为 jquery 子节点选择器\n
      扩展起始字符的 '(' 符号为 jquery 父节点查找识别符( getJqParent )", - "itemtype": "method", - "name": "parentSelector", - "params": [ - { - "name": "_item", - "description": "", - "type": "Selector" - }, - { - "name": "_selector", - "description": "", - "type": "String" - }, - { - "name": "_finder", - "description": "", - "type": "Selector" - } - ], - "return": { - "description": "selector" - }, - "require": "jquery", - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 993, - "description": "获取脚本模板的内容", - "itemtype": "method", - "name": "scriptContent", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1008, - "description": "取函数名 ( 匿名函数返回空 )", - "itemtype": "method", - "name": "funcName", - "params": [ - { - "name": "_func", - "description": "", - "type": "Function" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1023, - "description": "动态添加内容时, 初始化可识别的组件\n
      \n
      目前会自动识别的组件
      \n
      \n Bizs.CommonModify, JC.Panel, JC.Dialog\n
      自动识别的组件不用显式调用 jcAutoInitComps 去识别可识别的组件\n
      \n\n
      \n
      可识别的组件
      \n
      \n JC.AutoSelect, JC.AutoChecked, JC.AjaxUpload, JC.Calendar\n , JC.Drag, JC.DCalendar, JC.Placeholder, JC.TableFreeze, JC.ImageCutter\n
      Bizs.DisableLogic, Bizs.FormLogic, Bizs.MoneyTips, Bizs.AutoSelectComplete\n
      \n", - "itemtype": "method", - "name": "jcAutoInitComps", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1048, - "description": "联动下拉框", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1052, - "description": "日历组件", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1056, - "description": "双日历组件", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1060, - "description": "全选反选", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1064, - "description": "Ajax 上传", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1068, - "description": "占位符", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1072, - "description": "表格冻结", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1076, - "description": "拖曳", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1080, - "description": "图片裁切", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1086, - "description": "disable / enable", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1090, - "description": "表单提交逻辑", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1094, - "description": "格式化金额", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1098, - "description": "自动完成", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1103, - "description": "排期日期展示", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1108, - "description": "URL 占位符识别功能\n
      require: addUrlParams, filterXSS", - "itemtype": "method", - "name": "urlDetect", - "params": [ - { - "name": "_url", - "description": "如果 起始字符为 URL, 那么 URL 将祝为本页的URL", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "example": [ - "\n urlDetect( '?test' ); //output: ?test\n\n urlDetect( 'URL,a=1&b=2' ); //output: your.com?a=1&b=2\n urlDetect( 'URL,a=1,b=2' ); //output: your.com?a=1&b=2\n urlDetect( 'URLa=1&b=2' ); //output: your.com?a=1&b=2" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1149, - "description": "日期占位符识别功能", - "itemtype": "method", - "name": "dateDetect", - "params": [ - { - "name": "_dateStr", - "description": "如果起始字符为 NOW, 那么将视为当前日期\n , 如果起始字符为 NOWFirst, 那么将视为当前月的1号", - "type": "String" - } - ], - "return": { - "description": "", - "type": "Date|null" - }, - "static": 1, - "example": [ - "\n dateDetect( 'now' ); //2014-10-02\n dateDetect( 'now,3d' ); //2013-10-05\n dateDetect( 'now,-3d' ); //2013-09-29\n dateDetect( 'now,2w' ); //2013-10-16\n dateDetect( 'now,-2m' ); //2013-08-02\n dateDetect( 'now,4y' ); //2017-10-02\n\n dateDetect( 'now,1d,1w,1m,1y' ); //2014-11-10" - ], - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1213, - "description": "inject jquery val func, for hidden change event", - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1231, - "description": "逗号格式化金额", - "itemtype": "method", - "name": "moneyFormat", - "params": [ - { - "name": "_number", - "description": "", - "type": "Int|string" - }, - { - "name": "_len", - "description": "", - "type": "Int" - }, - { - "name": "_floatLen", - "description": "", - "type": "Int" - }, - { - "name": "_splitSymbol", - "description": "", - "type": "Int" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1286, - "description": "日期格式化 (具体格式请查看 PHP Date Formats)", - "itemtype": "method", - "name": "dateFormat", - "params": [ - { - "name": "_date", - "description": "default = now", - "type": "Date" - }, - { - "name": "_format", - "description": "default = \"YY-MM-DD\"", - "type": "String" - } - ], - "return": { - "description": "string" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1361, - "description": "扩展对象属性", - "itemtype": "method", - "name": "extendObject", - "params": [ - { - "name": "_source", - "description": "", - "type": "Object" - }, - { - "name": "_new", - "description": "", - "type": "Object" - }, - { - "name": "_overwrite", - "description": "是否覆盖已有属性, default = true", - "type": "Bool" - } - ], - "return": { - "description": "object" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1383, - "description": "timeout 控制逻辑, 避免相同功能的 setTimeout 重复执行", - "itemtype": "method", - "name": "safeTimeout", - "params": [ - { - "name": "_timeout", - "description": "", - "type": "Timeout|function" - }, - { - "name": "_obj", - "description": "default = window.TIMEOUT_HOST || {}", - "type": "Object" - }, - { - "name": "_name", - "description": "default = 'NORMAL'", - "type": "String" - }, - { - "name": "_ms", - "description": "default = 50", - "type": "Int" - } - ], - "return": { - "description": "object" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1404, - "description": "URL 请求时, 获取对URL参数进行编码的函数", - "itemtype": "method", - "name": "encoder", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "return": { - "description": "default encodeURIComponent", - "type": "Encode function" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1422, - "description": "深度克隆对象", - "itemtype": "method", - "name": "cloneObject", - "params": [ - { - "name": "_inObj", - "description": "", - "type": "Object" - } - ], - "return": { - "description": "Object" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JC.common/0.2/common.js", - "line": 1465, - "description": "获取 document 的 相关大小", - "itemtype": "method", - "name": "docSize", - "params": [ - { - "name": "_doc", - "description": "", - "type": "Document" - } - ], - "return": { - "description": "Object" - }, - "static": 1, - "class": "JC.common", - "namespace": "JC" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 111, - "description": "初始化数据", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 124, - "description": "更新数据", - "itemtype": "method", - "name": "update", - "params": [ - { - "name": "object", - "description": "_data" - } - ], - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 148, - "description": "图表宽度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 159, - "description": "图表高度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 171, - "description": "图表实时宽度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 180, - "description": "图表实时高度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 189, - "description": "设置或保存图表的宽高", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 197, - "description": "图表画布", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 210, - "description": "画布圆角弧度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 214, - "description": "清除图表数据", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 231, - "description": "清除图表状态", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 237, - "description": "图表背景", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 255, - "description": "图表数据背景", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 266, - "description": "保存图表数据", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 274, - "description": "数据图例图标", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 342, - "description": "图表标题", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 355, - "description": "图表子标题", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 367, - "description": "图表垂直标题", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 380, - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 400, - "description": "图表数据种类的长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 411, - "description": "图表数据的长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 425, - "description": "图表粒度的长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 439, - "description": "最大的数值", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 468, - "description": "最小的负数值", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 494, - "description": "垂直粒度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 528, - "description": "垂直粒度的具体信息", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 566, - "description": "垂直标签", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 592, - "description": "水平标签", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 614, - "description": "获取要显示的水平标签索引位置\n如果返回 undefined, 将显示全部", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 638, - "description": "垂直背景线的突出长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 642, - "description": "水平背景线的突出长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 646, - "description": "获取垂直 label 的最大宽度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 660, - "description": "获取水平 label 的最大宽度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 674, - "description": "垂直的背景线", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 705, - "description": "水平的背景线", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 720, - "description": "计算所有显示内容的坐标", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 728, - "description": "图标的默认样式", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 736, - "description": "图标的默认 hover 样式", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 744, - "description": "背景线的样式", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 752, - "description": "通过坐标点计算当前在那个数据范围", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 759, - "description": "获取 tips 对象", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 838, - "description": "获取 tips 标题文本", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 855, - "description": "显示数值时 浮点数 的长度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 866, - "description": "把全局事件对象转换为局部坐标点", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 876, - "description": "设置或者获取上一次的数据对象", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 884, - "description": "是否显示图例说明", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 897, - "description": "是否显示图例说明", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 910, - "description": "是否显示所有内容标签", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 930, - "description": "图表高度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 934, - "description": "图表高度", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 938, - "description": "图表画布", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 942, - "description": "初始化的选择器", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 949, - "description": "清除图表数据", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 959, - "description": "清除图表状态", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 965, - "description": "更新图表数据", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 975, - "description": "渲染图表外观", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Base/0.1/Base.js", - "line": 981, - "description": "显示静态外观", - "class": "JChart.Base", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.CurveGram/0.1/CurveGram.js", - "line": 51, - "description": "初始化可识别的 CurveGram 实例", - "itemtype": "method", - "name": "init", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "static": 1, - "return": { - "description": "", - "type": "Array of CurveGramInstance" - }, - "class": "JChart.CurveGram", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Geometry/0.1/Geometry.js", - "line": 9, - "description": "计算两个坐标点之间的距离", - "class": "JChart.GraphicBase", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Geometry/0.1/Geometry.js", - "line": 19, - "description": "从长度和角度求坐标点", - "class": "JChart.GraphicBase", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.Histogram/0.1/Histogram.js", - "line": 49, - "description": "初始化可识别的 Histogram 实例", - "itemtype": "method", - "name": "init", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "static": 1, - "return": { - "description": "", - "type": "Array of HistogramInstance" - }, - "class": "JChart.Histogram", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 49, - "description": "初始化可识别的 PieGraph 实例", - "itemtype": "method", - "name": "init", - "params": [ - { - "name": "_selector", - "description": "", - "type": "Selector" - } - ], - "static": 1, - "return": { - "description": "", - "type": "Array of PieGraphInstance" - }, - "class": "JChart.PieGraph", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 266, - "description": "数据图例图标", - "class": "JChart.PieGraph", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 312, - "description": "保存图表数据", - "class": "JChart.PieGraph", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 433, - "description": "获取 tips 对象", - "class": "JChart.PieGraph", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.PieGraph/0.1/PieGraph.js", - "line": 503, - "description": "获取 tips 标题文本", - "class": "JChart.PieGraph", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.common/0.1/common.js", - "line": 2, - "description": "声明主要命名空间, 方便迁移", - "class": "JChart.f", - "namespace": "JChart" - }, - { - "file": "../modules/JChart.common/0.1/common.js", - "line": 29, - "description": "判断参数是否为数组", - "itemtype": "method", - "name": "isArray", - "params": [ - { - "name": "obj", - "description": "", - "type": "Object" - } - ], - "return": { - "description": "", - "type": "Bool" - }, - "static": 1, - "class": "JChart.common", - "namespace": "JChart" - }, - { - "file": "../config.js", - "line": 4, - "description": "requirejs config.js for JC Chart Project", - "class": "window.requirejs", - "namespace": "JChart" - }, - { - "file": "../config.js", - "line": 41, - "description": "取当前脚本标签的 src路径", - "static": 1, - "return": { - "description": "脚本所在目录的完整路径", - "type": "String" - }, - "class": "window.requirejs", - "namespace": "JChart" - }, - { - "file": "../lib.js", - "line": 8, - "license": "RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.\nAvailable via the MIT or new BSD license.\nsee: http://github.com/jrburke/requirejs for details", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 56, - "description": "Helper function for iterating over an array. If the func returns\na true value, it will break out of the loop.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 71, - "description": "Helper function for iterating over an array backwards. If the func\nreturns a true value, it will break out of the loop.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 94, - "description": "Cycles over properties in an object and calls a function for each\nproperty value. If the function returns a truthy value, then the\niteration is stopped.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 110, - "description": "Simple function to mix in properties from source into target,\nbut only if target does not already have a property of the same name.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 161, - "description": "Constructs an error with a pointer to an URL with more information.", - "params": [ - { - "name": "id", - "description": "the error ID that maps to an ID on a web page.", - "type": "String" - }, - { - "name": "message", - "description": "human readable error.", - "type": "String" - }, - { - "name": "err", - "description": "the original error, if there is one.", - "type": "Error", - "optional": true - } - ], - "return": { - "description": "", - "type": "Error" - }, - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 227, - "description": "Trims the . and .. from an array of path segments.\nIt will keep a leading path segment if a .. will become\nthe first path segment, to help with module name lookups,\nwhich act like paths, but can be remapped. But the end result,\nall paths that use this function should look normalized.\nNOTE: this method MODIFIES the input array.", - "params": [ - { - "name": "ary", - "description": "the array of path segments.", - "type": "Array" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 260, - "description": "Given a relative module name, like ./something, normalize it to\na real name that can be mapped to a path.", - "params": [ - { - "name": "name", - "description": "the relative name", - "type": "String" - }, - { - "name": "baseName", - "description": "a real name that the name arg is relative\nto.", - "type": "String" - }, - { - "name": "applyMap", - "description": "apply the map config to the value. Should\nonly be done if this normalization is for a dependency ID.", - "type": "Boolean" - } - ], - "return": { - "description": "normalized name", - "type": "String" - }, - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 406, - "description": "Creates a module mapping that includes plugin prefix, module\nname, and path. If parentModuleMap is provided it will\nalso normalize the name via require.normalize()", - "params": [ - { - "name": "name", - "description": "the module name", - "type": "String" - }, - { - "name": "parentModuleMap", - "description": "parent module map\nfor the module name, used to resolve relative names.", - "type": "String", - "optional": true - }, - { - "name": "isNormalized:", - "description": "is the ID already normalized.\nThis is true if this call is done for a define() module ID.", - "type": "Boolean" - }, - { - "name": "applyMap:", - "description": "apply the map config to the ID.\nShould only be true if this map is for a dependency.", - "type": "Boolean" - } - ], - "return": { - "description": "", - "type": "Object" - }, - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 548, - "description": "Internal method to transfer globalQueue items to this context's\ndefQueue.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 836, - "description": "Checks if the module is ready to define itself, and if so,\ndefine it.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1195, - "description": "Given an event from a script node, get the requirejs info from it,\nand then removes the event listeners on the node.", - "params": [ - { - "name": "evt", - "description": "", - "type": "Event" - } - ], - "return": { - "description": "", - "type": "Object" - }, - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1248, - "description": "Set a configuration for the context.", - "params": [ - { - "name": "cfg", - "description": "config object to integrate.", - "type": "Object" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1432, - "description": "Converts a module name + .extension into an URL path.\n*Requires* the use of a module name. It does not support using\nplain URLs like nameToUrl.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1494, - "description": "Called to enable a module if it is still in the registry\nawaiting enablement. A second arg, parent, the parent module,\nis passed in for context, when this method is overriden by\nthe optimizer. Not shown here to keep code compact.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1507, - "description": "Internal method used by environment adapters to complete a load event.\nA load event could be a script load or just a load pass from a synchronous\nload call.", - "params": [ - { - "name": "moduleName", - "description": "the name of the module to potentially complete.", - "type": "String" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1563, - "description": "Converts a module name to a file path. Supports cases where\nmoduleName may actually be just an URL.\nNote that it **does not** call normalize on the moduleName,\nit is assumed to have already been normalized. This is an\ninternal API, not a public one. Use toUrl for the public API.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1634, - "description": "Executes a module callback function. Broken out as a separate function\nsolely to allow the build system to sequence the files in the built\nlayer in the right sequence.", - "access": "private", - "tagname": "", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1645, - "description": "callback for script loads, used to check status of loading.", - "params": [ - { - "name": "evt", - "description": "the event from the browser for the script\nthat was loaded.", - "type": "Event" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1667, - "description": "Callback for script errors.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1682, - "description": "Main entry point.\n\nIf the only argument to require is a string, then the module that\nis represented by that string is fetched for the appropriate context.\n\nIf the first argument is an array, then it will be treated as an array\nof dependency string names to fetch. An optional function callback can\nbe specified to execute when all of those dependencies are available.\n\nMake a local req variable to help Caja compliance (it assumes things\non a require that are not standardized), and to give a short\nname for minification/local scope use.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1732, - "description": "Support require.config() to make it easier to cooperate with other\nAMD loaders on globally agreed names.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1740, - "description": "Execute something after the current tick\nof the event loop. Override for other envs\nthat have a better solution than setTimeout.", - "params": [ - { - "name": "fn", - "description": "function to execute later.", - "type": "Function" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1750, - "description": "Export require as a global, but only if it does not already exist.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1797, - "description": "Any errors that require explicitly generates will be passed to this\nfunction. Intercept/override it if you want custom error handling.", - "params": [ - { - "name": "err", - "description": "the error object.", - "type": "Error" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1804, - "description": "Creates the node for the load command. Only used in browser envs.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1817, - "description": "Does the request to load a module for the browser case.\nMake this a separate function to allow other environments\nto override it.", - "params": [ - { - "name": "context", - "description": "the require context to find state.", - "type": "Object" - }, - { - "name": "moduleName", - "description": "the name of the module.", - "type": "String" - }, - { - "name": "url", - "description": "the URL to the module.", - "type": "Object" - } - ], - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 1973, - "description": "The function that handles definitions of modules. Differs from\nrequire() in that a string for the module should be the first argument,\nand the function to execute after dependencies are loaded should\nreturn a value to define the module corresponding to the first argument's\nname.", - "class": "window.requirejs", - "namespace": "window" - }, - { - "file": "../lib.js", - "line": 2047, - "description": "Executes the text. Normally just uses eval, but can be modified\nto use a better, environment-specific call. Only used for transpiling\nloader plugins, not for plain JS modules.", - "params": [ - { - "name": "text", - "description": "the text to execute/evaluate.", - "type": "String" - } - ], - "class": "window.requirejs", - "namespace": "window" - } - ], - "warnings": [ - { - "message": "unknown tag: version", - "line": " ../modules/JC.BaseMVC/0.1/BaseMVC.js:3" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JC.BaseMVC/0.1/BaseMVC.js:215" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JC.PureMVC/0.1/PureMVC.js:3" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JC.PureMVC/0.1/PureMVC.js:172" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JC.common/0.2/common.js:27" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JC.common/0.2/common.js:27" - }, - { - "message": "unknown tag: require", - "line": " ../modules/JC.common/0.2/common.js:899" - }, - { - "message": "unknown tag: require", - "line": " ../modules/JC.common/0.2/common.js:925" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.Base/0.1/Base.js:10" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.CurveGram/0.1/CurveGram.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.GraphicBase/0.1/GraphicBase.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.GraphicPoint/0.1/GraphicPoint.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.GraphicRect/0.1/GraphicRect.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.Histogram/0.1/Histogram.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.IconLine/0.1/IconLine.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.IconRect/0.1/IconRect.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.IconVLine/0.1/IconVLine.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.PieGraph/0.1/PieGraph.js:2" - }, - { - "message": "unknown tag: version", - "line": " ../modules/JChart.common/0.1/common.js:13" - }, - { - "message": "unknown tag: license", - "line": " ../lib.js:8" - }, - { - "message": "replacing incorrect tag: returns with return", - "line": " ../lib.js:161" - }, - { - "message": "replacing incorrect tag: returns with return", - "line": " ../lib.js:260" - }, - { - "message": "replacing incorrect tag: returns with return", - "line": " ../lib.js:406" - }, - { - "message": "replacing incorrect tag: returns with return", - "line": " ../lib.js:1195" - }, - { - "message": "Missing item type\n初始化 BaseMVC Model 类 和 View 类", - "line": " ../modules/JC.BaseMVC/0.1/BaseMVC.js:210" - }, - { - "message": "Missing item type\n使用 jquery on 为 controler 绑定事件", - "line": " ../modules/JC.BaseMVC/0.1/BaseMVC.js:522" - }, - { - "message": "Missing item type\n使用 jquery trigger 触发 controler 绑定事件", - "line": " ../modules/JC.BaseMVC/0.1/BaseMVC.js:530" - }, - { - "message": "Missing item type\n初始化 PureMVC Model 类 和 View 类", - "line": " ../modules/JC.PureMVC/0.1/PureMVC.js:167" - }, - { - "message": "Missing item type\n使用 jquery on 为 controler 绑定事件", - "line": " ../modules/JC.PureMVC/0.1/PureMVC.js:231" - }, - { - "message": "Missing item type\n使用 jquery trigger 触发 controler 绑定事件", - "line": " ../modules/JC.PureMVC/0.1/PureMVC.js:239" - }, - { - "message": "Missing item type\n如果 console 不可用, 生成一个模拟的 console 对象", - "line": " ../modules/JC.common/0.2/common.js:2" - }, - { - "message": "Missing item type\n声明主要命名空间, 方便迁移", - "line": " ../modules/JC.common/0.2/common.js:9" - }, - { - "message": "Missing item type\n判断 JC.common 是否需要向后兼容, 如果需要的话, 向 window 添加全局静态函数", - "line": " ../modules/JC.common/0.2/common.js:95" - }, - { - "message": "Missing item type\njquery 1.9.1 默认 string 没有 trim 方法, 这里对 string 原型添加一个默认的 trim 方法", - "line": " ../modules/JC.common/0.2/common.js:118" - }, - { - "message": "Missing item type\n兼容 低版本 ie Array 的 indexOf 方法", - "line": " ../modules/JC.common/0.2/common.js:122" - }, - { - "message": "Missing item type\n元旦开始的第一个星期一开始的一周为政治经济上的第一周", - "line": " ../modules/JC.common/0.2/common.js:716" - }, - { - "message": "Missing item type\n联动下拉框", - "line": " ../modules/JC.common/0.2/common.js:1048" - }, - { - "message": "Missing item type\n日历组件", - "line": " ../modules/JC.common/0.2/common.js:1052" - }, - { - "message": "Missing item type\n双日历组件", - "line": " ../modules/JC.common/0.2/common.js:1056" - }, - { - "message": "Missing item type\n全选反选", - "line": " ../modules/JC.common/0.2/common.js:1060" - }, - { - "message": "Missing item type\nAjax 上传", - "line": " ../modules/JC.common/0.2/common.js:1064" - }, - { - "message": "Missing item type\n占位符", - "line": " ../modules/JC.common/0.2/common.js:1068" - }, - { - "message": "Missing item type\n表格冻结", - "line": " ../modules/JC.common/0.2/common.js:1072" - }, - { - "message": "Missing item type\n拖曳", - "line": " ../modules/JC.common/0.2/common.js:1076" - }, - { - "message": "Missing item type\n图片裁切", - "line": " ../modules/JC.common/0.2/common.js:1080" - }, - { - "message": "Missing item type\ndisable / enable", - "line": " ../modules/JC.common/0.2/common.js:1086" - }, - { - "message": "Missing item type\n表单提交逻辑", - "line": " ../modules/JC.common/0.2/common.js:1090" - }, - { - "message": "Missing item type\n格式化金额", - "line": " ../modules/JC.common/0.2/common.js:1094" - }, - { - "message": "Missing item type\n自动完成", - "line": " ../modules/JC.common/0.2/common.js:1098" - }, - { - "message": "Missing item type\n排期日期展示", - "line": " ../modules/JC.common/0.2/common.js:1103" - }, - { - "message": "Missing item type\ninject jquery val func, for hidden change event", - "line": " ../modules/JC.common/0.2/common.js:1213" - }, - { - "message": "Missing item type\n初始化数据", - "line": " ../modules/JChart.Base/0.1/Base.js:111" - }, - { - "message": "Missing item type\n图表宽度", - "line": " ../modules/JChart.Base/0.1/Base.js:148" - }, - { - "message": "Missing item type\n图表高度", - "line": " ../modules/JChart.Base/0.1/Base.js:159" - }, - { - "message": "Missing item type\n图表实时宽度", - "line": " ../modules/JChart.Base/0.1/Base.js:171" - }, - { - "message": "Missing item type\n图表实时高度", - "line": " ../modules/JChart.Base/0.1/Base.js:180" - }, - { - "message": "Missing item type\n设置或保存图表的宽高", - "line": " ../modules/JChart.Base/0.1/Base.js:189" - }, - { - "message": "Missing item type\n图表画布", - "line": " ../modules/JChart.Base/0.1/Base.js:197" - }, - { - "message": "Missing item type\n画布圆角弧度", - "line": " ../modules/JChart.Base/0.1/Base.js:210" - }, - { - "message": "Missing item type\n清除图表数据", - "line": " ../modules/JChart.Base/0.1/Base.js:214" - }, - { - "message": "Missing item type\n清除图表状态", - "line": " ../modules/JChart.Base/0.1/Base.js:231" - }, - { - "message": "Missing item type\n图表背景", - "line": " ../modules/JChart.Base/0.1/Base.js:237" - }, - { - "message": "Missing item type\n图表数据背景", - "line": " ../modules/JChart.Base/0.1/Base.js:255" - }, - { - "message": "Missing item type\n保存图表数据", - "line": " ../modules/JChart.Base/0.1/Base.js:266" - }, - { - "message": "Missing item type\n数据图例图标", - "line": " ../modules/JChart.Base/0.1/Base.js:274" - }, - { - "message": "Missing item type\n图表标题", - "line": " ../modules/JChart.Base/0.1/Base.js:342" - }, - { - "message": "Missing item type\n图表子标题", - "line": " ../modules/JChart.Base/0.1/Base.js:355" - }, - { - "message": "Missing item type\n图表垂直标题", - "line": " ../modules/JChart.Base/0.1/Base.js:367" - }, - { - "message": "Missing item type", - "line": " ../modules/JChart.Base/0.1/Base.js:380" - }, - { - "message": "Missing item type\n图表数据种类的长度", - "line": " ../modules/JChart.Base/0.1/Base.js:400" - }, - { - "message": "Missing item type\n图表数据的长度", - "line": " ../modules/JChart.Base/0.1/Base.js:411" - }, - { - "message": "Missing item type\n图表粒度的长度", - "line": " ../modules/JChart.Base/0.1/Base.js:425" - }, - { - "message": "Missing item type\n最大的数值", - "line": " ../modules/JChart.Base/0.1/Base.js:439" - }, - { - "message": "Missing item type\n最小的负数值", - "line": " ../modules/JChart.Base/0.1/Base.js:468" - }, - { - "message": "Missing item type\n垂直粒度", - "line": " ../modules/JChart.Base/0.1/Base.js:494" - }, - { - "message": "Missing item type\n垂直粒度的具体信息", - "line": " ../modules/JChart.Base/0.1/Base.js:528" - }, - { - "message": "Missing item type\n垂直标签", - "line": " ../modules/JChart.Base/0.1/Base.js:566" - }, - { - "message": "Missing item type\n水平标签", - "line": " ../modules/JChart.Base/0.1/Base.js:592" - }, - { - "message": "Missing item type\n获取要显示的水平标签索引位置\n如果返回 undefined, 将显示全部", - "line": " ../modules/JChart.Base/0.1/Base.js:614" - }, - { - "message": "Missing item type\n垂直背景线的突出长度", - "line": " ../modules/JChart.Base/0.1/Base.js:638" - }, - { - "message": "Missing item type\n水平背景线的突出长度", - "line": " ../modules/JChart.Base/0.1/Base.js:642" - }, - { - "message": "Missing item type\n获取垂直 label 的最大宽度", - "line": " ../modules/JChart.Base/0.1/Base.js:646" - }, - { - "message": "Missing item type\n获取水平 label 的最大宽度", - "line": " ../modules/JChart.Base/0.1/Base.js:660" - }, - { - "message": "Missing item type\n垂直的背景线", - "line": " ../modules/JChart.Base/0.1/Base.js:674" - }, - { - "message": "Missing item type\n水平的背景线", - "line": " ../modules/JChart.Base/0.1/Base.js:705" - }, - { - "message": "Missing item type\n计算所有显示内容的坐标", - "line": " ../modules/JChart.Base/0.1/Base.js:720" - }, - { - "message": "Missing item type\n图标的默认样式", - "line": " ../modules/JChart.Base/0.1/Base.js:728" - }, - { - "message": "Missing item type\n图标的默认 hover 样式", - "line": " ../modules/JChart.Base/0.1/Base.js:736" - }, - { - "message": "Missing item type\n背景线的样式", - "line": " ../modules/JChart.Base/0.1/Base.js:744" - }, - { - "message": "Missing item type\n通过坐标点计算当前在那个数据范围", - "line": " ../modules/JChart.Base/0.1/Base.js:752" - }, - { - "message": "Missing item type\n获取 tips 对象", - "line": " ../modules/JChart.Base/0.1/Base.js:759" - }, - { - "message": "Missing item type\n获取 tips 标题文本", - "line": " ../modules/JChart.Base/0.1/Base.js:838" - }, - { - "message": "Missing item type\n显示数值时 浮点数 的长度", - "line": " ../modules/JChart.Base/0.1/Base.js:855" - }, - { - "message": "Missing item type\n把全局事件对象转换为局部坐标点", - "line": " ../modules/JChart.Base/0.1/Base.js:866" - }, - { - "message": "Missing item type\n设置或者获取上一次的数据对象", - "line": " ../modules/JChart.Base/0.1/Base.js:876" - }, - { - "message": "Missing item type\n是否显示图例说明", - "line": " ../modules/JChart.Base/0.1/Base.js:884" - }, - { - "message": "Missing item type\n是否显示图例说明", - "line": " ../modules/JChart.Base/0.1/Base.js:897" - }, - { - "message": "Missing item type\n是否显示所有内容标签", - "line": " ../modules/JChart.Base/0.1/Base.js:910" - }, - { - "message": "Missing item type\n图表高度", - "line": " ../modules/JChart.Base/0.1/Base.js:930" - }, - { - "message": "Missing item type\n图表高度", - "line": " ../modules/JChart.Base/0.1/Base.js:934" - }, - { - "message": "Missing item type\n图表画布", - "line": " ../modules/JChart.Base/0.1/Base.js:938" - }, - { - "message": "Missing item type\n初始化的选择器", - "line": " ../modules/JChart.Base/0.1/Base.js:942" - }, - { - "message": "Missing item type\n清除图表数据", - "line": " ../modules/JChart.Base/0.1/Base.js:949" - }, - { - "message": "Missing item type\n清除图表状态", - "line": " ../modules/JChart.Base/0.1/Base.js:959" - }, - { - "message": "Missing item type\n更新图表数据", - "line": " ../modules/JChart.Base/0.1/Base.js:965" - }, - { - "message": "Missing item type\n渲染图表外观", - "line": " ../modules/JChart.Base/0.1/Base.js:975" - }, - { - "message": "Missing item type\n显示静态外观", - "line": " ../modules/JChart.Base/0.1/Base.js:981" - }, - { - "message": "Missing item type\n计算两个坐标点之间的距离", - "line": " ../modules/JChart.Geometry/0.1/Geometry.js:9" - }, - { - "message": "Missing item type\n从长度和角度求坐标点", - "line": " ../modules/JChart.Geometry/0.1/Geometry.js:19" - }, - { - "message": "Missing item type\n数据图例图标", - "line": " ../modules/JChart.PieGraph/0.1/PieGraph.js:266" - }, - { - "message": "Missing item type\n保存图表数据", - "line": " ../modules/JChart.PieGraph/0.1/PieGraph.js:312" - }, - { - "message": "Missing item type\n获取 tips 对象", - "line": " ../modules/JChart.PieGraph/0.1/PieGraph.js:433" - }, - { - "message": "Missing item type\n获取 tips 标题文本", - "line": " ../modules/JChart.PieGraph/0.1/PieGraph.js:503" - }, - { - "message": "Missing item type\n声明主要命名空间, 方便迁移", - "line": " ../modules/JChart.common/0.1/common.js:2" - }, - { - "message": "Missing item type\nrequirejs config.js for JC Chart Project", - "line": " ../config.js:4" - }, - { - "message": "Missing item type\n取当前脚本标签的 src路径", - "line": " ../config.js:41" - }, - { - "message": "Missing item type", - "line": " ../lib.js:8" - }, - { - "message": "Missing item type\nHelper function for iterating over an array. If the func returns\na true value, it will break out of the loop.", - "line": " ../lib.js:56" - }, - { - "message": "Missing item type\nHelper function for iterating over an array backwards. If the func\nreturns a true value, it will break out of the loop.", - "line": " ../lib.js:71" - }, - { - "message": "Missing item type\nCycles over properties in an object and calls a function for each\nproperty value. If the function returns a truthy value, then the\niteration is stopped.", - "line": " ../lib.js:94" - }, - { - "message": "Missing item type\nSimple function to mix in properties from source into target,\nbut only if target does not already have a property of the same name.", - "line": " ../lib.js:110" - }, - { - "message": "Missing item type\nConstructs an error with a pointer to an URL with more information.", - "line": " ../lib.js:161" - }, - { - "message": "Missing item type\nTrims the . and .. from an array of path segments.\nIt will keep a leading path segment if a .. will become\nthe first path segment, to help with module name lookups,\nwhich act like paths, but can be remapped. But the end result,\nall paths that use this function should look normalized.\nNOTE: this method MODIFIES the input array.", - "line": " ../lib.js:227" - }, - { - "message": "Missing item type\nGiven a relative module name, like ./something, normalize it to\na real name that can be mapped to a path.", - "line": " ../lib.js:260" - }, - { - "message": "Missing item type\nCreates a module mapping that includes plugin prefix, module\nname, and path. If parentModuleMap is provided it will\nalso normalize the name via require.normalize()", - "line": " ../lib.js:406" - }, - { - "message": "Missing item type\nInternal method to transfer globalQueue items to this context's\ndefQueue.", - "line": " ../lib.js:548" - }, - { - "message": "Missing item type\nChecks if the module is ready to define itself, and if so,\ndefine it.", - "line": " ../lib.js:836" - }, - { - "message": "Missing item type\nGiven an event from a script node, get the requirejs info from it,\nand then removes the event listeners on the node.", - "line": " ../lib.js:1195" - }, - { - "message": "Missing item type\nSet a configuration for the context.", - "line": " ../lib.js:1248" - }, - { - "message": "Missing item type\nConverts a module name + .extension into an URL path.\n*Requires* the use of a module name. It does not support using\nplain URLs like nameToUrl.", - "line": " ../lib.js:1432" - }, - { - "message": "Missing item type\nCalled to enable a module if it is still in the registry\nawaiting enablement. A second arg, parent, the parent module,\nis passed in for context, when this method is overriden by\nthe optimizer. Not shown here to keep code compact.", - "line": " ../lib.js:1494" - }, - { - "message": "Missing item type\nInternal method used by environment adapters to complete a load event.\nA load event could be a script load or just a load pass from a synchronous\nload call.", - "line": " ../lib.js:1507" - }, - { - "message": "Missing item type\nConverts a module name to a file path. Supports cases where\nmoduleName may actually be just an URL.\nNote that it **does not** call normalize on the moduleName,\nit is assumed to have already been normalized. This is an\ninternal API, not a public one. Use toUrl for the public API.", - "line": " ../lib.js:1563" - }, - { - "message": "Missing item type\nExecutes a module callback function. Broken out as a separate function\nsolely to allow the build system to sequence the files in the built\nlayer in the right sequence.", - "line": " ../lib.js:1634" - }, - { - "message": "Missing item type\ncallback for script loads, used to check status of loading.", - "line": " ../lib.js:1645" - }, - { - "message": "Missing item type\nCallback for script errors.", - "line": " ../lib.js:1667" - }, - { - "message": "Missing item type\nMain entry point.\n\nIf the only argument to require is a string, then the module that\nis represented by that string is fetched for the appropriate context.\n\nIf the first argument is an array, then it will be treated as an array\nof dependency string names to fetch. An optional function callback can\nbe specified to execute when all of those dependencies are available.\n\nMake a local req variable to help Caja compliance (it assumes things\non a require that are not standardized), and to give a short\nname for minification/local scope use.", - "line": " ../lib.js:1682" - }, - { - "message": "Missing item type\nSupport require.config() to make it easier to cooperate with other\nAMD loaders on globally agreed names.", - "line": " ../lib.js:1732" - }, - { - "message": "Missing item type\nExecute something after the current tick\nof the event loop. Override for other envs\nthat have a better solution than setTimeout.", - "line": " ../lib.js:1740" - }, - { - "message": "Missing item type\nExport require as a global, but only if it does not already exist.", - "line": " ../lib.js:1750" - }, - { - "message": "Missing item type\nAny errors that require explicitly generates will be passed to this\nfunction. Intercept/override it if you want custom error handling.", - "line": " ../lib.js:1797" - }, - { - "message": "Missing item type\nCreates the node for the load command. Only used in browser envs.", - "line": " ../lib.js:1804" - }, - { - "message": "Missing item type\nDoes the request to load a module for the browser case.\nMake this a separate function to allow other environments\nto override it.", - "line": " ../lib.js:1817" - }, - { - "message": "Missing item type\nThe function that handles definitions of modules. Differs from\nrequire() in that a string for the module should be the first argument,\nand the function to execute after dependencies are loaded should\nreturn a value to define the module corresponding to the first argument's\nname.", - "line": " ../lib.js:1973" - }, - { - "message": "Missing item type\nExecutes the text. Normally just uses eval, but can be modified\nto use a better, environment-specific call. Only used for transpiling\nloader plugins, not for plain JS modules.", - "line": " ../lib.js:2047" - } - ] -} \ No newline at end of file diff --git a/docs_api/files/.._config.js.html b/docs_api/files/.._config.js.html deleted file mode 100644 index 8596e5f3..00000000 --- a/docs_api/files/.._config.js.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - ../config.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../config.js

      - -
      -
      -;(function(){
      -window.JC = window.JC|| {log:function(){}};
      -JC.PATH = JC.PATH || scriptPath();
      -/**
      - * requirejs config.js for JC Chart Project
      - */
      -window.requirejs && 
      -requirejs.config( {
      -    baseUrl: JC.PATH
      -    , urlArgs: 'v=20140212&nocache=' + new Date().getTime()
      -    , paths: {
      -        'JC.common': 'modules/JC.common/0.2/common'
      -        , 'JC.BaseMVC': 'modules/JC.BaseMVC/0.1/BaseMVC'
      -        , 'JC.PureMVC': 'modules/JC.PureMVC/0.1/PureMVC'
      -
      -        , 'JChart.common': 'modules/JChart.common/0.1/common'
      -        , 'JChart.Base': 'modules/JChart.Base/0.1/Base'
      -
      -        , 'JChart.CurveGram': 'modules/JChart.CurveGram/0.1/CurveGram'
      -        , 'JChart.Histogram': 'modules/JChart.Histogram/0.1/Histogram'
      -        , 'JChart.PieGraph': 'modules/JChart.PieGraph/0.1/PieGraph'
      -
      -        , 'JChart.DefaultOptions': 'modules/JChart.DefaultOptions/0.1/DefaultOptions'
      -        , 'JChart.Event': 'modules/JChart.Event/0.1/Event'
      -        , 'JChart.Geometry': 'modules/JChart.Geometry/0.1/Geometry'
      -        , 'JChart.Group': 'modules/JChart.Group/0.1/Group'
      -
      -        , 'JChart.GraphicBase': 'modules/JChart.GraphicBase//0.1/GraphicBase'
      -        , 'JChart.GraphicPoint': 'modules/JChart.GraphicPoint/0.1/GraphicPoint'
      -        , 'JChart.GraphicRect': 'modules/JChart.GraphicRect/0.1/GraphicRect'
      -        , 'JChart.GraphicPiePart': 'modules/JChart.GraphicPiePart/0.1/GraphicPiePart'
      -
      -        , 'JChart.IconVLine': 'modules/JChart.IconVLine/0.1/IconVLine'
      -        , 'JChart.IconLine': 'modules/JChart.IconLine/0.1/IconLine'
      -        , 'JChart.IconRect': 'modules/JChart.IconRect/0.1/IconRect'
      -
      -        , 'Raphael': 'modules/Raphael/latest/raphael'
      -        , 'json2': 'modules/JSON/2/JSON'
      -    }
      -});
      -/**
      - * 取当前脚本标签的 src路径 
      - * @static
      - * @return  {string} 脚本所在目录的完整路径
      - */
      -function scriptPath(){
      -    var _sc = document.getElementsByTagName('script'), _sc = _sc[ _sc.length - 1 ], _path = _sc.getAttribute('src');
      -    if( /\//.test( _path ) ){ _path = _path.split('/'); _path.pop(); _path = _path.join('/') + '/'; }
      -    else if( /\\/.test( _path ) ){ _path = _path.split('\\'); _path.pop(); _path = _path.join('\\') + '/'; }
      -    return _path;
      -}
      -}());
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._lib.js.html b/docs_api/files/.._lib.js.html deleted file mode 100644 index c4121423..00000000 --- a/docs_api/files/.._lib.js.html +++ /dev/null @@ -1,2234 +0,0 @@ - - - - - ../lib.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../lib.js

      - -
      -
      -/**
      - * RequireJS 2.1.8 
      - * <pre>http://github.com/jrburke/requirejs</pre>
      - * @class requirejs
      - * @namespace   window
      - * @global
      - */
      -/** vim: et:ts=4:sw=4:sts=4
      - * @license RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
      - * Available via the MIT or new BSD license.
      - * see: http://github.com/jrburke/requirejs for details
      - */
      -//Not using strict: uneven strict support in browsers, #392, and causes
      -//problems with requirejs.exec()/transpiler plugins that may not be strict.
      -/*jslint regexp: true, nomen: true, sloppy: true */
      -/*global window, navigator, document, importScripts, setTimeout, opera */
      -
      -var requirejs, require, define;
      -(function (global) {
      -    var req, s, head, baseElement, dataMain, src,
      -        interactiveScript, currentlyAddingScript, mainScript, subPath,
      -        version = '2.1.8',
      -        commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
      -        cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
      -        jsSuffixRegExp = /\.js$/,
      -        currDirRegExp = /^\.\//,
      -        op = Object.prototype,
      -        ostring = op.toString,
      -        hasOwn = op.hasOwnProperty,
      -        ap = Array.prototype,
      -        apsp = ap.splice,
      -        isBrowser = !!(typeof window !== 'undefined' && navigator && window.document),
      -        isWebWorker = !isBrowser && typeof importScripts !== 'undefined',
      -        //PS3 indicates loaded and complete, but need to wait for complete
      -        //specifically. Sequence is 'loading', 'loaded', execution,
      -        // then 'complete'. The UA check is unfortunate, but not sure how
      -        //to feature test w/o causing perf issues.
      -        readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ?
      -                      /^complete$/ : /^(complete|loaded)$/,
      -        defContextName = '_',
      -        //Oh the tragedy, detecting opera. See the usage of isOpera for reason.
      -        isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]',
      -        contexts = {},
      -        cfg = {},
      -        globalDefQueue = [],
      -        useInteractive = false;
      -
      -    function isFunction(it) {
      -        return ostring.call(it) === '[object Function]';
      -    }
      -
      -    function isArray(it) {
      -        return ostring.call(it) === '[object Array]';
      -    }
      -
      -    /**
      -     * Helper function for iterating over an array. If the func returns
      -     * a true value, it will break out of the loop.
      -     */
      -    function each(ary, func) {
      -        if (ary) {
      -            var i;
      -            for (i = 0; i < ary.length; i += 1) {
      -                if (ary[i] && func(ary[i], i, ary)) {
      -                    break;
      -                }
      -            }
      -        }
      -    }
      -
      -    /**
      -     * Helper function for iterating over an array backwards. If the func
      -     * returns a true value, it will break out of the loop.
      -     */
      -    function eachReverse(ary, func) {
      -        if (ary) {
      -            var i;
      -            for (i = ary.length - 1; i > -1; i -= 1) {
      -                if (ary[i] && func(ary[i], i, ary)) {
      -                    break;
      -                }
      -            }
      -        }
      -    }
      -
      -    function hasProp(obj, prop) {
      -        return hasOwn.call(obj, prop);
      -    }
      -
      -    function getOwn(obj, prop) {
      -        return hasProp(obj, prop) && obj[prop];
      -    }
      -
      -    /**
      -     * Cycles over properties in an object and calls a function for each
      -     * property value. If the function returns a truthy value, then the
      -     * iteration is stopped.
      -     */
      -    function eachProp(obj, func) {
      -        var prop;
      -        for (prop in obj) {
      -            if (hasProp(obj, prop)) {
      -                if (func(obj[prop], prop)) {
      -                    break;
      -                }
      -            }
      -        }
      -    }
      -
      -    /**
      -     * Simple function to mix in properties from source into target,
      -     * but only if target does not already have a property of the same name.
      -     */
      -    function mixin(target, source, force, deepStringMixin) {
      -        if (source) {
      -            eachProp(source, function (value, prop) {
      -                if (force || !hasProp(target, prop)) {
      -                    if (deepStringMixin && typeof value !== 'string') {
      -                        if (!target[prop]) {
      -                            target[prop] = {};
      -                        }
      -                        mixin(target[prop], value, force, deepStringMixin);
      -                    } else {
      -                        target[prop] = value;
      -                    }
      -                }
      -            });
      -        }
      -        return target;
      -    }
      -
      -    //Similar to Function.prototype.bind, but the 'this' object is specified
      -    //first, since it is easier to read/figure out what 'this' will be.
      -    function bind(obj, fn) {
      -        return function () {
      -            return fn.apply(obj, arguments);
      -        };
      -    }
      -
      -    function scripts() {
      -        return document.getElementsByTagName('script');
      -    }
      -
      -    function defaultOnError(err) {
      -        throw err;
      -    }
      -
      -    //Allow getting a global that expressed in
      -    //dot notation, like 'a.b.c'.
      -    function getGlobal(value) {
      -        if (!value) {
      -            return value;
      -        }
      -        var g = global;
      -        each(value.split('.'), function (part) {
      -            g = g[part];
      -        });
      -        return g;
      -    }
      -
      -    /**
      -     * Constructs an error with a pointer to an URL with more information.
      -     * @param {String} id the error ID that maps to an ID on a web page.
      -     * @param {String} message human readable error.
      -     * @param {Error} [err] the original error, if there is one.
      -     *
      -     * @returns {Error}
      -     */
      -    function makeError(id, msg, err, requireModules) {
      -        var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
      -        e.requireType = id;
      -        e.requireModules = requireModules;
      -        if (err) {
      -            e.originalError = err;
      -        }
      -        return e;
      -    }
      -
      -    if (typeof define !== 'undefined') {
      -        //If a define is already in play via another AMD loader,
      -        //do not overwrite.
      -        return;
      -    }
      -
      -    if (typeof requirejs !== 'undefined') {
      -        if (isFunction(requirejs)) {
      -            //Do not overwrite and existing requirejs instance.
      -            return;
      -        }
      -        cfg = requirejs;
      -        requirejs = undefined;
      -    }
      -
      -    //Allow for a require config object
      -    if (typeof require !== 'undefined' && !isFunction(require)) {
      -        //assume it is a config object.
      -        cfg = require;
      -        require = undefined;
      -    }
      -
      -    function newContext(contextName) {
      -        var inCheckLoaded, Module, context, handlers,
      -            checkLoadedTimeoutId,
      -            config = {
      -                //Defaults. Do not set a default for map
      -                //config to speed up normalize(), which
      -                //will run faster if there is no default.
      -                waitSeconds: 7,
      -                baseUrl: './',
      -                paths: {},
      -                pkgs: {},
      -                shim: {},
      -                config: {}
      -            },
      -            registry = {},
      -            //registry of just enabled modules, to speed
      -            //cycle breaking code when lots of modules
      -            //are registered, but not activated.
      -            enabledRegistry = {},
      -            undefEvents = {},
      -            defQueue = [],
      -            defined = {},
      -            urlFetched = {},
      -            requireCounter = 1,
      -            unnormalizedCounter = 1;
      -
      -        /**
      -         * Trims the . and .. from an array of path segments.
      -         * It will keep a leading path segment if a .. will become
      -         * the first path segment, to help with module name lookups,
      -         * which act like paths, but can be remapped. But the end result,
      -         * all paths that use this function should look normalized.
      -         * NOTE: this method MODIFIES the input array.
      -         * @param {Array} ary the array of path segments.
      -         */
      -        function trimDots(ary) {
      -            var i, part;
      -            for (i = 0; ary[i]; i += 1) {
      -                part = ary[i];
      -                if (part === '.') {
      -                    ary.splice(i, 1);
      -                    i -= 1;
      -                } else if (part === '..') {
      -                    if (i === 1 && (ary[2] === '..' || ary[0] === '..')) {
      -                        //End of the line. Keep at least one non-dot
      -                        //path segment at the front so it can be mapped
      -                        //correctly to disk. Otherwise, there is likely
      -                        //no path mapping for a path starting with '..'.
      -                        //This can still fail, but catches the most reasonable
      -                        //uses of ..
      -                        break;
      -                    } else if (i > 0) {
      -                        ary.splice(i - 1, 2);
      -                        i -= 2;
      -                    }
      -                }
      -            }
      -        }
      -
      -        /**
      -         * Given a relative module name, like ./something, normalize it to
      -         * a real name that can be mapped to a path.
      -         * @param {String} name the relative name
      -         * @param {String} baseName a real name that the name arg is relative
      -         * to.
      -         * @param {Boolean} applyMap apply the map config to the value. Should
      -         * only be done if this normalization is for a dependency ID.
      -         * @returns {String} normalized name
      -         */
      -        function normalize(name, baseName, applyMap) {
      -            var pkgName, pkgConfig, mapValue, nameParts, i, j, nameSegment,
      -                foundMap, foundI, foundStarMap, starI,
      -                baseParts = baseName && baseName.split('/'),
      -                normalizedBaseParts = baseParts,
      -                map = config.map,
      -                starMap = map && map['*'];
      -
      -            //Adjust any relative paths.
      -            if (name && name.charAt(0) === '.') {
      -                //If have a base name, try to normalize against it,
      -                //otherwise, assume it is a top-level require that will
      -                //be relative to baseUrl in the end.
      -                if (baseName) {
      -                    if (getOwn(config.pkgs, baseName)) {
      -                        //If the baseName is a package name, then just treat it as one
      -                        //name to concat the name with.
      -                        normalizedBaseParts = baseParts = [baseName];
      -                    } else {
      -                        //Convert baseName to array, and lop off the last part,
      -                        //so that . matches that 'directory' and not name of the baseName's
      -                        //module. For instance, baseName of 'one/two/three', maps to
      -                        //'one/two/three.js', but we want the directory, 'one/two' for
      -                        //this normalization.
      -                        normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);
      -                    }
      -
      -                    name = normalizedBaseParts.concat(name.split('/'));
      -                    trimDots(name);
      -
      -                    //Some use of packages may use a . path to reference the
      -                    //'main' module name, so normalize for that.
      -                    pkgConfig = getOwn(config.pkgs, (pkgName = name[0]));
      -                    name = name.join('/');
      -                    if (pkgConfig && name === pkgName + '/' + pkgConfig.main) {
      -                        name = pkgName;
      -                    }
      -                } else if (name.indexOf('./') === 0) {
      -                    // No baseName, so this is ID is resolved relative
      -                    // to baseUrl, pull off the leading dot.
      -                    name = name.substring(2);
      -                }
      -            }
      -
      -            //Apply map config if available.
      -            if (applyMap && map && (baseParts || starMap)) {
      -                nameParts = name.split('/');
      -
      -                for (i = nameParts.length; i > 0; i -= 1) {
      -                    nameSegment = nameParts.slice(0, i).join('/');
      -
      -                    if (baseParts) {
      -                        //Find the longest baseName segment match in the config.
      -                        //So, do joins on the biggest to smallest lengths of baseParts.
      -                        for (j = baseParts.length; j > 0; j -= 1) {
      -                            mapValue = getOwn(map, baseParts.slice(0, j).join('/'));
      -
      -                            //baseName segment has config, find if it has one for
      -                            //this name.
      -                            if (mapValue) {
      -                                mapValue = getOwn(mapValue, nameSegment);
      -                                if (mapValue) {
      -                                    //Match, update name to the new value.
      -                                    foundMap = mapValue;
      -                                    foundI = i;
      -                                    break;
      -                                }
      -                            }
      -                        }
      -                    }
      -
      -                    if (foundMap) {
      -                        break;
      -                    }
      -
      -                    //Check for a star map match, but just hold on to it,
      -                    //if there is a shorter segment match later in a matching
      -                    //config, then favor over this star map.
      -                    if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) {
      -                        foundStarMap = getOwn(starMap, nameSegment);
      -                        starI = i;
      -                    }
      -                }
      -
      -                if (!foundMap && foundStarMap) {
      -                    foundMap = foundStarMap;
      -                    foundI = starI;
      -                }
      -
      -                if (foundMap) {
      -                    nameParts.splice(0, foundI, foundMap);
      -                    name = nameParts.join('/');
      -                }
      -            }
      -
      -            return name;
      -        }
      -
      -        function removeScript(name) {
      -            if (isBrowser) {
      -                each(scripts(), function (scriptNode) {
      -                    if (scriptNode.getAttribute('data-requiremodule') === name &&
      -                            scriptNode.getAttribute('data-requirecontext') === context.contextName) {
      -                        scriptNode.parentNode.removeChild(scriptNode);
      -                        return true;
      -                    }
      -                });
      -            }
      -        }
      -
      -        function hasPathFallback(id) {
      -            var pathConfig = getOwn(config.paths, id);
      -            if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) {
      -                removeScript(id);
      -                //Pop off the first array value, since it failed, and
      -                //retry
      -                pathConfig.shift();
      -                context.require.undef(id);
      -                context.require([id]);
      -                return true;
      -            }
      -        }
      -
      -        //Turns a plugin!resource to [plugin, resource]
      -        //with the plugin being undefined if the name
      -        //did not have a plugin prefix.
      -        function splitPrefix(name) {
      -            var prefix,
      -                index = name ? name.indexOf('!') : -1;
      -            if (index > -1) {
      -                prefix = name.substring(0, index);
      -                name = name.substring(index + 1, name.length);
      -            }
      -            return [prefix, name];
      -        }
      -
      -        /**
      -         * Creates a module mapping that includes plugin prefix, module
      -         * name, and path. If parentModuleMap is provided it will
      -         * also normalize the name via require.normalize()
      -         *
      -         * @param {String} name the module name
      -         * @param {String} [parentModuleMap] parent module map
      -         * for the module name, used to resolve relative names.
      -         * @param {Boolean} isNormalized: is the ID already normalized.
      -         * This is true if this call is done for a define() module ID.
      -         * @param {Boolean} applyMap: apply the map config to the ID.
      -         * Should only be true if this map is for a dependency.
      -         *
      -         * @returns {Object}
      -         */
      -        function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) {
      -            var url, pluginModule, suffix, nameParts,
      -                prefix = null,
      -                parentName = parentModuleMap ? parentModuleMap.name : null,
      -                originalName = name,
      -                isDefine = true,
      -                normalizedName = '';
      -
      -            //If no name, then it means it is a require call, generate an
      -            //internal name.
      -            if (!name) {
      -                isDefine = false;
      -                name = '_@r' + (requireCounter += 1);
      -            }
      -
      -            nameParts = splitPrefix(name);
      -            prefix = nameParts[0];
      -            name = nameParts[1];
      -
      -            if (prefix) {
      -                prefix = normalize(prefix, parentName, applyMap);
      -                pluginModule = getOwn(defined, prefix);
      -            }
      -
      -            //Account for relative paths if there is a base name.
      -            if (name) {
      -                if (prefix) {
      -                    if (pluginModule && pluginModule.normalize) {
      -                        //Plugin is loaded, use its normalize method.
      -                        normalizedName = pluginModule.normalize(name, function (name) {
      -                            return normalize(name, parentName, applyMap);
      -                        });
      -                    } else {
      -                        normalizedName = normalize(name, parentName, applyMap);
      -                    }
      -                } else {
      -                    //A regular module.
      -                    normalizedName = normalize(name, parentName, applyMap);
      -
      -                    //Normalized name may be a plugin ID due to map config
      -                    //application in normalize. The map config values must
      -                    //already be normalized, so do not need to redo that part.
      -                    nameParts = splitPrefix(normalizedName);
      -                    prefix = nameParts[0];
      -                    normalizedName = nameParts[1];
      -                    isNormalized = true;
      -
      -                    url = context.nameToUrl(normalizedName);
      -                }
      -            }
      -
      -            //If the id is a plugin id that cannot be determined if it needs
      -            //normalization, stamp it with a unique ID so two matching relative
      -            //ids that may conflict can be separate.
      -            suffix = prefix && !pluginModule && !isNormalized ?
      -                     '_unnormalized' + (unnormalizedCounter += 1) :
      -                     '';
      -
      -            return {
      -                prefix: prefix,
      -                name: normalizedName,
      -                parentMap: parentModuleMap,
      -                unnormalized: !!suffix,
      -                url: url,
      -                originalName: originalName,
      -                isDefine: isDefine,
      -                id: (prefix ?
      -                        prefix + '!' + normalizedName :
      -                        normalizedName) + suffix
      -            };
      -        }
      -
      -        function getModule(depMap) {
      -            var id = depMap.id,
      -                mod = getOwn(registry, id);
      -
      -            if (!mod) {
      -                mod = registry[id] = new context.Module(depMap);
      -            }
      -
      -            return mod;
      -        }
      -
      -        function on(depMap, name, fn) {
      -            var id = depMap.id,
      -                mod = getOwn(registry, id);
      -
      -            if (hasProp(defined, id) &&
      -                    (!mod || mod.defineEmitComplete)) {
      -                if (name === 'defined') {
      -                    fn(defined[id]);
      -                }
      -            } else {
      -                mod = getModule(depMap);
      -                if (mod.error && name === 'error') {
      -                    fn(mod.error);
      -                } else {
      -                    mod.on(name, fn);
      -                }
      -            }
      -        }
      -
      -        function onError(err, errback) {
      -            var ids = err.requireModules,
      -                notified = false;
      -
      -            if (errback) {
      -                errback(err);
      -            } else {
      -                each(ids, function (id) {
      -                    var mod = getOwn(registry, id);
      -                    if (mod) {
      -                        //Set error on module, so it skips timeout checks.
      -                        mod.error = err;
      -                        if (mod.events.error) {
      -                            notified = true;
      -                            mod.emit('error', err);
      -                        }
      -                    }
      -                });
      -
      -                if (!notified) {
      -                    req.onError(err);
      -                }
      -            }
      -        }
      -
      -        /**
      -         * Internal method to transfer globalQueue items to this context's
      -         * defQueue.
      -         */
      -        function takeGlobalQueue() {
      -            //Push all the globalDefQueue items into the context's defQueue
      -            if (globalDefQueue.length) {
      -                //Array splice in the values since the context code has a
      -                //local var ref to defQueue, so cannot just reassign the one
      -                //on context.
      -                apsp.apply(defQueue,
      -                           [defQueue.length - 1, 0].concat(globalDefQueue));
      -                globalDefQueue = [];
      -            }
      -        }
      -
      -        handlers = {
      -            'require': function (mod) {
      -                if (mod.require) {
      -                    return mod.require;
      -                } else {
      -                    return (mod.require = context.makeRequire(mod.map));
      -                }
      -            },
      -            'exports': function (mod) {
      -                mod.usingExports = true;
      -                if (mod.map.isDefine) {
      -                    if (mod.exports) {
      -                        return mod.exports;
      -                    } else {
      -                        return (mod.exports = defined[mod.map.id] = {});
      -                    }
      -                }
      -            },
      -            'module': function (mod) {
      -                if (mod.module) {
      -                    return mod.module;
      -                } else {
      -                    return (mod.module = {
      -                        id: mod.map.id,
      -                        uri: mod.map.url,
      -                        config: function () {
      -                            var c,
      -                                pkg = getOwn(config.pkgs, mod.map.id);
      -                            // For packages, only support config targeted
      -                            // at the main module.
      -                            c = pkg ? getOwn(config.config, mod.map.id + '/' + pkg.main) :
      -                                      getOwn(config.config, mod.map.id);
      -                            return  c || {};
      -                        },
      -                        exports: defined[mod.map.id]
      -                    });
      -                }
      -            }
      -        };
      -
      -        function cleanRegistry(id) {
      -            //Clean up machinery used for waiting modules.
      -            delete registry[id];
      -            delete enabledRegistry[id];
      -        }
      -
      -        function breakCycle(mod, traced, processed) {
      -            var id = mod.map.id;
      -
      -            if (mod.error) {
      -                mod.emit('error', mod.error);
      -            } else {
      -                traced[id] = true;
      -                each(mod.depMaps, function (depMap, i) {
      -                    var depId = depMap.id,
      -                        dep = getOwn(registry, depId);
      -
      -                    //Only force things that have not completed
      -                    //being defined, so still in the registry,
      -                    //and only if it has not been matched up
      -                    //in the module already.
      -                    if (dep && !mod.depMatched[i] && !processed[depId]) {
      -                        if (getOwn(traced, depId)) {
      -                            mod.defineDep(i, defined[depId]);
      -                            mod.check(); //pass false?
      -                        } else {
      -                            breakCycle(dep, traced, processed);
      -                        }
      -                    }
      -                });
      -                processed[id] = true;
      -            }
      -        }
      -
      -        function checkLoaded() {
      -            var map, modId, err, usingPathFallback,
      -                waitInterval = config.waitSeconds * 1000,
      -                //It is possible to disable the wait interval by using waitSeconds of 0.
      -                expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(),
      -                noLoads = [],
      -                reqCalls = [],
      -                stillLoading = false,
      -                needCycleCheck = true;
      -
      -            //Do not bother if this call was a result of a cycle break.
      -            if (inCheckLoaded) {
      -                return;
      -            }
      -
      -            inCheckLoaded = true;
      -
      -            //Figure out the state of all the modules.
      -            eachProp(enabledRegistry, function (mod) {
      -                map = mod.map;
      -                modId = map.id;
      -
      -                //Skip things that are not enabled or in error state.
      -                if (!mod.enabled) {
      -                    return;
      -                }
      -
      -                if (!map.isDefine) {
      -                    reqCalls.push(mod);
      -                }
      -
      -                if (!mod.error) {
      -                    //If the module should be executed, and it has not
      -                    //been inited and time is up, remember it.
      -                    if (!mod.inited && expired) {
      -                        if (hasPathFallback(modId)) {
      -                            usingPathFallback = true;
      -                            stillLoading = true;
      -                        } else {
      -                            noLoads.push(modId);
      -                            removeScript(modId);
      -                        }
      -                    } else if (!mod.inited && mod.fetched && map.isDefine) {
      -                        stillLoading = true;
      -                        if (!map.prefix) {
      -                            //No reason to keep looking for unfinished
      -                            //loading. If the only stillLoading is a
      -                            //plugin resource though, keep going,
      -                            //because it may be that a plugin resource
      -                            //is waiting on a non-plugin cycle.
      -                            return (needCycleCheck = false);
      -                        }
      -                    }
      -                }
      -            });
      -
      -            if (expired && noLoads.length) {
      -                //If wait time expired, throw error of unloaded modules.
      -                err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads);
      -                err.contextName = context.contextName;
      -                return onError(err);
      -            }
      -
      -            //Not expired, check for a cycle.
      -            if (needCycleCheck) {
      -                each(reqCalls, function (mod) {
      -                    breakCycle(mod, {}, {});
      -                });
      -            }
      -
      -            //If still waiting on loads, and the waiting load is something
      -            //other than a plugin resource, or there are still outstanding
      -            //scripts, then just try back later.
      -            if ((!expired || usingPathFallback) && stillLoading) {
      -                //Something is still waiting to load. Wait for it, but only
      -                //if a timeout is not already in effect.
      -                if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) {
      -                    checkLoadedTimeoutId = setTimeout(function () {
      -                        checkLoadedTimeoutId = 0;
      -                        checkLoaded();
      -                    }, 50);
      -                }
      -            }
      -
      -            inCheckLoaded = false;
      -        }
      -
      -        Module = function (map) {
      -            this.events = getOwn(undefEvents, map.id) || {};
      -            this.map = map;
      -            this.shim = getOwn(config.shim, map.id);
      -            this.depExports = [];
      -            this.depMaps = [];
      -            this.depMatched = [];
      -            this.pluginMaps = {};
      -            this.depCount = 0;
      -
      -            /* this.exports this.factory
      -               this.depMaps = [],
      -               this.enabled, this.fetched
      -            */
      -        };
      -
      -        Module.prototype = {
      -            init: function (depMaps, factory, errback, options) {
      -                options = options || {};
      -
      -                //Do not do more inits if already done. Can happen if there
      -                //are multiple define calls for the same module. That is not
      -                //a normal, common case, but it is also not unexpected.
      -                if (this.inited) {
      -                    return;
      -                }
      -
      -                this.factory = factory;
      -
      -                if (errback) {
      -                    //Register for errors on this module.
      -                    this.on('error', errback);
      -                } else if (this.events.error) {
      -                    //If no errback already, but there are error listeners
      -                    //on this module, set up an errback to pass to the deps.
      -                    errback = bind(this, function (err) {
      -                        this.emit('error', err);
      -                    });
      -                }
      -
      -                //Do a copy of the dependency array, so that
      -                //source inputs are not modified. For example
      -                //"shim" deps are passed in here directly, and
      -                //doing a direct modification of the depMaps array
      -                //would affect that config.
      -                this.depMaps = depMaps && depMaps.slice(0);
      -
      -                this.errback = errback;
      -
      -                //Indicate this module has be initialized
      -                this.inited = true;
      -
      -                this.ignore = options.ignore;
      -
      -                //Could have option to init this module in enabled mode,
      -                //or could have been previously marked as enabled. However,
      -                //the dependencies are not known until init is called. So
      -                //if enabled previously, now trigger dependencies as enabled.
      -                if (options.enabled || this.enabled) {
      -                    //Enable this module and dependencies.
      -                    //Will call this.check()
      -                    this.enable();
      -                } else {
      -                    this.check();
      -                }
      -            },
      -
      -            defineDep: function (i, depExports) {
      -                //Because of cycles, defined callback for a given
      -                //export can be called more than once.
      -                if (!this.depMatched[i]) {
      -                    this.depMatched[i] = true;
      -                    this.depCount -= 1;
      -                    this.depExports[i] = depExports;
      -                }
      -            },
      -
      -            fetch: function () {
      -                if (this.fetched) {
      -                    return;
      -                }
      -                this.fetched = true;
      -
      -                context.startTime = (new Date()).getTime();
      -
      -                var map = this.map;
      -
      -                //If the manager is for a plugin managed resource,
      -                //ask the plugin to load it now.
      -                if (this.shim) {
      -                    context.makeRequire(this.map, {
      -                        enableBuildCallback: true
      -                    })(this.shim.deps || [], bind(this, function () {
      -                        return map.prefix ? this.callPlugin() : this.load();
      -                    }));
      -                } else {
      -                    //Regular dependency.
      -                    return map.prefix ? this.callPlugin() : this.load();
      -                }
      -            },
      -
      -            load: function () {
      -                var url = this.map.url;
      -
      -                //Regular dependency.
      -                if (!urlFetched[url]) {
      -                    urlFetched[url] = true;
      -                    context.load(this.map.id, url);
      -                }
      -            },
      -
      -            /**
      -             * Checks if the module is ready to define itself, and if so,
      -             * define it.
      -             */
      -            check: function () {
      -                if (!this.enabled || this.enabling) {
      -                    return;
      -                }
      -
      -                var err, cjsModule,
      -                    id = this.map.id,
      -                    depExports = this.depExports,
      -                    exports = this.exports,
      -                    factory = this.factory;
      -
      -                if (!this.inited) {
      -                    this.fetch();
      -                } else if (this.error) {
      -                    this.emit('error', this.error);
      -                } else if (!this.defining) {
      -                    //The factory could trigger another require call
      -                    //that would result in checking this module to
      -                    //define itself again. If already in the process
      -                    //of doing that, skip this work.
      -                    this.defining = true;
      -
      -                    if (this.depCount < 1 && !this.defined) {
      -                        if (isFunction(factory)) {
      -                            //If there is an error listener, favor passing
      -                            //to that instead of throwing an error. However,
      -                            //only do it for define()'d  modules. require
      -                            //errbacks should not be called for failures in
      -                            //their callbacks (#699). However if a global
      -                            //onError is set, use that.
      -                            if ((this.events.error && this.map.isDefine) ||
      -                                req.onError !== defaultOnError) {
      -                                try {
      -                                    exports = context.execCb(id, factory, depExports, exports);
      -                                } catch (e) {
      -                                    err = e;
      -                                }
      -                            } else {
      -                                exports = context.execCb(id, factory, depExports, exports);
      -                            }
      -
      -                            if (this.map.isDefine) {
      -                                //If setting exports via 'module' is in play,
      -                                //favor that over return value and exports. After that,
      -                                //favor a non-undefined return value over exports use.
      -                                cjsModule = this.module;
      -                                if (cjsModule &&
      -                                        cjsModule.exports !== undefined &&
      -                                        //Make sure it is not already the exports value
      -                                        cjsModule.exports !== this.exports) {
      -                                    exports = cjsModule.exports;
      -                                } else if (exports === undefined && this.usingExports) {
      -                                    //exports already set the defined value.
      -                                    exports = this.exports;
      -                                }
      -                            }
      -
      -                            if (err) {
      -                                err.requireMap = this.map;
      -                                err.requireModules = this.map.isDefine ? [this.map.id] : null;
      -                                err.requireType = this.map.isDefine ? 'define' : 'require';
      -                                return onError((this.error = err));
      -                            }
      -
      -                        } else {
      -                            //Just a literal value
      -                            exports = factory;
      -                        }
      -
      -                        this.exports = exports;
      -
      -                        if (this.map.isDefine && !this.ignore) {
      -                            defined[id] = exports;
      -
      -                            if (req.onResourceLoad) {
      -                                req.onResourceLoad(context, this.map, this.depMaps);
      -                            }
      -                        }
      -
      -                        //Clean up
      -                        cleanRegistry(id);
      -
      -                        this.defined = true;
      -                    }
      -
      -                    //Finished the define stage. Allow calling check again
      -                    //to allow define notifications below in the case of a
      -                    //cycle.
      -                    this.defining = false;
      -
      -                    if (this.defined && !this.defineEmitted) {
      -                        this.defineEmitted = true;
      -                        this.emit('defined', this.exports);
      -                        this.defineEmitComplete = true;
      -                    }
      -
      -                }
      -            },
      -
      -            callPlugin: function () {
      -                var map = this.map,
      -                    id = map.id,
      -                    //Map already normalized the prefix.
      -                    pluginMap = makeModuleMap(map.prefix);
      -
      -                //Mark this as a dependency for this plugin, so it
      -                //can be traced for cycles.
      -                this.depMaps.push(pluginMap);
      -
      -                on(pluginMap, 'defined', bind(this, function (plugin) {
      -                    var load, normalizedMap, normalizedMod,
      -                        name = this.map.name,
      -                        parentName = this.map.parentMap ? this.map.parentMap.name : null,
      -                        localRequire = context.makeRequire(map.parentMap, {
      -                            enableBuildCallback: true
      -                        });
      -
      -                    //If current map is not normalized, wait for that
      -                    //normalized name to load instead of continuing.
      -                    if (this.map.unnormalized) {
      -                        //Normalize the ID if the plugin allows it.
      -                        if (plugin.normalize) {
      -                            name = plugin.normalize(name, function (name) {
      -                                return normalize(name, parentName, true);
      -                            }) || '';
      -                        }
      -
      -                        //prefix and name should already be normalized, no need
      -                        //for applying map config again either.
      -                        normalizedMap = makeModuleMap(map.prefix + '!' + name,
      -                                                      this.map.parentMap);
      -                        on(normalizedMap,
      -                            'defined', bind(this, function (value) {
      -                                this.init([], function () { return value; }, null, {
      -                                    enabled: true,
      -                                    ignore: true
      -                                });
      -                            }));
      -
      -                        normalizedMod = getOwn(registry, normalizedMap.id);
      -                        if (normalizedMod) {
      -                            //Mark this as a dependency for this plugin, so it
      -                            //can be traced for cycles.
      -                            this.depMaps.push(normalizedMap);
      -
      -                            if (this.events.error) {
      -                                normalizedMod.on('error', bind(this, function (err) {
      -                                    this.emit('error', err);
      -                                }));
      -                            }
      -                            normalizedMod.enable();
      -                        }
      -
      -                        return;
      -                    }
      -
      -                    load = bind(this, function (value) {
      -                        this.init([], function () { return value; }, null, {
      -                            enabled: true
      -                        });
      -                    });
      -
      -                    load.error = bind(this, function (err) {
      -                        this.inited = true;
      -                        this.error = err;
      -                        err.requireModules = [id];
      -
      -                        //Remove temp unnormalized modules for this module,
      -                        //since they will never be resolved otherwise now.
      -                        eachProp(registry, function (mod) {
      -                            if (mod.map.id.indexOf(id + '_unnormalized') === 0) {
      -                                cleanRegistry(mod.map.id);
      -                            }
      -                        });
      -
      -                        onError(err);
      -                    });
      -
      -                    //Allow plugins to load other code without having to know the
      -                    //context or how to 'complete' the load.
      -                    load.fromText = bind(this, function (text, textAlt) {
      -                        /*jslint evil: true */
      -                        var moduleName = map.name,
      -                            moduleMap = makeModuleMap(moduleName),
      -                            hasInteractive = useInteractive;
      -
      -                        //As of 2.1.0, support just passing the text, to reinforce
      -                        //fromText only being called once per resource. Still
      -                        //support old style of passing moduleName but discard
      -                        //that moduleName in favor of the internal ref.
      -                        if (textAlt) {
      -                            text = textAlt;
      -                        }
      -
      -                        //Turn off interactive script matching for IE for any define
      -                        //calls in the text, then turn it back on at the end.
      -                        if (hasInteractive) {
      -                            useInteractive = false;
      -                        }
      -
      -                        //Prime the system by creating a module instance for
      -                        //it.
      -                        getModule(moduleMap);
      -
      -                        //Transfer any config to this other module.
      -                        if (hasProp(config.config, id)) {
      -                            config.config[moduleName] = config.config[id];
      -                        }
      -
      -                        try {
      -                            req.exec(text);
      -                        } catch (e) {
      -                            return onError(makeError('fromtexteval',
      -                                             'fromText eval for ' + id +
      -                                            ' failed: ' + e,
      -                                             e,
      -                                             [id]));
      -                        }
      -
      -                        if (hasInteractive) {
      -                            useInteractive = true;
      -                        }
      -
      -                        //Mark this as a dependency for the plugin
      -                        //resource
      -                        this.depMaps.push(moduleMap);
      -
      -                        //Support anonymous modules.
      -                        context.completeLoad(moduleName);
      -
      -                        //Bind the value of that module to the value for this
      -                        //resource ID.
      -                        localRequire([moduleName], load);
      -                    });
      -
      -                    //Use parentName here since the plugin's name is not reliable,
      -                    //could be some weird string with no path that actually wants to
      -                    //reference the parentName's path.
      -                    plugin.load(map.name, localRequire, load, config);
      -                }));
      -
      -                context.enable(pluginMap, this);
      -                this.pluginMaps[pluginMap.id] = pluginMap;
      -            },
      -
      -            enable: function () {
      -                enabledRegistry[this.map.id] = this;
      -                this.enabled = true;
      -
      -                //Set flag mentioning that the module is enabling,
      -                //so that immediate calls to the defined callbacks
      -                //for dependencies do not trigger inadvertent load
      -                //with the depCount still being zero.
      -                this.enabling = true;
      -
      -                //Enable each dependency
      -                each(this.depMaps, bind(this, function (depMap, i) {
      -                    var id, mod, handler;
      -
      -                    if (typeof depMap === 'string') {
      -                        //Dependency needs to be converted to a depMap
      -                        //and wired up to this module.
      -                        depMap = makeModuleMap(depMap,
      -                                               (this.map.isDefine ? this.map : this.map.parentMap),
      -                                               false,
      -                                               !this.skipMap);
      -                        this.depMaps[i] = depMap;
      -
      -                        handler = getOwn(handlers, depMap.id);
      -
      -                        if (handler) {
      -                            this.depExports[i] = handler(this);
      -                            return;
      -                        }
      -
      -                        this.depCount += 1;
      -
      -                        on(depMap, 'defined', bind(this, function (depExports) {
      -                            this.defineDep(i, depExports);
      -                            this.check();
      -                        }));
      -
      -                        if (this.errback) {
      -                            on(depMap, 'error', bind(this, this.errback));
      -                        }
      -                    }
      -
      -                    id = depMap.id;
      -                    mod = registry[id];
      -
      -                    //Skip special modules like 'require', 'exports', 'module'
      -                    //Also, don't call enable if it is already enabled,
      -                    //important in circular dependency cases.
      -                    if (!hasProp(handlers, id) && mod && !mod.enabled) {
      -                        context.enable(depMap, this);
      -                    }
      -                }));
      -
      -                //Enable each plugin that is used in
      -                //a dependency
      -                eachProp(this.pluginMaps, bind(this, function (pluginMap) {
      -                    var mod = getOwn(registry, pluginMap.id);
      -                    if (mod && !mod.enabled) {
      -                        context.enable(pluginMap, this);
      -                    }
      -                }));
      -
      -                this.enabling = false;
      -
      -                this.check();
      -            },
      -
      -            on: function (name, cb) {
      -                var cbs = this.events[name];
      -                if (!cbs) {
      -                    cbs = this.events[name] = [];
      -                }
      -                cbs.push(cb);
      -            },
      -
      -            emit: function (name, evt) {
      -                each(this.events[name], function (cb) {
      -                    cb(evt);
      -                });
      -                if (name === 'error') {
      -                    //Now that the error handler was triggered, remove
      -                    //the listeners, since this broken Module instance
      -                    //can stay around for a while in the registry.
      -                    delete this.events[name];
      -                }
      -            }
      -        };
      -
      -        function callGetModule(args) {
      -            //Skip modules already defined.
      -            if (!hasProp(defined, args[0])) {
      -                getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]);
      -            }
      -        }
      -
      -        function removeListener(node, func, name, ieName) {
      -            //Favor detachEvent because of IE9
      -            //issue, see attachEvent/addEventListener comment elsewhere
      -            //in this file.
      -            if (node.detachEvent && !isOpera) {
      -                //Probably IE. If not it will throw an error, which will be
      -                //useful to know.
      -                if (ieName) {
      -                    node.detachEvent(ieName, func);
      -                }
      -            } else {
      -                node.removeEventListener(name, func, false);
      -            }
      -        }
      -
      -        /**
      -         * Given an event from a script node, get the requirejs info from it,
      -         * and then removes the event listeners on the node.
      -         * @param {Event} evt
      -         * @returns {Object}
      -         */
      -        function getScriptData(evt) {
      -            //Using currentTarget instead of target for Firefox 2.0's sake. Not
      -            //all old browsers will be supported, but this one was easy enough
      -            //to support and still makes sense.
      -            var node = evt.currentTarget || evt.srcElement;
      -
      -            //Remove the listeners once here.
      -            removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
      -            removeListener(node, context.onScriptError, 'error');
      -
      -            return {
      -                node: node,
      -                id: node && node.getAttribute('data-requiremodule')
      -            };
      -        }
      -
      -        function intakeDefines() {
      -            var args;
      -
      -            //Any defined modules in the global queue, intake them now.
      -            takeGlobalQueue();
      -
      -            //Make sure any remaining defQueue items get properly processed.
      -            while (defQueue.length) {
      -                args = defQueue.shift();
      -                if (args[0] === null) {
      -                    return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' + args[args.length - 1]));
      -                } else {
      -                    //args are id, deps, factory. Should be normalized by the
      -                    //define() function.
      -                    callGetModule(args);
      -                }
      -            }
      -        }
      -
      -        context = {
      -            config: config,
      -            contextName: contextName,
      -            registry: registry,
      -            defined: defined,
      -            urlFetched: urlFetched,
      -            defQueue: defQueue,
      -            Module: Module,
      -            makeModuleMap: makeModuleMap,
      -            nextTick: req.nextTick,
      -            onError: onError,
      -
      -            /**
      -             * Set a configuration for the context.
      -             * @param {Object} cfg config object to integrate.
      -             */
      -            configure: function (cfg) {
      -                //Make sure the baseUrl ends in a slash.
      -                if (cfg.baseUrl) {
      -                    if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') {
      -                        cfg.baseUrl += '/';
      -                    }
      -                }
      -
      -                //Save off the paths and packages since they require special processing,
      -                //they are additive.
      -                var pkgs = config.pkgs,
      -                    shim = config.shim,
      -                    objs = {
      -                        paths: true,
      -                        config: true,
      -                        map: true
      -                    };
      -
      -                eachProp(cfg, function (value, prop) {
      -                    if (objs[prop]) {
      -                        if (prop === 'map') {
      -                            if (!config.map) {
      -                                config.map = {};
      -                            }
      -                            mixin(config[prop], value, true, true);
      -                        } else {
      -                            mixin(config[prop], value, true);
      -                        }
      -                    } else {
      -                        config[prop] = value;
      -                    }
      -                });
      -
      -                //Merge shim
      -                if (cfg.shim) {
      -                    eachProp(cfg.shim, function (value, id) {
      -                        //Normalize the structure
      -                        if (isArray(value)) {
      -                            value = {
      -                                deps: value
      -                            };
      -                        }
      -                        if ((value.exports || value.init) && !value.exportsFn) {
      -                            value.exportsFn = context.makeShimExports(value);
      -                        }
      -                        shim[id] = value;
      -                    });
      -                    config.shim = shim;
      -                }
      -
      -                //Adjust packages if necessary.
      -                if (cfg.packages) {
      -                    each(cfg.packages, function (pkgObj) {
      -                        var location;
      -
      -                        pkgObj = typeof pkgObj === 'string' ? { name: pkgObj } : pkgObj;
      -                        location = pkgObj.location;
      -
      -                        //Create a brand new object on pkgs, since currentPackages can
      -                        //be passed in again, and config.pkgs is the internal transformed
      -                        //state for all package configs.
      -                        pkgs[pkgObj.name] = {
      -                            name: pkgObj.name,
      -                            location: location || pkgObj.name,
      -                            //Remove leading dot in main, so main paths are normalized,
      -                            //and remove any trailing .js, since different package
      -                            //envs have different conventions: some use a module name,
      -                            //some use a file name.
      -                            main: (pkgObj.main || 'main')
      -                                  .replace(currDirRegExp, '')
      -                                  .replace(jsSuffixRegExp, '')
      -                        };
      -                    });
      -
      -                    //Done with modifications, assing packages back to context config
      -                    config.pkgs = pkgs;
      -                }
      -
      -                //If there are any "waiting to execute" modules in the registry,
      -                //update the maps for them, since their info, like URLs to load,
      -                //may have changed.
      -                eachProp(registry, function (mod, id) {
      -                    //If module already has init called, since it is too
      -                    //late to modify them, and ignore unnormalized ones
      -                    //since they are transient.
      -                    if (!mod.inited && !mod.map.unnormalized) {
      -                        mod.map = makeModuleMap(id);
      -                    }
      -                });
      -
      -                //If a deps array or a config callback is specified, then call
      -                //require with those args. This is useful when require is defined as a
      -                //config object before require.js is loaded.
      -                if (cfg.deps || cfg.callback) {
      -                    context.require(cfg.deps || [], cfg.callback);
      -                }
      -            },
      -
      -            makeShimExports: function (value) {
      -                function fn() {
      -                    var ret;
      -                    if (value.init) {
      -                        ret = value.init.apply(global, arguments);
      -                    }
      -                    return ret || (value.exports && getGlobal(value.exports));
      -                }
      -                return fn;
      -            },
      -
      -            makeRequire: function (relMap, options) {
      -                options = options || {};
      -
      -                function localRequire(deps, callback, errback) {
      -                    var id, map, requireMod;
      -
      -                    if (options.enableBuildCallback && callback && isFunction(callback)) {
      -                        callback.__requireJsBuild = true;
      -                    }
      -
      -                    if (typeof deps === 'string') {
      -                        if (isFunction(callback)) {
      -                            //Invalid call
      -                            return onError(makeError('requireargs', 'Invalid require call'), errback);
      -                        }
      -
      -                        //If require|exports|module are requested, get the
      -                        //value for them from the special handlers. Caveat:
      -                        //this only works while module is being defined.
      -                        if (relMap && hasProp(handlers, deps)) {
      -                            return handlers[deps](registry[relMap.id]);
      -                        }
      -
      -                        //Synchronous access to one module. If require.get is
      -                        //available (as in the Node adapter), prefer that.
      -                        if (req.get) {
      -                            return req.get(context, deps, relMap, localRequire);
      -                        }
      -
      -                        //Normalize module name, if it contains . or ..
      -                        map = makeModuleMap(deps, relMap, false, true);
      -                        id = map.id;
      -
      -                        if (!hasProp(defined, id)) {
      -                            return onError(makeError('notloaded', 'Module name "' +
      -                                        id +
      -                                        '" has not been loaded yet for context: ' +
      -                                        contextName +
      -                                        (relMap ? '' : '. Use require([])')));
      -                        }
      -                        return defined[id];
      -                    }
      -
      -                    //Grab defines waiting in the global queue.
      -                    intakeDefines();
      -
      -                    //Mark all the dependencies as needing to be loaded.
      -                    context.nextTick(function () {
      -                        //Some defines could have been added since the
      -                        //require call, collect them.
      -                        intakeDefines();
      -
      -                        requireMod = getModule(makeModuleMap(null, relMap));
      -
      -                        //Store if map config should be applied to this require
      -                        //call for dependencies.
      -                        requireMod.skipMap = options.skipMap;
      -
      -                        requireMod.init(deps, callback, errback, {
      -                            enabled: true
      -                        });
      -
      -                        checkLoaded();
      -                    });
      -
      -                    return localRequire;
      -                }
      -
      -                mixin(localRequire, {
      -                    isBrowser: isBrowser,
      -
      -                    /**
      -                     * Converts a module name + .extension into an URL path.
      -                     * *Requires* the use of a module name. It does not support using
      -                     * plain URLs like nameToUrl.
      -                     */
      -                    toUrl: function (moduleNamePlusExt) {
      -                        var ext,
      -                            index = moduleNamePlusExt.lastIndexOf('.'),
      -                            segment = moduleNamePlusExt.split('/')[0],
      -                            isRelative = segment === '.' || segment === '..';
      -
      -                        //Have a file extension alias, and it is not the
      -                        //dots from a relative path.
      -                        if (index !== -1 && (!isRelative || index > 1)) {
      -                            ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);
      -                            moduleNamePlusExt = moduleNamePlusExt.substring(0, index);
      -                        }
      -
      -                        return context.nameToUrl(normalize(moduleNamePlusExt,
      -                                                relMap && relMap.id, true), ext,  true);
      -                    },
      -
      -                    defined: function (id) {
      -                        return hasProp(defined, makeModuleMap(id, relMap, false, true).id);
      -                    },
      -
      -                    specified: function (id) {
      -                        id = makeModuleMap(id, relMap, false, true).id;
      -                        return hasProp(defined, id) || hasProp(registry, id);
      -                    }
      -                });
      -
      -                //Only allow undef on top level require calls
      -                if (!relMap) {
      -                    localRequire.undef = function (id) {
      -                        //Bind any waiting define() calls to this context,
      -                        //fix for #408
      -                        takeGlobalQueue();
      -
      -                        var map = makeModuleMap(id, relMap, true),
      -                            mod = getOwn(registry, id);
      -
      -                        delete defined[id];
      -                        delete urlFetched[map.url];
      -                        delete undefEvents[id];
      -
      -                        if (mod) {
      -                            //Hold on to listeners in case the
      -                            //module will be attempted to be reloaded
      -                            //using a different config.
      -                            if (mod.events.defined) {
      -                                undefEvents[id] = mod.events;
      -                            }
      -
      -                            cleanRegistry(id);
      -                        }
      -                    };
      -                }
      -
      -                return localRequire;
      -            },
      -
      -            /**
      -             * Called to enable a module if it is still in the registry
      -             * awaiting enablement. A second arg, parent, the parent module,
      -             * is passed in for context, when this method is overriden by
      -             * the optimizer. Not shown here to keep code compact.
      -             */
      -            enable: function (depMap) {
      -                var mod = getOwn(registry, depMap.id);
      -                if (mod) {
      -                    getModule(depMap).enable();
      -                }
      -            },
      -
      -            /**
      -             * Internal method used by environment adapters to complete a load event.
      -             * A load event could be a script load or just a load pass from a synchronous
      -             * load call.
      -             * @param {String} moduleName the name of the module to potentially complete.
      -             */
      -            completeLoad: function (moduleName) {
      -                var found, args, mod,
      -                    shim = getOwn(config.shim, moduleName) || {},
      -                    shExports = shim.exports;
      -
      -                takeGlobalQueue();
      -
      -                while (defQueue.length) {
      -                    args = defQueue.shift();
      -                    if (args[0] === null) {
      -                        args[0] = moduleName;
      -                        //If already found an anonymous module and bound it
      -                        //to this name, then this is some other anon module
      -                        //waiting for its completeLoad to fire.
      -                        if (found) {
      -                            break;
      -                        }
      -                        found = true;
      -                    } else if (args[0] === moduleName) {
      -                        //Found matching define call for this script!
      -                        found = true;
      -                    }
      -
      -                    callGetModule(args);
      -                }
      -
      -                //Do this after the cycle of callGetModule in case the result
      -                //of those calls/init calls changes the registry.
      -                mod = getOwn(registry, moduleName);
      -
      -                if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) {
      -                    if (config.enforceDefine && (!shExports || !getGlobal(shExports))) {
      -                        if (hasPathFallback(moduleName)) {
      -                            return;
      -                        } else {
      -                            return onError(makeError('nodefine',
      -                                             'No define call for ' + moduleName,
      -                                             null,
      -                                             [moduleName]));
      -                        }
      -                    } else {
      -                        //A script that does not call define(), so just simulate
      -                        //the call for it.
      -                        callGetModule([moduleName, (shim.deps || []), shim.exportsFn]);
      -                    }
      -                }
      -
      -                checkLoaded();
      -            },
      -
      -            /**
      -             * Converts a module name to a file path. Supports cases where
      -             * moduleName may actually be just an URL.
      -             * Note that it **does not** call normalize on the moduleName,
      -             * it is assumed to have already been normalized. This is an
      -             * internal API, not a public one. Use toUrl for the public API.
      -             */
      -            nameToUrl: function (moduleName, ext, skipExt) {
      -                var paths, pkgs, pkg, pkgPath, syms, i, parentModule, url,
      -                    parentPath;
      -
      -                //If a colon is in the URL, it indicates a protocol is used and it is just
      -                //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?)
      -                //or ends with .js, then assume the user meant to use an url and not a module id.
      -                //The slash is important for protocol-less URLs as well as full paths.
      -                if (req.jsExtRegExp.test(moduleName)) {
      -                    //Just a plain path, not module name lookup, so just return it.
      -                    //Add extension if it is included. This is a bit wonky, only non-.js things pass
      -                    //an extension, this method probably needs to be reworked.
      -                    url = moduleName + (ext || '');
      -                } else {
      -                    //A module that needs to be converted to a path.
      -                    paths = config.paths;
      -                    pkgs = config.pkgs;
      -
      -                    syms = moduleName.split('/');
      -                    //For each module name segment, see if there is a path
      -                    //registered for it. Start with most specific name
      -                    //and work up from it.
      -                    for (i = syms.length; i > 0; i -= 1) {
      -                        parentModule = syms.slice(0, i).join('/');
      -                        pkg = getOwn(pkgs, parentModule);
      -                        parentPath = getOwn(paths, parentModule);
      -                        if (parentPath) {
      -                            //If an array, it means there are a few choices,
      -                            //Choose the one that is desired
      -                            if (isArray(parentPath)) {
      -                                parentPath = parentPath[0];
      -                            }
      -                            syms.splice(0, i, parentPath);
      -                            break;
      -                        } else if (pkg) {
      -                            //If module name is just the package name, then looking
      -                            //for the main module.
      -                            if (moduleName === pkg.name) {
      -                                pkgPath = pkg.location + '/' + pkg.main;
      -                            } else {
      -                                pkgPath = pkg.location;
      -                            }
      -                            syms.splice(0, i, pkgPath);
      -                            break;
      -                        }
      -                    }
      -
      -                    //Join the path parts together, then figure out if baseUrl is needed.
      -                    url = syms.join('/');
      -                    url += (ext || (/\?/.test(url) || skipExt ? '' : '.js'));
      -                    url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url;
      -                }
      -
      -                return config.urlArgs ? url +
      -                                        ((url.indexOf('?') === -1 ? '?' : '&') +
      -                                         config.urlArgs) : url;
      -            },
      -
      -            //Delegates to req.load. Broken out as a separate function to
      -            //allow overriding in the optimizer.
      -            load: function (id, url) {
      -                req.load(context, id, url);
      -            },
      -
      -            /**
      -             * Executes a module callback function. Broken out as a separate function
      -             * solely to allow the build system to sequence the files in the built
      -             * layer in the right sequence.
      -             *
      -             * @private
      -             */
      -            execCb: function (name, callback, args, exports) {
      -                return callback.apply(exports, args);
      -            },
      -
      -            /**
      -             * callback for script loads, used to check status of loading.
      -             *
      -             * @param {Event} evt the event from the browser for the script
      -             * that was loaded.
      -             */
      -            onScriptLoad: function (evt) {
      -                //Using currentTarget instead of target for Firefox 2.0's sake. Not
      -                //all old browsers will be supported, but this one was easy enough
      -                //to support and still makes sense.
      -                if (evt.type === 'load' ||
      -                        (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) {
      -                    //Reset interactive script so a script node is not held onto for
      -                    //to long.
      -                    interactiveScript = null;
      -
      -                    //Pull out the name of the module and the context.
      -                    var data = getScriptData(evt);
      -                    context.completeLoad(data.id);
      -                }
      -            },
      -
      -            /**
      -             * Callback for script errors.
      -             */
      -            onScriptError: function (evt) {
      -                var data = getScriptData(evt);
      -                if (!hasPathFallback(data.id)) {
      -                    return onError(makeError('scripterror', 'Script error for: ' + data.id, evt, [data.id]));
      -                }
      -            }
      -        };
      -
      -        context.require = context.makeRequire();
      -        return context;
      -    }
      -
      -    /**
      -     * Main entry point.
      -     *
      -     * If the only argument to require is a string, then the module that
      -     * is represented by that string is fetched for the appropriate context.
      -     *
      -     * If the first argument is an array, then it will be treated as an array
      -     * of dependency string names to fetch. An optional function callback can
      -     * be specified to execute when all of those dependencies are available.
      -     *
      -     * Make a local req variable to help Caja compliance (it assumes things
      -     * on a require that are not standardized), and to give a short
      -     * name for minification/local scope use.
      -     */
      -    req = requirejs = function (deps, callback, errback, optional) {
      -
      -        //Find the right context, use default
      -        var context, config,
      -            contextName = defContextName;
      -
      -        // Determine if have config object in the call.
      -        if (!isArray(deps) && typeof deps !== 'string') {
      -            // deps is a config object
      -            config = deps;
      -            if (isArray(callback)) {
      -                // Adjust args if there are dependencies
      -                deps = callback;
      -                callback = errback;
      -                errback = optional;
      -            } else {
      -                deps = [];
      -            }
      -        }
      -
      -        if (config && config.context) {
      -            contextName = config.context;
      -        }
      -
      -        context = getOwn(contexts, contextName);
      -        if (!context) {
      -            context = contexts[contextName] = req.s.newContext(contextName);
      -        }
      -
      -        if (config) {
      -            context.configure(config);
      -        }
      -
      -        return context.require(deps, callback, errback);
      -    };
      -
      -    /**
      -     * Support require.config() to make it easier to cooperate with other
      -     * AMD loaders on globally agreed names.
      -     */
      -    req.config = function (config) {
      -        return req(config);
      -    };
      -
      -    /**
      -     * Execute something after the current tick
      -     * of the event loop. Override for other envs
      -     * that have a better solution than setTimeout.
      -     * @param  {Function} fn function to execute later.
      -     */
      -    req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) {
      -        setTimeout(fn, 4);
      -    } : function (fn) { fn(); };
      -
      -    /**
      -     * Export require as a global, but only if it does not already exist.
      -     */
      -    if (!require) {
      -        require = req;
      -    }
      -
      -    req.version = version;
      -
      -    //Used to filter out dependencies that are already paths.
      -    req.jsExtRegExp = /^\/|:|\?|\.js$/;
      -    req.isBrowser = isBrowser;
      -    s = req.s = {
      -        contexts: contexts,
      -        newContext: newContext
      -    };
      -
      -    //Create default context.
      -    req({});
      -
      -    //Exports some context-sensitive methods on global require.
      -    each([
      -        'toUrl',
      -        'undef',
      -        'defined',
      -        'specified'
      -    ], function (prop) {
      -        //Reference from contexts instead of early binding to default context,
      -        //so that during builds, the latest instance of the default context
      -        //with its config gets used.
      -        req[prop] = function () {
      -            var ctx = contexts[defContextName];
      -            return ctx.require[prop].apply(ctx, arguments);
      -        };
      -    });
      -
      -    if (isBrowser) {
      -        head = s.head = document.getElementsByTagName('head')[0];
      -        //If BASE tag is in play, using appendChild is a problem for IE6.
      -        //When that browser dies, this can be removed. Details in this jQuery bug:
      -        //http://dev.jquery.com/ticket/2709
      -        baseElement = document.getElementsByTagName('base')[0];
      -        if (baseElement) {
      -            head = s.head = baseElement.parentNode;
      -        }
      -    }
      -
      -    /**
      -     * Any errors that require explicitly generates will be passed to this
      -     * function. Intercept/override it if you want custom error handling.
      -     * @param {Error} err the error object.
      -     */
      -    req.onError = defaultOnError;
      -
      -    /**
      -     * Creates the node for the load command. Only used in browser envs.
      -     */
      -    req.createNode = function (config, moduleName, url) {
      -        var node = config.xhtml ?
      -                document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') :
      -                document.createElement('script');
      -        node.type = config.scriptType || 'text/javascript';
      -        node.charset = 'utf-8';
      -        node.async = true;
      -        return node;
      -    };
      -
      -    /**
      -     * Does the request to load a module for the browser case.
      -     * Make this a separate function to allow other environments
      -     * to override it.
      -     *
      -     * @param {Object} context the require context to find state.
      -     * @param {String} moduleName the name of the module.
      -     * @param {Object} url the URL to the module.
      -     */
      -    req.load = function (context, moduleName, url) {
      -        var config = (context && context.config) || {},
      -            node;
      -        if (isBrowser) {
      -            //In the browser so use a script tag
      -            node = req.createNode(config, moduleName, url);
      -
      -            node.setAttribute('data-requirecontext', context.contextName);
      -            node.setAttribute('data-requiremodule', moduleName);
      -
      -            //Set up load listener. Test attachEvent first because IE9 has
      -            //a subtle issue in its addEventListener and script onload firings
      -            //that do not match the behavior of all other browsers with
      -            //addEventListener support, which fire the onload event for a
      -            //script right after the script execution. See:
      -            //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution
      -            //UNFORTUNATELY Opera implements attachEvent but does not follow the script
      -            //script execution mode.
      -            if (node.attachEvent &&
      -                    //Check if node.attachEvent is artificially added by custom script or
      -                    //natively supported by browser
      -                    //read https://github.com/jrburke/requirejs/issues/187
      -                    //if we can NOT find [native code] then it must NOT natively supported.
      -                    //in IE8, node.attachEvent does not have toString()
      -                    //Note the test for "[native code" with no closing brace, see:
      -                    //https://github.com/jrburke/requirejs/issues/273
      -                    !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) &&
      -                    !isOpera) {
      -                //Probably IE. IE (at least 6-8) do not fire
      -                //script onload right after executing the script, so
      -                //we cannot tie the anonymous define call to a name.
      -                //However, IE reports the script as being in 'interactive'
      -                //readyState at the time of the define call.
      -                useInteractive = true;
      -
      -                node.attachEvent('onreadystatechange', context.onScriptLoad);
      -                //It would be great to add an error handler here to catch
      -                //404s in IE9+. However, onreadystatechange will fire before
      -                //the error handler, so that does not help. If addEventListener
      -                //is used, then IE will fire error before load, but we cannot
      -                //use that pathway given the connect.microsoft.com issue
      -                //mentioned above about not doing the 'script execute,
      -                //then fire the script load event listener before execute
      -                //next script' that other browsers do.
      -                //Best hope: IE10 fixes the issues,
      -                //and then destroys all installs of IE 6-9.
      -                //node.attachEvent('onerror', context.onScriptError);
      -            } else {
      -                node.addEventListener('load', context.onScriptLoad, false);
      -                node.addEventListener('error', context.onScriptError, false);
      -            }
      -            node.src = url;
      -
      -            //For some cache cases in IE 6-8, the script executes before the end
      -            //of the appendChild execution, so to tie an anonymous define
      -            //call to the module name (which is stored on the node), hold on
      -            //to a reference to this node, but clear after the DOM insertion.
      -            currentlyAddingScript = node;
      -            if (baseElement) {
      -                head.insertBefore(node, baseElement);
      -            } else {
      -                head.appendChild(node);
      -            }
      -            currentlyAddingScript = null;
      -
      -            return node;
      -        } else if (isWebWorker) {
      -            try {
      -                //In a web worker, use importScripts. This is not a very
      -                //efficient use of importScripts, importScripts will block until
      -                //its script is downloaded and evaluated. However, if web workers
      -                //are in play, the expectation that a build has been done so that
      -                //only one script needs to be loaded anyway. This may need to be
      -                //reevaluated if other use cases become common.
      -                importScripts(url);
      -
      -                //Account for anonymous modules
      -                context.completeLoad(moduleName);
      -            } catch (e) {
      -                context.onError(makeError('importscripts',
      -                                'importScripts failed for ' +
      -                                    moduleName + ' at ' + url,
      -                                e,
      -                                [moduleName]));
      -            }
      -        }
      -    };
      -
      -    function getInteractiveScript() {
      -        if (interactiveScript && interactiveScript.readyState === 'interactive') {
      -            return interactiveScript;
      -        }
      -
      -        eachReverse(scripts(), function (script) {
      -            if (script.readyState === 'interactive') {
      -                return (interactiveScript = script);
      -            }
      -        });
      -        return interactiveScript;
      -    }
      -
      -    //Look for a data-main script attribute, which could also adjust the baseUrl.
      -    if (isBrowser) {
      -        //Figure out baseUrl. Get it from the script tag with require.js in it.
      -        eachReverse(scripts(), function (script) {
      -            //Set the 'head' where we can append children by
      -            //using the script's parent.
      -            if (!head) {
      -                head = script.parentNode;
      -            }
      -
      -            //Look for a data-main attribute to set main script for the page
      -            //to load. If it is there, the path to data main becomes the
      -            //baseUrl, if it is not already set.
      -            dataMain = script.getAttribute('data-main');
      -            if (dataMain) {
      -                //Preserve dataMain in case it is a path (i.e. contains '?')
      -                mainScript = dataMain;
      -
      -                //Set final baseUrl if there is not already an explicit one.
      -                if (!cfg.baseUrl) {
      -                    //Pull off the directory of data-main for use as the
      -                    //baseUrl.
      -                    src = mainScript.split('/');
      -                    mainScript = src.pop();
      -                    subPath = src.length ? src.join('/')  + '/' : './';
      -
      -                    cfg.baseUrl = subPath;
      -                }
      -
      -                //Strip off any trailing .js since mainScript is now
      -                //like a module name.
      -                mainScript = mainScript.replace(jsSuffixRegExp, '');
      -
      -                 //If mainScript is still a path, fall back to dataMain
      -                if (req.jsExtRegExp.test(mainScript)) {
      -                    mainScript = dataMain;
      -                }
      -
      -                //Put the data-main script in the files to load.
      -                cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript];
      -
      -                return true;
      -            }
      -        });
      -    }
      -
      -    /**
      -     * The function that handles definitions of modules. Differs from
      -     * require() in that a string for the module should be the first argument,
      -     * and the function to execute after dependencies are loaded should
      -     * return a value to define the module corresponding to the first argument's
      -     * name.
      -     */
      -    define = function (name, deps, callback) {
      -        var node, context;
      -
      -        //Allow for anonymous modules
      -        if (typeof name !== 'string') {
      -            //Adjust args appropriately
      -            callback = deps;
      -            deps = name;
      -            name = null;
      -        }
      -
      -        //This module may not have dependencies
      -        if (!isArray(deps)) {
      -            callback = deps;
      -            deps = null;
      -        }
      -
      -        //If no name, and callback is a function, then figure out if it a
      -        //CommonJS thing with dependencies.
      -        if (!deps && isFunction(callback)) {
      -            deps = [];
      -            //Remove comments from the callback string,
      -            //look for require calls, and pull them into the dependencies,
      -            //but only if there are function args.
      -            if (callback.length) {
      -                callback
      -                    .toString()
      -                    .replace(commentRegExp, '')
      -                    .replace(cjsRequireRegExp, function (match, dep) {
      -                        deps.push(dep);
      -                    });
      -
      -                //May be a CommonJS thing even without require calls, but still
      -                //could use exports, and module. Avoid doing exports and module
      -                //work though if it just needs require.
      -                //REQUIRES the function to expect the CommonJS variables in the
      -                //order listed below.
      -                deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps);
      -            }
      -        }
      -
      -        //If in IE 6-8 and hit an anonymous define() call, do the interactive
      -        //work.
      -        if (useInteractive) {
      -            node = currentlyAddingScript || getInteractiveScript();
      -            if (node) {
      -                if (!name) {
      -                    name = node.getAttribute('data-requiremodule');
      -                }
      -                context = contexts[node.getAttribute('data-requirecontext')];
      -            }
      -        }
      -
      -        //Always save off evaluating the def call until the script onload handler.
      -        //This allows multiple modules to be in a file without prematurely
      -        //tracing dependencies, and allows for anonymous module support,
      -        //where the module name is not known until the script onload event
      -        //occurs. If no context, use the global queue, and get it processed
      -        //in the onscript load callback.
      -        (context ? context.defQueue : globalDefQueue).push([name, deps, callback]);
      -    };
      -
      -    define.amd = {
      -        jQuery: true
      -    };
      -
      -
      -    /**
      -     * Executes the text. Normally just uses eval, but can be modified
      -     * to use a better, environment-specific call. Only used for transpiling
      -     * loader plugins, not for plain JS modules.
      -     * @param {String} text the text to execute/evaluate.
      -     */
      -    req.exec = function (text) {
      -        /*jslint evil: true */
      -        return eval(text);
      -    };
      -
      -    //Set up with config info.
      -    req(cfg);
      -}(this));
      -;
      -/**
      - * jQuery JavaScript Library v1.9.1
      - * <pre>http://jquery.com/
      - *
      - * Includes Sizzle.js
      - * http://sizzlejs.com/
      - *
      - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
      - * Released under the MIT license
      - * http://jquery.org/license
      - * Date: 2013-2-4</pre>
      - * @class jQuery
      - * @namespace   window
      - * @global
      - */
      -
      -(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,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%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},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(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;
      -return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&&gt(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._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++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.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)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l)
      -}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.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(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JC.BaseMVC_0.1_BaseMVC.js.html b/docs_api/files/.._modules_JC.BaseMVC_0.1_BaseMVC.js.html deleted file mode 100644 index 67b3260c..00000000 --- a/docs_api/files/.._modules_JC.BaseMVC_0.1_BaseMVC.js.html +++ /dev/null @@ -1,705 +0,0 @@ - - - - - ../modules/JC.BaseMVC/0.1/BaseMVC.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JC.BaseMVC/0.1/BaseMVC.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.common' ], function(){
      -    window.BaseMVC = JC.BaseMVC = BaseMVC;
      -    /**
      -     * MVC 抽象类 ( <b>仅供扩展用, 这个类不能实例化</b>)
      -     * <p><b>require</b>: 
      -     *      <a href='window.jQuery.html'>jQuery</a>
      -     *      , <a href='JC.common.html'>JC.common</a>
      -     * </p>
      -     * <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      -     * | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.BaseMVC.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JC.BaseMVC/0.1/_demo' target='_blank'>demo link</a></p>
      -     * @namespace   JC
      -     * @class       BaseMVC
      -     * @constructor
      -     * @param   {selector|string}   _selector   
      -     * @version dev 0.1 2013-09-07
      -     * @author  qiushaowei   <suches@btbtd.org> | 75 Team
      -     */
      -    function BaseMVC( _selector ){
      -        throw new Error( "JC.BaseMVC is an abstract class, can't initialize!" );
      -
      -        if( BaseMVC.getInstance( _selector ) ) return BaseMVC.getInstance( _selector );
      -        BaseMVC.getInstance( _selector, this );
      -
      -        this._model = new BaseMVC.Model( _selector );
      -        this._view = new BaseMVC.View( this._model );
      -
      -        this._init( );
      -    }
      -    
      -    BaseMVC.prototype = {
      -        /**
      -         * 内部初始化方法
      -         * @method  _init
      -         * @param   {selector}  _selector
      -         * @private
      -         */
      -        _init:
      -            function(){
      -                var _p = this;
      -
      -                $( [ _p._view, _p._model ] ).on('BindEvent', function( _evt, _evtName, _cb ){
      -                    _p.on( _evtName, _cb );
      -                });
      -
      -                $([ _p._view, _p._model ] ).on('TriggerEvent', function( _evt, _evtName ){
      -                    var _data = JC.f.sliceArgs( arguments ).slice( 2 );
      -                    _p.trigger( _evtName, _data );
      -                });
      -
      -                _p._beforeInit();
      -                _p._initHanlderEvent();
      -
      -                _p._model.init();
      -                _p._view && _p._view.init();
      -
      -                _p._inited();
      -
      -                return _p;
      -            }    
      -        /**
      -         * 初始化之前调用的方法
      -         * @method  _beforeInit
      -         * @private
      -         */
      -        , _beforeInit:
      -            function(){
      -            }
      -        /**
      -         * 内部事件初始化方法
      -         * @method  _initHanlderEvent
      -         * @private
      -         */
      -        , _initHanlderEvent:
      -            function(){
      -            }
      -        /**
      -         * 内部初始化完毕时, 调用的方法
      -         * @method  _inited
      -         * @private
      -         */
      -        , _inited:
      -            function(){
      -            }
      -        /**
      -         * 获取 显示 BaseMVC 的触发源选择器, 比如 a 标签
      -         * @method  selector
      -         * @return  selector
      -         */ 
      -        , selector: function(){ return this._model.selector(); }
      -        /**
      -         * 使用 jquery on 绑定事件
      -         * @method  {string}    on
      -         * @param   {string}    _evtName
      -         * @param   {function}  _cb
      -         * @return  BaseMVCInstance
      -         */
      -        , on: function( _evtName, _cb ){ $(this).on(_evtName, _cb ); return this;}
      -        /**
      -         * 使用 jquery trigger 触发绑定事件
      -         * @method  {string}    trigger
      -         * @param   {string}    _evtName
      -         * @return  BaseMVCInstance
      -         */
      -        , trigger: function( _evtName, _data ){ $(this).trigger( _evtName, _data ); return this;}
      -    }
      -    /**
      -     * 获取或设置组件实例
      -     * @method  getInstance
      -     * @param   {selector}      _selector
      -     * @param   {Class}         _staticClass
      -     * @param   {ClassInstance} _classInstance
      -     * @static
      -     * @return  {ClassInstance | null}
      -     */
      -    BaseMVC.getInstance =
      -        function( _selector, _staticClass, _classInstance ){
      -            typeof _selector == 'string' 
      -                && !/</.test( _selector ) 
      -                && ( _selector = $(_selector) )
      -                ;
      -
      -            if( !(_selector && _selector.length ) || ( typeof _selector == 'string' ) ) return null;
      -
      -            _staticClass.Model._instanceName = _staticClass.Model._instanceName || 'CommonIns';
      -
      -            typeof _classInstance != 'undefined' 
      -                && _selector.data( _staticClass.Model._instanceName, _classInstance );
      -
      -            return _selector.data( _staticClass.Model._instanceName);
      -        };
      -    /**
      -     * 是否自动初始化
      -     * @property    autoInit
      -     * @type        bool
      -     * @default     true
      -     * @static
      -     */
      -    BaseMVC.autoInit = true;
      -    /**
      -     * 复制 BaseMVC 的所有方法到 _outClass
      -     * @method  build
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    BaseMVC.build =
      -        function( _outClass, _srcClass ){
      -            _srcClass = _srcClass || BaseMVC;
      -            typeof _srcClass == 'string' && ( _srcClass = BaseMVC );
      -
      -            BaseMVC.buildModel( _outClass );
      -            BaseMVC.buildView( _outClass );
      -
      -            BaseMVC.buildClass( _srcClass, _outClass );
      -            _srcClass.Model && BaseMVC.buildClass( _srcClass.Model, _outClass.Model );
      -            _srcClass.View && BaseMVC.buildClass( _srcClass.View, _outClass.View );
      -        };
      -    /**
      -     * 复制 _inClass 的所有方法到 _outClass
      -     * @method  buildClass
      -     * @param   {Class}     _inClass
      -     * @param   {Class}     _outClass
      -     * @static
      -     */
      -    BaseMVC.buildClass = 
      -        function( _inClass, _outClass ){
      -            if( !( _inClass && _outClass ) ) return;
      -            var _k
      -                , _fStr, _tmp
      -                ;
      -
      -            if( _outClass ){
      -                for( _k in _inClass ){ 
      -                    if( !_outClass[_k] ){
      -                        //ignore static function
      -                        if( _inClass[_k].constructor == Function ){
      -                        }else{//clone static property
      -                            _outClass[_k] = _inClass[_k];
      -                        }
      -                    }
      -                }
      -
      -                for( _k in _inClass.prototype ) 
      -                    !_outClass.prototype[_k] && ( _outClass.prototype[_k] = _inClass.prototype[_k] );
      -            }
      -        };
      -    /**
      -     * 为 _outClass 生成一个通用 Model 类
      -     * @method  buildModel
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    BaseMVC.buildModel =
      -        function( _outClass ){
      -            !_outClass.Model && ( 
      -                        _outClass.Model = function( _selector ){ this._selector = _selector; }
      -                        , _outClass.Model._instanceName = 'CommonIns'
      -                    );
      -        }
      -    /**
      -     * 为 _outClass 生成一个通用 View 类
      -     * @method  buildView
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    BaseMVC.buildView =
      -        function( _outClass ){
      -            !_outClass.View && ( _outClass.View = function( _model ){ this._model = _model; } );
      -        }
      -    /**
      -     * 初始化 BaseMVC Model 类 和 View 类
      -     */
      -    BaseMVC.buildModel( BaseMVC );
      -    BaseMVC.buildView( BaseMVC );
      -    /**
      -     * MVC Model 类( <b>仅供扩展用</b> )
      -     * <br />这个类默认已经包含在lib.js里面, 不需要显式引用
      -     * <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      -     * | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.BaseMVC.Model.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JC.BaseMVC/0.1/_demo' target='_blank'>demo link</a></p>
      -     * <p><b>see also</b>: <a href='JC.BaseMVC.html'>JC.BaseMVC</a></p>
      -     * @namespace JC
      -     * @class BaseMVC.Model
      -     * @constructor
      -     * @param   {selector|string}   _selector   
      -     * @version dev 0.1 2013-09-11
      -     * @author  qiushaowei   <suches@btbtd.org> | 75 Team
      -     */
      -    //BaseMVC.buildModel( BaseMVC );
      -    /**
      -     * 设置 selector 实例引用的 data 属性名
      -     * @property    _instanceName
      -     * @type        string
      -     * @default     BaseMVCIns
      -     * @private
      -     * @static
      -     */
      -    BaseMVC.Model._instanceName = 'BaseMVCIns';
      -    JC.f.extendObject( BaseMVC.Model.prototype, {
      -        init:
      -            function(){
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery on 为 controler 绑定事件
      -         * @method  {string}    on
      -         * @param   {string}    _evtName
      -         * @param   {function}  _cb
      -         */
      -        , on:
      -            function(){
      -                $( this ).trigger( 'BindEvent', JC.f.sliceArgs( arguments ) );
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery trigger 触发 controler 绑定事件
      -         * @method  {string}    trigger
      -         * @param   {string}    _evtName
      -         */
      -        , trigger:
      -            function( _evtName, _args ){
      -                _args = _args || [];
      -                _args.unshift( _evtName );
      -                $( this ).trigger( 'TriggerEvent', _args );
      -                return this;
      -            }
      -        /**
      -         * 初始化的 jq 选择器
      -         * @method  selector
      -         * @param   {selector}  _setter
      -         * @return  selector
      -         */
      -        , selector: 
      -            function( _setter ){ 
      -                typeof _setter != 'undefined' && ( this._selector = _setter );
      -                return this._selector; 
      -            }
      -        /**
      -         * 读取 int 属性的值
      -         * @method  intProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  int
      -         */
      -        , intProp:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r = 0;
      -                _selector 
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = parseInt( _selector.attr( _key ).trim(), 10 ) || _r );
      -                return _r;
      -            }
      -        /**
      -         * 读取 float 属性的值
      -         * @method  floatProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  float
      -         */
      -        , floatProp:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r = 0;
      -                _selector 
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = parseFloat( _selector.attr( _key ).trim() ) || _r );
      -                return _r;
      -            }
      -        /**
      -         * 读取 string 属性的值
      -         * @method  stringProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  string
      -         */
      -        , stringProp:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r = ( this.attrProp( _selector, _key ) || '' ).toLowerCase();
      -                return _r;
      -            }
      -        /**
      -         * 读取 html 属性值
      -         * <br />这个跟 stringProp 的区别是不会强制转换为小写
      -         * @method  attrProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  string
      -         */
      -        , attrProp:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r = '';
      -                _selector
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = _selector.attr( _key ).trim() );
      -                return _r;
      -            }
      -
      -        /**
      -         * 读取 boolean 属性的值
      -         * @method  boolProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string|bool}       _key
      -         * @param   {bool}              _defalut
      -         * @return  {bool|undefined}
      -         */
      -        , boolProp:
      -            function( _selector, _key, _defalut ){
      -                if( typeof _key == 'boolean' ){
      -                    _defalut = _key;
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r = undefined;
      -                _selector
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = JC.f.parseBool( _selector.attr( _key ).trim() ) );
      -                return _r;
      -            }
      -        /**
      -         * 读取 callback 属性的值
      -         * @method  callbackProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  {function|undefined}
      -         */
      -        , callbackProp:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -                var _r, _tmp;
      -                _selector 
      -                    && _selector.is( '[' + _key + ']' )
      -                    && ( _tmp = window[ _selector.attr( _key ) ] )
      -                    && ( _r = _tmp )
      -                    ;
      -                return _r;
      -            }
      -        /**
      -         * 获取与属性名匹配的 window 变量 
      -         * @method  windowProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  {window variable}
      -         */
      -        , windowProp:
      -            function(){
      -                return this.callbackProp.apply( this, JC.f.sliceArgs( arguments ) );
      -            }
      -        /**
      -         * 获取 selector 属性的 jquery 选择器
      -         * @method  selectorProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  bool
      -         */
      -        , selectorProp:
      -            function( _selector, _key ){
      -                var _r;
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -
      -                _selector
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = JC.f.parentSelector( _selector, _selector.attr( _key ) ) );
      -
      -                return _r;
      -            }
      -        /**
      -         * 获取 脚本模板 jquery 选择器
      -         * @method  scriptTplProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  bool
      -         */
      -        , scriptTplProp:
      -            function( _selector, _key ){
      -                var _r = '', _tmp;
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -
      -                _selector
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _tmp = JC.f.parentSelector( _selector, _selector.attr( _key ) ) )
      -                    && _tmp.length 
      -                    && ( _r = JC.f.scriptContent( _tmp ) );
      -
      -                return _r;
      -            }
      -        /**
      -         * 获取 selector 属性的 json 数据
      -         * @method  jsonProp
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  {json | null}
      -         */
      -        , jsonProp:
      -            function( _selector, _key ){
      -                var _r;
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -
      -                _selector
      -                    && _selector.is( '[' + _key + ']' ) 
      -                    && ( _r = eval( '(' + _selector.attr( _key ) + ')' ) );
      -
      -                return _r;
      -            }
      -
      -        /**
      -         * 判断 _selector 是否具体某种特征
      -         * @method  is
      -         * @param   {selector|string}  _selector    如果 _key 为空将视 _selector 为 _key, _selector 为 this.selector()
      -         * @param   {string}           _key
      -         * @return  bool
      -         */
      -        , is:
      -            function( _selector, _key ){
      -                if( typeof _key == 'undefined' ){
      -                    _key = _selector;
      -                    _selector = this.selector();
      -                }else{
      -                    _selector && ( _selector = $( _selector ) );
      -                }
      -
      -                return _selector && _selector.is( _key );
      -            }
      -    });
      -    
      -    JC.f.extendObject( BaseMVC.View.prototype, {
      -        init:
      -            function() {
      -                return this;
      -            }
      -        , selector:
      -            function(){
      -                return this._model.selector();
      -            }
      -        /**
      -         * 使用 jquery on 为 controler 绑定事件
      -         */
      -        , on:
      -            function(){
      -                $( this ).trigger( 'BindEvent', JC.f.sliceArgs( arguments ) );
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery trigger 触发 controler 绑定事件
      -         */
      -        , trigger:
      -            function( _evtName, _args ){
      -                _args = _args || [];
      -                _args.unshift( _evtName );
      -                $( this ).trigger( 'TriggerEvent', _args );
      -                return this;
      -            }
      -    });
      -
      -    return JC.BaseMVC;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JC.PureMVC_0.1_PureMVC.js.html b/docs_api/files/.._modules_JC.PureMVC_0.1_PureMVC.js.html deleted file mode 100644 index a4e41722..00000000 --- a/docs_api/files/.._modules_JC.PureMVC_0.1_PureMVC.js.html +++ /dev/null @@ -1,414 +0,0 @@ - - - - - ../modules/JC.PureMVC/0.1/PureMVC.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JC.PureMVC/0.1/PureMVC.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.common' ], function(){
      -    JC.PureMVC = PureMVC;
      -    /**
      -     * MVC 抽象类 ( <b>仅供扩展用, 这个类不能实例化</b>)
      -     * <p><b>require</b>: 
      -     *      <a href='JC.common.html'>JC.common</a>
      -     * </p>
      -     * <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      -     * | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.PureMVC.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JC.PureMVC/0.1/_demo' target='_blank'>demo link</a></p>
      -     * @namespace   JC
      -     * @class       PureMVC
      -     * @constructor
      -     * @param   {selector|string}   _selector   
      -     * @version dev 0.1 2014-06-05
      -     * @author  qiushaowei   <suches@btbtd.org> | 75 Team
      -     */
      -    function PureMVC(){
      -        throw new Error( "JC.PureMVC is an abstract class, can't initialize!" );
      -
      -        this._model = new PureMVC.Model();
      -        this._view = new PureMVC.View( this._model );
      -
      -        this._init( );
      -    }
      -    
      -    PureMVC.prototype = {
      -        /**
      -         * 内部初始化方法
      -         * @method  _init
      -         * @param   {selector}  _selector
      -         * @private
      -         */
      -        _init:
      -            function(){
      -                var _p = this;
      -
      -                $( [ _p._view, _p._model ] ).on('BindEvent', function( _evt, _evtName, _cb ){
      -                    _p.on( _evtName, _cb );
      -                });
      -
      -                $([ _p._view, _p._model ] ).on('TriggerEvent', function( _evt, _evtName ){
      -                    var _data = JC.f.sliceArgs( arguments ).slice( 2 );
      -                    _p.trigger( _evtName, _data );
      -                });
      -
      -                _p._beforeInit();
      -                _p._initHanlderEvent();
      -
      -                _p._model.init();
      -                _p._view && _p._view.init();
      -
      -                _p._inited();
      -
      -                return _p;
      -            }    
      -        /**
      -         * 初始化之前调用的方法
      -         * @method  _beforeInit
      -         * @private
      -         */
      -        , _beforeInit:
      -            function(){
      -            }
      -        /**
      -         * 内部事件初始化方法
      -         * @method  _initHanlderEvent
      -         * @private
      -         */
      -        , _initHanlderEvent:
      -            function(){
      -            }
      -        /**
      -         * 内部初始化完毕时, 调用的方法
      -         * @method  _inited
      -         * @private
      -         */
      -        , _inited:
      -            function(){
      -            }
      -        /**
      -         * 使用 jquery on 绑定事件
      -         * @method  {string}    on
      -         * @param   {string}    _evtName
      -         * @param   {function}  _cb
      -         * @return  PureMVCInstance
      -         */
      -        , on: function( _evtName, _cb ){ $(this).on(_evtName, _cb ); return this;}
      -        /**
      -         * 使用 jquery trigger 触发绑定事件
      -         * @method  {string}    trigger
      -         * @param   {string}    _evtName
      -         * @return  PureMVCInstance
      -         */
      -        , trigger: function( _evtName, _data ){ $(this).trigger( _evtName, _data ); return this;}
      -    }
      -    /**
      -     * 复制 PureMVC 的所有方法到 _outClass
      -     * @method  build
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    PureMVC.build =
      -        function( _outClass, _srcClass ){
      -            _srcClass = _srcClass || PureMVC;
      -            typeof _srcClass == 'string' && ( _srcClass = PureMVC );
      -
      -            PureMVC.buildModel( _outClass );
      -            PureMVC.buildView( _outClass );
      -
      -            PureMVC.buildClass( _srcClass, _outClass );
      -            _srcClass.Model && PureMVC.buildClass( _srcClass.Model, _outClass.Model );
      -            _srcClass.View && PureMVC.buildClass( _srcClass.View, _outClass.View );
      -        };
      -    /**
      -     * 复制 _inClass 的所有方法到 _outClass
      -     * @method  buildClass
      -     * @param   {Class}     _inClass
      -     * @param   {Class}     _outClass
      -     * @static
      -     */
      -    PureMVC.buildClass = 
      -        function( _inClass, _outClass ){
      -            if( !( _inClass && _outClass ) ) return;
      -            var _k
      -                , _fStr, _tmp
      -                ;
      -
      -            if( _outClass ){
      -                for( _k in _inClass ){ 
      -                    if( !_outClass[_k] ){
      -                        //ignore static function
      -                        if( _inClass[_k].constructor == Function ){
      -                        }else{//clone static property
      -                            _outClass[_k] = _inClass[_k];
      -                        }
      -                    }
      -                }
      -
      -                for( _k in _inClass.prototype ) 
      -                    !_outClass.prototype[_k] && ( _outClass.prototype[_k] = _inClass.prototype[_k] );
      -            }
      -        };
      -    /**
      -     * 为 _outClass 生成一个通用 Model 类
      -     * @method  buildModel
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    PureMVC.buildModel =
      -        function( _outClass ){
      -            !_outClass.Model && ( 
      -                        _outClass.Model = function(){}
      -                        , _outClass.Model._instanceName = 'CommonIns'
      -                    );
      -        }
      -    /**
      -     * 为 _outClass 生成一个通用 View 类
      -     * @method  buildView
      -     * @param   {Class} _outClass
      -     * @static
      -     */
      -    PureMVC.buildView =
      -        function( _outClass ){
      -            !_outClass.View && ( _outClass.View = function( _model ){ this._model = _model; } );
      -        }
      -    /**
      -     * 初始化 PureMVC Model 类 和 View 类
      -     */
      -    PureMVC.buildModel( PureMVC );
      -    PureMVC.buildView( PureMVC );
      -    /**
      -     * MVC Model 类( <b>仅供扩展用</b> )
      -     * <br />这个类默认已经包含在lib.js里面, 不需要显式引用
      -     * <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      -     * | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.PureMVC.Model.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JC.PureMVC/0.1/_demo' target='_blank'>demo link</a></p>
      -     * <p><b>see also</b>: <a href='JC.PureMVC.html'>JC.PureMVC</a></p>
      -     * @namespace JC
      -     * @class PureMVC.Model
      -     * @constructor
      -     * @param   {selector|string}   _selector   
      -     * @version dev 0.1 2013-09-11
      -     * @author  qiushaowei   <suches@btbtd.org> | 75 Team
      -     */
      -    //PureMVC.buildModel( PureMVC );
      -    /**
      -     * 设置 selector 实例引用的 data 属性名
      -     * @property    _instanceName
      -     * @type        string
      -     * @default     PureMVCIns
      -     * @private
      -     * @static
      -     */
      -    PureMVC.Model._instanceName = 'PureMVCIns';
      -    JC.f.extendObject( PureMVC.Model.prototype, {
      -        init:
      -            function(){
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery on 为 controler 绑定事件
      -         * @method  {string}    on
      -         * @param   {string}    _evtName
      -         * @param   {function}  _cb
      -         */
      -        , on:
      -            function(){
      -                $( this ).trigger( 'BindEvent', JC.f.sliceArgs( arguments ) );
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery trigger 触发 controler 绑定事件
      -         * @method  {string}    trigger
      -         * @param   {string}    _evtName
      -         */
      -        , trigger:
      -            function( _evtName, _args ){
      -                _args = _args || [];
      -                _args.unshift( _evtName );
      -                $( this ).trigger( 'TriggerEvent', _args );
      -                return this;
      -            }
      -    });
      -    
      -    JC.f.extendObject( PureMVC.View.prototype, {
      -        init:
      -            function() {
      -                return this;
      -            }
      -         /**
      -         * 使用 jquery on 为 controler 绑定事件
      -         */
      -        , on:
      -            function(){
      -                $( this ).trigger( 'BindEvent', JC.f.sliceArgs( arguments ) );
      -                return this;
      -            }
      -        /**
      -         * 使用 jquery trigger 触发 controler 绑定事件
      -         */
      -        , trigger:
      -            function( _evtName, _args ){
      -                _args = _args || [];
      -                _args.unshift( _evtName );
      -                $( this ).trigger( 'TriggerEvent', _args );
      -                return this;
      -            }
      -    });
      -
      -    return JC.PureMVC;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JC.common_0.2_common.js.html b/docs_api/files/.._modules_JC.common_0.2_common.js.html deleted file mode 100644 index 7ed0e476..00000000 --- a/docs_api/files/.._modules_JC.common_0.2_common.js.html +++ /dev/null @@ -1,1660 +0,0 @@ - - - - - ../modules/JC.common/0.2/common.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JC.common/0.2/common.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [], function(){
      -    /**
      -     * 如果 console 不可用, 生成一个模拟的 console 对象
      -     */
      -    !window.console && ( window.console = { 
      -        log: function(){ window.status = sliceArgs( arguments ).join(' '); }
      -         , dir: function(){} 
      -    });
      -    /**
      -     * 声明主要命名空间, 方便迁移
      -     */
      -    window.JC = window.JC || {};
      -    JC.log = function(){ JC.debug && console.log( sliceArgs( arguments ).join(' ') ); };
      -    JC.dir = function(){ 
      -        JC.debug && $.each( sliceArgs( arguments ), function( _ix, _item ){ console.dir( _item )} );
      -    };
      -
      -    JC.PATH = JC.PATH || scriptPath();
      -
      -    window.Bizs = window.Bizs || {};
      -    /**
      -     * JC.f 是 JC.common 的别名
      -     * <br />具体使用请见 <a href='JC.common.html'>JC.common</a></p>
      -     * @class JC.f
      -     * @static
      -     */
      -    /**
      -     * JC 组件通用静态方法和属性 ( JC.common, <b>别名: JC.f</b> )
      -     * <br />所有 JC 组件都会依赖这个静态类
      -     * <p><b>require</b>: <a href='window.jQuery.html'>jQuery</a></p>
      -     * <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      -     * | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.common.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JC.common/0.2/_demo/' target='_blank'>demo link</a></p>
      -     * @class JC.common
      -     * @static
      -     * @version dev 0.2 2013-11-06 
      -     * @version dev 0.1 2013-07-04
      -     * @author  qiushaowei   <suches@btbtd.org> | 360 75 Team
      -     */
      -    JC.common = JC.f = {
      -        "addUrlParams": addUrlParams
      -        , "cloneDate": cloneDate
      -        , "dateDetect": dateDetect
      -        , "delUrlParam": delUrlParam
      -        , "delUrlParams": delUrlParams
      -        , "easyEffect": easyEffect
      -        , "filterXSS": filterXSS
      -        , "formatISODate": formatISODate
      -        , "funcName": funcName
      -        , "getJqParent": getJqParent
      -
      -        , "getUrlParam": getUrlParam
      -        , "getUrlParams": getUrlParams
      -        , "hasUrlParam": hasUrlParam
      -        , 'urlHostName': urlHostName
      -        , "httpRequire": httpRequire
      -        , "isSameDay": isSameDay
      -        , "isSameWeek": isSameWeek
      -        , "isSameMonth": isSameMonth
      -        , "isSameSeason": isSameSeason
      -        , "isSameYear": isSameYear
      -        , "weekOfYear": weekOfYear
      -        , "seasonOfYear": seasonOfYear
      -        , "jcAutoInitComps": jcAutoInitComps
      -
      -        , "maxDayOfMonth": maxDayOfMonth
      -        , "mousewheelEvent": mousewheelEvent
      -        , "padChar": padChar
      -        , "parentSelector": parentSelector
      -        , "parseBool": parseBool
      -        , "parseFinance": parseFinance
      -        , "parseISODate": parseISODate
      -        , "parseDate": parseDate
      -        , "printf": printf
      -        , "printKey": printKey
      -        , "cloneObject": cloneObject
      -
      -        , "pureDate": pureDate
      -        , "reloadPage": reloadPage
      -        , "removeUrlSharp": removeUrlSharp
      -        , "relativePath": relativePath
      -        , "scriptContent": scriptContent
      -        , "scriptPath": scriptPath
      -        , "sliceArgs": sliceArgs
      -        , "urlDetect": urlDetect
      -        , "moneyFormat": moneyFormat
      -        , "dateFormat": dateFormat
      -        , "extendObject": extendObject
      -        , "safeTimeout": safeTimeout
      -        , "encoder": encoder
      -        , "fixPath": fixPath
      -        , "arrayId": arrayId
      -        , "docSize": docSize
      -
      -        /**
      -         * 判断 JC.common 是否需要向后兼容, 如果需要的话, 向 window 添加全局静态函数
      -         */
      -        , "backward":
      -            function( _setter ){
      -                if( window.JC_BACKWARD || _setter ){
      -                    for( var k in JC.common ){
      -                        if( k == 'backward' ) continue;
      -                        window[ k ] = window[ k ] || JC.common[ k ];
      -                    }
      -                }
      -            }
      -        , "has_url_param": hasUrlParam
      -        , "add_url_params": addUrlParams
      -        , "get_url_param": getUrlParam
      -        , "del_url_param": delUrlParam
      -        , "reload_page": reloadPage
      -        , "parse_finance_num": parseFinance
      -        , "pad_char_f": padChar
      -        , "script_path_f": scriptPath
      -        , "ts": function(){ return new Date().getTime(); }
      -    };
      -    JC.f.backward();
      -    /**
      -     * jquery 1.9.1 默认 string 没有 trim 方法, 这里对 string 原型添加一个默认的 trim 方法
      -     */
      -    !String.prototype.trim && ( String.prototype.trim = function(){ return $.trim( this ); } );
      -    /**
      -     * 兼容 低版本 ie Array 的 indexOf 方法
      -     */
      -    !Array.prototype.indexOf 
      -        && ( Array.prototype.indexOf =
      -            function( _v ){
      -                var _r = -1;
      -                $.each( this, function( _ix, _item ){
      -                    if( _item == _v ){
      -                        _r = _ix;
      -                        return false;
      -                    }
      -                });
      -                return _r;
      -            });
      -    /**
      -     * 全局 css z-index 控制属性
      -     * <br /> <b>注意</b>: 这个变量是 window.ZINDEX_COUNT
      -     * @property    ZINDEX_COUNT
      -     * @type        int
      -     * @default     50001
      -     * @static
      -     */
      -    window.ZINDEX_COUNT = window.ZINDEX_COUNT || 50001;
      -
      -    function fixPath( _url ){
      -        if( /\\/.test( _url ) ){
      -            _url = _url.replace( /[\\]+/g, '\\' );
      -        }else{
      -            _url = _url.replace( /[\/]+/g, '/' );
      -        }
      -        return _url;
      -    }
      -    /**
      -     * 一维数组去重
      -     * @method  arrayId
      -     * @param   {Array}     _ar
      -     * @return Array
      -     * @static
      -     */
      -    function arrayId( _ar ){
      -        var _r = [], _k = {};
      -        
      -        for( var i = 0, j = _ar.length; i < j; i++ ){
      -            if( !(_ar[i] in _k) ){
      -                _r.push( _ar[i] );
      -                _k[ _ar[i] ] = _ar[i];
      -            }
      -        }
      -        
      -        return _r;
      -    }
      -    /**
      -     * 把函数的参数转为数组
      -     * @method  sliceArgs
      -     * @param   {arguments}     args
      -     * @return Array
      -     * @static
      -     */
      -    function sliceArgs( _arg ){
      -        var _r = [], _i, _len;
      -        for( _i = 0, _len = _arg.length; _i < _len; _i++){
      -            _r.push( _arg[_i] );
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 取 URL 的 host name
      -     * @method  urlHostName
      -     * @param   {string}    _url
      -     * @return  string
      -     * @static
      -     */
      -    function urlHostName( _url ){
      -        var _r = '', _url = _url || location.href;
      -        if( /\:\/\//.test( _url ) ){
      -            _url.replace( /^.*?\:\/\/([^\/]+)/, function( $0, $1 ){
      -                _r = $1;
      -            });
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 把 URL 相对路径 转换为 绝对路径
      -     * @method  relativePath
      -     * @param   {string}    _path
      -     * @param   {string}    _url
      -     * @return  string
      -     * @static
      -     */
      -    function relativePath( _path, _url ){
      -        _url = _url || document.URL;
      -        _url = _url.replace(/^.*?\:\/\/[^\/]+/, "").replace(/[^\/]+$/, "");
      -        if(!_path){return _url;}  
      -        if(!/\/$/.test(_url)){_url += "/";}
      -
      -        if(/(^\.\.\/|^\.\/)/.test(_path)){
      -            var Re = new RegExp("^\\.\\.\\/"), iCount = 0;    
      -            while(Re.exec(_path)!=null){
      -                _path = _path.replace(Re, "");
      -                iCount++;
      -            }       
      -            for(var i=0; i<iCount; i++){_url = _url.replace(/[^\/]+\/$/, "");}    
      -            if(_url=="") return "/";  
      -            _path = _path.replace(/^\.\//, ""); 
      -            _path.replace( /\/\/$/, '/' );
      -            return _url+_path;
      -        }   
      -        return _path;
      -    }
      -     /**
      -     * 按格式输出字符串
      -     * @method printf
      -     * @static
      -     * @param   {string}    _str
      -     * @return  string
      -     * @example
      -     *      printf( 'asdfasdf{0}sdfasdf{1}', '000', 1111 );
      -     *      //return asdfasdf000sdfasdf1111
      -     */
      -    function printf( _str ){
      -        for(var i = 1, _len = arguments.length; i < _len; i++){
      -            _str = _str.replace( new RegExp('\\{'+( i - 1 )+'\\}', 'g'), arguments[i] );
      -        }
      -        return _str;
      -    }
      -     /**
      -     * 按格式输出字符串
      -     * @method printKey
      -     * @static
      -     * @param   {string}    _str
      -     * @param   {object}    _keys
      -     * @return  string
      -     * @example
      -     *      JC.f.printKey( 'asdfasdf{key1}sdfasdf{key2},{0}', { 'key1': '000', 'key2': 1111, '0': 222 );
      -     *      //return asdfasdf000sdfasdf1111,222
      -     */
      -    function printKey( _str, _keys ){
      -        for( var k in _keys ){
      -            _str = _str.replace( new RegExp('\\{'+( k )+'\\}', 'g'), _keys[k] );
      -        }
      -        return _str;
      -    }
      -
      -    /**
      -     * 判断URL中是否有某个get参数
      -     * @method  hasUrlParam
      -     * @param   {string}    _url
      -     * @param   {string}    _key
      -     * @return  bool
      -     * @static
      -     * @example
      -     *      var bool = hasUrlParam( 'getkey' );
      -     */
      -    function hasUrlParam( _url, _key ){
      -        var _r = false;
      -        if( !_key ){ _key = _url; _url = location.href; }
      -        if( /\?/.test( _url ) ){
      -            _url = _url.split( '?' ); _url = _url[ _url.length - 1 ];
      -            _url = _url.split('&');
      -            for( var i = 0, j = _url.length; i < j; i++ ){
      -                if( _url[i].split('=')[0].toLowerCase() == _key.toLowerCase() ){ _r = true; break; };
      -            }
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 添加URL参数
      -     * <br /><b>require:</b> delUrlParam, filterXSS
      -     * @method  addUrlParams
      -     * @param   {string}    _url
      -     * @param   {object}    _params
      -     * @return  string
      -     * @static
      -     * @example
      -            var url = addUrlParams( location.href, {'key1': 'key1value', 'key2': 'key2value' } );
      -     */ 
      -    function addUrlParams( _url, _params ){
      -        var sharp = '';
      -        !_params && ( _params = _url, _url = location.href );
      -        _url.indexOf('#') > -1 && ( sharp = _url.split('#')[1], _url = _url.split('#')[0] );
      -        for( var k in _params ){
      -            _url = delUrlParam(_url, k);
      -            _url.indexOf('?') > -1 
      -                ? _url += '&' + k +'=' + _params[k]
      -                : _url += '?' + k +'=' + _params[k];
      -        }
      -        sharp && ( _url += '#' + sharp );
      -        _url = filterXSS( _url.replace(/\?\&/g, '?' ) );
      -        return _url;   
      -
      -    }
      -    /**
      -     * xss 过滤函数
      -     * @method filterXSS
      -     * @param   {string}    _s
      -     * @return string
      -     * @static
      -     */
      -    function filterXSS( _s ){
      -        _s && (
      -            _s = _s
      -                    .replace( /</g, '&lt;' )
      -                    .replace( />/g, '&gt;' )
      -        );
      -        return _s;
      -    }
      -    /**
      -     * 取URL参数的值
      -     * <br /><b>require:</b> filterXSS
      -     * @method  getUrlParam
      -     * @param   {string}    _url
      -     * @param   {string}    _key
      -     * @return  string
      -     * @static
      -     * @example
      -            var defaultTag = getUrlParam(location.href, 'tag');  
      -     */ 
      -    function getUrlParam( _url, _key ){
      -        var _r = '', _ar, i, _items;
      -        !_key && ( _key = _url, _url = location.href );
      -        _url.indexOf('#') > -1 && ( _url = _url.split('#')[0] );
      -        if( _url.indexOf('?') > -1 ){
      -            _ar = _url.split('?')[1].split('&');
      -            for( i = 0; i < _ar.length; i++ ){
      -                _items = _ar[i].split('=');
      -                _items[0] = decodeURIComponent( _items[0] || '' ).replace(/^\s+|\s+$/g, '');
      -                if( _items[0].toLowerCase() == _key.toLowerCase() ){
      -                    _r = filterXSS( _items[1] || '' );
      -                    break;
      -                } 
      -            }
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 取URL参数的值, 这个方法返回数组
      -     * <br />与 getUrlParam 的区别是可以获取 checkbox 的所有值
      -     * <br /><b>require:</b> filterXSS
      -     * @method  getUrlParams
      -     * @param   {string}    _url
      -     * @param   {string}    _key
      -     * @return  Array
      -     * @static
      -     * @example
      -            var params = getUrlParams(location.href, 'tag');  
      -     */ 
      -    function getUrlParams( _url, _key ){
      -        var _r = [], _params, i, j, _items;
      -        !_key && ( _key = _url, _url = location.href );
      -        _url = _url.replace(/[\?]+/g, '?').split('?');
      -        if( _url.length > 1 ){
      -            _url = _url[1];
      -            _params = _url.split('&');
      -            if( _params.length ){
      -                for( i = 0, j = _params.length; i < j; i++ ){
      -                    _items = _params[i].split('=');
      -                    _items[0] = decodeURIComponent( _items[0] ) || '';
      -                    if( _items[0].trim() == _key ){
      -                        _r.push( filterXSS( _items[1] || '' ) );
      -                    }
      -                }
      -            }
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 删除URL参数
      -     * <br /><b>require:</b> filterXSS
      -     * @method  delUrlParam
      -     * @param  {string}    _url
      -     * @param  {string}    _key
      -     * @return  string
      -     * @static
      -     * @example
      -            var url = delUrlParam( location.href, 'tag' );
      -     */ 
      -    function delUrlParam( _url, _key ){
      -        var sharp = '', params, tmpParams = [], i, item;
      -        !_key && ( _key = _url, _url = location.href );
      -        _url.indexOf('#') > -1 && ( sharp = _url.split('#')[1], _url = _url.split('#')[0] );
      -        if( _url.indexOf('?') > -1 ){
      -            params = _url.split('?')[1].split('&');
      -            _url = _url.split('?')[0];
      -            for( i = 0; i < params.length; i++ ){
      -                var items = params[i].split('=');
      -                items[0] = items[0].replace(/^\s+|\s+$/g, '');
      -                if( items[0].toLowerCase() == _key.toLowerCase() ) continue;
      -                tmpParams.push( items.join('=') )
      -            }
      -            _url += '?' + tmpParams.join('&');
      -        }
      -        sharp && ( _url += '#' + sharp );
      -       _url = filterXSS( _url );
      -        return _url;
      -    }
      -    /**
      -     * 批量删除URL参数
      -     * <br /><b>require:</b> delUrlParam
      -     * @method  delUrlParams
      -     * @param  {string}    _url
      -     * @param  {Array}    _keys
      -     * @return  string
      -     * @static
      -     * @example
      -            var url = delUrlParam( location.href, [ 'k1', 'k2' ] );
      -     */ 
      -    function delUrlParams( _url, _keys ){
      -        !_keys && ( _keys = _url, _url = location.href );
      -        for( var k in _keys ) _url = delUrlParam( _url, _keys[ k ] );
      -        return _url;
      -    }
      -    /**
      -     * 提示需要 HTTP 环境
      -     * @method  httpRequire
      -     * @static
      -     * @param  {string}  _msg   要提示的文字, 默认 "本示例需要HTTP环境'
      -     * @return  bool     如果是HTTP环境返回true, 否则返回false
      -     */
      -    function httpRequire( _msg ){
      -        _msg = _msg || '本示例需要HTTP环境';
      -        if( /file\:|\\/.test( location.href ) ){
      -            alert( _msg );
      -            return false;
      -        }
      -        return true;
      -    }
      -    /**
      -     * 删除 URL 的锚点
      -     * <br /><b>require:</b> addUrlParams, filterXSS
      -     * @method removeUrlSharp
      -     * @static
      -     * @param   {string}    _url
      -     * @param   {bool}      _nornd      是否不添加随机参数
      -     * @param   {string}    _rndName
      -     * @return  string
      -     */
      -    function removeUrlSharp( _url, _nornd, _rndName ){   
      -        !_url && ( _url = location.href );
      -        _url = _url.replace(/\#[\s\S]*/, '');
      -        _rndName = _rndName || 'rnd';
      -        var _rndO;
      -        !_nornd && ( _rndO = {}
      -                        , _rndO[ _rndName ] = new Date().getTime()
      -                        , _url = addUrlParams( _url, _rndO ) 
      -        );
      -        _url = filterXSS( _url );
      -        return _url;
      -    }
      -    /**
      -     * 重载页面
      -     * <br /><b>require:</b> removeUrlSharp, addUrlParams, filterXSS
      -     * @method reloadPage
      -     * @static
      -     * @param   {string}    _url
      -     * @param   {bool}      _nornd
      -     * @param   {int}       _delayms
      -     */ 
      -    function reloadPage( _url, _nornd, _delayMs  ){
      -        _delayMs = _delayMs || 0;
      -
      -        _url = removeUrlSharp( _url || location.href, _nornd );
      -        !_nornd && ( _url = addUrlParams( _url, { 'rnd': new Date().getTime() } ) );
      -        _url = filterXSS( _url );
      -
      -        setTimeout( function(){
      -            location.href = _url;
      -        }, _delayMs);
      -        return _url;
      -    }
      -    /**
      -     * 取小数点的N位
      -     * <br />JS 解析 浮点数的时候,经常出现各种不可预知情况,这个函数就是为了解决这个问题
      -     * @method  parseFinance
      -     * @static
      -     * @param   {number}    _i
      -     * @param   {int}       _dot, default = 2
      -     * @return  number
      -     */
      -    function parseFinance( _i, _dot ){
      -        _i = parseFloat( _i ) || 0;
      -        typeof _dot == 'undefined' && ( _dot = 2 );
      -        _i && ( _i = parseFloat( _i.toFixed( _dot ) ) );
      -        return _i;
      -    }
      -    /**
      -     * js 附加字串函数
      -     * @method  padChar
      -     * @static
      -     * @param   {string}    _str
      -     * @param   {intl}      _len
      -     * @param   {string}    _char
      -     * @return  string
      -     */
      -    function padChar( _str, _len, _char ){
      -        _len  = _len || 2; _char = _char || "0"; 
      -        _str += '';
      -        if( _str.length >_str ) return _str;
      -        _str = new Array( _len + 1 ).join( _char ) + _str
      -        return _str.slice( _str.length - _len );
      -    }
      -    /**
      -     * 格式化日期为 YYYY-mm-dd 格式
      -     * <br /><b>require</b>: pad\_char\_f
      -     * @method  formatISODate
      -     * @static
      -     * @param   {date}                  _date       要格式化日期的日期对象
      -     * @param   {string|undefined}      _split      定义年月日的分隔符, 默认为 '-'
      -     * @return  string
      -     *
      -     */
      -    function formatISODate( _date, _split ){
      -        _date = _date || new Date(); typeof _split == 'undefined' && ( _split = '-' );
      -        return [ _date.getFullYear(), padChar( _date.getMonth() + 1 ), padChar( _date.getDate() ) ].join(_split);
      -    }
      -    /**
      -     * 从 ISODate 字符串解析日期对象
      -     * @method  parseISODate
      -     * @static
      -     * @param   {string}    _datestr
      -     * @return  date
      -     */
      -    function parseISODate( _datestr ){
      -        if( !_datestr ) return;
      -        _datestr = _datestr.replace( /[^\d]+/g, '');
      -        var _r;
      -        if( _datestr.length === 8 ){
      -            _r = new Date( _datestr.slice( 0, 4 )
      -                            , parseInt( _datestr.slice( 4, 6 ), 10 ) - 1
      -                            , parseInt( _datestr.slice( 6 ), 10 ) );
      -        }else if( _datestr.length === 6 ){
      -            _r = new Date( _datestr.slice( 0, 4 )
      -                            , parseInt( _datestr.slice( 4, 6 ), 10 ) - 1
      -                            , 1 );
      -        }
      -
      -        return _r;
      -    }
      -    /**
      -     * 从日期字符串解析日期对象
      -     * <br />兼容 JC.Calendar 日期格式
      -     * @method  parseDate
      -     * @param   {date}      _date
      -     * @param   {selector}  _selector   如果 _selector 为真, 则尝试从 _selector 的 html 属性 dateParse 对日期进行格式化
      -     * @param   {boolean}   _forceISO   是否强制转换为ISO日期
      -     * @return  {date|null}
      -     * @static
      -     */
      -    function parseDate( _date, _selector, _forceISO ){
      -        if( !_date ) return null;
      -        var _parse = parseISODate;
      -            
      -        _selector && !_forceISO
      -            && ( _selector = $( _selector ) ).length
      -            && _selector.attr( 'dateParse' )
      -            && ( _parse = window[ _selector.attr( 'dateParse' ) ] || _parse )
      -            ;
      -        _date = _parse( _date );
      -        _date && _date.start && ( _date = _date.start );
      -        return _date;
      -    }
      -
      -    /**
      -     * 获取不带 时分秒的 日期对象
      -     * @method  pureDate
      -     * @param   {Date}  _d   可选参数, 如果为空 = new Date
      -     * @return  Date
      -     */
      -    function pureDate( _d ){
      -        var _r;
      -        _d = _d || new Date();
      -        _r = new Date( _d.getFullYear(), _d.getMonth(), _d.getDate() );
      -        return _r;
      -    }
      -    /**
      -    * 克隆日期对象
      -    * @method  cloneDate
      -    * @static
      -    * @param   {Date}  _date   需要克隆的日期
      -    * @return  {Date}  需要克隆的日期对象
      -    */
      -    function cloneDate( _date ){ var d = new Date(); d.setTime( _date.getTime() ); return d; }
      -    /**
      -     * 判断两个日期是否为同一天
      -     * @method  isSameDay
      -     * @static
      -     * @param   {Date}  _d1     需要判断的日期1
      -     * @param   {Date}  _d2     需要判断的日期2
      -     * @return {bool}
      -     */
      -    function isSameDay( _d1, _d2 ){
      -        return [_d1.getFullYear(), _d1.getMonth(), _d1.getDate()].join() === [
      -                _d2.getFullYear(), _d2.getMonth(), _d2.getDate()].join()
      -    }
      -    /**
      -     * 判断两个日期是否为同一月份
      -     * @method  isSameMonth
      -     * @static
      -     * @param   {Date}  _d1     需要判断的日期1
      -     * @param   {Date}  _d2     需要判断的日期2
      -     * @return {bool}
      -     */
      -    function isSameMonth( _d1, _d2 ){
      -        return [_d1.getFullYear(), _d1.getMonth()].join() === [
      -                _d2.getFullYear(), _d2.getMonth()].join()
      -    }
      -
      -    /**
      -     * 判断两个日期是否为同一季度
      -     * @method  isSameWeek
      -     * @static
      -     * @param   {Date}  _d1     需要判断的日期1
      -     * @param   {Date}  _d2     需要判断的日期2
      -     * @return {bool}
      -     */
      -    function isSameWeek( _d1, _d2 ){
      -        var _weeks = [],
      -            _r = false,
      -            i = 0,
      -            l;
      -
      -        _weeks = weekOfYear(_d1.getFullYear());
      -        
      -        _d1 = _d1.getTime();
      -        _d2 = _d2.getTime();
      -
      -        for ( i = 0, l = _weeks.length; i < l; i++ ) {
      -            if ( (_d1 >= _weeks[i].start && _d1 <= _weeks[i].end) 
      -                && ( _d2 >= _weeks[i].start && _d2 <= _weeks[i].end ) 
      -                ) {
      -                console.log(i, _d1, _weeks[i]);
      -                return true;
      -            }  
      -        }
      -
      -        return _r;
      -    }
      -
      -    /**
      -     * 判断两个日期是否为同一季度
      -     * @method  isSameSeason
      -     * @static
      -     * @param   {Date}  _d1     需要判断的日期1
      -     * @param   {Date}  _d2     需要判断的日期2
      -     * @return {bool}
      -     */
      -    function isSameSeason( _d1, _d2 ){
      -        var _seasons = [],
      -            _r = false,
      -            i = 0,
      -            l ;
      -
      -        if ( !isSameYear( _d1, _d2 ) ) {
      -            return false;
      -        }
      -
      -        _seasons = seasonOfYear( _d1.getFullYear() );
      -        _d1 = _d1.getTime();
      -        _d2 = _d2.getTime();
      -        
      -        for (i = 0, l = _seasons.length ; i < l; i++ ) {
      -            if ( (_d1 >= _seasons[i].start && _d1 <= _seasons[i].end) 
      -                && ( _d2 >= _seasons[i].start && _d2 <= _seasons[i].end ) ) {
      -                return true;
      -            }     
      -        }
      -
      -        return _r;
      -    }
      -
      -    /**
      -     * 判断两个日期是否为同一年
      -     * @method  isSameSeason
      -     * @static
      -     * @param   {Date}  _d1     需要判断的日期1
      -     * @param   {Date}  _d2     需要判断的日期2
      -     * @return {bool}
      -     */
      -    function isSameYear( _d1, _d2 ) {
      -        return _d1.getFullYear() === _d2.getFullYear();
      -    }
      -
      -    /**
      -     * 取一年中所有的星期, 及其开始结束日期
      -     * @method  weekOfYear
      -     * @static
      -     * @param   {int}   _year
      -     * @param   {int}   _dayOffset  每周的默认开始为周几, 默认0(周一)
      -     * @return  Array
      -     */
      -    function weekOfYear( _year, _dayOffset ){
      -        var _r = [], _tmp, _count = 1, _dayOffset = _dayOffset || 0
      -            , _year = parseInt( _year, 10 )
      -            , _d = new Date( _year, 0, 1 );
      -        /**
      -         * 元旦开始的第一个星期一开始的一周为政治经济上的第一周
      -         */
      -         _d.getDay() > 1 && _d.setDate( _d.getDate() - _d.getDay() + 7 );
      -
      -         _d.getDay() === 0 && _d.setDate( _d.getDate() + 1 );
      -
      -         _dayOffset > 0 && ( _dayOffset = (new Date( 2000, 1, 2 ) - new Date( 2000, 1, 1 )) * _dayOffset );
      -
      -        while( _d.getFullYear() <= _year ){
      -            _tmp = { 'week': _count++, 'start': null, 'end': null };
      -            _tmp.start = _d.getTime() + _dayOffset;
      -            //_tmp.start = formatISODate(_d);
      -            _d.setDate( _d.getDate() + 6 );
      -            _tmp.end = _d.getTime() + _dayOffset;
      -            //_tmp.end = formatISODate(_d);
      -            _d.setDate( _d.getDate() + 1 );
      -            if( _d.getFullYear() > _year ) {
      -                _d = new Date( _d.getFullYear(), 0, 1 );
      -                if( _d.getDay() < 2 ) break;
      -             }
      -            _r.push( _tmp );
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 取一年中所有的季度, 及其开始结束日期
      -     * @method  seasonOfYear
      -     * @static
      -     * @param   {int}   _year
      -     * @return  Array
      -     */
      -    function seasonOfYear( _year ){
      -        var _r = []
      -            , _year = parseInt( _year, 10 )
      -            ;
      -
      -        _r.push( 
      -                {
      -                    start: pureDate( new Date( _year, 0, 1 ) )
      -                    , end: pureDate( new Date( _year, 2, 31 ) )
      -                    , season: 1
      -                }, {
      -                    start: pureDate( new Date( _year, 3, 1 ) )
      -                    , end: pureDate( new Date( _year, 5, 30 ) )
      -                    , season: 2
      -                }, {
      -                    start: pureDate( new Date( _year, 6, 1 ) )
      -                    , end: pureDate( new Date( _year, 8, 30 ) )
      -                    , season: 3
      -                }, {
      -                    start: pureDate( new Date( _year, 9, 1 ) )
      -                    , end: pureDate( new Date( _year, 11, 31 ) )
      -                    , season: 4
      -                }
      -        );
      -                
      -
      -        return _r;
      -    }
      -
      -
      -    /**
      -     * 取得一个月份中最大的一天
      -     * @method  maxDayOfMonth
      -     * @static
      -     * @param   {Date}  _date
      -     * @return {int} 月份中最大的一天
      -     */
      -    function maxDayOfMonth( _date ){
      -        var _r, _d = new Date( _date.getFullYear(), _date.getMonth() + 1 );
      -            _d.setDate( _d.getDate() - 1 );
      -            _r = _d.getDate();
      -        return _r;
      -    }
      -    /**
      -     * 取当前脚本标签的 src路径 
      -     * @method  scriptPath
      -     * @static
      -     * @return  {string} 脚本所在目录的完整路径
      -     */
      -    function scriptPath(){
      -        var _sc = document.getElementsByTagName('script'), _sc = _sc[ _sc.length - 1 ], _path = _sc.getAttribute('src');
      -        if( /\//.test( _path ) ){ _path = _path.split('/'); _path.pop(); _path = _path.join('/') + '/'; }
      -        else if( /\\/.test( _path ) ){ _path = _path.split('\\'); _path.pop(); _path = _path.join('\\') + '/'; }
      -        return _path;
      -    }
      -    /**
      -     * 缓动函数, 动画效果为按时间缓动 
      -     * <br />这个函数只考虑递增, 你如果需要递减的话, 在回调里用 _maxVal - _stepval 
      -     * @method  easyEffect
      -     * @static
      -     * @param   {function}  _cb         缓动运动时的回调
      -     * @param   {number}    _maxVal     缓动的最大值, default = 200
      -     * @param   {number}    _startVal   缓动的起始值, default = 0
      -     * @param   {number}    _duration   缓动的总时间, 单位毫秒, default = 200
      -     * @param   {number}    _stepMs     缓动的间隔, 单位毫秒, default = 2
      -     * @return  interval
      -     * @example
      -            $(document).ready(function(){
      -                window.js_output = $('span.js_output');
      -                window.ls = [];
      -                window.EFF_INTERVAL = easyEffect( effectcallback, 100);
      -            });
      -
      -            function effectcallback( _stepval, _done ){
      -                js_output.html( _stepval );
      -                ls.push( _stepval );
      -
      -                !_done && js_output.html( _stepval );
      -                _done && js_output.html( _stepval + '<br />' + ls.join() );
      -            }
      -     */
      -    function easyEffect( _cb, _maxVal, _startVal, _duration, _stepMs ){
      -        var _beginDate = new Date(), _timepass
      -            , _maxVal = _maxVal || 200
      -            , _startVal = _startVal || 0
      -            , _maxVal = _maxVal - _startVal 
      -            , _tmp = 0
      -            , _done
      -            , _duration = _duration || 200
      -            , _stepMs = _stepMs || 2
      -            ;
      -        //JC.log( '_maxVal:', _maxVal, '_startVal:', _startVal, '_duration:', _duration, '_stepMs:', _stepMs );
      -
      -        var _interval = setInterval(
      -            function(){
      -                _timepass = new Date() - _beginDate;
      -                _tmp = _timepass / _duration * _maxVal;
      -                _tmp;
      -                if( _tmp >= _maxVal ){
      -                    _tmp = _maxVal;
      -                    _done = true;
      -                    clearInterval( _interval );
      -                }
      -                _cb && _cb( _tmp + _startVal, _done );
      -            }, _stepMs );
      -
      -        return _interval;
      -    }
      -    /**
      -     * 把输入值转换为布尔值
      -     * @method parseBool
      -     * @param   {*} _input
      -     * @return bool
      -     * @static
      -     */
      -    function parseBool( _input ){
      -        if( typeof _input == 'string' ){
      -            _input = _input.replace( /[\s]/g, '' ).toLowerCase();
      -            if( _input && ( _input == 'false' 
      -                            || _input == '0' 
      -                            || _input == 'null'
      -                            || _input == 'undefined'
      -           )) _input = false;
      -           else if( _input ) _input = true;
      -        }
      -        return !!_input;
      -    }
      -    /**
      -     * 绑定或清除 mousewheel 事件
      -     * @method  mousewheelEvent
      -     * @param   {function}  _cb
      -     * @param   {bool}      _detach
      -     * @param   {selector}  _selector, default = document
      -     * @static
      -     */
      -    function mousewheelEvent( _cb, _detach, _selector ){
      -        _selector = _selector || document;
      -        var _evt =  (/Firefox/i.test(navigator.userAgent))
      -            ? "DOMMouseScroll" 
      -            : "mousewheel"
      -            ;
      -        _selector.attachEvent && ( _evt = 'on' + _evt );
      -
      -        if( _detach ){
      -            _selector.detachEvent && document.detachEvent( _evt, _cb )
      -            _selector.removeEventListener && document.removeEventListener( _evt, _cb );
      -        }else{
      -            _selector.attachEvent && document.attachEvent( _evt, _cb )
      -            _selector.addEventListener && document.addEventListener( _evt, _cb );
      -        }
      -    }
      -    /**
      -     * 获取 selector 的指定父级标签
      -     * @method  getJqParent
      -     * @param   {selector}  _selector
      -     * @param   {selector}  _filter
      -     * @return selector
      -     * @require jquery
      -     * @static
      -     */
      -    function getJqParent( _selector, _filter ){
      -        _selector = $(_selector);
      -        var _r;
      -
      -        if( _filter ){
      -            while( (_selector = _selector.parent()).length ){
      -                if( _selector.is( _filter ) ){
      -                    _r = _selector;
      -                    break;
      -                }
      -            }
      -        }else{
      -            _r = _selector.parent();
      -        }
      -
      -        return _r;
      -    }
      -    /**
      -     * 扩展 jquery 选择器
      -     * <br />扩展起始字符的 '/' 符号为 jquery 父节点选择器
      -     * <br />扩展起始字符的 '|' 符号为 jquery 子节点选择器
      -     * <br />扩展起始字符的 '(' 符号为 jquery 父节点查找识别符( getJqParent )
      -     * @method  parentSelector
      -     * @param   {selector}  _item
      -     * @param   {String}    _selector
      -     * @param   {selector}  _finder
      -     * @return  selector
      -     * @require jquery
      -     * @static
      -     */
      -    function parentSelector( _item, _selector, _finder ){
      -        _item && ( _item = $( _item ) );
      -        if( /\,/.test( _selector ) ){
      -            var _multiSelector = [], _tmp;
      -            _selector = _selector.split(',');
      -            $.each( _selector, function( _ix, _subSelector ){
      -                _subSelector = _subSelector.trim();
      -                _tmp = parentSelector( _item, _subSelector, _finder );
      -                _tmp && _tmp.length 
      -                    &&  ( 
      -                            ( _tmp.each( function(){ _multiSelector.push( $(this) ) } ) )
      -                        );
      -            });
      -            return $( _multiSelector );
      -        }
      -        var _pntChildRe = /^([\/]+)/, _childRe = /^([\|]+)/, _pntRe = /^([<\(]+)/;
      -        if( _pntChildRe.test( _selector ) ){
      -            _selector = _selector.replace( _pntChildRe, function( $0, $1 ){
      -                for( var i = 0, j = $1.length; i < j; i++ ){
      -                    _item = _item.parent();
      -                }
      -                _finder = _item;
      -                return '';
      -            });
      -            _selector = _selector.trim();
      -            return _selector ? _finder.find( _selector ) : _finder;
      -        }else if( _childRe.test( _selector ) ){
      -            _selector = _selector.replace( _childRe, function( $0, $1 ){
      -                for( var i = 1, j = $1.length; i < j; i++ ){
      -                    _item = _item.parent();
      -                }
      -                _finder = _item;
      -                return '';
      -            });
      -            _selector = _selector.trim();
      -            return _selector ? _finder.find( _selector ) : _finder;
      -        }else if( _pntRe.test( _selector ) ){
      -            _selector = _selector.replace( _pntRe, '' ).trim();
      -            if( _selector ){
      -                if( /[\s]/.test( _selector ) ){
      -                    var _r;
      -                    _selector.replace( /^([^\s]+)([\s\S]+)/, function( $0, $1, $2 ){
      -                        _r = getJqParent( _item, $1 ).find( $2.trim() );
      -                    });
      -                    return _r || _selector;
      -                }else{
      -                    return getJqParent( _item, _selector );
      -                }
      -            }else{
      -                return _item.parent();
      -            }
      -        }else{
      -            return _finder ? _finder.find( _selector ) : jQuery( _selector );
      -        }
      -    }
      -    /**
      -     * 获取脚本模板的内容
      -     * @method  scriptContent
      -     * @param   {selector}  _selector
      -     * @return  string
      -     * @static
      -     */
      -    function scriptContent( _selector ){
      -        var _r = '';
      -        _selector 
      -            && ( _selector = $( _selector ) ).length 
      -            && ( _r = _selector.html().trim().replace( /[\r\n]/g, '') )
      -            ;
      -        return _r;
      -    }
      -    /**
      -     * 取函数名 ( 匿名函数返回空 )
      -     * @method  funcName
      -     * @param   {function}  _func
      -     * @return  string
      -     * @static
      -     */
      -    function funcName(_func){
      -      var _re = /^function\s+([^()]+)[\s\S]*/
      -          , _r = ''
      -          , _fStr = _func.toString();    
      -      //JC.log( _fStr );
      -      _re.test( _fStr ) && ( _r = _fStr.replace( _re, '$1' ) );
      -      return _r.trim();
      -    }
      -    /**
      -     * 动态添加内容时, 初始化可识别的组件
      -     * <dl>
      -     *      <dt>目前会自动识别的组件</dt>
      -     *      <dd>
      -     *          Bizs.CommonModify, JC.Panel, JC.Dialog
      -     *          <br /><b>自动识别的组件不用显式调用  jcAutoInitComps 去识别可识别的组件</b>
      -     *      </dd>
      -     * </d>
      -     * <dl>
      -     *      <dt>可识别的组件</dt>
      -     *      <dd>
      -     *          JC.AutoSelect, JC.AutoChecked, JC.AjaxUpload, JC.Calendar
      -     *          , JC.Drag, JC.DCalendar, JC.Placeholder, JC.TableFreeze, JC.ImageCutter
      -     *          <br />Bizs.DisableLogic, Bizs.FormLogic, Bizs.MoneyTips, Bizs.AutoSelectComplete
      -     *      </dd>
      -     * </d>
      -     * @method  jcAutoInitComps
      -     * @param   {selector}  _selector
      -     * @static
      -     */
      -    function jcAutoInitComps( _selector ){
      -        _selector = $( _selector || document );
      -        
      -        if( !( _selector && _selector.length && window.JC ) ) return;
      -        /**
      -         * 联动下拉框
      -         */
      -        JC.AutoSelect && JC.AutoSelect( _selector );
      -        /**
      -         * 日历组件
      -         */
      -        JC.Calendar && JC.Calendar.initTrigger( _selector );
      -        /**
      -         * 双日历组件
      -         */
      -        JC.DCalendar && JC.DCalendar.init && JC.DCalendar.init( _selector );
      -        /**
      -         * 全选反选
      -         */
      -        JC.AutoChecked && JC.AutoChecked( _selector );
      -        /**
      -         * Ajax 上传
      -         */
      -        JC.AjaxUpload && JC.AjaxUpload.init( _selector );
      -        /**
      -         * 占位符
      -         */
      -        JC.Placeholder && JC.Placeholder.init( _selector );
      -        /**
      -         * 表格冻结
      -         */
      -        JC.TableFreeze && JC.TableFreeze.init( _selector );
      -        /**
      -         * 拖曳
      -         */
      -        JC.Drag && JC.Drag.init( _selector );
      -        /**
      -         * 图片裁切
      -         */
      -        JC.ImageCutter && JC.ImageCutter.init( _selector );
      -
      -        if( !window.Bizs ) return;
      -        /**
      -         * disable / enable
      -         */
      -        Bizs.DisableLogic && Bizs.DisableLogic.init( _selector );
      -        /**
      -         * 表单提交逻辑
      -         */
      -        Bizs.FormLogic && Bizs.FormLogic.init( _selector );
      -        /**
      -         * 格式化金额
      -         */
      -        Bizs.MoneyTips && Bizs.MoneyTips.init( _selector );
      -        /**
      -         * 自动完成
      -         */
      -        Bizs.AutoSelectComplete && Bizs.AutoSelectComplete.init( _selector );
      -
      -        /**
      -         *排期日期展示
      -        */
      -        Bizs.TaskViewer && Bizs.TaskViewer.init(_selector);
      -    }
      -    /**
      -     * URL 占位符识别功能
      -     * <br /><b>require:</b> addUrlParams, filterXSS
      -     * @method  urlDetect
      -     * @param   {String}    _url    如果 起始字符为 URL, 那么 URL 将祝为本页的URL
      -     * @return  string
      -     * @static
      -     * @example
      -     *      urlDetect( '?test' ); //output: ?test
      -     *
      -     *      urlDetect( 'URL,a=1&b=2' ); //output: your.com?a=1&b=2
      -     *      urlDetect( 'URL,a=1,b=2' ); //output: your.com?a=1&b=2
      -     *      urlDetect( 'URLa=1&b=2' ); //output: your.com?a=1&b=2
      -     */
      -    function urlDetect( _url ){
      -        _url = _url || '';
      -        var _r = _url, _tmp, i, j, _items;
      -        if( /^URL/.test( _url ) ){
      -            _tmp = _url.replace( /^URL/, '' ).replace( /[\s]*,[\s]*/g, ',' ).trim().split(',');
      -            _url = location.href;
      -            var _d = {}, _concat = [];
      -            if( _tmp.length ){
      -                for( i = 0, j = _tmp.length; i < j; i ++ ){
      -                     /\&/.test( _tmp[i] )
      -                         ? ( _concat = _concat.concat( _tmp[i].split('&') ) )
      -                         : ( _concat = _concat.concat( _tmp[i] ) )
      -                         ;
      -                }
      -                _tmp = _concat;
      -            }
      -            for( i = 0, j = _tmp.length; i < j; i++ ){
      -                _items = _tmp[i].replace(/[\s]+/g, '').split( '=' );
      -                if( !_items[0] ) continue;
      -                _d[ _items[0] ] = _items[1] || '';
      -            }
      -            _url = addUrlParams( _url, _d );
      -            _r = _url;
      -        }
      -        _r = filterXSS( _url );
      -        return _r;
      -    }
      -    /**
      -     * 日期占位符识别功能
      -     * @method  dateDetect
      -     * @param   {String}    _dateStr    如果起始字符为 NOW, 那么将视为当前日期
      -     *                                  , 如果起始字符为 NOWFirst, 那么将视为当前月的1号
      -     * @return  {date|null}
      -     * @static
      -     * @example
      -     *      dateDetect( 'now' ); //2014-10-02
      -     *      dateDetect( 'now,3d' ); //2013-10-05
      -     *      dateDetect( 'now,-3d' ); //2013-09-29
      -     *      dateDetect( 'now,2w' ); //2013-10-16
      -     *      dateDetect( 'now,-2m' ); //2013-08-02
      -     *      dateDetect( 'now,4y' ); //2017-10-02
      -     *
      -     *      dateDetect( 'now,1d,1w,1m,1y' ); //2014-11-10
      -     */
      -    function dateDetect( _dateStr ){
      -        var _r = null   
      -            , _re = /^now/i
      -            , _nowFirstRe = /^nowfirst/
      -            , _d, _ar, _item
      -            ;
      -        if( _dateStr && typeof _dateStr == 'string' ){
      -            if( _re.test( _dateStr ) || _nowFirstRe.test( _dateStr ) ){
      -                _d = new Date();
      -                if( _nowFirstRe.test(_dateStr ) ){
      -                    _d.setDate( 1 );
      -                }
      -                _dateStr = _dateStr.replace( _re, '' ).replace(/[\s]+/g, '');
      -                _ar = _dateStr.split(',');
      -
      -                var _red = /d$/i
      -                    , _rew = /w$/i
      -                    , _rem = /m$/i
      -                    , _rey = /y$/i
      -                    ;
      -                for( var i = 0, j = _ar.length; i < j; i++ ){
      -                    _item = _ar[i] || '';
      -                    if( !_item ) continue;
      -                    _item = _item.replace( /[^\-\ddwmy]+/gi, '' );
      -
      -                    if( _red.test( _item ) ){
      -                        _item = parseInt( _item.replace( _red, '' ), 10 );
      -                        _item && _d.setDate( _d.getDate() + _item );
      -                    }else if( _rew.test( _item ) ){
      -                        _item = parseInt( _item.replace( _rew, '' ), 10 );
      -                        _item && _d.setDate( _d.getDate() + _item * 7 );
      -                    }else if( _rem.test( _item ) ){
      -                        _item = parseInt( _item.replace( _rem, '' ), 10 );
      -                        _item && _d.setMonth( _d.getMonth() + _item );
      -                    }else if( _rey.test( _item ) ){
      -                        _item = parseInt( _item.replace( _rey, '' ), 10 );
      -                        _item && _d.setFullYear( _d.getFullYear() + _item );
      -                    }
      -                }
      -                _r = _d;
      -            }else{
      -                _r = parseISODate( _dateStr );
      -            }
      -        }
      -        return _r;
      -    }
      -    ;(function(){
      -        /**
      -         * inject jquery val func, for hidden change event
      -         */
      -        if( !window.jQuery ) return;
      -        var _oldVal = $.fn.val;
      -        $.fn.val = 
      -            function(){
      -                var _r = _oldVal.apply( this, arguments ), _p = this;
      -                if( 
      -                    arguments.length
      -                    && ( this.prop('nodeName') || '').toLowerCase() == 'input' 
      -                    && ( this.attr('type') || '' ).toLowerCase() == 'hidden'
      -                ){
      -                    setTimeout( function(){ _p.trigger( 'change' ); }, 1 );
      -                }
      -                return _r;
      -            };
      -    }());
      -    /**
      -     * 逗号格式化金额
      -     * @method  moneyFormat
      -     * @param   {int|string}    _number
      -     * @param   {int}           _len
      -     * @param   {int}           _floatLen
      -     * @param   {int}           _splitSymbol
      -     * @return  string
      -     * @static
      -     */
      -    function moneyFormat(_number, _len, _floatLen, _splitSymbol){
      -        var _def = '0.00';
      -        !_len && ( _len = 3 );
      -        typeof _floatLen == 'undefined' && ( _floatLen = 2 );
      -        !_splitSymbol && ( _splitSymbol = ',' );
      -        var _isNegative = false, _r;
      -
      -        typeof _number == 'number' && ( _number = parseFinance( _number, _floatLen ) );
      -        if( typeof _number == 'string' ){
      -            _number = _number.replace( /[,]/g, '' );
      -            if( !/^[\d\.]+$/.test( _number ) ) return _def;
      -            if( _number.split('.').length > 2 ) return _def;
      -        }
      -
      -        if( !_number ) return _def;
      -        _number += ''; 
      -
      -        /^\-/.test( _number ) && ( _isNegative = true );
      -
      -        _number = _number.replace( /[^\d\.]/g, '' );
      -
      -        var _parts = _number.split('.'), _sparts = [];
      -
      -        while( _parts[0].length > _len ){
      -            var _tmp = _parts[0].slice( _parts[0].length - _len, _parts[0].length );
      -            //console.log( _tmp );
      -            _sparts.push( _tmp );
      -            _parts[0] = _parts[0].slice( 0, _parts[0].length - _len );
      -        }
      -        _sparts.push( _parts[0] );
      -
      -        _parts[0] = _sparts.reverse().join( _splitSymbol );
      -
      -        if( _floatLen ){
      -            !_parts[1] && ( _parts[1] = '' );
      -            _parts[1] += new Array( _floatLen + 1 ).join('0');
      -            _parts[1] = _parts[1].slice( 0, _floatLen );
      -        }else{
      -            _parts.length > 1 && _parts.pop();
      -        }
      -        _r = _parts.join('.');
      -        _isNegative && ( _r = '-' + _r );
      -
      -        return _r;
      -    }
      -    /**
      -     * 日期格式化 (具体格式请查看 PHP Date Formats)
      -     * @method  dateFormat
      -     * @param   {date}    _date     default = now
      -     * @param   {string}  _format   default = "YY-MM-DD"
      -     * @return  string
      -     * @static
      -     */
      -    function dateFormat( _date, _format ){
      -        typeof _date == 'string' && ( _format = _date, _date = new Date() );
      -        !_date && ( _date = new Date() );
      -        !_format && ( _format = 'YY-MM-DD' );
      -        var _r = _format, _tmp
      -            , _monthName = [ 'january', 'february', 'march', 'april', 'may', 'june'
      -                            , 'july', 'august', 'september', 'october', 'november', 'december' ] 
      -            , _monthShortName = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec' ]
      -            ;
      -
      -        _r = _r
      -            .replace( /YY/g, _date.getFullYear() )
      -            .replace( /WK/g, function(){
      -                var _r = 1, _offset = 0, _weeks;
      -
      -                JC.Calendar && ( _offset = JC.Calendar.weekDayOffset );
      -
      -                _weeks = weekOfYear( _date.getFullYear(), JC.Calendar.weekDayOffset );
      -
      -                $( _weeks ).each( function( _ix, _item ){
      -                    if( _date.getTime() >= _item.start && _date.getTime() <= _item.end ){
      -                        _r = _item.week;
      -                        return false;
      -                    }
      -                });
      -
      -                return _r;
      -            })
      -            .replace( /YQ/g, function(){
      -                var _r = 1, _offset = 0, _seasons;
      -
      -                _seasons = seasonOfYear( _date.getFullYear() );
      -
      -                $( _seasons ).each( function( _ix, _item ){
      -                    if( _date.getTime() >= _item.start && _date.getTime() <= _item.end ){
      -                        _r = _item.season;
      -                        return false;
      -                    }
      -                });
      -
      -                return _r;
      -            })
      -            .replace( /MM/g, padChar( _date.getMonth() + 1 ) )
      -            .replace( /DD/g, padChar( _date.getDate() ) )
      -
      -            .replace( /yy/g, function( $0 ){
      -                _tmp = padChar( _date.getYear() );
      -                //JC.log( _date.getYear(), _tmp.slice( _tmp.length - 2 ) );
      -                return _tmp.slice( _tmp.length - 2 );
      -            })
      -            .replace( /mm/g, _date.getMonth() + 1 )
      -            .replace( /dd/g, _date.getDate() )
      -            .replace( /d/g, _date.getDate() )
      -
      -            .replace( /y/g, _date.getFullYear() )
      -
      -            .replace( /m/g, function( $0 ){
      -                return _monthName[ _date.getMonth() ];          
      -            })
      -
      -            .replace( /M/g, function( $0 ){
      -                return _monthShortName[ _date.getMonth() ];          
      -            })
      -            ;
      -
      -        return _r;
      -    }
      -    /**
      -     * 扩展对象属性
      -     * @method  extendObject
      -     * @param   {object}    _source
      -     * @param   {object}    _new
      -     * @param   {bool}      _overwrite      是否覆盖已有属性, default = true  
      -     * @return  object
      -     * @static
      -     */
      -    function extendObject( _source, _new, _overwrite ){
      -        typeof _overwrite == 'undefined' && ( _overwrite = true );
      -        if( _source && _new ){
      -            for( var k in _new ){
      -                if( _overwrite ){
      -                    _source[ k ] = _new[ k ];
      -                }else if( !( k in _source ) ){
      -                    _source[ k ] = _new[ k ];
      -                }
      -            }
      -        }
      -        return _source;
      -    }
      -    /**
      -     * timeout 控制逻辑, 避免相同功能的 setTimeout 重复执行
      -     * @method  safeTimeout
      -     * @param   {timeout|function}  _timeout
      -     * @param   {object}            _obj    default = window.TIMEOUT_HOST || {}
      -     * @param   {string}            _name   default = 'NORMAL'
      -     * @param   {int}               _ms     default = 50
      -     * @return  object
      -     * @static
      -     */
      -    function safeTimeout( _timeout, _obj, _name, _ms ){
      -        if( typeof _timeout == 'undefined' ) return;
      -        _obj = $( _obj || ( window.TIMEOUT_HOST = window.TIMEOUT_HOST || {} ) );
      -        _name = _name || 'NORMAL';
      -
      -        typeof _timeout == 'function'
      -            && ( _timeout = setTimeout( _timeout, _ms || 50 ) );
      -
      -        _obj.data( _name ) && clearTimeout( _obj.data( _name ) );
      -        _obj.data( _name, _timeout );
      -    }
      -    /**
      -     * URL 请求时, 获取对URL参数进行编码的函数
      -     * @method  encoder
      -     * @param   {selector}  _selector
      -     * @return  {encode function}   default encodeURIComponent
      -     * @static
      -     */
      -    function encoder( _selector ){
      -        _selector && ( _selector = $( _selector ) );
      -        var _r;
      -        if( _selector && _selector.length ){
      -            _r =_selector.attr( 'validEncoder' ) || 'encodeURIComponent';
      -            _r = window[ _r ] || encodeURIComponent;
      -        }else{
      -            _r = encodeURIComponent;
      -        }
      -        return _r;
      -    }
      -    /**
      -     * 深度克隆对象
      -     * @method  cloneObject
      -     * @param   {Object}    _inObj
      -     * @return  Object
      -     * @static
      -     */
      -    function cloneObject( _inObj, _outObj ){
      -        _outObj = _outObj || {};
      -        var k, i, j;
      -
      -        for( k in _inObj ){
      -            _outObj[ k ] = _inObj[ k ];
      -            switch( Object.prototype.toString.call( _outObj[ k ] ) ){
      -
      -                case '[object Object]': {
      -                      _outObj[ k ] = _outObj[ k ].constructor === Object
      -                        ?  cloneObject( _outObj[ k ] )
      -                        :  _outObj[ k ]
      -                        ;
      -                    break;
      -                }
      -
      -                case '[object Array]': {
      -                    _outObj[ k ] = _inObj[ k ].slice();
      -                    for( i = 0, j = _outObj[ k ].length; i < j; i++ ){
      -                        if( Object.prototype.toString.call( _outObj[ k ][i] ) == '[object Object]' )
      -                            _outObj[ k ][ i ] = cloneObject( _outObj[ k ][ i ] );
      -                    }
      -                    break;
      -                }
      -
      -                case '[object Date]': {
      -                    _outObj[ k ] = new Date(); _outObj[ k ].setTime( _inObj[ k ].getTime() );
      -                    break;
      -                }
      -
      -                default: _outObj[ k ] = _inObj[ k ];
      -            }
      -        }
      -
      -        return _outObj;
      -    }
      -    /**
      -     * 获取 document 的 相关大小
      -     * @method  docSize
      -     * @param   {document}    _doc
      -     * @return  Object
      -     * @static
      -     */
      -    function docSize( _doc ){
      -        _doc = _doc || document;
      -        var _r = {
      -            width: 0, height: 0, docWidth: 0, docHeight: 0, bodyWidth: 0, bodyHeight: 0, scrollWidth: 0, scrollHeight: 0
      -        };
      -
      -        _r.docWidth = _doc.documentElement.offsetWidth;
      -        _r.docHeight = _doc.documentElement.offsetHeight;
      -
      -        _doc.body && (
      -            _r.bodyWidth = _doc.body.offsetWidth
      -            , _r.bodyHeight = _doc.body.offsetHeight
      -        );
      -
      -        _r.scrollWidth = _doc.documentElement.scrollWidth
      -        _r.scrollHeight = _doc.documentElement.scrollHeight
      -
      -        _r.width = Math.max( _r.docWidth, _r.bodyWidth, _r.scrollHeight );
      -        _r.height = Math.max( _r.docHeight, _r.bodyHeight, _r.scrollHeight );
      -
      -        return _r;
      -    }
      -
      -
      -    return JC.f;
      -
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.Base_0.1_Base.js.html b/docs_api/files/.._modules_JChart.Base_0.1_Base.js.html deleted file mode 100644 index fbc6fd3a..00000000 --- a/docs_api/files/.._modules_JChart.Base_0.1_Base.js.html +++ /dev/null @@ -1,1244 +0,0 @@ - - - - - ../modules/JChart.Base/0.1/Base.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.Base/0.1/Base.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 
      -    'JC.BaseMVC'
      -    , 'Raphael'
      -    , 'JChart.common'
      -    , 'JChart.DefaultOptions' 
      -    , 'JChart.Event', 'JChart.Group'
      -    , 'JChart.IconLine', 'JChart.IconRect'
      -], function(){
      -window.JChart = window.JChart || {};
      -/**
      - * 组件用途简述
      - *
      - *<p><b>require</b>:
      - *   <a href='JC.BaseMVC.html'>JC.BaseMVC</a>
      - *   , <a href='Raphael.html'>RaphaelJS</a>
      - *</p>
      - *
      - *<p><a href='https://github.com/openjavascript/jchart' target='_blank'>JChart Project Site</a>
      - *   | <a href='http://jchart.openjavascript.org/docs_api/classes/JChart.Base.html' target='_blank'>API docs</a>
      - *   | <a href='../../modules/JChart.Base/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - *<h2>页面只要引用本脚本, 默认会处理 div class="js_compBase"</h2>
      - *
      - *<h2>可用的 HTML attribute</h2>
      - *
      - *<dl>
      - *    <dt></dt>
      - *    <dd><dd>
      - *</dl> 
      - *
      - * @namespace   JChart
      - * @class       Base
      - * @extends     JC.BaseMVC
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-02-13
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.Base 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.Base = Base;
      -
      -    function Base( _selector ){
      -        _selector && ( _selector = $( _selector ) );
      -
      -        if( JC.BaseMVC.getInstance( _selector, Base ) ) 
      -            return JC.BaseMVC.getInstance( _selector, Base );
      -
      -        JC.BaseMVC.getInstance( _selector, Base, this );
      -
      -        this._model = new Base.Model( _selector );
      -        this._view = new Base.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( Base.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -    JC.BaseMVC.build( Base );
      -
      -    JChart.Base.init =
      -        function( _class, _items, _count, _tmMs){
      -            if( _items[ _count ] ){
      -                setTimeout( function(){
      -                    new _class( _items[_count] );
      -                    JChart.Base.init( _class, _items, ++_count, _tmMs );
      -                }, _tmMs );
      -            }
      -        };
      -
      -    var _oldInit = Base.prototype._init;
      -
      -    JC.f.extendObject( Base.prototype, {
      -        _init:
      -            function(){
      -                var _p = this;
      -
      -                _oldInit.call( _p );
      -
      -                _p.on( 'update', function( _evt, _data ){
      -                    _p.trigger( 'clear' );
      -                    _p._view.update( _data );
      -
      -                    _p._model.chartSize( { width: _p._model.width(), height: _p._model.height() } );
      -                });
      -
      -                _p.on( 'clear', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._view && _p._view.clear();
      -                    //_p._model.clear && _p._model.clear();
      -                });
      -
      -                _p._initData();
      -
      -                _p._model.chartSize( { width: _p._model.width(), height: _p._model.height() } );
      -            }
      -
      -        , _beforeInit:
      -            function(){
      -            }
      -
      -        , _initHanlderEvent:
      -            function(){
      -            }
      -
      -        , _inited:
      -            function(){
      -            }
      -
      -        /**
      -         * 初始化数据
      -         */
      -        , _initData:
      -            function(){
      -                var _data;
      -                if( this.selector().attr( 'chartScriptData' ) ){
      -                    _data = JC.f.scriptContent( this._model.selectorProp( 'chartScriptData' ) );
      -                    _data = eval( '(' + _data + ')' );
      -                    this.trigger( 'update', [ _data ] );
      -                }
      -                return this;
      -            }
      -        /**
      -         * 更新数据
      -         * @method update
      -         * @param   object  _data
      -         */
      -        , update:
      -            function( _data ){
      -                this.trigger( 'update', _data );
      -                return this;
      -            }
      -    });
      -
      -    Base.Model._instanceName = 'JChartBase';
      -    Base.Model.LABEL_RATE = [ 1, .75, .5, .25, 0 ];
      -    Base.Model.INS_COUNT = 1;
      -
      -    JC.f.extendObject( Base.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'Base.Model.init:', new Date().getTime() );
      -                this._gid = Base.Model.INS_COUNT++;
      -                this.afterInit && this.afterInit();
      -            }
      -        , gid: function(){ return this._gid; }
      -        /**
      -         * 图表宽度
      -         */
      -        , width:
      -            function(){
      -                if( typeof this._width == 'undefined' ){
      -                    this._width = this.selector().prop( 'offsetWidth' );
      -                    this.is( '[chartWidth]' ) && ( this._width = this.intProp( 'chartWidth' ) || this._width );
      -                }
      -                return this._width
      -            }
      -        /**
      -         * 图表高度
      -         */
      -        , height:
      -            function(){
      -                if( typeof this._height == 'undefined' ){
      -                    this._height = this.selector().prop( 'offsetHeight' ) || 400;
      -                    this.is( '[chartHeight]' ) && ( this._height = this.intProp( 'chartHeight' ) || this._height );
      -                }
      -                return this._height;
      -            }
      -
      -        /**
      -         * 图表实时宽度
      -         */
      -        , realtimeWidth:
      -            function(){
      -                var _r = this.selector().prop( 'offsetWidth' );
      -                this.is( '[chartWidth]' ) && ( _r = this.intProp( 'chartWidth' ) || _r );
      -                return _r;
      -            }
      -        /**
      -         * 图表实时高度
      -         */
      -        , realtimeHeight:
      -            function(){
      -                var _r = this.selector().prop( 'offsetHeight' ) || 400;
      -                this.is( '[chartHeight]' ) && ( _r = this.intProp( 'chartHeight' ) || _r );
      -                return _r;
      -            }
      -        /**
      -         * 设置或保存图表的宽高
      -         */
      -        , chartSize:
      -            function( _setter ){
      -                typeof _setter != 'undefined' && ( this._chartSize = _setter );
      -                return this._chartSize;
      -            }
      -        /**
      -         * 图表画布
      -         */
      -        , stage:
      -            function(){
      -
      -                if( !this._stage ){
      -                    this._stage = Raphael( this.selector()[0], this.width(), this.height() );
      -                    this._stage.selector = this._stage.canvas;
      -                }
      -
      -                return this._stage;
      -            }
      -        /**
      -         * 画布圆角弧度 
      -         */
      -        , stageCorner: function(){ return 18; }
      -        /**
      -         * 清除图表数据
      -         */
      -        , clear: 
      -            function(){
      -                var _p = this, _k;
      -                for( _k in _p ){
      -                    //JC.log( _k, JC.f.ts() );
      -                    if( /^\_/.test( _k ) ){
      -                        if( _k == '_selector' ) continue;
      -                        if( _k == '_gid' ) continue;
      -                        _p[ _k ] = undefined;
      -                    }
      -                }
      -                //JC.log( 'JChart.Base clear', JC.f.ts() );
      -                _p.afterClear && _p.afterClear();
      -            }
      -        /**
      -         * 清除图表状态
      -         */
      -        , clearStatus:
      -            function(){
      -            }
      -        /**
      -         * 图表背景
      -         */
      -        , background:
      -            function( _c ){
      -                if( _c && _c.stage ){
      -                    this._background =
      -                        this.stage().rect( _c.stage.x, _c.stage.y, _c.stage.width, _c.stage.height, _c.stage.corner )
      -                            .attr( { 
      -                                'fill-opacity': .08 
      -                                , 'fill': '#ccc'
      -                                , 'stroke-opacity': .0
      -                                , 'stroke-width': 1   
      -                                , 'stroke': '#fff'    
      -                            } );
      -                }
      -                return this._background;
      -            }
      -        /**
      -         * 图表数据背景
      -         */
      -        , dataBackground:
      -            function( _x, _y, _width, _height ){
      -                if( typeof this._dataBackground == 'undefined' ){
      -                    this._dataBackground = this.stage().rect( _x, _y, _width, _height );
      -                    this._dataBackground.attr( { 'fill': '#fff', 'fill-opacity': .01, 'stroke-width': 0 } );
      -                }
      -                return this._dataBackground;
      -            }
      -        /**
      -         * 保存图表数据
      -         */
      -        , data:
      -            function( _data ){
      -                typeof _data != 'undefined' && ( this._data = _data );
      -                return this._data;
      -            }
      -        /**
      -         * 数据图例图标
      -         */
      -        , legend:
      -            function( _data, _type, _cb ){
      -                var _p = this, _tmp = true, _type;
      -
      -                if( !this._legend && _data && 
      -                        ( ( _data.legend && ( 'enabled' in _data.legend ) && ( _tmp = _data.legend.enabled ) ) ||
      -                          _tmp
      -                        )
      -                    ){
      -                    this._legend =  new JChart.Group();
      -                    _type = _type || 'line';
      -                    switch( _type ){
      -                        case 'line':
      -                            {
      -                                var _text = [], _minX = 8, _x = _minX, _y = 0, _maxX = 0, _legend, _text, _spad = 2, _pad = 8, _bx = 100, _by = 100, _tb, _lb, _h = 30;
      -                                _x += _bx;
      -                                $.each( _data.series, function( _k, _item ){
      -                                    if( !_item.name ) return;
      -                                    var _style = _p.itemStyle( _k );
      -                                    _legend = new JChart.IconLine( _p.stage(), _x, 0 + _by, 18, 3, 1, 4 );
      -                                    _lb = JChart.f.getBBox( _legend );
      -                                    _text = _p.stage().text( _lb.x + 18 + _spad, 0 + _by, _item.name ).attr( 'text-anchor', 'start');
      -                                    _tb = JChart.f.getBBox( _text );
      -                                    _p._legend.addChild( _legend, 'legend_' + _k, { padX: _x - _bx, padY: _tb.height / 2  + 2  } );
      -                                    _legend.attr( _style );
      -                                    _legend.attr( 'fill', _style.stroke );
      -                                    _p._legend.addChild( _text, 'text_' + _k );
      -                                    _x = _tb.x + _tb.width + _pad;
      -                                    _h = _tb.height * 1.8;
      -                                });
      -
      -                                var _box = _p.stage().rect( _bx, _by - _h / 2, _x - _bx, _h, 8 )
      -                                        .attr( { 'stroke-opacity': .99, 'fill-opacity': .99, 'stroke-width': 1, 'stroke': '#909090' } );
      -                                _p._legend.addChild( _box, 'box' );
      -
      -                                break;
      -                            }
      -                        case 'rect':
      -                            {
      -                                var _text = [], _minX = 8, _x = _minX, _y = 0, _maxX = 0, _legend, _text, _spad = 2, _pad = 8, _bx = 100, _by = 100, _tb, _lb, _h = 30;
      -                                _x += _bx;
      -                                $.each( _data.series, function( _k, _item ){
      -                                    if( !_item.name ) return;
      -                                    var _style = _p.itemStyle( _k );
      -                                    _legend = new JChart.IconRect( _p.stage(), _x, 0 + _by, 18, 10, 1, 4 );
      -                                    _lb = JChart.f.getBBox( _legend );
      -                                    _text = _p.stage().text( _lb.x + 18 + _spad, 0 + _by, _item.name ).attr( 'text-anchor', 'start');
      -                                    _tb = JChart.f.getBBox( _text );
      -                                    _p._legend.addChild( _legend, 'legend_' + _k, { padX: _x - _bx, padY: _tb.height / 2 + 1 } );
      -                                    _legend.attr( _style );
      -                                    _legend.attr( 'fill', _style.stroke );
      -                                    _p._legend.addChild( _text, 'text_' + _k );
      -                                    _x = _tb.x + _tb.width + _pad;
      -                                    _h = _tb.height * 1.8;
      -                                });
      -
      -                                var _box = _p.stage().rect( _bx, _by - _h / 2, _x - _bx, _h, 8 )
      -                                        .attr( { 'stroke-opacity': .99, 'fill-opacity': .99, 'stroke-width': 1, 'stroke': '#909090' } );
      -                                _p._legend.addChild( _box, 'box' );
      -                            }
      -                    }
      -                }
      -                    
      -                return this._legend;
      -            }
      -        /**
      -         * 图表标题
      -         */
      -        , title:
      -            function( _data ){
      -                _data && _data.title && _data.title.text 
      -                    && !this._title 
      -                    && ( this._title = this.stage().text( -9999, 0, _data.title.text ) )
      -                    && ( this._title.node.setAttribute( 'class', 'jcc_title' ) )
      -                    ;
      -
      -                return this._title;
      -            }
      -        /**
      -         * 图表子标题
      -         */
      -        , subtitle:
      -            function( _data ){
      -                _data && _data.subtitle && _data.subtitle.text 
      -                    && !this._subtitle 
      -                    && ( this._subtitle = this.stage().text( 0, 0, _data.subtitle.text ) )
      -                    && ( this._subtitle.node.setAttribute( 'class', 'jcc_subtitle' ) )
      -                    ;
      -                return this._subtitle;
      -            }
      -        /**
      -         * 图表垂直标题
      -         */
      -        , vtitle:
      -            function( _data ){
      -                _data && _data.yAxis && _data.yAxis.title && _data.yAxis.title.text
      -                    && !this._vtitle 
      -                    && ( this._vtitle = this.stage().text( -9999, 0, _data.yAxis.title.text )
      -                          , this._vtitle.node.setAttribute( 'class', 'jcc_vtitle' )   
      -                        )
      -                    ;
      -                return this._vtitle;
      -            }
      -        /**
      -         * 图表版权 */
      -        , credits:
      -            function( _data ){
      -
      -                if( _data ){
      -                    _data.credits && _data.credits.enabled && ( _data.credits.text || _data.credits.href )
      -                        && ! this._credits 
      -                        && ( this._credits = this.stage().text( -9999, 0, _data.credits.text || _data.credits.href ) )
      -                        && ( this._credits.node.setAttribute( 'class', 'jcc_credit' ) )
      -                        ;
      -                    this._credits && _data.credits.href
      -                        && ( 
      -                                this._credits.node.setAttribute( 'href', _data.credits.href ) 
      -                                , this._credits.node.setAttribute( 'class', 'jcc_credit jcc_pointer jcc_link' ) 
      -                                , this._credits.click( function(){ location.href = _data.credits.href; } )
      -                            );
      -                }
      -                return this._credits;
      -            }
      -        /**
      -         * 图表数据种类的长度
      -         */
      -        , seriesLength:
      -            function(){
      -                typeof this._partLength == 'undefined' 
      -                    && this.data() 
      -                    && this.data().series 
      -                    && ( this._seriesLength = this.data().series.length );
      -                return this._seriesLength;
      -            }
      -        /**
      -         * 图表数据的长度
      -         */
      -        , hlen:
      -            function( _data ){
      -                var _p = this;
      -                _data = _data || _p.data();
      -
      -                if( typeof this._hlen == 'undefined' ){
      -                    _data.xAxis && _data.xAxis.categories && ( this._hlen = _data.xAxis.categories.length );
      -                    _data.series && _data.series.data && ( this._hlen = _data.series.data.length );
      -                }
      -                return this._hlen;
      -            }
      -        /**
      -         * 图表粒度的长度
      -         */
      -        , vlen:
      -            function( _data ){
      -                var _p = this;
      -                _data = _data || _p.data();
      -
      -                if( typeof this._vlen == 'undefined' ){
      -                    this._vlen = _p.rate().length;
      -                    
      -                }
      -                return this._vlen;
      -            }
      -        /**
      -         * 最大的数值
      -         */
      -        , maxNum:
      -            function( _data ){
      -
      -                var _tmp, _p = this;
      -
      -                if( _data ){
      -                    _p._maxNum = 0;
      -
      -                    if( _data ){
      -                        $.each( _data.series, function( _ix, _item ){
      -                            _tmp = Math.max.apply( null, _item.data );
      -                            _tmp > _p._maxNum && ( _p._maxNum = _tmp );
      -                        });
      -
      -                    }
      -                    var _tmp = [];
      -                        _tmp.push( _p._maxNum );
      -                    _p._maxNum && ( _p._maxNum = numberUp( _p._maxNum ) );
      -                        _tmp.push( _p._maxNum );
      -                    _p._maxNum === 0 && ( _p._maxNum = 10 );
      -                        _tmp.push( _p._maxNum );
      -                        //JC.log( ['maxNum', _tmp ] );
      -                }
      -
      -                return _p._maxNum;
      -            }
      -        /**
      -         * 最小的负数值
      -         */
      -        , minNNum:
      -            function( _data ){
      -                var _tmp, _p = this;
      -
      -                if( _data ){
      -                    _p._minNNum = 0;
      -
      -                    if( _data ){
      -                        $.each( _data.series, function( _ix, _item ){
      -                            _tmp = Math.min.apply( null, _item.data );
      -                            _tmp < 0 && _tmp < _p._minNNum && ( _p._minNNum = _tmp );
      -                        });
      -                    }
      -                    var _tmp = [];
      -                        _tmp.push( _p._minNNum );
      -                    _p._minNNum && ( _p._minNNum = -( numberUp( Math.abs( _p._minNNum ) ) ) );
      -                        _tmp.push( _p._minNNum );
      -                        _tmp.push( _p._minNNum );
      -                        //JC.log( ['_minNNum', _tmp ] );
      -                }
      -
      -                return _p._minNNum;
      -            }
      -        /**
      -         * 垂直粒度
      -         */
      -        , rate:
      -            function( _data ){
      -                var _p = this;
      -                
      -                if( _data && hasNegative( _data ) ){
      -                    var _maxNum, _minNNum, _absNNum, _finalMaxNum;
      -                    _maxNum = _p.maxNum( _data );
      -                    _minNNum = _p.minNNum( _data );
      -                    _absNNum = Math.abs( _minNNum );
      -                    _finalMaxNum = Math.max( _maxNum, _absNNum );
      -
      -                    if( _maxNum > _absNNum ){
      -                        if( Math.abs( _finalMaxNum * 0.33333 ) > _absNNum ){
      -                            this._rate = [ 1, 0.66666, 0.33333, 0, -0.33333];
      -                        }
      -                        //JC.log( _finalMaxNum, _absNNum, _finalMaxNum * 0.33333, JC.f.ts() );
      -                    }else{
      -                        if( _maxNum == 0 ){
      -                            this._rate = [ 0, -0.25, -0.5, -0.75, -1 ];
      -                        }else if( Math.abs( _finalMaxNum * 0.33333 ) > _maxNum ){
      -                            this._rate = [ 0.33333, 0, -0.33333, -0.66666, -1 ];
      -                        }
      -                    }
      -                    !this._rate && ( this._rate = [ 1, .5, 0, -.5, -1 ] );
      -
      -                }else if( _data ){
      -                    this._rate = Base.Model.LABEL_RATE;
      -                }
      -
      -                return this._rate;
      -            }
      -        /**
      -         * 垂直粒度的具体信息
      -         */
      -        , rateInfo:
      -            function( _data, _rate ){
      -
      -                var _p = this, _maxNum, _minNNum, _absNNum, _finalMaxNum
      -                    , _zeroIndex
      -                    ;
      -
      -                if( _data && _rate ){
      -
      -                    _maxNum = _p.maxNum( _data );
      -                    _minNNum = _p.minNNum( _data );
      -                    _absNNum = Math.abs( _minNNum );
      -                    _finalMaxNum = Math.max( _maxNum, _absNNum );
      -
      -                    _zeroIndex = 0;
      -
      -                    $.each( _rate, function( _ix, _item ){
      -                        if( _item === 0 ){
      -                            _zeroIndex = _ix;
      -                            return false;
      -                        }
      -                    });
      -
      -                    this._rateInfo = {
      -                        rates: _rate
      -                        , zeroIndex: _zeroIndex
      -                        , finalMaxNum: _finalMaxNum
      -                        , maxNum: _maxNum
      -                        , minNNum: -_minNNum
      -                        , length: _rate.length
      -                    };
      -                }
      -
      -                return this._rateInfo;
      -            }
      -        /**
      -         * 垂直标签
      -         */
      -        , vlables:
      -            function( _data ){
      -                if( _data && !this._vlabels ){
      -                    var _p = this
      -                        , _rate = _p.rate( _data )
      -                        , _rateInfo = _p.rateInfo( _data, _rate )
      -                        , _maxNum = _rateInfo.finalMaxNum
      -                        , _eles = []
      -                        , _tmp
      -                        , _text
      -                        ;
      -
      -                    $.each( _rate, function( _ix, _item ){
      -                        _text = _maxNum * _item;
      -                        _rateInfo.minNNum && ( _text = JC.f.parseFinance( _text, _p.floatLen() ) );
      -                        _tmp = _p.stage().text( 10000, 0, _text.toString()  );
      -                        _eles.push( _tmp );
      -                    });
      -
      -                    _eles.length && ( _p._vlabels = _eles );
      -                }
      -                return this._vlabels;
      -            }
      -        /**
      -         * 水平标签
      -         */
      -        , hlables:
      -            function( _data ){
      -                if( _data && !this._hlabels ){
      -                    var _p = this
      -                        , _eles = []
      -                        , _match = _p.labelDisplayIndex( _data )
      -                        , _tmp
      -                        ;
      -
      -                    $.each( _data.xAxis.categories, function( _ix, _item ){
      -                        _tmp = _p.stage().text( 10000, 0, _item || '' );
      -                        _match && _match.length && !_match[ _ix ] && _tmp.hide();
      -                        _eles.push( _tmp );
      -                    });
      -
      -                    _eles.length && ( _p._hlabels = _eles );
      -                }
      -                return this._hlabels;
      -            }
      -        /**
      -         * 获取要显示的水平标签索引位置
      -         * 如果返回 undefined, 将显示全部
      -         */
      -        , labelDisplayIndex:
      -            function( _data ){
      -                var _p = this, _tmp, _len;
      -                if( typeof _p._labelDisplayIndex == 'undefined' ){
      -                    _len = _p.hlen( _data );
      -                    if( !_p.displayAllLabel( _data ) ){
      -                        _p._labelDisplayIndex = [];
      -                        _p._labelDisplayIndex[ 0 ] = true;
      -                        _p._labelDisplayIndex[ _len - 1 ] = true;
      -
      -                        _tmp = Math.ceil( _len / 3 );
      -
      -                        _p._labelDisplayIndex[ Math.floor( _tmp * 1 ) - 1 ] = true;
      -                        _p._labelDisplayIndex[ Math.floor( _tmp * 2 ) - 1 ] = true;
      -                    }
      -
      -                    !_p._labelDisplayIndex && ( _p._labelDisplayIndex = null );
      -                }
      -                return _p._labelDisplayIndex;
      -            }
      -        /**
      -         * 垂直背景线的突出长度
      -         */
      -        , varrowSize: function(){ return 8; }
      -        /**
      -         *水平背景线的突出长度
      -         */
      -        , harrowSize: function(){ return 8; }
      -        /**
      -         * 获取垂直 label 的最大宽度
      -         */
      -        , vlabelMaxWidth:
      -            function( _data ){
      -                var _r = 0, _p = this, _tmp;
      -
      -                _p.vlables( _data ) && $.each( _p.vlables( _data ), function( _k, _item ){
      -                    _tmp = JChart.f.getBBox( _item );
      -                    _tmp.width > _r && ( _r = _tmp.width );
      -                });
      -
      -                return _r;
      -            }
      -        /**
      -         * 获取水平 label 的最大宽度
      -         */
      -        , hlabelMaxHeight:
      -            function( _data ){
      -                var _r = 0, _p = this, _tmp;
      -
      -                _p.hlables( _data ) && $.each( _p.hlables(), function( _k, _item ){
      -                    _tmp = JChart.f.getBBox( _item );
      -                     _tmp.height > _r && ( _r = _tmp.height );
      -                });
      -
      -                return _r;
      -            }
      -        /**
      -         * 垂直的背景线
      -         */
      -        , vlines:
      -            function( _data ){
      -                var _p = this, _items;
      -                if( !_p._vlines ){
      -                    _p._vlines = [];
      -
      -                    _data && _data.xAxis && _data.xAxis.categories && ( _items = _data.xAxis.categories );
      -                    _data 
      -                        && _data.series 
      -                        && _data.series[0]
      -                        && _data.series[0].data
      -                        && _data.series[0].data.length
      -                        && ( _items = _data.series[0].data );
      -
      -                    _items && 
      -                        $.each( _items, function( _k, _item ){
      -                        //var _tmp = _p.stage().path( 'M0 0' ).attr( _p.lineStyle( _k ) );
      -                        var _tmp = new JChart.IconVLine( 
      -                            _p.stage()
      -                            , ['M0 0'].join(' ' )
      -                            , JC.f.extendObject( _p.lineStyle( _k ), { 'stroke': '#999', 'stroke-width': 1 } )
      -                            , JC.f.extendObject( _p.lineStyle( _k ), { 'stroke': '#000', 'stroke-width': 1 } )
      -                        );
      -                        _p._vlines.push( _tmp );
      -                    });
      -                }
      -                return _p._vlines;
      -            }
      -        /**
      -         * 水平的背景线
      -         */
      -        , hlines:
      -            function( _data ){
      -                var _p = this;
      -                if( !_p._hlines ){
      -                    _p._hlines = [];
      -                    $.each( _p.rate(), function( _k, _item ){
      -                        var _tmp = _p.stage().path( 'M0 0' ).attr( _p.lineStyle( _k ) );
      -                        _p._hlines.push( _tmp );
      -                    });
      -                }
      -                return _p._hlines;
      -            }
      -        /**
      -         * 计算所有显示内容的坐标
      -         */
      -        , coordinate: 
      -            function( _setter ){ 
      -                typeof _setter != 'undefined' && ( this._coordinate = _setter );
      -                return this._coordinate; 
      -            }
      -        /**
      -         * 图标的默认样式
      -         */
      -        , itemStyle:
      -            function( _ix ){
      -                var _r = {};
      -                return _r;
      -            }
      -        /**
      -         * 图标的默认 hover 样式
      -         */
      -        , itemHoverStyle:
      -            function( _ix ){
      -                var _r = {};
      -                return _r;
      -            }
      -        /**
      -         * 背景线的样式
      -         */
      -        , lineStyle:
      -            function( _ix ){
      -                var _r = {};
      -                return _r;
      -            }
      -        /**
      -         * 通过坐标点计算当前在那个数据范围
      -         */
      -        , indexAt:
      -            function( _offset ){
      -                return 0;
      -            }
      -        /**
      -         * 获取 tips 对象
      -         */
      -        , tips:
      -            function( _ix ){
      -                var _p = this, _c = _p.coordinate(), _items, _text, _val
      -                    , _len = _c.hlen, _count = 0
      -                    , _offsetY = 34
      -                    , _offsetX = 20
      -                    , _padWidth = 14
      -                    , _padHeight = 8
      -                    , _strokeColor = '#000'
      -                    , _tmp, _tmpBox, _tmpItem, _maxWidth = 0
      -                    ;
      -
      -                if( !_p._tips ){
      -                    var _initOffset = { x: 10000, y: 0 };
      -                    //_initOffset.x = 0;
      -                    _p._tips = new JChart.Group();
      -
      -                    _p._tips.addChild( 
      -                        _p.stage().rect( 0 + _initOffset.x, 0 + _initOffset.y, 50, 30, 5 ).attr( { 
      -                            'stroke': '#999'
      -                            , 'fill': '#fff' 
      -                            , 'fill-opacity': .94
      -                        } )
      -                    , 'rect' );
      -
      -                    _p._tips.addChild( _p.stage().text( 10 + _initOffset.x, 14 + _initOffset.y, 'tips' )
      -                            .attr( { 'font-weight': 'bold', 'fill': '#999', 'text-anchor': 'start' } )
      -                            , 'title' );
      -
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _strokeColor = _p.itemStyle( _k ).stroke;
      -                        _tmp = _p.stage().text( _offsetX + _initOffset.x, _offsetY + _initOffset.y, _item.name || 'empty' )
      -                                .attr( { 'text-anchor': 'start', 'fill': _strokeColor } );
      -                        _tmpBox = JChart.f.getBBox( _tmp );
      -                        _p._tips.addChild( _tmp, 'label_' + _k );
      -                        _offsetY += _tmpBox.height + 5;
      -                        _tmpBox.width > _maxWidth && ( _maxWidth = _tmpBox.width );
      -                    });
      -
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _strokeColor = _p.itemStyle( _k ).stroke;
      -                        _tmpItem = _p._tips.getChildByName( 'label_' + _k );
      -                        _tmpBox = JChart.f.getBBox( _tmpItem );
      -                        _tmp = _p.stage().text( _maxWidth + _offsetX + 10 + _initOffset.x, _tmpItem.attr( 'y' ) + _initOffset.y, '012345678901.00' )
      -                                .attr( { 'text-anchor': 'start', 'fill': _strokeColor } );
      -                        _p._tips.addChild( _tmp, 'val_' + _k );
      -                    });
      -
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _tmpItem = _p._tips.getChildByName( 'val_' + _k );
      -                        _tmpItem.attr( 'text', '0.00' );
      -                    });
      -
      -                    _p._tipLabelMaxWidth = _maxWidth;
      -                }
      -                if( typeof _ix != 'undefined' ){
      -                    _p._tips.getChildByName( 'title' ).attr( 'text', _p.tipsTitle( _ix ) );
      -                    var _maxTextWidth = 0, _tmpLabel;
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _tmp = JChart.f.getBBox( _p._tips.getChildByName( 'val_' + _k ).attr( 'text', JC.f.moneyFormat( _item.data[ _ix ], 3, _p.floatLen() ) ));
      -                        _tmp.width > _maxTextWidth && ( _maxTextWidth = _tmp.width );
      -                    });
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _tmp = _p._tips.getChildByName( 'val_' + _k );
      -                        _tmpLabel = _p._tips.getChildByName( 'label_' + _k );
      -                        _tmpBox = JChart.f.getBBox( _tmpLabel );
      -                        _tmp.attr( 'x', _tmpBox.x + _p._tipLabelMaxWidth + 10 + _maxTextWidth - JChart.f.getBBox( _tmp ).width );
      -                    });
      -
      -                }
      -                _p._tips.getChildByName( 'rect' ).attr( { width: 80, height: 50 } );
      -                _tmpBox = JChart.f.getBBox( _p._tips );
      -                _p._tips.getChildByName( 'rect' ).attr( { 'width': _tmpBox.width + _padWidth, 'height': _tmpBox.height + _padHeight } );
      -
      -                return _p._tips;
      -            }
      -        /**
      -         * 获取 tips 标题文本
      -         */
      -        , tipsTitle:
      -            function( _ix ){
      -                var _p = this, _r = '';
      -
      -                _p.data().xAxis
      -                    && _p.data().xAxis.categories
      -                    && ( _r = _p.data().xAxis.categories[ _ix ] );
      -
      -                _p.data().xAxis
      -                    && _p.data().xAxis.tipTitlePostfix
      -                    && ( _r = JC.f.printf(  _p.data().xAxis.tipTitlePostfix, _r ) );
      -
      -                return _r;
      -            }
      -        /**
      -         * 显示数值时 浮点数 的长度
      -         */
      -        , floatLen:
      -            function(){
      -                if( typeof this._floatLen == 'undefined' ){
      -                    this._floatLen = 2;
      -                    'floatLen' in this.data() && ( this._floatLen = this.data().floatLen );
      -                }
      -                return this._floatLen;
      -            }
      -        /**
      -         * 把全局事件对象转换为局部坐标点
      -         */
      -        , globalEventToLocalOffset:
      -            function( _evt ){
      -                var _p = this, _srcOffset = $( _p.stage().canvas ).offset(), _r = { x: 0, y: 0 }, _c = _p.coordinate();
      -                _r.x = _evt.pageX  - _srcOffset.left;
      -                _r.y = _evt.pageY - _srcOffset.top;
      -                return _r;
      -            }
      -        /**
      -         * 设置或者获取上一次的数据对象
      -         */
      -        , preItems:
      -            function( _setter ){
      -                typeof _setter != 'undefined' && ( this._preItems = _setter );
      -                return this._preItems;
      -            }
      -        /**
      -         * 是否显示图例说明
      -         */
      -        , showInLegend:
      -            function(){
      -                var _p = this, _r = false;
      -                _p.data() 
      -                    && _p.data().plotOptions
      -                    && ( 'showInLegend' in _p.data().plotOptions )
      -                    && ( _r = _p.data().plotOptions )
      -                    ;
      -                return _r;
      -            }
      -        /**
      -         * 是否显示图例说明
      -         */
      -        , legendEnable:
      -            function(){
      -                var _p = this, _r = true;
      -                _p.data() 
      -                    && _p.data().legend
      -                    && ( 'enabled' in _p.data().legend )
      -                    && ( _r = _p.data().legend.enabled )
      -                    ;
      -                return _r;
      -            }
      -        /**
      -         * 是否显示所有内容标签
      -         */
      -        , displayAllLabel:
      -            function(){
      -                var _p = this, _r = true;
      -                _p.data() 
      -                    && ( 'displayAllLabel' in _p.data() )
      -                    && ( _r = _p.data().displayAllLabel )
      -                    ;
      -                return _r;
      -            }
      -
      -    });
      -
      -    JC.f.extendObject( Base.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'Base.View.init:', new Date().getTime() );
      -            }
      -        /**
      -         * 图表高度
      -         */
      -        , width: function(){ return this._model.width(); }
      -        /**
      -         * 图表高度
      -         */
      -        , height: function(){ return this._model.height(); }
      -        /**
      -         * 图表画布
      -         */
      -        , stage: function(){ return this._model.stage(); }
      -        /**
      -         * 初始化的选择器
      -         */
      -        , selector:
      -            function(){
      -                return this._model.selector();
      -            }
      -        /**
      -         * 清除图表数据
      -         */
      -        , clear: 
      -            function(){
      -                var _p = this;
      -                if( !_p._model._stage ) return;
      -                $( _p._model._stage.canvas ).remove();
      -                _p._model._stage = undefined;
      -            }
      -        /**
      -         * 清除图表状态
      -         */
      -        , clearStatus:
      -            function(){
      -            }
      -        /**
      -         * 更新图表数据
      -         */
      -        , update: 
      -            function( _data ){
      -                this.clear();
      -                this._model.clear();
      -                this._model.data( _data );
      -                this.draw( _data );
      -            }
      -        /**
      -         * 渲染图表外观
      -         */
      -        , draw: 
      -            function( _data ){
      -            }
      -        /**
      -         * 显示静态外观
      -         */
      -        , setStaticPosition: function(){}
      -    });
      -
      -    Base.numberUp = numberUp;
      -    Base.isFloat = isFloat;
      -    Base.isNegative = isNegative;
      -    Base.hasNegative = hasNegative;
      -
      -    Base.RESIZE_UPDATE = 'JCHART_RESIZE_UPDATE';
      -
      -    Base.reset =
      -        function( _selector, _class ){
      -            $( _selector ).each( function( _k, _item ){
      -                setTimeout( function(){
      -                    _item = $( _item );
      -                    var _ins = JC.BaseMVC.getInstance( _item, _class ), _size, _newSize, _w, _h;
      -                    if( !( _ins && _ins._model.data() ) ) return;
      -                    _size = _ins._model.chartSize();
      -                    if( !_size ) return;
      -                    _w = _ins._model.realtimeWidth(); _h = _ins._model.realtimeHeight();
      -                    if( _size.width == _w && _size.height == _h ) return;
      -                    _w < 100 && ( _w = 100 ); 
      -                    _h < 100 && ( _h = 100 );
      -                    _ins.trigger( 'update', _ins._model.data() );
      -                }, 1 );
      -            });
      -        };
      -
      -    function isNegative( _num ){
      -        return _num < 0;
      -    }
      -
      -    function hasNegative( _data ){
      -        var _r = false;
      -
      -        if( _data && _data.series ){
      -            $.each( _data.series, function( _ix, _item ){
      -                var _tmp = Math.min.apply( null, _item.data );
      -                if( _tmp < 0 ){
      -                    _r = true;
      -                    return false;
      -                }
      -            });
      -        }
      -
      -        return _r;
      -    }
      -
      -    function isFloat( _num ){
      -        return ( _num - parseInt( _num ) ) > 0;
      -    }
      -
      -    function numberUp( _in, _floatLen ){
      -        _floatLen = _floatLen || 5;
      -        var _out = 0, _inStr = _in.toFixed( _floatLen )
      -            , _part = _inStr.split( '.' )
      -            , _int = _part[0], _float = parseFloat( '0.' + _part[ 1 ] )
      -            , _ar 
      -            , i, j, tmp
      -            ;
      -        
      -        if( /[1-9]/.test( _int ) ){
      -            tmp = Math.pow( 10, _int.length - 1  ), _out = tmp * ( parseInt( _int[0] ) +  1);
      -            if( _out < _in ){
      -                _out = tmp * 10;
      -            }
      -
      -        }else{						
      -            for( _ar = _float.toFixed( _floatLen ).split(''), i = 0, j = _ar.length; i < j; i++ ){
      -                if( _ar[i] != '0' && _ar[i] != '.' ){
      -                    tmp = parseFloat( _ar.slice( 0, i ).join('') + '1'  )
      -                    , _out = tmp + parseFloat( _ar.slice( 0, i ).join('') + parseInt( _ar[i] )  )
      -                    ;
      -                    if( _out < _float ){
      -                        _out = tmp * 10;
      -                    }
      -                    
      -                    break;
      -                }
      -            }
      -        }
      -        
      -        return _out;
      -    }
      -
      -    JChart.getOptions =
      -        function(){
      -            var _d = JChart.DefaultOptions;
      -            return _d;
      -        };
      -
      -    _jwin.on( 'resize', function(){
      -        JC.f.safeTimeout( function(){
      -            _jwin.trigger( Base.RESIZE_UPDATE );
      -        }, null, 'JCHART_RESIZE_asdfaewfaes', 200 );
      -    });
      -
      -    return JChart.Base;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.CurveGram_0.1_CurveGram.js.html b/docs_api/files/.._modules_JChart.CurveGram_0.1_CurveGram.js.html deleted file mode 100644 index 64f1603d..00000000 --- a/docs_api/files/.._modules_JChart.CurveGram_0.1_CurveGram.js.html +++ /dev/null @@ -1,850 +0,0 @@ - - - - - ../modules/JChart.CurveGram/0.1/CurveGram.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.CurveGram/0.1/CurveGram.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JChart.Base', 'JChart.Group', 'JChart.GraphicPoint', 'JChart.IconVLine' ], function(){
      -/**
      - * 曲线图
      - *
      - *<p><b>require</b>:
      - *   <a href='JChart.Base.html'>JChart.Base</a>
      - *</p>
      - *
      - *<p><a href='https://github.com/openjavascript/jchart' target='_blank'>JChart Project Site</a>
      - *   | <a href='http://jchart.openjavascript.org/docs_api/classes/JChart.CurveGram.html' target='_blank'>API docs</a>
      - *   | <a href='../../modules/JChart.CurveGram/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - *<h2>页面只要引用本脚本, 默认会处理 span class="jchartCurveGram"</h2>
      - *
      - *<h2>可用的 HTML attribute</h2>
      - *
      - *<dl>
      - *    <dt></dt>
      - *    <dd><dd>
      - *</dl> 
      - *
      - * @namespace   JChart
      - * @class       CurveGram
      - * @extends     JChart.Base
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-11
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JChart.CurveGram 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.CurveGram = CurveGram;
      -
      -    function CurveGram( _selector ){
      -        _selector && ( _selector = $( _selector ) );
      -
      -        if( JC.BaseMVC.getInstance( _selector, CurveGram ) ) 
      -            return JC.BaseMVC.getInstance( _selector, CurveGram );
      -
      -        JC.BaseMVC.getInstance( _selector, CurveGram, this );
      -
      -        this._model = new CurveGram.Model( _selector );
      -        this._view = new CurveGram.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( CurveGram.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -    /**
      -     * 初始化可识别的 CurveGram 实例
      -     * @method  init
      -     * @param   {selector}      _selector
      -     * @static
      -     * @return  {Array of CurveGramInstance}
      -     */
      -    CurveGram.init =
      -        function( _selector ){
      -            var _r = [];
      -            _selector = $( _selector || document );
      -
      -            if( _selector.length ){
      -                if( _selector.hasClass( 'jchartCurveGram' )  ){
      -                    _r.push( new CurveGram( _selector ) );
      -                }else{
      -                    JChart.Base.init( CurveGram, $( 'div.jchartCurveGram' ), 0, 1 );
      -                }
      -            }
      -            return _r;
      -        };
      -
      -    CurveGram.CURRENT_INS = null;
      -    CurveGram.DEFAULT_MOVE =
      -        function( _evt ){
      -            if( !CurveGram.CURRENT_INS ){
      -                _jdoc.off( 'mousemove', CurveGram.DEFAULT_MOVE );
      -                return;
      -            }
      -            var _p = CurveGram.CURRENT_INS;
      -            //JC.log( 'CurveGram.DEFAULT_MOVE', _evt.pageX, _evt.pageY, JC.f.ts(), _selector.length, _src.nodeName );
      -            _p.trigger( 'update_moving_status', [ _evt ] );
      -        };
      -
      -    JC.BaseMVC.build( CurveGram, JChart.Base );
      -
      -    JC.f.extendObject( CurveGram.prototype, {
      -        _beforeInit:
      -            function(){
      -                //JC.log( 'CurveGram _beforeInit', new Date().getTime() );
      -            }
      -
      -        , _initHanlderEvent:
      -            function(){
      -                var _p = this;
      -
      -                _p.on( 'update_moving_status', function( _evt, _srcEvt, _srcEle ){
      -                    var _offset = _p._model.globalEventToLocalOffset( _srcEvt )
      -                        , _index = _p._model.indexAt( _offset );
      -
      -                    _p.trigger( 'clear_status' );
      -                    if( typeof _index == 'undefined' ) return;
      -
      -                    _p.trigger( 'update_status', [ _index, _offset  ] );
      -                });
      -
      -                _p.on( 'moving_start', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().show();
      -                });
      -
      -                _p.on( 'moving_done', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().hide();
      -                });
      -
      -                _p.on( 'clear_status', function(){
      -                    _p._view.clearStatus();
      -                });
      -
      -                _p.on( 'update_status', function( _evt, _index, _offset ){
      -                    if( !_offset ) return;
      -                    if( typeof _index == 'undefined' ) return;
      -                    //JC.log( _index, _offset.x, _offset.y, JC.f.ts() );
      -                    _p._view.updateTips( _index, _offset );
      -                    _p._view.updatePoint( _index );
      -                    _p._view.updateVLine( _index );
      -                });
      -            }
      -
      -        , _inited:
      -            function(){
      -                //JC.log( 'CurveGram _inited', new Date().getTime() );
      -            }
      -    });
      -
      -    CurveGram.Model._instanceName = 'JChartCurveGram';
      -
      -    CurveGram.Model.STYLE = {
      -        lineStyle: {
      -            'stroke': '#999'
      -            , 'opacity': '.35'
      -        }
      -        , style: [
      -            { 'stroke': '#ff0619' }
      -            , { 'stroke': '#09c100' }
      -            , { 'stroke': '#ff7100' }
      -
      -            , { 'stroke': '#FFBF00' }
      -            , { 'stroke': '#ff06b3' }
      -            , { 'stroke': '#c3e2a4' }
      -
      -            , { 'stroke': '#0c76c4' }
      -            , { 'stroke': '#41e2e6' }
      -            , { 'stroke': '#ffb2bc' }
      -
      -            , { 'stroke': '#dbb8fd' }
      -        ]
      -        , pathStyle: {
      -            'stroke-width': 2
      -        }
      -        , radius: 4
      -    };
      -
      -    var _oldWorkspaceOffset = CurveGram.Model.prototype.workspaceOffset;
      -
      -    JC.f.extendObject( CurveGram.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'CurveGram.Model.init:', new Date().getTime() );
      -            }
      -
      -        , path:
      -            function(){
      -                var _p = this, _tmp, _style;
      -                if( typeof _p._path == 'undefined' ){
      -                    _p._path = [];
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _tmp = _p.stage().path( 'M0 0' ).attr(_p.pathStyle( _k ) );
      -                        _p._path.push( _tmp );
      -                    });
      -                }
      -
      -                return _p._path;
      -            }
      -
      -        , point:
      -            function(){
      -                var _p = this, _tmp;
      -
      -                if( typeof _p._point == 'undefined' ){
      -                    _p._point = [];
      -
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        var _items = [];
      -                        $.each( _item.data, function( _sk, _sitem ){
      -                            _tmp = new JChart.GraphicPoint( 
      -                                _p.stage()
      -                                , 0, 0
      -                                , CurveGram.Model.STYLE.radius 
      -                                , _p.itemStyle( _k )
      -                                , _p.itemHoverStyle( _k )
      -                            );
      -                            _items.push( _tmp );
      -                        });
      -
      -                        _p._point.push( _items );
      -                    });
      -                }
      -
      -                return _p._point;
      -            }
      -
      -        , itemStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = CurveGram.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -                _r = JC.f.cloneObject( CurveGram.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series[ _ix ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].style ) );
      -
      -                !_r.fill && _r.stroke && ( _r.fill = _r.stroke );
      -
      -                return _r;
      -            }
      -
      -        , itemHoverStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = CurveGram.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -                _r = JC.f.cloneObject( CurveGram.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series[ _ix ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].style ) );
      -
      -                _p.data().series[ _ix ].hoverStyle
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].hoverStyle ) );
      -
      -                !_r.fill && _r.stroke && ( _r.fill = '#fff' );
      -
      -                return _r;
      -            }
      -
      -        , pathStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = CurveGram.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                _r = JC.f.cloneObject( CurveGram.Model.STYLE.pathStyle );
      -                _r.stroke = CurveGram.Model.STYLE.style[ _ix ].stroke;
      -                return _r;
      -            }
      -
      -        , lineStyle:
      -            function( _ix ){
      -                var _r = JC.f.cloneObject( CurveGram.Model.STYLE.lineStyle );
      -                return _r;
      -            }
      -
      -        , indexAt:
      -            function( _offset ){
      -                var _p = this
      -                    , _c = _p.coordinate()
      -                    , _realX = _offset.x - _c.wsX
      -                    , _realY = _offset.y - _c.wsY
      -                    , _maxX = _c.wsWidth
      -                    , _maxY = _c.wsHeight
      -                    , _itemLen, _partWidth
      -                    , _partWhat = 0;
      -                    ;
      -
      -                if( _realX <= 0 || _realY <= 0 || _realX >= _maxX || _realY >= _maxY ){
      -                    return undefined;
      -                }
      -
      -                _itemLen = ( _c.hlen - 1 ) * 2;
      -                _partWidth = _c.wsWidth / _itemLen;
      -                _partWhat = Math.floor( _realX / _partWidth  );
      -                _partWhat > 1 && ( _partWhat = Math.round( _partWhat / 2 ) );
      -
      -                //JC.log( _partWhat, _realX, _realY, JC.f.ts() );
      -                //JC.log( _partWhat );
      -
      -                return _partWhat;
      -            }
      -
      -        , coordinate:
      -            function( _data ){
      -                if( typeof this._coordinate != 'undefined' || !_data ){
      -                    return this._coordinate;
      -                }
      -                var _p = this
      -                    , _c = {}
      -                    , _bbox
      -                    , _x = 0, _maxX = _p.width() - 10
      -                    , _y = 0, _maxY = _p.height() - 5
      -                    , _tmp, _tmpX, _tmpY, _padX, _tmpA, _tmpA1
      -                    ;
      -                this._coordinate = _c;
      -
      -                _p.stage();
      -
      -                //JC.log( 'xxxxxxxxxxx', _p.width(), _p.height() );
      -
      -                _c.stage = { x: 0, y: 0, width: _p.width(), height: _p.height(), corner: _p.stageCorner()  };
      -                _p.background( _c );
      -                _x = 2, _y = 2;
      -
      -                var _title = _p.title( _data );
      -                if( _title ){
      -                    _bbox = JChart.f.getBBox( _title );
      -                    _c.title = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _title
      -                    }
      -                    _y = _c.title.y + _bbox.height / 2;
      -                }
      -
      -                var _subtitle = _p.subtitle( _data );
      -                if( _subtitle ){
      -                    _bbox = JChart.f.getBBox( _subtitle );
      -                    _c.subtitle = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _subtitle
      -                    }
      -                    _y = _c.subtitle.y + _bbox.height / 2 + 5;
      -                }
      -
      -                !( _title && _subtitle ) && ( _y += 10 );
      -
      -                var _vtitle = _p.vtitle( _data );
      -                if( _vtitle ){
      -                    _bbox = JChart.f.getBBox( _vtitle );
      -                    _c.vtitle = {
      -                        x: _x + _bbox.height / 2 + 5
      -                        , y: _p.height() / 2
      -                        , rotate: -90
      -                        , ele: _vtitle
      -                    }
      -                    _x = _c.vtitle.x + 5 + 10;
      -                }
      -
      -                var _credits = _p.credits( _data );
      -                if( _credits ){
      -                    _bbox = JChart.f.getBBox( _credits );
      -                    _c.credits = {
      -                        x: _maxX - _bbox.width / 2
      -                        , y: _maxY - _bbox.height / 2
      -                        , ele: _credits
      -                    }
      -                    _maxY = _c.credits.y - 8;
      -                }
      -
      -                if( _p.legendEnable() ){
      -                    var _legend = _p.legend( _data, 'line', function( _ix, _legend, _text, _data ){
      -                        var _color = _data.stroke 
      -                                        || CurveGram.Model.STYLE.data[ _ix % CurveGram.Model.STYLE.data.length ].stroke 
      -                                        || '#fff';
      -                        _legend.attr( 'fill', _color ).attr( 'stroke', _color );;
      -                    } );
      -                    if( _legend ){
      -                        _bbox = JChart.f.getBBox( _legend );
      -                        _c.legend = {
      -                            x: ( _maxX - _bbox.width ) / 2
      -                            , y: _maxY - _bbox.height - 2
      -                            , ele: _legend
      -                        }
      -                        _maxY = _c.legend.y;
      -                    }
      -                }
      -
      -                _maxY -= _p.varrowSize();
      -                _x += _p.harrowSize();
      -
      -                var _hlabelMaxHeight = _p.hlabelMaxHeight( _data );
      -                var _vlabelMaxWidth = _p.vlabelMaxWidth( _data );
      -                var _vx = _x, _hy = _y;
      -
      -                if( _vlabelMaxWidth ){
      -                    _x += _vlabelMaxWidth;
      -                    _vx = _x - _p.harrowSize();
      -                    _x += 5;
      -                }
      -
      -                if( _hlabelMaxHeight ){
      -                    _maxY -= 2;
      -                    _maxY -= _hlabelMaxHeight;
      -                    _hy = _maxY + _p.varrowSize() + 4;
      -                    _maxY -= 5;
      -                }
      -
      -                //JC.log( _x, _maxX, _maxX - _x );
      -
      -                _c.vlen = _p.vlen();
      -                _c.hlen = _p.hlen();
      -
      -                _c.vpart = ( _maxY - _y ) / ( _c.vlen - 1 );
      -                _c.hpart = ( _maxX - _x ) / ( _c.hlen - 1 );
      -
      -                _c.wsHeight = _maxY - _y;
      -                _c.wsY = _y;
      -                _c.wsMaxY = _maxY;
      -
      -                _c.wsWidth = _maxX - _x;
      -                _c.wsX = _x;
      -                _c.wsMaxX = _maxX;
      -
      -                var _dataBackground = _p.dataBackground( _c.wsX, _c.wsY, _c.wsWidth, _c.wsHeight );
      -                if( _dataBackground ){
      -                    _c.dataBackground = {
      -                        x: _c.wsX, y: _c.wsY, width: _c.wsWidth, height: _c.wsHeight, item: _dataBackground
      -                    };
      -                }
      -
      -                var _vlines = _p.vlines( _data );
      -                if( _vlines && _vlines.length ){
      -                    _tmpA = [];
      -                    _tmpA1 = [];
      -                    _tmp = _p.labelDisplayIndex( _data );
      -                    $.each( _vlines, function( _ix, _item ){
      -                        _tmpX = _x + _c.hpart * _ix;
      -                        _padX = _p.varrowSize();
      -                        if( _tmp && _tmp.length ){
      -                            !_tmp[ _ix ] && ( _padX = 0 );
      -                        }
      -                        _tmpA.push( {  start: { 'x': _tmpX, 'y': _y }
      -                            , end: { 'x': _tmpX, 'y': _maxY + _padX }
      -                            , 'item': _item  } );
      -                        _tmpA1.push( {  start: { 'x': _tmpX, 'y': _y }
      -                            , end: { 'x': _tmpX, 'y': _maxY }
      -                            , 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.vlines = _tmpA );
      -                    _tmpA1.length && ( _c.vlinePoint = _tmpA1 );
      -                }
      -
      -                var _hlines = _p.hlines( _data );
      -                if( _hlines && _hlines.length ){
      -                    _tmpA = [];
      -                    _tmpA1 = [];
      -                    $.each( _hlines, function( _ix, _item ){
      -                        _tmpY = _y + _c.vpart * _ix;
      -                        _tmpA.push( {  start: { 'x': _x - _p.harrowSize(), 'y': _tmpY }
      -                            , end: { 'x': _maxX , 'y': _tmpY }
      -                            , 'item': _item  } );
      -                        _tmpA1.push( {  start: { 'x': _x, 'y': _tmpY }
      -                            , end: { 'x': _maxX , 'y': _tmpY }
      -                            , 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.hlines = _tmpA );
      -                    _tmpA1.length && ( _c.hlinePoint = _tmpA1 );
      -                }
      -
      -                if( _vlabelMaxWidth ){
      -                    var _vlabels = _p.vlables( _data );
      -                    _tmp = 0;
      -                    _tmpA = [];
      -                    $.each( _vlabels, function( _ix, _item ){
      -                        _bbox = JChart.f.getBBox( _item );
      -                        _tmpX = _vx - _bbox.width / 2;
      -                        _tmpY = parseInt( _y + ( _maxY - _y ) * _tmp );
      -                        _tmp += .25;
      -                        _tmpA.push( { 'x': _tmpX, 'y': _tmpY, 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.vlables = _tmpA );
      -                }
      -
      -                if( _hlabelMaxHeight ){
      -                    var _hlabels = _p.hlables( _data );
      -                    _tmp = 0;
      -                    _tmpA = [];
      -                    $.each( _c.vlinePoint, function( _ix, _lineItem ){
      -                        var _item = _hlabels[_ix ], _bbox;
      -                        if( !_item ) return;
      -                        _tmpX = _lineItem.end.x;
      -                        _bbox = JChart.f.getBBox( _item );
      -                        if( _ix === ( _c.vlinePoint.length - 1 ) ){
      -                            _tmpX = _lineItem.end.x - _bbox.width / 2 + 2;
      -                        }else if( _ix === 0 ){
      -                            _tmpX = _lineItem.end.x + _bbox.width / 2 - 2;
      -                        }
      -                        _tmpY = _hy;
      -                        _tmpA.push( { 'x': _tmpX, 'y': _tmpY, 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.hlables = _tmpA );
      -                }
      -
      -                //get data point
      -                _c.point = [];
      -                _c.path = [];
      -
      -                var _rateInfo = _p.rateInfo( _data, _p.rate( _data ) );
      -                $.each( _data.series, function( _ix, _items ){
      -                    var _x, _y, _dataHeight, _pathPoint = [], _purePoint = [], _dataY, _maxNum;
      -                    $.each( _items.data, function( _six, _num ){
      -
      -                        _pathPoint.push( _six === 0 ? 'M' : 'L' );
      -                        _x = _c.wsX + _c.hpart * _six;
      -                        _y = _c.lnieY;
      -
      -                        if( JChart.Base.isNegative( _num ) ){
      -                            _num = Math.abs( _num );
      -                            _dataY = _c.wsY + _c.vpart * _rateInfo.zeroIndex;
      -                            _dataHeight = _c.vpart * Math.abs( _rateInfo.length - _rateInfo.zeroIndex - 1 );
      -                            _maxNum = Math.abs( _rateInfo.finalMaxNum * _p.rate()[ _p.rate().length - 1 ] );
      -                            _y = _dataY + Math.abs( _num ) / _maxNum * _dataHeight;
      -
      -                        }else{
      -                            _dataHeight = _c.vpart * _rateInfo.zeroIndex;
      -                            _dataY = _c.wsY;
      -                            _maxNum = _rateInfo.finalMaxNum;
      -                            _y = _dataY + _dataHeight - _num / _maxNum * _dataHeight;
      -                        }
      -                        _x > _c.wsMaxX && ( _x = _c.wsMaxX );
      -                        _y > _c.wsMaxY && ( _y = _c.wsMaxY );
      -
      -                        _pathPoint.push( [ _x, _y ] );
      -                        _purePoint.push( { 'x': _x, 'y': _y, 'num': _num, 'maxNum': _maxNum } );
      -                    });
      -                    _c.point.push( _purePoint );
      -                    _c.path.push( _pathPoint );
      -                });
      -
      -                var _tips = _p.tips();
      -
      -                return this._coordinate;
      -            }
      -    });
      -
      -    JC.f.extendObject( CurveGram.View.prototype, {
      -        _inited:
      -            function(){
      -            }
      -
      -        , setStaticPosition:
      -            function( _coordinate ){
      -                var _p = this, _c = _coordinate, _tmp;
      -                if( _c.title ){
      -                    _p._model.title().attr( _c.title );
      -                }
      -                if( _c.subtitle ){
      -                    _p._model.subtitle().attr( _c.subtitle );
      -                }
      -                if( _c.vtitle ){
      -                    _p._model.vtitle().attr( _c.vtitle );
      -                    _c.vtitle.rotate && _p._model.vtitle().rotate( _c.vtitle.rotate );
      -                }
      -                if( _c.credits ){
      -                    _p._model.credits().attr( _c.credits );
      -                }
      -                if( _c.legend ){
      -                    _p._model.legend().setPosition( _c.legend.x, _c.legend.y );
      -                }
      -                if( _c.vlables ){
      -                    $.each( _c.vlables, function( _k, _item ){
      -                        _item.item.attr( { 'x': _item.x, 'y': _item.y } );
      -                    });
      -                }
      -                if( _c.hlables ){
      -                    $.each( _c.hlables, function( _k, _item ){
      -                        _item.item.attr( { 'x': _item.x, 'y': _item.y } );
      -                    });
      -                }
      -                if( _c.vlines ){
      -                    $.each( _c.vlines, function( _k, _item ){
      -                        _item.item.attr( 'path', JC.f.printf('M{0} {1}L{2} {3}', _item.start.x, _item.start.y, _item.end.x, _item.end.y ) );
      -                    });
      -                }
      -                if( _c.hlines ){
      -                    $.each( _c.hlines, function( _k, _item ){
      -                        _item.item && _item.item.attr( 'path', JC.f.printf('M{0} {1}L{2} {3}', _item.start.x, _item.start.y, _item.end.x, _item.end.y ) );
      -                    });
      -                }
      -                if( _c.path && _p._model.path() && _c.path.length == _p._model.path().length ){
      -                    _tmp = _p._model.path();
      -                    $.each( _c.path, function( _k, _item ){
      -                        _tmp[ _k ].attr( 'path', _item.join('') );
      -                    });
      -                }
      -                if( _c.point && _p._model.point() && _c.point.length == _p._model.point().length ){
      -                    _tmp = _p._model.point();
      -                    $.each( _c.point, function( _k, _item ){
      -                        $.each( _item, function( _sk, _sitem ){
      -                            _tmp[ _k ][ _sk ].attr( { 'cx': _sitem.x, 'cy': _sitem.y } );
      -                        });
      -                    });
      -                }
      -
      -                _p._model.tips().toFront();
      -            }
      -
      -        , draw: 
      -            function( _data ){
      -                var _p = this, _coordinate;
      -
      -                _p.setStaticPosition( _p._model.coordinate( _data ) );
      -
      -                _p._model.dataBackground().mouseenter( function( _evt ){
      -                    CurveGram.CURRENT_INS = _p;
      -                    //JC.log( 'mouseenter', JC.f.ts() );
      -                    _jwin.on( 'mousemove', CurveGram.DEFAULT_MOVE );
      -                    _p.trigger( 'moving_start' );
      -                });
      -
      -                _p._model.dataBackground().mouseleave( function( _evt ){
      -                    //JC.log( 'mouseleave', JC.f.ts() );
      -                    _p.trigger( 'moving_done' );
      -                    _jwin.off( 'mousemove', CurveGram.DEFAULT_MOVE );
      -                    CurveGram.CURRENT_INS = null;
      -                });
      -                //JC.dir( _p.stage() );
      -            }
      -
      -        , updateTips:
      -            function( _ix, _offset ){
      -                var _p = this
      -                    , _tips = _p._model.tips( _ix )
      -                    , _bbox = JChart.f.getBBox( _tips )
      -                    , _c = _p._model.coordinate()
      -                    , _x = _offset.x + 15, _y = _offset.y + 18
      -                    , _point = _c.vlinePoint[ _ix ]
      -                    ;
      -
      -                if( ( _y + _bbox.height ) > _c.stage.height ){
      -                    _y = _offset.y - _bbox.height + 8;
      -                }
      -                _y < 0 && ( _y = 0 );
      -
      -                if( ( _x + _bbox.width ) > _c.stage.width ){
      -                    _x = _offset.x - _bbox.width;
      -                }
      -                _x < 0 && ( _x = 0 );
      -
      -                _tips.setPosition( _x, _y );
      -            }
      -
      -        , updatePoint:
      -            function( _ix ){
      -                var _p = this, _r = [], _preItems = _p._model.preItems() || {};
      -                $.each( _p._model.point(), function( _k, _item ){
      -                    _r.push( _item[ _ix ].hover() );
      -                });
      -
      -                _preItems.point = _r;
      -                _p._model.preItems( _preItems );
      -            }
      -
      -        , updateVLine:
      -            function( _ix ){
      -                var _p = this, _r = [], _preItems = _p._model.preItems() || {};
      -
      -                _p._model.vlines() 
      -                    && ( _preItems.vlines = _p._model.vlines()[ _ix ].hover() )
      -                    && _p._model.preItems( _preItems );
      -            }
      -
      -        , clearStatus:
      -            function(){
      -                var _p = this, _preItems = _p._model.preItems();
      -
      -                if( _preItems ){
      -                    _preItems.point && $.each( _preItems.point, function( _k, _item ){
      -                        _item.unhover();
      -                    });
      -                    _preItems.vlines && _preItems.vlines.unhover();
      -                }
      -
      -                _p._model.preItems( null );
      -            }
      -    });
      -
      -    _jdoc.ready( function(){
      -        CurveGram.autoInit && CurveGram.init();
      -    });
      -
      -    _jwin.on( JChart.Base.RESIZE_UPDATE, function( _evt ){
      -        JChart.Base.reset( 'div.jchartCurveGram', JChart.CurveGram );
      -    });
      -
      -    return CurveGram;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.Geometry_0.1_Geometry.js.html b/docs_api/files/.._modules_JChart.Geometry_0.1_Geometry.js.html deleted file mode 100644 index 94d7572c..00000000 --- a/docs_api/files/.._modules_JChart.Geometry_0.1_Geometry.js.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - ../modules/JChart.Geometry/0.1/Geometry.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.Geometry/0.1/Geometry.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [], function(){
      -    window.JChart = window.JChart || {};
      -
      -    JChart.Geometry = {
      -        pointRectangleIntersection:
      -            function(p, r) {
      -                return p.x >= r.x && p.x <= r.x2 && p.y >= r.y && p.y <= r.y2;
      -            }
      -        /**
      -         * 计算两个坐标点之间的距离
      -         */
      -        , pointDistance: function( _p1, _p2 ){
      -            var _dx = _p2.x - _p1.x
      -                , _dy = _p2.y - _p1.y
      -                , _dist = Math.sqrt( _dx * _dx + _dy * _dy );
      -                ;
      -            return _dist;
      -        }
      -        /**
      -         * 从长度和角度求坐标点
      -         */
      -        , distanceAngleToPoint: function( _distance, _angle){
      -            var _radian = _angle * Math.PI / 180;					
      -            return {
      -                x: ( Math.cos( _radian  ) * _distance )
      -                , y: ( Math.sin( _radian ) * _distance )
      -            }
      -        }
      -    };
      -
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.GraphicBase_0.1_GraphicBase.js.html b/docs_api/files/.._modules_JChart.GraphicBase_0.1_GraphicBase.js.html deleted file mode 100644 index a81dbd55..00000000 --- a/docs_api/files/.._modules_JChart.GraphicBase_0.1_GraphicBase.js.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - ../modules/JChart.GraphicBase/0.1/GraphicBase.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.GraphicBase/0.1/GraphicBase.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.GraphicBase.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.GraphicBase/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       GraphicBase
      - * @extends     JC.PureMVC
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2013-12-13
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.GraphicBase 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.GraphicBase = GraphicBase;
      -
      -    function GraphicBase( _stage, _x, _y, _style, _hoverStyle  ){
      -
      -        this._model = new GraphicBase.Model( _stage, _x, _y, _style, _hoverStyle );
      -        this._view = new GraphicBase.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( GraphicBase.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    GraphicBase.Model = 
      -        function( _stage, _x, _y, _style, _hoverStyle ){
      -            this._stage = _stage;
      -            this._x = _x;
      -            this._y = _y;
      -            this._style = _style;
      -            this._hoverStyle = _hoverStyle;
      -        };
      -
      -    JC.PureMVC.build( GraphicBase );
      -
      -    JC.f.extendObject( GraphicBase.prototype, {
      -        _beforeInit:
      -            function(){
      -                //JC.log( 'GraphicBase _beforeInit', new Date().getTime() );
      -            }
      -
      -        , _initHanlderEvent:
      -            function(){
      -                var _p = this;
      -
      -                _p.on( 'inited', function(){
      -                    _p._view.draw();
      -                });
      -            }
      -
      -        , _inited:
      -            function(){
      -                //JC.log( 'GraphicBase _inited', new Date().getTime() );
      -                this.trigger( 'inited' );
      -            }
      -
      -        , hover: function(){ this._view.hover(); return this; }
      -
      -        , unhover: function(){ this._view.unhover(); return this; }
      -
      -        , attr: function( _k, _v ){ this._view.attr( _k, _v ); return this; }
      -
      -        , setPosition:
      -            function( _x, _y ){
      -                this._model.group() && this._model.group().setPosition( _x, _y );
      -            }
      -
      -        , getBBox:
      -            function(){
      -                return this._model.getBBox();
      -            }
      -
      -        , show: function(){ this._view.show(); }
      -        , hide: function(){ this._view.hide(); }
      -    });
      -
      -    GraphicBase.Model._instanceName = 'JCGraphicBase';
      -    JC.f.extendObject( GraphicBase.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicBase.Model.init:', new Date().getTime() );
      -            }
      -
      -        , stage: function(){ return this._stage; }
      -        , style: function(){ return this._style; }
      -        , hoverStyle: function(){ return this._hoverStyle; }
      -
      -        , elements:
      -            function(){
      -                typeof this._elements == 'undefined' && ( this._elements = [] );
      -                return this._elements;
      -            }
      -
      -        , add:
      -            function( _item, _name ){
      -                typeof this._elementMap == 'undefined' && ( this._elementMap = {} );
      -                _name = _name || ( this.elements().length ).toString();
      -                this._elementMap[ _name ] = _item;
      -                this.elements().push( _item );
      -            }
      -        , item:
      -            function( _name ){
      -                return _name ? this._elementMap[ _name ] : this._elementMap;
      -            }
      -
      -        , group: 
      -            function( _setter ){ 
      -                typeof _setter != 'undefined' && ( this._group = _setter );
      -                return this._group; 
      -            }
      -        , getBBox: function(){ return this._group.getBBox(); }
      -    });
      -
      -    JC.f.extendObject( GraphicBase.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicBase.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                _p.unhover();
      -            }
      -
      -        , hover:
      -            function(){
      -                var _p = this;
      -                $.each( _p._model._hoverStyle, function( _k, _item ){
      -                    $.each( _p._model.elements(), function( _sk, _sitem ){
      -                        _sitem.attr( _k, _item );
      -                    });
      -                });
      -            }
      -
      -        , unhover:
      -            function(){
      -                var _p = this;
      -                $.each( _p._model._style, function( _k, _item ){
      -                    $.each( _p._model.elements(), function( _sk, _sitem ){
      -                        _sitem.attr( _k, _item );
      -                    });
      -                });
      -            }
      -
      -        , attr:
      -            function( _k, _v ){
      -                var _p = this;
      -                if( typeof _k == 'object' ){
      -                    $.each( _k, function( _sk, _sv ){
      -                        $.each( _p._model.elements(), function( _ssk, _ssitem ){
      -                            _ssitem.attr( _sk, _sv );
      -                        });
      -                    });
      -                }else{
      -                    $.each( _p._model.elements(), function( _ssk, _ssitem ){
      -                        _ssitem.attr( _k, _v );
      -                    });
      -                }
      -            }
      -
      -        , show:
      -            function(){
      -                var _p = this;
      -                $.each( _p._model.elements(), function( _k, _item ){
      -                    _item.show();
      -                });
      -            }
      -
      -        , hide:
      -            function(){
      -                var _p = this;
      -                $.each( _p._model.elements(), function( _k, _item ){
      -                    _item.hide();
      -                });
      -            }
      -    });
      -
      -    return JC.GraphicBase;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.GraphicPiePart_0.1_GraphicPiePart.js.html b/docs_api/files/.._modules_JChart.GraphicPiePart_0.1_GraphicPiePart.js.html deleted file mode 100644 index 4b08485b..00000000 --- a/docs_api/files/.._modules_JChart.GraphicPiePart_0.1_GraphicPiePart.js.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - ../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.GraphicPiePart/0.1/GraphicPiePart.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.GraphicPiePart.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.GraphicPiePart/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       GraphicPiePart
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-26
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.GraphicPiePart 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.GraphicPiePart = GraphicPiePart;
      -
      -    function GraphicPiePart( _stage, _pieCor, _style, _hoverStyle, _index  ){
      -
      -        this._model = new GraphicPiePart.Model( _stage, _pieCor, _style, _hoverStyle, _index );
      -        this._view = new GraphicPiePart.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( GraphicPiePart.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    GraphicPiePart.Model = 
      -        function( _stage, _pieCor, _style, _hoverStyle, _index ){
      -            this._stage = _stage;
      -            this._pieCor = _pieCor;
      -            this._style = _style;
      -            this._hoverStyle = _hoverStyle;
      -            this._index = _index;
      -        };
      -
      -    JC.PureMVC.build( GraphicPiePart, JChart.GraphicBase );
      -
      -    JC.f.extendObject( GraphicPiePart.prototype, {
      -
      -        _initHanlderEvent:
      -            function(){
      -                var _p = this;
      -
      -                _p.on( 'inited', function(){
      -                    _p._view.draw();
      -                });
      -
      -                _p.on( 'draw_done', function(){
      -                    _p._model.item( 'element' ).click( function( _evt ){
      -                        var _isSelected = _p._model.toggleSelected();
      -                        _p.trigger( 'update_isSelected', _isSelected );
      -                        _p.trigger( 'selected_changed', [ _isSelected, _p._model.id(), _p._model.index() ] );
      -                    });
      -
      -                    _p._model.item( 'element' ).mouseover(
      -                        function( _evt ){
      -                            //JC.log( 'hover in', _p._model.id(), JC.f.ts() );
      -                            _p.trigger( 'mouseenter', [ _evt, _p._model.id(), _p._model.index() ] );
      -                        }
      -                    );
      -
      -                    _p._model.item( 'element' ).mouseout(
      -                        function( _evt ){
      -                            //JC.log( 'hover out', _p._model.id(), JC.f.ts() );
      -                            _p.trigger( 'mouseleave', [ _evt, _p._model.id(), _p._model.index() ] );
      -                        }
      -                    );
      -
      -                });
      -
      -                _p.on( 'update_isSelected', function( _evt, _isSelected ){
      -                    _p._view.updateSelected( _isSelected );
      -                });
      -            }
      -
      -        , isSelected: function(){ return this._model._isSelected; }
      -        , id: function(){ return this._model.id(); }
      -        , selected: 
      -            function( _setter ){
      -                typeof _setter != 'undefined' 
      -                    && this.trigger( 'update_isSelected', [ _setter ] );
      -                return this;
      -            }
      -        , index: function(){ return this._model.index(); }
      -    });
      -
      -    GraphicPiePart.Model._instanceName = 'JCGraphicPiePart';
      -    GraphicPiePart.Model.INS_COUNT = 1;
      -
      -    JC.f.extendObject( GraphicPiePart.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicPiePart.Model.init:', new Date().getTime() );
      -                this._insCount = GraphicPiePart.Model.INS_COUNT++;
      -            }
      -
      -        , id: function(){ return this._insCount; }
      -        , index: function(){ return this._index; }
      -
      -        , toggleSelected:
      -            function(){
      -                return this._isSelected = !this._isSelected;
      -            }
      -
      -        , isSelected: 
      -            function(){ 
      -                return this._isSelected; 
      -            }
      -
      -        , selected: 
      -            function( _setter ){ 
      -                typeof _setter != 'undefined' && ( this._isSelected = _setter );
      -                return this._isSelected; 
      -            }
      -    });
      -
      -    JC.f.extendObject( GraphicPiePart.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicPiePart.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _item, _corText
      -                    , _pie = _p._model._pieCor
      -                    , _isReverse = 0
      -                    ;
      -                if( _pie.startAngle === _pie.endAngle && _pie.startPoint != 0 ){
      -                    _item = _p._model.stage().circle( _pie.cx, _pie.cy, _pie.radius );
      -                }else{
      -                    if( _pie.percent > 50 ){
      -                        _isReverse = 1;
      -                    }
      -                    _corText = 
      -                        [
      -                            "M", _pie.cx, _pie.cy
      -                        , "L"
      -                        , _pie.endPoint.x, _pie.endPoint.y
      -                        , "A"
      -                            , _pie.radius, _pie.radius
      -                            , 0
      -                            , _isReverse
      -                            , 0
      -                            , _pie.startPoint.x, _pie.startPoint.y
      -                            , "z"
      -                    ];
      -                    _item = _p._model.stage().path( _corText );
      -                }
      -                _p._model.add( _item, 'element' );
      -                _p.unhover();
      -
      -                _p.trigger( 'draw_done' );
      -            }
      -        , updateSelected:
      -            function( _isSelected, _ms, _distance ){
      -                var _p = this
      -                    , _item = _p._model.item( 'element' )
      -                    , _target
      -                    , _transform
      -                    , _pie = _p._model._pieCor
      -                    ;
      -                _ms = _ms || 200;
      -                _distance = _distance || 10;
      -
      -                _p._model.selected( _isSelected );
      -
      -
      -                if( _pie.startAngle === _pie.endAngle && _pie.startPoint != 0 ){
      -                }else{
      -                    _item.stop();
      -                    _target = JChart.Geometry.distanceAngleToPoint( _distance, _p._model._pieCor.midAngle );
      -
      -                    if( _isSelected ){
      -                        _transform = JC.f.printf( 't{0} {1}', _target.x, _target.y );
      -                    }else{
      -                        _transform = JC.f.printf( 't{0} {1}', 0, 0 );
      -                    }
      -                    _item.animate( { transform: _transform}, _ms );
      -                }
      -            }
      -    });
      -
      -    return JC.GraphicPiePart;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.GraphicPoint_0.1_GraphicPoint.js.html b/docs_api/files/.._modules_JChart.GraphicPoint_0.1_GraphicPoint.js.html deleted file mode 100644 index 31b6b9b8..00000000 --- a/docs_api/files/.._modules_JChart.GraphicPoint_0.1_GraphicPoint.js.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - ../modules/JChart.GraphicPoint/0.1/GraphicPoint.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.GraphicPoint/0.1/GraphicPoint.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.GraphicPoint.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.GraphicPoint/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       GraphicPoint
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2013-12-13
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.GraphicPoint 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.GraphicPoint = GraphicPoint;
      -
      -    function GraphicPoint( _stage, _x, _y, _radius, _style, _hoverStyle  ){
      -
      -        this._model = new GraphicPoint.Model( _stage, _x, _y, _radius, _style, _hoverStyle );
      -        this._view = new GraphicPoint.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( GraphicPoint.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    GraphicPoint.Model = 
      -        function( _stage, _x, _y, _radius, _style, _hoverStyle ){
      -            this._stage = _stage;
      -            this._x = _x;
      -            this._y = _y;
      -            this._radius = _radius;
      -            this._style = _style;
      -            this._hoverStyle = _hoverStyle;
      -        };
      -
      -    JC.PureMVC.build( GraphicPoint, JChart.GraphicBase );
      -
      -    JC.f.extendObject( GraphicPoint.prototype, {
      -        _beforeInit:
      -            function(){
      -                //JC.log( 'GraphicPoint _beforeInit', new Date().getTime() );
      -            }
      -    });
      -
      -    GraphicPoint.Model._instanceName = 'JCGraphicPoint';
      -    JC.f.extendObject( GraphicPoint.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicPoint.Model.init:', new Date().getTime() );
      -            }
      -    });
      -
      -    JC.f.extendObject( GraphicPoint.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicPoint.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _element = _p._model.stage().circle( _p._model._x, _p._model._y, _p._model._radius )
      -                    ;
      -                _p._model.add( _element, 'element' );
      -                _p.unhover();
      -            }
      -    });
      -
      -    return JC.GraphicPoint;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.GraphicRect_0.1_GraphicRect.js.html b/docs_api/files/.._modules_JChart.GraphicRect_0.1_GraphicRect.js.html deleted file mode 100644 index da648a80..00000000 --- a/docs_api/files/.._modules_JChart.GraphicRect_0.1_GraphicRect.js.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - ../modules/JChart.GraphicRect/0.1/GraphicRect.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.GraphicRect/0.1/GraphicRect.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.GraphicRect.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.GraphicRect/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       GraphicRect
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-23
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.GraphicRect 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.GraphicRect = GraphicRect;
      -
      -    function GraphicRect( _stage, _x, _y, _width, _height, _style, _hoverStyle  ){
      -
      -        this._model = new GraphicRect.Model( _stage, _x, _y, _width, _height, _style, _hoverStyle );
      -        this._view = new GraphicRect.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( GraphicRect.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    GraphicRect.Model = 
      -        function( _stage, _x, _y, _width, _height, _style, _hoverStyle ){
      -            this._stage = _stage;
      -            this._x = _x;
      -            this._y = _y;
      -            this._width = _width;
      -            this._height = _height;
      -            this._style = _style;
      -            this._hoverStyle = _hoverStyle;
      -        };
      -
      -    JC.PureMVC.build( GraphicRect, JChart.GraphicBase );
      -
      -    JC.f.extendObject( GraphicRect.prototype, {
      -        _beforeInit:
      -            function(){
      -                //JC.log( 'GraphicRect _beforeInit', new Date().getTime() );
      -            }
      -    });
      -
      -    GraphicRect.Model._instanceName = 'JCGraphicRect';
      -    JC.f.extendObject( GraphicRect.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicRect.Model.init:', new Date().getTime() );
      -            }
      -    });
      -
      -    JC.f.extendObject( GraphicRect.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'GraphicRect.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _rect = _p._model.stage().rect( _p._model._x, _p._model._y, _p._model._width, _p._model._height )
      -                    ;
      -                _p._model.add( _rect.attr( { 'stroke-width': 0 } ), 'element' );
      -                _p.unhover();
      -            }
      -    });
      -
      -    return JC.GraphicRect;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.Histogram_0.1_Histogram.js.html b/docs_api/files/.._modules_JChart.Histogram_0.1_Histogram.js.html deleted file mode 100644 index 94127173..00000000 --- a/docs_api/files/.._modules_JChart.Histogram_0.1_Histogram.js.html +++ /dev/null @@ -1,877 +0,0 @@ - - - - - ../modules/JChart.Histogram/0.1/Histogram.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.Histogram/0.1/Histogram.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JChart.Base', 'JChart.Group', 'JChart.IconVLine', 'JChart.GraphicRect' ], function(){
      -/**
      - * 柱状图
      - *
      - *<p><b>require</b>:
      - *   <a href='JChart.Base.html'>JChart.Base</a>
      - *</p>
      - *
      - *<p><a href='https://github.com/openjavascript/jchart' target='_blank'>JChart Project Site</a>
      - *   | <a href='http://jchart.openjavascript.org/docs_api/classes/JChart.Histogram.html' target='_blank'>API docs</a>
      - *   | <a href='../../modules/JChart.Histogram/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - *<h2>页面只要引用本脚本, 默认会处理 span class="jchartHistogram"</h2>
      - *
      - *<h2>可用的 HTML attribute</h2>
      - *
      - *<dl>
      - *    <dt></dt>
      - *    <dd><dd>
      - *</dl> 
      - *
      - * @namespace   JChart
      - * @class       Histogram
      - * @extends     JChart.Base
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-20
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.Histogram = Histogram;
      -
      -    function Histogram( _selector ){
      -        _selector && ( _selector = $( _selector ) );
      -
      -        if( JC.BaseMVC.getInstance( _selector, Histogram ) ) 
      -            return JC.BaseMVC.getInstance( _selector, Histogram );
      -
      -        JC.BaseMVC.getInstance( _selector, Histogram, this );
      -
      -        this._model = new Histogram.Model( _selector );
      -        this._view = new Histogram.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( Histogram.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -    /**
      -     * 初始化可识别的 Histogram 实例
      -     * @method  init
      -     * @param   {selector}      _selector
      -     * @static
      -     * @return  {Array of HistogramInstance}
      -     */
      -    Histogram.init =
      -        function( _selector ){
      -            var _r = [];
      -            _selector = $( _selector || document );
      -
      -            if( _selector.length ){
      -                if( _selector.hasClass( 'jchartHistogram' )  ){
      -                    _r.push( new Histogram( _selector ) );
      -                }else{
      -                    JChart.Base.init( Histogram, $( 'div.jchartHistogram' ), 0, 1 );
      -                }
      -            }
      -            return _r;
      -        };
      -
      -    Histogram.CURRENT_INS = null;
      -    Histogram.DEFAULT_MOVE =
      -        function( _evt ){
      -            if( !Histogram.CURRENT_INS ){
      -                _jdoc.off( 'mousemove', Histogram.DEFAULT_MOVE );
      -                return;
      -            }
      -            var _p = Histogram.CURRENT_INS;
      -            //JC.log( 'Histogram.DEFAULT_MOVE', _evt.pageX, _evt.pageY, JC.f.ts(), _selector.length, _src.nodeName );
      -            _p.trigger( 'update_moving_status', [ _evt ] );
      -        };
      -
      -    JC.BaseMVC.build( Histogram, JChart.Base );
      -
      -    JC.f.extendObject( Histogram.prototype, {
      -        _beforeInit:
      -            function(){
      -                //JC.log( 'Histogram _beforeInit', new Date().getTime() );
      -            }
      -
      -        , _initHanlderEvent:
      -            function(){
      -                var _p = this;
      -
      -                _p.on( 'update_moving_status', function( _evt, _srcEvt, _srcEle ){
      -                    var _offset = _p._model.globalEventToLocalOffset( _srcEvt )
      -                        , _index = _p._model.indexAt( _offset );
      -
      -                    _p.trigger( 'clear_status' );
      -                    if( typeof _index == 'undefined' ) return;
      -
      -                    _p.trigger( 'update_status', [ _index, _offset  ] );
      -                });
      -
      -                _p.on( 'moving_start', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().show();
      -                });
      -
      -                _p.on( 'moving_done', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().hide();
      -                });
      -
      -                _p.on( 'clear_status', function(){
      -                    _p._view.clearStatus();
      -                });
      -
      -                _p.on( 'update_status', function( _evt, _index, _offset ){
      -                    if( !_offset ) return;
      -                    if( typeof _index == 'undefined' ) return;
      -                    //JC.log( _index, _offset.x, _offset.y, JC.f.ts() );
      -                    _p._view.updateTips( _index, _offset );
      -                    _p._view.updateRect( _index );
      -                    _p._view.updateVLine( _index );
      -                });
      -            }
      -
      -        , _inited:
      -            function(){
      -                //JC.log( 'Histogram _inited', new Date().getTime() );
      -            }
      -    });
      -
      -    Histogram.Model._instanceName = 'JChartHistogram';
      -
      -    Histogram.Model.STYLE = {
      -        lineStyle: {
      -            'stroke': '#999'
      -            , 'opacity': '.35'
      -        }
      -        , style: [
      -            { 'stroke': '#09c100', 'stroke-opacity': 0 }
      -            , { 'stroke': '#FFBF00', 'stroke-opacity': 0 }
      -            , { 'stroke': '#0c76c4', 'stroke-opacity': 0 }
      -            , { 'stroke': '#41e2e6', 'stroke-opacity': 0 }
      -
      -            , { 'stroke': '#ffb2bc', 'stroke-opacity': 0 }
      -
      -            , { 'stroke': '#dbb8fd', 'stroke-opacity': 0 }
      -
      -            , { 'stroke': '#ff06b3', 'stroke-opacity': 0 }
      -            , { 'stroke': '#ff7100', 'stroke-opacity': 0 }
      -            , { 'stroke': '#c3e2a4', 'stroke-opacity': 0 }
      -
      -            , { 'stroke': '#ff0619', 'stroke-opacity': 0 }
      -
      -        ]
      -        , pathStyle: {
      -            'stroke-width': 2
      -        }
      -        , radius: 4
      -    };
      -
      -    var _oldWorkspaceOffset = Histogram.Model.prototype.workspaceOffset;
      -
      -    JC.f.extendObject( Histogram.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'Histogram.Model.init:', new Date().getTime() );
      -            }
      -
      -        , rects:
      -            function( ){
      -                var _p = this, _tmp;
      -
      -                if( typeof _p._rects == 'undefined' ){
      -                    _p._rects= [];
      -
      -                    $.each( _p.data().xAxis.categories, function( _k, _item ){
      -                        var _items = [];
      -                        $.each( _p.data().series, function( _sk, _sitem ){
      -                            _tmp = new JChart.GraphicRect( 
      -                                _p.stage()
      -                                , 10000, 0
      -                                , 100
      -                                , 100
      -                                , _p.itemStyle( _sk )
      -                                , _p.itemHoverStyle( _sk )
      -                            );
      -                            _items.push( _tmp );
      -                        });
      -
      -                        _p._rects.push( _items );
      -                    });
      -                }
      -                return _p._rects;
      -            }
      -
      -        , itemStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = Histogram.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -
      -                _r = JC.f.cloneObject( Histogram.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series[ _ix ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].style ) );
      -
      -                !_r.fill && _r.stroke && ( _r.fill = _r.stroke );
      -
      -                _r[ 'fill-opacity' ] = 1;
      -
      -                return _r;
      -            }
      -
      -        , itemHoverStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = Histogram.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -                _r = JC.f.cloneObject( Histogram.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series[ _ix ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].style ) );
      -
      -                _p.data().series[ _ix ].hoverStyle
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ _ix ].hoverStyle ) );
      -
      -                _r[ 'fill-opacity' ] = .65;
      -
      -                return _r;
      -            }
      -
      -        , lineStyle:
      -            function( _ix ){
      -                var _r = JC.f.cloneObject( Histogram.Model.STYLE.lineStyle );
      -                return _r;
      -            }
      -
      -        , indexAt:
      -            function( _offset ){
      -                var _p = this
      -                    , _c = _p.coordinate()
      -                    , _realX = _offset.x - _c.wsX
      -                    , _realY = _offset.y - _c.wsY
      -                    , _maxX = _c.wsWidth
      -                    , _maxY = _c.wsHeight
      -                    , _itemLen, _partWidth
      -                    , _partWhat = 0;
      -                    ;
      -
      -                if( _realX <= 0 || _realY <= 0 || _realX >= _maxX || _realY >= _maxY ){
      -                    return undefined;
      -                }
      -
      -                _itemLen = ( _c.hlen - 1 ) * 2;
      -                _partWidth = _c.wsWidth / _itemLen;
      -                _partWhat = Math.floor( _realX / _partWidth  );
      -                _partWhat > 1 && ( _partWhat = Math.round( _partWhat / 2 ) );
      -
      -                //JC.log( _partWhat, _realX, _realY, JC.f.ts() );
      -                //JC.log( _partWhat );
      -
      -                return _partWhat;
      -            }
      -
      -        , coordinate:
      -            function( _data ){
      -                if( typeof this._coordinate != 'undefined' || !_data ){
      -                    return this._coordinate;
      -                }
      -                var _p = this
      -                    , _c = {}
      -                    , _bbox
      -                    , _x = 0, _maxX = _p.width() - 10
      -                    , _y = 0, _maxY = _p.height()
      -                    , _tmp, _tmpX, _tmpY, _padX, _tmpA, _tmpA1
      -                    ;
      -                this._coordinate = _c;
      -
      -                _p.stage();
      -
      -                _c.stage = { x: 0, y: 0, width: _p.width(), height: _p.height(), corner: _p.stageCorner()  };
      -                _p.background( _c );
      -                _x = 2, _y = 2;
      -
      -                var _title = _p.title( _data );
      -                if( _title ){
      -                    _bbox = JChart.f.getBBox( _title );
      -                    _c.title = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _title
      -                    }
      -                    _y = _c.title.y + _bbox.height / 2;
      -                }
      -
      -                var _subtitle = _p.subtitle( _data );
      -                if( _subtitle ){
      -                    _bbox = JChart.f.getBBox( _subtitle );
      -                    _c.subtitle = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _subtitle
      -                    }
      -                    _y = _c.subtitle.y + _bbox.height / 2 + 5;
      -                }
      -
      -                !( _title && _subtitle ) && ( _y += 10 );
      -
      -                var _vtitle = _p.vtitle( _data );
      -                if( _vtitle ){
      -                    _bbox = JChart.f.getBBox( _vtitle );
      -                    _c.vtitle = {
      -                        x: _x + _bbox.height / 2 + 5
      -                        , y: _p.height() / 2
      -                        , rotate: -90
      -                        , ele: _vtitle
      -                    }
      -                    _x = _c.vtitle.x + 5 + 10;
      -                }
      -
      -                var _credits = _p.credits( _data );
      -                if( _credits ){
      -                    _bbox = JChart.f.getBBox( _credits );
      -                    _c.credits = {
      -                        x: _maxX - _bbox.width / 2
      -                        , y: _maxY - _bbox.height / 2
      -                        , ele: _credits
      -                    }
      -                    _maxY = _c.credits.y - 5;
      -                }
      -
      -                if( _p.legendEnable() ){
      -                    var _legend = _p.legend( _data, 'rect', function( _ix, _legend, _text, _data ){
      -                        var _color = _data.stroke 
      -                                        || Histogram.Model.STYLE.data[ _ix % Histogram.Model.STYLE.data.length ].stroke 
      -                                        || '#fff';
      -                        _legend.attr( 'fill', _color ).attr( 'stroke', _color );;
      -                    } );
      -                    if( _legend ){
      -                        _bbox = JChart.f.getBBox( _legend );
      -                        _c.legend = {
      -                            x: ( _maxX - _bbox.width ) / 2
      -                            , y: _maxY - _bbox.height + 5
      -                            , ele: _legend
      -                        }
      -                        _maxY = _c.legend.y;
      -                    }
      -                }else{
      -                }
      -
      -                _maxY -= _p.varrowSize();
      -                _x += _p.harrowSize();
      -
      -                var _hlabelMaxHeight = _p.hlabelMaxHeight( _data );
      -                var _vlabelMaxWidth = _p.vlabelMaxWidth( _data );
      -                var _vx = _x, _hy = _y;
      -
      -                if( _vlabelMaxWidth ){
      -                    _x += _vlabelMaxWidth;
      -                    _vx = _x - _p.harrowSize();
      -                    _x += 5;
      -                }
      -
      -                if( _hlabelMaxHeight ){
      -                    _maxY -= 2;
      -                    _maxY -= _hlabelMaxHeight;
      -                    _hy = _maxY + _p.varrowSize() + 4;
      -                    _maxY -= 5;
      -                }
      -
      -                //JC.log( _x, _maxX, _maxX - _x );
      -
      -                _c.vlen = _p.vlen();
      -                _c.hlen = _p.hlen();
      -
      -                _c.vpart = ( _maxY - _y ) / ( _c.vlen - 1 );
      -                _c.hpart = ( _maxX - _x ) / ( _c.hlen );
      -
      -                _c.halfHPart = _c.hpart / 2;
      -
      -                _c.seriesLength = _p.seriesLength();
      -                _c.seriesPart = Math.floor( _c.hpart / ( _c.seriesLength * 1.5 ) );
      -
      -                _c.wsHeight = _maxY - _y;
      -                _c.wsY = _y;
      -                _c.wsMaxY = _maxY;
      -
      -                _c.wsWidth = _maxX - _x;
      -                _c.wsX = _x;
      -                _c.wsMaxX = _maxX;
      -
      -                var _dataBackground = _p.dataBackground( _c.wsX, _c.wsY, _c.wsWidth, _c.wsHeight );
      -                if( _dataBackground ){
      -                    _c.dataBackground = {
      -                        x: _c.wsX, y: _c.wsY, width: _c.wsWidth, height: _c.wsHeight, item: _dataBackground
      -                    };
      -                }
      -
      -                var _vlines = _p.vlines( _data );
      -                if( _vlines && _vlines.length ){
      -                    _tmpA = [];
      -                    _tmpA1 = [];
      -                    _tmp = _p.labelDisplayIndex( _data );
      -                    $.each( _vlines, function( _ix, _item ){
      -                        _tmpX = _x + _c.hpart * _ix + _c.halfHPart;
      -                        _padX = _p.varrowSize();
      -                        if( _tmp && _tmp.length ){
      -                            !_tmp[ _ix ] && ( _padX = 0 );
      -                        }
      -                        _tmpA.push( {  start: { 'x': _tmpX, 'y': _y + _c.wsHeight }
      -                        //_tmpA.push( {  start: { 'x': _tmpX, 'y': _y }
      -                            , end: { 'x': _tmpX, 'y': _maxY + _padX }
      -                            , 'item': _item  } );
      -                        _tmpA1.push( {  start: { 'x': _tmpX, 'y': _y }
      -                            , end: { 'x': _tmpX, 'y': _maxY }
      -                            , 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.vlines = _tmpA );
      -                    _tmpA1.length && ( _c.vlinePoint = _tmpA1 );
      -                }
      -
      -                var _hlines = _p.hlines( _data );
      -                if( _hlines && _hlines.length ){
      -                    _tmpA = [];
      -                    _tmpA1 = [];
      -                    $.each( _hlines, function( _ix, _item ){
      -                        _tmpY = _y + _c.vpart * _ix;
      -                        _tmpA.push( {  start: { 'x': _x - _p.harrowSize(), 'y': _tmpY }
      -                            , end: { 'x': _maxX , 'y': _tmpY }
      -                            , 'item': _item  } );
      -                        _tmpA1.push( {  start: { 'x': _x, 'y': _tmpY }
      -                            , end: { 'x': _maxX , 'y': _tmpY }
      -                            , 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.hlines = _tmpA );
      -                    _tmpA1.length && ( _c.hlinePoint = _tmpA1 );
      -                }
      -
      -                if( _vlabelMaxWidth ){
      -                    var _vlabels = _p.vlables( _data );
      -                    _tmp = 0;
      -                    _tmpA = [];
      -                    $.each( _vlabels, function( _ix, _item ){
      -                        _bbox = JChart.f.getBBox( _item );
      -                        _tmpX = _vx - _bbox.width / 2;
      -                        _tmpY = parseInt( _y + ( _maxY - _y ) * _tmp );
      -                        _tmp += .25;
      -                        _tmpA.push( { 'x': _tmpX, 'y': _tmpY, 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.vlables = _tmpA );
      -                }
      -
      -                if( _hlabelMaxHeight ){
      -                    var _hlabels = _p.hlables( _data );
      -                    _tmp = 0;
      -                    _tmpA = [];
      -                    $.each( _c.vlinePoint, function( _ix, _lineItem ){
      -                        var _item = _hlabels[_ix ], _bbox;
      -                        if( !_item ) return;
      -                        _tmpX = _lineItem.end.x;
      -                        _bbox = JChart.f.getBBox( _item );
      -                        if( _ix === ( _c.vlinePoint.length - 1 ) ){
      -                            _tmpX = _lineItem.end.x + 2;
      -                            if(  ( _tmpX + _bbox.width / 2 ) > _c.wsMaxX ){
      -                                _tmpX = _c.wsMaxX - _bbox.width / 2;
      -                            }
      -                        }else if( _ix === 0 ){
      -                            _tmpX = _lineItem.end.x - 2;
      -                            if(  ( _tmpX - _bbox.width / 2 ) < _c.wsX ){
      -                                _tmpX = _c.wsX + _bbox.width / 2;
      -                            }
      -                        }
      -                        _tmpY = _hy;
      -                        _tmpA.push( { 'x': _tmpX, 'y': _tmpY, 'item': _item  } );
      -                    });
      -                    _tmpA.length && ( _c.hlables = _tmpA );
      -                }
      -
      -                //get data point
      -                _c.rects = [];
      -                _c.rectLine = [];
      -
      -                var _rateInfo = _p.rateInfo( _data, _p.rate( _data ) )
      -                    , _lineStartY = _c.vlinePoint[0].start.y
      -                    , _lineEndY = _c.vlinePoint[0].end.y
      -                    ;
      -                $.each( _data.xAxis.categories, function( _ix, _items ){
      -                    var _rectItems = []
      -                        , _lineItem = _c.vlinePoint[ _ix ]
      -                        , _sstart = _lineItem.end.x - _c.seriesPart * _data.series.length / 2
      -                        , _wsX = _lineItem.end.x - _c.hpart / 2 
      -                        , _maxNum
      -                        ;
      -                    _c.rectLine.push( {
      -                        start: { x: _wsX, y: _lineStartY }
      -                        , end: { x: _wsX, y: _lineEndY }
      -                        , item: _p.stage().path('M0 0').attr( _p.lineStyle( _ix ) )
      -                    } );
      -
      -                    if( _ix === _data.xAxis.categories.length - 1 ){
      -                        _wsX = _lineItem.end.x + _c.hpart / 2;
      -                        _c.rectLine.push( {
      -                            start: { x: _wsX, y: _lineStartY }
      -                            , end: { x: _wsX, y: _lineEndY }
      -                            , item: _p.stage().path('M0 0').attr( _p.lineStyle( _ix ) )
      -                        } );
      -                    }
      -
      -                    $.each( _data.series, function( _six, _sd ){
      -                        var _d = { 'y': _lineItem.start.y, 'x': _sstart + _six * _c.seriesPart  }
      -                            , _item, _dataHeight, _dataY, _height
      -                            , _num = _sd.data[ _ix ]
      -                            ;
      -
      -                        if( JChart.Base.isNegative( _num ) ){
      -                            _num = Math.abs( _num );
      -                            _dataHeight = _c.vpart * Math.abs( _rateInfo.length - _rateInfo.zeroIndex - 1 );
      -                            _dataY = _c.wsY + _c.vpart * _rateInfo.zeroIndex;
      -                            _maxNum = Math.abs( _rateInfo.finalMaxNum * _p.rate()[ _p.rate().length - 1 ] );
      -                            _height = ( _num / _maxNum ) * _dataHeight;
      -                            _d.y = _d.y + _c.wsHeight - _dataHeight;
      -                            //JC.log( _rateInfo.length, _rateInfo.zeroIndex, _c.vpart, _dataHeight, JC.f.ts() );
      -                        }else{
      -                            _dataHeight = _c.vpart * _rateInfo.zeroIndex;
      -                            _dataY = _c.wsY;
      -                            _maxNum = _rateInfo.finalMaxNum;
      -                            _height = ( _num / _maxNum ) * _dataHeight;
      -                            _d.y = _d.y + _dataHeight - _height;
      -                        }
      -                        //_p.stage().rect( _d.x, _d.y, _c.seriesPart, _height );
      -                        _d.width = _c.seriesPart;
      -                        _d.height = _height;
      -
      -                        _rectItems.push( _d );
      -                    });
      -                    _c.rects.push( _rectItems );
      -                });
      -
      -                var _tips = _p.tips();
      -
      -                //JC.dir( this._coordinate );
      -
      -                return this._coordinate;
      -            }
      -    });
      -
      -    JC.f.extendObject( Histogram.View.prototype, {
      -        _inited:
      -            function(){
      -            }
      -
      -        , setStaticPosition:
      -            function( _coordinate ){
      -                var _p = this, _c = _coordinate, _tmp;
      -                if( _c.title ){
      -                    _p._model.title().attr( _c.title );
      -                }
      -                if( _c.subtitle ){
      -                    _p._model.subtitle().attr( _c.subtitle );
      -                }
      -                if( _c.vtitle ){
      -                    _p._model.vtitle().attr( _c.vtitle );
      -                    _c.vtitle.rotate && _p._model.vtitle().rotate( _c.vtitle.rotate );
      -                }
      -                if( _c.credits ){
      -                    _p._model.credits().attr( _c.credits );
      -                }
      -                if( _c.legend ){
      -                    _p._model.legend().setPosition( _c.legend.x, _c.legend.y );
      -                }
      -                if( _c.vlables ){
      -                    $.each( _c.vlables, function( _k, _item ){
      -                        _item.item.attr( { 'x': _item.x, 'y': _item.y } );
      -                    });
      -                }
      -                if( _c.hlables ){
      -                    $.each( _c.hlables, function( _k, _item ){
      -                        _item.item.attr( { 'x': _item.x, 'y': _item.y } );
      -                    });
      -                }
      -
      -                if( _c.vlines ){
      -                    $.each( _c.vlines, function( _k, _item ){
      -                        _item.item.attr( 'path', JC.f.printf('M{0} {1}L{2} {3}', _item.start.x, _item.start.y, _item.end.x, _item.end.y ) );
      -                    });
      -                }
      -                if( _c.hlines ){
      -                    $.each( _c.hlines, function( _k, _item ){
      -                        _item.item && _item.item.attr( 'path', JC.f.printf('M{0} {1}L{2} {3}', _item.start.x, _item.start.y, _item.end.x, _item.end.y ) );
      -                    });
      -                }
      -                if( _c.rectLine ){
      -                    $.each( _c.rectLine, function( _k, _item ){
      -                        _item.item && _item.item.attr( 'path', JC.f.printf('M{0} {1}L{2} {3}', _item.start.x, _item.start.y, _item.end.x, _item.end.y ) );
      -                    });
      -                }
      -                if( _c.rects ){
      -                    var _rects = _p._model.rects();
      -                    $.each( _c.rects, function( _k, _item ){
      -                        $.each( _item, function( _sk, _sitem ){
      -                            _tmp = _rects[ _k ][ _sk ];
      -                            _tmp.attr( { x: _sitem.x, y: _sitem.y, width: _sitem.width, height: _sitem.height } );
      -                            //JC.log( _sitem.x, _sitem.y, JC.f.ts() );
      -                        });
      -                    });
      -                }
      -
      -                _p._model.tips().toFront();
      -
      -                /*
      -                var _t = new JChart.GraphicRect( _p.stage(), 0, 0, 100, 100, { 'fill': '#000' }, { 'fill': '#fff' } );
      -                setTimeout( function(){
      -                    _t.hover();
      -                }, 200 );
      -                */
      -            }
      -
      -        , draw: 
      -            function( _data ){
      -                var _p = this, _coordinate;
      -
      -                _p.setStaticPosition( _p._model.coordinate( _data ) );
      -
      -                _p._model.dataBackground().mouseenter( function( _evt ){
      -                    Histogram.CURRENT_INS = _p;
      -                    //JC.log( 'mouseenter', JC.f.ts() );
      -                    _jdoc.off( 'mousemove', Histogram.DEFAULT_MOVE );
      -                    _jdoc.on( 'mousemove', Histogram.DEFAULT_MOVE );
      -                    _p.trigger( 'moving_start' );
      -                });
      -
      -                _p._model.dataBackground().mouseleave( function( _evt ){
      -                    //JC.log( 'mouseleave', JC.f.ts() );
      -                    _p.trigger( 'moving_done' );
      -                    _jdoc.off( 'mousemove', Histogram.DEFAULT_MOVE );
      -                    Histogram.CURRENT_INS = null;
      -                });
      -                //JC.dir( _p.stage() );
      -                //
      -             }
      -
      -        , updateTips:
      -            function( _ix, _offset ){
      -                var _p = this
      -                    , _tips = _p._model.tips( _ix )
      -                    , _bbox = JChart.f.getBBox( _tips )
      -                    , _c = _p._model.coordinate()
      -                    , _x = _offset.x + 15, _y = _offset.y + 18
      -                    , _point = _c.vlinePoint[ _ix ]
      -                    ;
      -
      -                if( ( _y + _bbox.height ) > _c.stage.height ){
      -                    _y = _offset.y - _bbox.height + 8;
      -                }
      -                _y < 0 && ( _y = 0 );
      -
      -                if( ( _x + _bbox.width ) > _c.stage.width ){
      -                    _x = _offset.x - _bbox.width;
      -                }
      -                _x < 0 && ( _x = 0 );
      -
      -                _tips.setPosition( _x, _y );
      -            }
      -
      -        , updateRect:
      -            function( _ix ){
      -                var _p = this, _r = [], _preItems = _p._model.preItems() || {};
      -                //JC.dir( _p._model.rects()[ _ix ] );
      -                $.each( _p._model.rects()[ _ix ], function( _k, _item ){
      -                    _r.push( _item.hover() );
      -                });
      -                _preItems.point = _r;
      -                _p._model.preItems( _preItems );
      -            }
      -
      -        , updateVLine:
      -            function( _ix ){
      -                var _p = this, _r = [], _preItems = _p._model.preItems() || {};
      -
      -                _p._model.vlines() 
      -                    && ( _preItems.vlines = _p._model.vlines()[ _ix ].hover() )
      -                    && _p._model.preItems( _preItems );
      -            }
      -
      -        , clearStatus:
      -            function(){
      -                var _p = this, _preItems = _p._model.preItems();
      -
      -                if( _preItems ){
      -                    _preItems.point && $.each( _preItems.point, function( _k, _item ){
      -                        _item.unhover();
      -                    });
      -                    _preItems.vlines && _preItems.vlines.unhover();
      -                }
      -
      -                _p._model.preItems( null );
      -            }
      -    });
      -
      -    _jdoc.ready( function(){
      -        Histogram.autoInit && Histogram.init();
      -    });
      -
      -    _jwin.on( JChart.Base.RESIZE_UPDATE, function( _evt ){
      -        JChart.Base.reset( 'div.jchartHistogram', JChart.Histogram );
      -    });
      -
      -    return Histogram;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.IconLine_0.1_IconLine.js.html b/docs_api/files/.._modules_JChart.IconLine_0.1_IconLine.js.html deleted file mode 100644 index e0137b20..00000000 --- a/docs_api/files/.._modules_JChart.IconLine_0.1_IconLine.js.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - ../modules/JChart.IconLine/0.1/IconLine.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.IconLine/0.1/IconLine.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.IconLine.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.IconLine/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       IconLine
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-26
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.IconLine 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.IconLine = IconLine;
      -
      -    function IconLine( _stage, _rx, _ry, _rw, _rh, _radius, _style ){
      -
      -        this._model = new IconLine.Model( _stage, _rx, _ry, _rw, _rh, _radius, _style );
      -        this._view = new IconLine.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( IconLine.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    IconLine.Model = 
      -        function( _stage, _rx, _ry, _rw, _rh, _rcorner, _radius, _style ){
      -            this._stage = _stage;
      -            this._rx = _rx;
      -            this._ry = _ry;
      -            this._rw = _rw;
      -            this._rh = _rh;
      -            this._rcorner = _rcorner;
      -            this._radius = _radius;
      -            this._style = _style;
      -        };
      -
      -    JC.PureMVC.build( IconLine, JChart.GraphicBase );
      -
      -    JC.f.extendObject( IconLine.prototype, {
      -    });
      -
      -    IconLine.Model._instanceName = 'JCIconLine';
      -    JC.f.extendObject( IconLine.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconLine.Model.init:', new Date().getTime() );
      -                this._group = new JChart.Group();
      -            }
      -    });
      -
      -    JC.f.extendObject( IconLine.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconLine.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _rect = _p._model.stage().rect( 
      -                        _p._model._rx , _p._model._ry + _p._model._rh , _p._model._rw, _p._model._rh, _p._model._rcorner )
      -
      -                    , _circle = _p._model.stage().circle( 
      -                        _p._model._rx + _p._model._rw / 2
      -                        , _p._model._ry + _p._model._rh + _p._model._rh / 2
      -                        , _p._model._radius 
      -                        )
      -                    ;
      -                this._model._group.addChild( _rect, 'rect' );
      -                this._model._group.addChild( _circle, 'circle' );
      -
      -                this._model.add( _rect, 'rect' );
      -                this._model.add( _circle, 'circle' );
      -            }
      -    });
      -
      -    return JC.IconLine;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.IconRect_0.1_IconRect.js.html b/docs_api/files/.._modules_JChart.IconRect_0.1_IconRect.js.html deleted file mode 100644 index 68856404..00000000 --- a/docs_api/files/.._modules_JChart.IconRect_0.1_IconRect.js.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - ../modules/JChart.IconRect/0.1/IconRect.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.IconRect/0.1/IconRect.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.IconRect.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.IconRect/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       IconRect
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-24
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.IconRect 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.IconRect = IconRect;
      -
      -    function IconRect( _stage, _rx, _ry, _rw, _rh, _radius, _style ){
      -
      -        this._model = new IconRect.Model( _stage, _rx, _ry, _rw, _rh, _radius, _style );
      -        this._view = new IconRect.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( IconRect.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    IconRect.Model = 
      -        function( _stage, _rx, _ry, _rw, _rh, _rcorner, _radius, _style ){
      -            this._stage = _stage;
      -            this._rx = _rx;
      -            this._ry = _ry;
      -            this._rw = _rw;
      -            this._rh = _rh;
      -            this._rcorner = _rcorner;
      -            this._radius = _radius;
      -            this._style = _style;
      -        };
      -
      -    JC.PureMVC.build( IconRect, JChart.GraphicBase );
      -
      -    JC.f.extendObject( IconRect.prototype, {
      -    });
      -
      -    IconRect.Model._instanceName = 'JCIconRect';
      -    JC.f.extendObject( IconRect.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconRect.Model.init:', new Date().getTime() );
      -                this._group = new JChart.Group();
      -            }
      -
      -    });
      -
      -    JC.f.extendObject( IconRect.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconRect.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _rect = _p._model.stage().rect( 
      -                        _p._model._rx 
      -                        , _p._model._ry + _p._model._rh 
      -                        , _p._model._rw
      -                        , _p._model._rh
      -                        )
      -                this._model._group.addChild( _rect, 'rect' );
      -                this._model.add( _rect, 'element' );
      -            }
      -    });
      -
      -    return JC.IconRect;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.IconVLine_0.1_IconVLine.js.html b/docs_api/files/.._modules_JChart.IconVLine_0.1_IconVLine.js.html deleted file mode 100644 index 796ac204..00000000 --- a/docs_api/files/.._modules_JChart.IconVLine_0.1_IconVLine.js.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - ../modules/JChart.IconVLine/0.1/IconVLine.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.IconVLine/0.1/IconVLine.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.PureMVC', 'Raphael', 'JChart.Group', 'JChart.GraphicBase' ], function(){
      -/**
      - * 组件用途简述
      - *
      - *  <p><b>require</b>:
      - *      <a href='JC.PureMVC.html'>JC.PureMVC</a>
      - *  </p>
      - *
      - *  <p><a href='https://github.com/openjavascript/jquerycomps' target='_blank'>JC Project Site</a>
      - *      | <a href='http://jc2.openjavascript.org/docs_api/classes/JC.IconVLine.html' target='_blank'>API docs</a>
      - *      | <a href='../../modules/JChart.IconVLine/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - * @namespace   JChart
      - * @class       IconVLine
      - * @extends     JChart.GraphicBase
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2013-12-13
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - * @example
      -        <h2>JC.IconVLine 示例</h2>
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.IconVLine = IconVLine;
      -
      -    function IconVLine( _stage, _path, _style, _hoverStyle ){
      -
      -        this._model = new IconVLine.Model( _stage, _path, _style, _hoverStyle );
      -        this._view = new IconVLine.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( IconVLine.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -
      -    IconVLine.Model = 
      -        function( _stage, _path, _style, _hoverStyle ){
      -            this._stage = _stage;
      -            this._path = _path;
      -            this._style = _style;
      -            this._hoverStyle = _hoverStyle;
      -        };
      -
      -    JC.PureMVC.build( IconVLine, JChart.GraphicBase );
      -
      -    JC.f.extendObject( IconVLine.prototype, {
      -    });
      -
      -    IconVLine.Model._instanceName = 'JCIconVLine';
      -    JC.f.extendObject( IconVLine.Model.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconVLine.Model.init:', new Date().getTime() );
      -            }
      -    });
      -
      -    JC.f.extendObject( IconVLine.View.prototype, {
      -        init:
      -            function(){
      -                //JC.log( 'IconVLine.View.init:', new Date().getTime() );
      -            }
      -
      -        , draw:
      -            function(){
      -                var _p = this
      -                    , _element = _p._model.stage().path( _p._model._path )
      -                    ;
      -                _p._model.add( _element, 'element' );
      -                _p.unhover();
      -            }
      -    });
      -
      -    return JC.IconVLine;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -)
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.PieGraph_0.1_PieGraph.js.html b/docs_api/files/.._modules_JChart.PieGraph_0.1_PieGraph.js.html deleted file mode 100644 index d6598e69..00000000 --- a/docs_api/files/.._modules_JChart.PieGraph_0.1_PieGraph.js.html +++ /dev/null @@ -1,1050 +0,0 @@ - - - - - ../modules/JChart.PieGraph/0.1/PieGraph.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.PieGraph/0.1/PieGraph.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JChart.Base', 'JChart.Group', 'JChart.IconVLine', 'JChart.IconRect', 'JChart.GraphicPiePart' ], function(){
      -/**
      - * 柱状图
      - *
      - *<p><b>require</b>:
      - *   <a href='JChart.Base.html'>JChart.Base</a>
      - *</p>
      - *
      - *<p><a href='https://github.com/openjavascript/jchart' target='_blank'>JChart Project Site</a>
      - *   | <a href='http://jchart.openjavascript.org/docs_api/classes/JChart.PieGraph.html' target='_blank'>API docs</a>
      - *   | <a href='../../modules/JChart.PieGraph/0.1/_demo' target='_blank'>demo link</a></p>
      - *  
      - *<h2>页面只要引用本脚本, 默认会处理 span class="jchartPieGraph"</h2>
      - *
      - *<h2>可用的 HTML attribute</h2>
      - *
      - *<dl>
      - *    <dt></dt>
      - *    <dd><dd>
      - *</dl> 
      - *
      - * @namespace   JChart
      - * @class       PieGraph
      - * @extends     JChart.Base
      - * @constructor
      - * @param   {selector|string}   _selector   
      - * @version dev 0.1 2014-06-20
      - * @author  qiushaowei <suches@btbtd.org> | 75 Team
      - */
      -    var _jdoc = $( document ), _jwin = $( window );
      -
      -    JChart.PieGraph = PieGraph;
      -
      -    function PieGraph( _selector ){
      -        _selector && ( _selector = $( _selector ) );
      -
      -        if( JC.BaseMVC.getInstance( _selector, PieGraph ) ) 
      -            return JC.BaseMVC.getInstance( _selector, PieGraph );
      -
      -        JC.BaseMVC.getInstance( _selector, PieGraph, this );
      -
      -        this._model = new PieGraph.Model( _selector );
      -        this._view = new PieGraph.View( this._model );
      -
      -        this._init();
      -
      -        //JC.log( PieGraph.Model._instanceName, 'all inited', new Date().getTime() );
      -    }
      -    /**
      -     * 初始化可识别的 PieGraph 实例
      -     * @method  init
      -     * @param   {selector}      _selector
      -     * @static
      -     * @return  {Array of PieGraphInstance}
      -     */
      -    PieGraph.init =
      -        function( _selector ){
      -            var _r = [];
      -            _selector = $( _selector || document );
      -
      -            if( _selector.length ){
      -                if( _selector.hasClass( 'jchartPieGraph' )  ){
      -                    _r.push( new PieGraph( _selector ) );
      -                }else{
      -                    JChart.Base.init( PieGraph, $( 'div.jchartPieGraph' ), 0, 1 );
      -                }
      -            }
      -            return _r;
      -        };
      -
      -    PieGraph.CURRENT_INS = null;
      -    PieGraph.DEFAULT_MOVE =
      -        function( _evt ){
      -            if( !PieGraph.CURRENT_INS ){
      -                _jdoc.off( 'mousemove', PieGraph.DEFAULT_MOVE );
      -                return;
      -            }
      -            var _p = PieGraph.CURRENT_INS;
      -            _p.trigger( 'update_moving_status', [ _evt ] );
      -        };
      -
      -    JC.BaseMVC.build( PieGraph, JChart.Base );
      -
      -    JC.f.extendObject( PieGraph.prototype, {
      -        _beforeInit:
      -            function(){
      -            }
      -
      -        , _initHanlderEvent:
      -            function(){
      -                var _p = this;
      -
      -                _p.on( 'update_moving_status', function( _evt, _srcEvt, _srcEle ){
      -                    var _offset = _p._model.globalEventToLocalOffset( _srcEvt )
      -                        , _index = _p._model.indexAt();
      -
      -                    _p.trigger( 'clear_status' );
      -                    if( typeof _index == 'undefined' ) return;
      -
      -                    _p.trigger( 'update_status', [ _index, _offset  ] );
      -                });
      -
      -                _p.on( 'moving_start', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().show();
      -                });
      -
      -                _p.on( 'moving_done', function( _evt ){
      -                    _p.trigger( 'clear_status' );
      -                    _p._model.tips() && _p._model.tips().hide();
      -                });
      -
      -                _p.on( 'clear_status', function(){
      -                    _p._view.clearStatus();
      -                });
      -
      -                _p.on( 'update_status', function( _evt, _index, _offset ){
      -                    if( !_offset ) return;
      -                    if( typeof _index == 'undefined' ) return;
      -                    _p._view.updateTips( _index, _offset );
      -                });
      -
      -                _p.on( 'unselected_piepart', function( _evt, _isSelected, _id ){
      -                    _p._model.piePart() && _p._model.piePart().length &&
      -                        $.each( _p._model.piePart(), function( _k, _item ){
      -                            if( _item.id() == _id ) return;
      -                            _item.selected( false );
      -                        });
      -                });
      -
      -                _p.on( 'update_default_selected', function( _evt ){
      -                    var _ix;
      -                    _p._model.pieData() && _p._model.pieData().length
      -                        && $.each( _p._model.pieData(), function( _k, _item ){
      -                            _item.selected && ( _ix = _k );
      -                        });
      -
      -                    typeof _ix != 'undefined' 
      -                        && _p._model.piePart() 
      -                        && _p._model.piePart()[ _ix ]
      -                        && _p._model.piePart()[ _ix ].selected( true )
      -                        ;
      -                });
      -            }
      -
      -        , _inited:
      -            function(){
      -            }
      -    });
      -
      -    PieGraph.Model._instanceName = 'JChartPieGraph';
      -
      -    PieGraph.Model.STYLE = {
      -        lineStyle: {
      -            'stroke': '#999'
      -            , 'opacity': '.35'
      -        }
      -        , style: [
      -              { 'fill': '#09c100', 'stroke': '#fff'}
      -            , { 'fill': '#FFBF00', 'stroke': '#fff'}
      -            , { 'fill': '#0c76c4', 'stroke': '#fff'}
      -            , { 'fill': '#41e2e6', 'stroke': '#fff'}
      -            , { 'fill': '#ffb2bc', 'stroke': '#fff'}
      -            , { 'fill': '#dbb8fd', 'stroke': '#fff'}
      -            , { 'fill': '#ff06b3', 'stroke': '#fff'}
      -            , { 'fill': '#ff7100', 'stroke': '#fff'}
      -            , { 'fill': '#c3e2a4', 'stroke': '#fff'}
      -            , { 'fill': '#ff0619', 'stroke': '#fff'}
      -
      -        ]
      -        , pathStyle: {
      -            'stroke-width': 2
      -        }
      -        , radius: 4
      -    };
      -
      -    var _oldWorkspaceOffset = PieGraph.Model.prototype.workspaceOffset;
      -
      -    JC.f.extendObject( PieGraph.Model.prototype, {
      -        init:
      -            function(){
      -            }
      -
      -        , pieData:
      -            function(){
      -                var _p = this;
      -
      -                typeof _p._pieData == 'undefined' && _p.data() && _p.data().series 
      -                    && _p.data().series.length 
      -                    && _p.data().series[0].data
      -                    && _p.data().series[0].data.length
      -                    && ( _p._pieData = _p.data().series[0].data )
      -                return _p._pieData;
      -            }
      -
      -        , dataLabelEnabled:
      -            function(){
      -                var _p = this, _r = true;
      -
      -                _p.data() 
      -                    && _p.data().plotOptions 
      -                    && _p.data().plotOptions.pie
      -                    && _p.data().plotOptions.pie.dataLabels
      -                    && ( 'enabled' in _p.data().plotOptions.pie.dataLabels )
      -                    && ( _r = _p.data().plotOptions.pie.dataLabels.enabled )
      -                    ;
      -
      -                return _r;
      -            }
      -
      -        , itemStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = PieGraph.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -
      -                _r = JC.f.cloneObject( PieGraph.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series
      -                    && _p.data().series.length
      -                    && _p.data().series[ 0 ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ 0 ].style ) );
      -
      -                !_r.fill && _r.stroke && ( _r.fill = _r.stroke );
      -
      -                _r[ 'fill-opacity' ] = 1;
      -
      -                return _r;
      -            }
      -
      -        , itemHoverStyle:
      -            function( _ix ){
      -                var _r = {}, _p = this
      -                    , _len = PieGraph.Model.STYLE.style.length
      -                    , _ix = _ix % ( _len - 1 )
      -                    ;
      -                _r = JC.f.cloneObject( PieGraph.Model.STYLE.style[ _ix ] );
      -
      -                _p.data().series
      -                    && _p.data().series.length
      -                    && _p.data().series[ 0 ].style
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ 0 ].style ) );
      -
      -                _p.data().series
      -                    && _p.data().series.length
      -                    && _p.data().series[ 0 ].hoverStyle
      -                    && ( _r = JC.f.extendObject( _r, _p.data().series[ 0 ].hoverStyle ) );
      -
      -                _r[ 'fill-opacity' ] = .65;
      -
      -                return _r;
      -            }
      -
      -        , lineStyle:
      -            function( _ix ){
      -                var _r = JC.f.cloneObject( PieGraph.Model.STYLE.lineStyle );
      -                return _r;
      -            }
      -
      -        , indexAt:
      -            function( _setter ){
      -                typeof _setter != 'undefined' && ( this._index = _setter );
      -                return this._index;
      -            }
      -        /**
      -         * 数据图例图标
      -         */
      -        , legend:
      -            function( _data, _type, _cb ){
      -                var _p = this, _tmp = true, _type;
      -
      -                if( !this._legend && _data && 
      -                        ( ( _data.legend && ( 'enabled' in _data.legend ) && ( _tmp = _data.legend.enabled ) ) ||
      -                          _tmp
      -                        )
      -                    ){
      -                    this._legend =  new JChart.Group();
      -                    _type = _type || 'line';
      -                    switch( _type ){
      -                        case 'rect':
      -                            {
      -                                var _text = [], _minX = 8, _x = _minX, _y = 0, _maxX = 0, _legend, _text, _spad = 2, _pad = 8, _bx = 100, _by = 100, _tb, _lb, _h = 30;
      -                                _x += _bx;
      -
      -                                _p.pieData() &&
      -                                $.each( _p.pieData(), function( _k, _item ){
      -                                    if( !_item.name ) return;
      -                                    var _style = _p.itemStyle( _k );
      -                                    _legend = new JChart.IconRect( _p.stage(), _x, 0 + _by, 18, 10, 1, 4 );
      -                                    _lb = JChart.f.getBBox( _legend );
      -                                    _text = _p.stage().text( _lb.x + 18 + _spad, 0 + _by, _item.name ).attr( 'text-anchor', 'start');
      -                                    _tb = JChart.f.getBBox( _text );
      -                                    _p._legend.addChild( _legend, 'legend_' + _k, { padX: _x - _bx, padY: _tb.height / 2 + 1 } );
      -                                    _legend.attr( _style );
      -                                    _legend.attr( 'fill', _style.fill );
      -                                    _p._legend.addChild( _text, 'text_' + _k );
      -                                    _x = _tb.x + _tb.width + _pad;
      -                                    _h = _tb.height * 1.8;
      -                                });
      -
      -                                var _box = _p.stage().rect( _bx, _by - _h / 2, _x - _bx, _h, 8 )
      -                                        .attr( { 'stroke-opacity': .99, 'fill-opacity': .99, 'stroke-width': 1, 'stroke': '#909090' } );
      -                                _p._legend.addChild( _box, 'box' );
      -                            }
      -                    }
      -                }
      -                    
      -                return this._legend;
      -            }
      -
      -        /**
      -         * 保存图表数据
      -         */
      -        , data:
      -            function( _data ){
      -                var _p = this;
      -                if( typeof _data != 'undefined' ){
      -                    _p._data = _data;
      -                    //JC.dir( _p._data );
      -                    _p._data.series && _p._data.series.length && 
      -                        $.each( _p._data.series[0].data, function( _k, _item ){
      -                            if( JChart.f.isArray( _item ) ){
      -                                _p._data.series[0].data[ _k ] = { 'name': _item[0], 'y': _item[1] };
      -                            }
      -                        });
      -                }
      -                return _p._data;
      -            }
      -        , piePart:
      -            function( _parts ){
      -                var _p = this;
      -                if( _parts && typeof this._piePart == 'undefined' ){
      -                    _p._piePart = [];
      -                    var _tmp;
      -                    $.each( _parts, function( _k, _pieCor ){
      -                        _tmp = new JChart.GraphicPiePart( _p.stage(), _pieCor, _p.itemStyle( _k ), _p.itemHoverStyle( _k ), _k );
      -                        _tmp.index( _k );
      -                        _tmp.on( 'selected_changed', function( _evt, _isSelected, _id ){
      -                            _p.trigger( 'unselected_piepart', [ _isSelected, _id ] );
      -                        });
      -
      -                       _tmp.on( 'mouseenter', function( _evt, _srcEvt, _id, _index ){
      -                            //JC.log( 'mouseenter', _id, JC.f.ts() );
      -                            _jdoc.off( 'mousemove', PieGraph.DEFAULT_MOVE );
      -                            _jdoc.on( 'mousemove', PieGraph.DEFAULT_MOVE );
      -                            PieGraph.CURRENT_INS = _p;
      -                            _p.indexAt( _index );
      -                            _p.trigger( 'moving_start' );
      -                       });
      -
      -                       _tmp.on( 'mouseleave', function( _evt, _srcEvt, _id, _index ){
      -                            //JC.log( 'mouseleaveout', _id, JC.f.ts() );
      -                            _jdoc.off( 'mousemove', PieGraph.DEFAULT_MOVE );
      -                            _p.trigger( 'moving_done' );
      -                            PieGraph.CURRENT_INS = null;
      -                       });
      -
      -                        _p._piePart.push( _tmp );
      -                    });
      -                }
      -                return _p._piePart;
      -            }
      -
      -        , pieLine:
      -            function( _lines ){
      -                var _p = this;
      -
      -                if( _lines && typeof this._pieLine == 'undefined' ){
      -                    _p._pieLine = [];
      -                    _p._pieLineText = [];
      -                    var _tmp, _path, _style, _text;
      -                    $.each( _lines, function( _k, _item ){
      -                        _style = _p.itemStyle( _k );
      -                        _tmp = _p.stage().path( _item.path )
      -                            .attr( { 'stroke': _style.fill } )
      -                            .translate( .5, .5 )
      -                            ;
      -                        _p._pieLine.push( _tmp );
      -                        _text = _p.stage().text( 0, 0, _item.data.name )
      -                            .attr( { 'fill': '#999' } )
      -                            ;
      -                        switch( _item.direction ){
      -                            case 'top':
      -                                {
      -                                    _text.attr( { x: _item.end.x, y: _item.end.y - 5 } );
      -                                    break;
      -                                }
      -                            case 'left_top':
      -                                {
      -                                    _text.attr( { x: _item.end.x - 5, y: _item.end.y, 'text-anchor': 'end' } );
      -                                    break;
      -                                }
      -                            case 'right_top':
      -                                {
      -                                    _text.attr( { x: _item.end.x + 5, y: _item.end.y, 'text-anchor': 'start' } );
      -                                    break;
      -                                }
      -                            case 'left_bottom':
      -                                {
      -                                    _text.attr( { x: _item.end.x - 5, y: _item.end.y, 'text-anchor': 'end' } );
      -                                    break;
      -                                }
      -                            case 'right_bottom':
      -                                {
      -                                    _text.attr( { x: _item.end.x + 5, y: _item.end.y, 'text-anchor': 'start' } );
      -                                    break;
      -                                }
      -                            case 'right':
      -                                {
      -                                    _text.attr( { x: _item.end.x + 5, y: _item.end.y, 'text-anchor': 'start' } );
      -                                    break;
      -                                }
      -                            case 'bottom':
      -                                {
      -                                    _text.attr( { x: _item.end.x, y: _item.end.y + 5 } );
      -                                    break;
      -                                }
      -                            case 'left':
      -                                {
      -                                    _text.attr( { x: _item.end.x - 5, y: _item.end.y, 'text-anchor': 'end' } );
      -                                    break;
      -                                }
      -                        }
      -                    });
      -                }
      -
      -                return _p._pieLine;
      -            }
      -
      -        , pieLineText: function(){ return this._pieLineText; }
      -
      -        /**
      -         * 获取 tips 对象
      -         */
      -        , tips:
      -            function( _ix ){
      -                var _p = this, _c = _p.coordinate(), _items, _text, _val
      -                    , _len = _c.hlen, _count = 0
      -                    , _offsetY = 34
      -                    , _offsetX = 20
      -                    , _padWidth = 14
      -                    , _padHeight = 8
      -                    , _strokeColor = '#000'
      -                    , _tmp, _tmpBox, _tmpItem, _maxWidth = 0
      -                    ;
      -
      -                if( !_p._tips ){
      -                    var _initOffset = { x: 10000, y: 0 };
      -                    //_initOffset.x = 0;
      -                    _p._tips = new JChart.Group();
      -
      -                    _p._tips.addChild( 
      -                        _p.stage().rect( 0 + _initOffset.x, 0 + _initOffset.y, 50, 30, 5 ).attr( { 
      -                            'stroke': '#999'
      -                            , 'fill': '#fff' 
      -                            , 'fill-opacity': .98
      -                        } )
      -                    , 'rect' );
      -
      -                    _p._tips.addChild( _p.stage().text( 10 + _initOffset.x, 14 + _initOffset.y, 'tips' )
      -                            .attr( { 'font-weight': 'bold', 'fill': '#999', 'text-anchor': 'start' } )
      -                    , 'title' );
      -
      -                    _tmp = _p.stage().text( _offsetX + _initOffset.x, _offsetY + _initOffset.y, _p.data().series[0].name || 'empty' ).attr( { 'text-anchor': 'start' } );
      -                    _tmpBox = JChart.f.getBBox( _tmp );
      -                    _offsetY += _tmpBox.height + 5;
      -                    _tmpBox.width > _maxWidth && ( _maxWidth = _tmpBox.width );
      -                    _p._tips.addChild( _tmp, 'label_0' );
      -
      -                    _tmpItem = _p._tips.getChildByName( 'label_0' );
      -                    _tmpBox = JChart.f.getBBox( _tmpItem );
      -                    _tmp = _p.stage().text( _maxWidth + _offsetX + 10 + _initOffset.x, _tmpItem.attr( 'y' ) + _initOffset.y, '012345678901.00' ).attr( { 'text-anchor': 'start' } );
      -                    _p._tips.addChild( _tmp, 'val_0' );
      -
      -                    _tmpItem = _p._tips.getChildByName( 'val_0' );
      -                    _tmpItem.attr( 'text', '0.00' );
      -
      -                    _p._tipLabelMaxWidth = _maxWidth;
      -                }
      -                if( typeof _ix != 'undefined' ){
      -                    _p._tips.getChildByName( 'title' ).attr( 'text', _p.tipsTitle( _ix ) );
      -
      -                    var _maxTextWidth = 0, _tmpLabel;
      -                    _maxTextWidth = JChart.f.getBBox( _p._tips.getChildByName( 'val_' + 0 )
      -                                    .attr( 'text', JC.f.moneyFormat( _p.pieData()[ _ix ].y, 3, _p.floatLen() ) )).width;
      -
      -                    _p._tips.getChildByName( 'title' ).attr( 'fill', _p.itemStyle( _ix ).fill );
      -
      -                    $.each( _p.data().series, function( _k, _item ){
      -                        _tmp = _p._tips.getChildByName( 'val_' + _k );
      -                        _tmpLabel = _p._tips.getChildByName( 'label_' + _k );
      -                        _tmpBox = JChart.f.getBBox( _tmpLabel );
      -                        _tmp.attr( 'x', _tmpBox.x + _p._tipLabelMaxWidth + 10 + _maxTextWidth - JChart.f.getBBox( _tmp ).width );
      -                    });
      -                }
      -                _p._tips.getChildByName( 'rect' ).attr( { width: 80, height: 50 } );
      -                _tmpBox = JChart.f.getBBox( _p._tips );
      -                _p._tips.getChildByName( 'rect' ).attr( { 'width': _tmpBox.width + _padWidth, 'height': _tmpBox.height + _padHeight } );
      -
      -                return _p._tips;
      -            }
      -        /**
      -         * 获取 tips 标题文本
      -         */
      -        , tipsTitle:
      -            function( _ix ){
      -                var _p = this, _r = '';
      -                _p.pieData() && _p.pieData().length && _p.pieData()[ _ix ] &&
      -                    ( _r = _p.pieData()[ _ix ].name );
      -                return _r;
      -            }
      -
      -        , tipsLabel:
      -            function(){
      -                var _p = this, _r = '';
      -                _p.data() && _p.data().series && _p.data().series.length &&
      -                    ( _r = _p.data().series[ 0 ].name );
      -                return _r;
      -            }
      -
      -        , coordinate:
      -            function( _data ){
      -
      -                if( typeof this._coordinate != 'undefined' || !_data ){
      -                    return this._coordinate;
      -                }else{
      -                    this._coordinate = {};
      -                }
      -
      -                var _p = this
      -                    , _c = {}
      -                    , _bbox
      -                    , _x = 0, _maxX = _p.width() - 10
      -                    , _y = 0, _maxY = _p.height() - 5
      -                    , _tmp, _tmpX, _tmpY, _padX, _tmpA, _tmpA1
      -                    ;
      -                this._coordinate = _c;
      -
      -                _p.stage();
      -
      -                _c.stage = { x: 0, y: 0, width: _p.width(), height: _p.height(), corner: _p.stageCorner()  };
      -                _p.background( _c );
      -                _x = 2, _y = 2;
      -
      -                var _title = _p.title( _data );
      -                if( _title ){
      -                    _bbox = JChart.f.getBBox( _title );
      -                    _c.title = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _title
      -                    }
      -                    _y = _c.title.y + _bbox.height / 2;
      -                }
      -
      -                var _subtitle = _p.subtitle( _data );
      -                if( _subtitle ){
      -                    _bbox = JChart.f.getBBox( _subtitle );
      -                    _c.subtitle = {
      -                        x: _p.width() / 2
      -                        , y: _y + _bbox.height / 2 + 5
      -                        , ele: _subtitle
      -                    }
      -                    _y = _c.subtitle.y + _bbox.height / 2 + 5;
      -                }
      -
      -                !( _title && _subtitle ) && ( _y += 10 );
      -
      -                var _vtitle = _p.vtitle( _data );
      -                if( _vtitle ){
      -                    _bbox = JChart.f.getBBox( _vtitle );
      -                    _c.vtitle = {
      -                        x: _x + _bbox.height / 2 + 5
      -                        , y: _p.height() / 2
      -                        , rotate: -90
      -                        , ele: _vtitle
      -                    }
      -                    _x = _c.vtitle.x + 5 + 10;
      -                }
      -
      -                var _credits = _p.credits( _data );
      -                if( _credits ){
      -                    _bbox = JChart.f.getBBox( _credits );
      -                    _c.credits = {
      -                        x: _maxX - _bbox.width / 2
      -                        , y: _maxY - _bbox.height / 2
      -                        , ele: _credits
      -                    }
      -                    _maxY = _c.credits.y - 8;
      -                }
      -
      -                if( _p.legendEnable() ){
      -
      -                    var _legend = _p.legend( _data, 'rect', function( _ix, _legend, _text, _data ){
      -                        var _color = _data.stroke 
      -                                        || Histogram.Model.STYLE.data[ _ix % Histogram.Model.STYLE.data.length ].stroke 
      -                                        || '#fff';
      -                        _legend.attr( 'fill', _color ).attr( 'stroke', _color );;
      -                    } );
      -                    if( _legend ){
      -                        _bbox = JChart.f.getBBox( _legend );
      -                        _c.legend = {
      -                            x: ( _maxX - _bbox.width ) / 2
      -                            , y: _maxY - _bbox.height - 2
      -                            , ele: _legend
      -                        }
      -                        _maxY = _c.legend.y;
      -                    }
      -                }
      -
      -                _maxY -= _p.varrowSize();
      -                _x += _p.harrowSize();
      -
      -                var _vx = _x, _hy = _y;
      -
      -                _c.wsHeight = _maxY - _y;
      -                _c.wsY = _y;
      -                _c.wsMaxY = _maxY;
      -
      -                _c.wsWidth = _maxX - _x;
      -                _c.wsX = _x;
      -                _c.wsMaxX = _maxX;
      -
      -                _c.cx = _c.wsX + _c.wsWidth / 2;
      -                _c.cy = _c.wsY + _c.wsHeight / 2;
      -
      -                _c.radius = _p.calcRadius( _c.wsWidth, _c.wsHeight );
      -
      -                var _dataBackground = _p.dataBackground( _c.wsX, _c.wsY, _c.wsWidth, _c.wsHeight );
      -                if( _dataBackground ){
      -                    _dataBackground.attr( { 
      -                        'fill': '#fff'
      -                        , 'fill-opacity': 1
      -                        , 'stroke': '#999' 
      -                        , 'stroke-width': 1
      -                        , 'stroke-opacity': .35
      -                    } );
      -                    _dataBackground.translate( .5, .5 );
      -
      -                    _c.dataBackground = {
      -                        x: _c.wsX, y: _c.wsY, width: _c.wsWidth, height: _c.wsHeight, item: _dataBackground
      -                    };
      -                }
      -
      -                //_p.stage().circle( _c.cx, _c.cy, _c.radius );
      -
      -                if( _p.pieData() && _p.pieData().length ){
      -                    var _angle = 360
      -                        , _angleCount = 0
      -                        , _offsetAngle = _p.offsetAngle()
      -                        , _partSize = _p.partSize()
      -                        , _tmpPoint
      -                        ;
      -
      -                    _c.piePart = [];
      -                    _p.dataLabelEnabled() && ( _c.pieLine = [] );
      -
      -                    //JC.log( '_p.dataLabelEnabled:', _p.dataLabelEnabled() );
      -
      -                    $.each( _p.pieData(), function( _k, _item ){
      -                        var _pieC = { cx: _c.cx, cy: _c.cy, radius: _c.radius }, _pieL = {};
      -
      -                        _pieC.radians = Math.PI / 180;
      -                        _pieC.offsetAngle = _offsetAngle;
      -                        
      -                        if( _item.y === _partSize ){
      -                            _pieC.angle = 360;
      -                            _pieC.percent = 100;
      -
      -                            _pieC.startAngle = ( _angleCount + _offsetAngle ) % _angle;
      -                            _pieC.midAngle = ( _pieC.startAngle + _pieC.angle / 2 ) % _angle;
      -                            _pieC.endAngle = ( ( _angleCount += _pieC.angle ) + _offsetAngle ) % _angle;
      -                        }else{
      -                            _pieC.percent = _item.y / _partSize * 100;
      -                            _pieC.angle = _item.y / _partSize * _angle;
      -
      -                            _pieC.startAngle = ( _angleCount + _offsetAngle ) % _angle;
      -                            _pieC.midAngle = _pieC.startAngle + _pieC.angle / 2;
      -                            _pieC.endAngle = ( ( _angleCount += _pieC.angle ) + _offsetAngle ) % _angle;
      -                        }
      -
      -                        _pieC.startPoint = JChart.Geometry.distanceAngleToPoint( _pieC.radius, _pieC.startAngle );
      -                        _pieC.endPoint = JChart.Geometry.distanceAngleToPoint( _pieC.radius, _pieC.endAngle );
      -
      -                        _pieC.startPoint.x += _pieC.cx;
      -                        _pieC.startPoint.y += _pieC.cy;
      -                        _pieC.endPoint.x += _pieC.cx;
      -                        _pieC.endPoint.y += _pieC.cy;
      -                        _pieC.data = _item;
      -
      -                        _pieL.start = JChart.Geometry.distanceAngleToPoint( _pieC.radius - _p.lineStart(), _pieC.midAngle );
      -                        _pieL.end = JChart.Geometry.distanceAngleToPoint( _pieC.radius + _p.lineLength(), _pieC.midAngle );
      -                        _pieL.cx = _c.cx, _pieL.cy = _c.cy;
      -                        _pieL.start.x += _pieL.cx;
      -                        _pieL.start.y += _pieL.cy;
      -                        _pieL.end.x += _pieL.cx;
      -                        _pieL.end.y += _pieL.cy;
      -                        _pieL.data = _item;
      -
      -                        //JC.log( _k, _pieC.midAngle );
      -
      -                        var _tmpPath, _controlX = _pieL.end.x, _controlY = _pieL.end.y, _minAngle = 5;
      -
      -                        if( Math.abs( 270 - _pieC.midAngle ) <= _minAngle ){
      -                            _pieL.direction = "top";
      -                        }else if( ( Math.abs( 360 - _pieC.midAngle ) <= _minAngle ) || _pieC.midAngle <= _minAngle ){
      -                            _pieL.direction = "right";
      -                        }else if( Math.abs( 90 - _pieC.midAngle ) <= _minAngle ){
      -                            _pieL.direction = "bottom";
      -                        }else if( Math.abs( 180 - _pieC.midAngle ) <= _minAngle ){
      -                            _pieL.direction = "left";
      -                        }else{
      -                            //left top
      -                            if( _pieL.end.x < _pieL.cx && _pieL.end.y < _pieL.cy ){
      -                                _controlY -= 5;
      -                                _controlX += 5;
      -                                _pieL.direction = "left_top";
      -                            }
      -                            //right top
      -                            if( _pieL.end.x > _pieL.cx && _pieL.end.y < _pieL.cy ){
      -                                _controlY -= 5;
      -                                _controlX -= 5;
      -                                _pieL.direction = "right_top";
      -                            }
      -                            //left bottom
      -                            if( _pieL.end.x < _pieL.cx && _pieL.end.y > _pieL.cy ){
      -                                _controlY += 5;
      -                                _controlX += 5;
      -                                _pieL.direction = "left_bottom";
      -                            }
      -                            //right bottom
      -                            if( _pieL.end.x > _pieL.cx && _pieL.end.y > _pieL.cy ){
      -                                _controlY += 5;
      -                                _controlX -= 5;
      -                                _pieL.direction = "right_bottom";
      -                            }
      -                        }
      -                        _pieL.control = { x: _controlX, y: _controlY };
      -
      -                        _tmpPath = JC.f.printf( 'M{0} {1}S{2} {3} {4} {5}'
      -                            , _pieL.start.x, _pieL.start.y
      -                            , _controlX, _controlY 
      -                            , _pieL.end.x, _pieL.end.y
      -                        );
      -                        //_p.stage().path( _tmpPath ).attr( { 'stroke': '#999' } ).translate( .5, .5 );
      -                        _pieL.path = _tmpPath;
      -
      -                        _c.piePart.push( _pieC );
      -                        _p.dataLabelEnabled() && _c.pieLine.push( _pieL );
      -                    });
      -                }
      -
      -                /*
      -                JC.dir( _p._coordinate );
      -                JC.dir( _p.data() );
      -                */
      -
      -                var _tips = _p.tips();
      -
      -                return _p._coordinate;
      -            }
      -
      -        , partSize:
      -            function(){
      -                var _p = this;
      -                typeof _p._partSize == 'undefined' 
      -                    &&_p.pieData() 
      -                    && _p.pieData().length && (
      -                            _p._partSize = 0
      -                            , $.each( _p.pieData(), function( _k, _item ){
      -                                _p ._partSize += _item.y
      -                            })
      -                       );
      -                return this._partSize || 100;
      -            }
      -
      -        , lineStart: function(){ return 10; }
      -        , lineLength: function(){ return 40; }
      -
      -        , offsetAngle:
      -            function(){
      -                var _r = 270;
      -                this.data() && 'offsetAngle' in this.data() && ( _r = this.data().offsetAngle );
      -                return _r;
      -            }
      -
      -        , calcRadius:
      -            function( _w, _h ){
      -                var _p = this, _r = Math.min( _w, _h );
      -                //_r = parseInt( _r / 5 * 3 / 2 );
      -                if( _p.legendEnable() ){
      -                    _r -= 30;
      -                }
      -                if( _p.dataLabelEnabled() ){
      -                    _r -= ( _p.lineLength() - _p.lineStart() + 40 ) * 2;
      -                }else{
      -                    _r -= 40;
      -                }
      -                _r /= 2;
      -                return _r;
      -            }
      -    });
      -
      -    JC.f.extendObject( PieGraph.View.prototype, {
      -        _inited:
      -            function(){
      -            }
      -
      -        , setStaticPosition:
      -            function( _coordinate ){
      -                var _p = this, _c = _coordinate, _tmp;
      -                if( _c.title ){
      -                    _p._model.title().attr( _c.title );
      -                }
      -                if( _c.subtitle ){
      -                    _p._model.subtitle().attr( _c.subtitle );
      -                }
      -                if( _c.credits ){
      -                    _p._model.credits().attr( _c.credits );
      -                }
      -                if( _c.legend ){
      -                    _p._model.legend().setPosition( _c.legend.x, _c.legend.y );
      -                }
      -                if( _c.pieLine ){
      -                    _p._model.pieLine( _c.pieLine );
      -                }
      -                if( _c.piePart ){
      -                    _p._model.piePart( _c.piePart );
      -                    _p.trigger( 'update_default_selected' );
      -                }
      -                _p._model.tips().toFront();
      -            }
      -
      -        , draw: 
      -            function( _data ){
      -                var _p = this, _coordinate;
      -
      -                _p.setStaticPosition( _p._model.coordinate( _data ) );
      -            }
      -
      -        , updateTips:
      -            function( _ix, _offset ){
      -                var _p = this
      -                    , _tips = _p._model.tips( _ix )
      -                    , _bbox = JChart.f.getBBox( _tips )
      -                    , _c = _p._model.coordinate()
      -                    , _x = _offset.x + 15, _y = _offset.y + 18
      -                    ;
      -
      -                if( ( _y + _bbox.height ) > _c.stage.height ){
      -                    _y = _offset.y - _bbox.height + 8;
      -                }
      -                _y < 0 && ( _y = 0 );
      -
      -                if( ( _x + _bbox.width ) > _c.stage.width ){
      -                    _x = _offset.x - _bbox.width;
      -                }
      -                _x < 0 && ( _x = 0 );
      -
      -                _tips.setPosition( _x, _y );
      -            }
      -
      -        , clearStatus:
      -            function(){
      -                var _p = this, _preItems = _p._model.preItems();
      -
      -                if( _preItems ){
      -                    _preItems.point && $.each( _preItems.point, function( _k, _item ){
      -                        _item.unhover();
      -                    });
      -                    _preItems.vlines && _preItems.vlines.unhover();
      -                }
      -
      -                _p._model.preItems( null );
      -            }
      -    });
      -
      -    _jdoc.ready( function(){
      -        PieGraph.autoInit && PieGraph.init();
      -    });
      -
      -    _jwin.on( JChart.Base.RESIZE_UPDATE, function( _evt ){
      -        JChart.Base.reset( 'div.jchartPieGraph', JChart.PieGraph );
      -    });
      -
      -    return PieGraph;
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb ) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/.._modules_JChart.common_0.1_common.js.html b/docs_api/files/.._modules_JChart.common_0.1_common.js.html deleted file mode 100644 index 05bdc8c2..00000000 --- a/docs_api/files/.._modules_JChart.common_0.1_common.js.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - ../modules/JChart.common/0.1/common.js - JChart - - - - - - - - - - - - - - -
      -
      -
      - -

      - -
      -
      - API Docs for: 0.2 -
      -
      -
      - - -
      -
      - Show: - - - - - - - -
      - - -
      -
      -
      -

      File: ../modules/JChart.common/0.1/common.js

      - -
      -
      -;(function(define, _win) { 'use strict'; define( [ 'JC.common' ], function(){
      -    /**
      -     * 声明主要命名空间, 方便迁移
      -     */
      -    window.JChart = window.JChart || {};
      -    JChart.PATH = JChart.PATH || JC.PATH;
      -    /**
      -     * JChart.f 是 JChart.common 的别名
      -     * <br />具体使用请见 <a href='JChart.common.html'>JChart.common</a></p>
      -     * @class JChart.f
      -     * @static
      -     */
      -    /**
      -     * JChart 组件通用静态方法和属性 ( JChart.common, <b>别名: JChart.f</b> )
      -     * <br />所有 JC 组件都会依赖这个静态类
      -     * <p><b>require</b>: <a href='window.jQuery.html'>jQuery</a></p>
      -     * <p><a href='https://github.com/openjavascript/jchart' target='_blank'>JChart Project Site</a>
      -     * | <a href='http://JChart.openjavascript.org/docs_api/classes/JChart.common.html' target='_blank'>API docs</a>
      -     * | <a href='../../modules/JChart.common/0.1/_demo/' target='_blank'>demo link</a></p>
      -     * @class JChart.common
      -     * @static
      -     * @version 2014-07-02
      -     * @author  qiushaowei   <suches@btbtd.org> | 360 75 Team
      -     */
      -    JChart.common = JChart.f = {
      -        "isArray": isArray
      -        , 'getBBox': getBBox
      -    };
      -    /**
      -     * 判断参数是否为数组
      -     * @method  isArray
      -     * @param   {Object}    obj
      -     * @return  {bool}
      -     * @static
      -     */
      -    function isArray(obj){  
      -        return Object.prototype.toString.call(obj) === '[object Array]' ;  
      -    }  
      -
      -    function getBBox( _item ){
      -        var _r;
      -        if( _item.node && _item.node.getBBox ){
      -            _r = _item.node.getBBox();
      -            _r.x2 = _r.x + _r.width;
      -            _r.y2 = _r.y + _r.height;
      -        }else if( _item.getBBox ){
      -            _r = _item.getBBox();
      -        }
      -        return _r;
      -    };
      -
      -    return JChart.common;
      -
      -});}( typeof define === 'function' && define.amd ? define : 
      -        function ( _name, _require, _cb) { 
      -            typeof _name == 'function' && ( _cb = _name );
      -            typeof _require == 'function' && ( _cb = _require ); 
      -            _cb && _cb(); 
      -        }
      -        , window
      -    )
      -);
      -
      -    
      -
      - -
      -
      -
      -
      -
      -
      - - - - - - - - - - diff --git a/docs_api/files/index.html b/docs_api/files/index.html deleted file mode 100644 index 487fe15b..00000000 --- a/docs_api/files/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - Redirector - - - - Click here to redirect - - diff --git a/docs_api/index.html b/docs_api/index.html deleted file mode 100644 index f2d10b38..00000000 --- a/docs_api/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - JChart - - - - - - - - - - - - - -
      -
      -
      -

      -
      -
      - API Docs for: 0.2 -
      -
      -
      - -
      -
      - Show: - - - - -
      -
      -
      -
      -
      -
      -

      - Browse to a module or class using the sidebar to view its API documentation. -

      -

      Keyboard Shortcuts

      -
        -
      • Press s to focus the API search box.

      • -
      • Use Up and Down to select classes, modules, and search results.

      • -
      • With the API search box or sidebar focused, use -Left or -Right to switch sidebar tabs.

      • -
      • With the API search box or sidebar focused, use Ctrl+Left and Ctrl+Right to switch sidebar tabs.

      • -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - \ No newline at end of file diff --git a/docs_api/jc_logo.png b/docs_api/jc_logo.png deleted file mode 100755 index ff3fdc21..00000000 Binary files a/docs_api/jc_logo.png and /dev/null differ diff --git a/docs_api/modules/index.html b/docs_api/modules/index.html deleted file mode 100644 index 487fe15b..00000000 --- a/docs_api/modules/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - Redirector - - - - Click here to redirect - - diff --git a/flash/pub/charts/CurveGram.swf b/flash/pub/charts/CurveGram.swf new file mode 100644 index 00000000..cf887af3 Binary files /dev/null and b/flash/pub/charts/CurveGram.swf differ diff --git a/flash/pub/charts/Histogram.swf b/flash/pub/charts/Histogram.swf new file mode 100644 index 00000000..86d3ad7a Binary files /dev/null and b/flash/pub/charts/Histogram.swf differ diff --git a/flash/pub/charts/Histogram_0.1.swf b/flash/pub/charts/Histogram_0.1.swf deleted file mode 100644 index 1f3b88ad..00000000 Binary files a/flash/pub/charts/Histogram_0.1.swf and /dev/null differ diff --git a/flash/pub/charts/PieGraph.swf b/flash/pub/charts/PieGraph.swf new file mode 100644 index 00000000..75a4c427 Binary files /dev/null and b/flash/pub/charts/PieGraph.swf differ diff --git a/flash/pub/charts/expressInstall.swf b/flash/pub/charts/expressInstall.swf new file mode 100755 index 00000000..0fbf8fca Binary files /dev/null and b/flash/pub/charts/expressInstall.swf differ diff --git a/flash/source/chart/CurveGram/0.1/.actionScriptProperties b/flash/source/chart/CurveGram/0.1/.actionScriptProperties index c6cca1a9..17df4167 100644 --- a/flash/source/chart/CurveGram/0.1/.actionScriptProperties +++ b/flash/source/chart/CurveGram/0.1/.actionScriptProperties @@ -2,7 +2,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/flash/source/chart/CurveGram/0.1/.project b/flash/source/chart/CurveGram/0.1/.project index ae375f61..69757d5f 100644 --- a/flash/source/chart/CurveGram/0.1/.project +++ b/flash/source/chart/CurveGram/0.1/.project @@ -18,7 +18,7 @@ [source path] src 2 - G:/My Documents/git/jchart/flash/source/lib/src + G:/My Documents/git/jchart_dev/flash/source/lib/src diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/CurveGram.swf b/flash/source/chart/CurveGram/0.1/bin-debug/CurveGram.swf index 5e785a05..a5394175 100644 Binary files a/flash/source/chart/CurveGram/0.1/bin-debug/CurveGram.swf and b/flash/source/chart/CurveGram/0.1/bin-debug/CurveGram.swf differ diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.double.line.html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.double.line.html new file mode 100644 index 00000000..a62dc10d --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.double.line.html @@ -0,0 +1,122 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.html new file mode 100644 index 00000000..fc3651ea --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.html @@ -0,0 +1,104 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_rate.html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_rate.html new file mode 100644 index 00000000..bc705166 --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_rate.html @@ -0,0 +1,108 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline.html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline.html new file mode 100644 index 00000000..7bd019ed --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline.html @@ -0,0 +1,112 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline_hline.html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline_hline.html new file mode 100644 index 00000000..9d45a120 --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.no_vline_hline.html @@ -0,0 +1,100 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.pv_uv..html b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.pv_uv..html new file mode 100644 index 00000000..8204ecd8 --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/demo.CurveGram.pv_uv..html @@ -0,0 +1,123 @@ + + + + +CRM - CurveGram.swf + + + + + +
      +
      CRM - CurveGram.swf
      +
      +
      +
      +
      + + + + + + + + + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/_demo/index.php b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/index.php new file mode 100755 index 00000000..01c8488f --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/_demo/index.php @@ -0,0 +1,4 @@ + diff --git a/flash/source/chart/CurveGram/0.1/bin-debug/jq.js b/flash/source/chart/CurveGram/0.1/bin-debug/jq.js new file mode 100644 index 00000000..fd085fc0 --- /dev/null +++ b/flash/source/chart/CurveGram/0.1/bin-debug/jq.js @@ -0,0 +1,8 @@ +(function(a2,aG){var ai,w,aC=typeof aG,l=a2.document,aL=a2.location,bi=a2.jQuery,H=a2.$,aa={},a6=[],s="1.9.1",aI=a6.concat,ao=a6.push,a4=a6.slice,aM=a6.indexOf,z=aa.toString,V=aa.hasOwnProperty,aQ=s.trim,bJ=function(e,b3){return new bJ.fn.init(e,b3,w)},bA=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ac=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,br=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bh=/^[\],:{}\s]*$/,bk=/(?:^|:|,)(?:\s*\[)+/g,bG=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,aZ=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bS=/^-ms-/,aV=/-([\da-z])/gi,M=function(e,b3){return b3.toUpperCase()},bW=function(e){if(l.addEventListener||e.type==="load"||l.readyState==="complete"){bl();bJ.ready()}},bl=function(){if(l.addEventListener){l.removeEventListener("DOMContentLoaded",bW,false);a2.removeEventListener("load",bW,false)}else{l.detachEvent("onreadystatechange",bW);a2.detachEvent("onload",bW)}};bJ.fn=bJ.prototype={jquery:s,constructor:bJ,init:function(e,b5,b4){var b3,b6;if(!e){return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b3=[null,e,null]}else{b3=br.exec(e)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bJ?b5[0]:b5;bJ.merge(this,bJ.parseHTML(b3[1],b5&&b5.nodeType?b5.ownerDocument||b5:l,true));if(a.test(b3[1])&&bJ.isPlainObject(b5)){for(b3 in b5){if(bJ.isFunction(this[b3])){this[b3](b5[b3])}else{this.attr(b3,b5[b3])}}}return this}else{b6=l.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(e)}this.length=1;this[0]=b6}this.context=l;this.selector=e;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(e)}else{return this.constructor(b5).find(e)}}}else{if(e.nodeType){this.context=this[0]=e;this.length=1;return this}else{if(bJ.isFunction(e)){return b4.ready(e)}}}if(e.selector!==aG){this.selector=e.selector;this.context=e.context}return bJ.makeArray(e,this)},selector:"",length:0,size:function(){return this.length},toArray:function(){return a4.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},pushStack:function(e){var b3=bJ.merge(this.constructor(),e);b3.prevObject=this;b3.context=this.context;return b3},each:function(b3,e){return bJ.each(this,b3,e)},ready:function(e){bJ.ready.promise().done(e);return this},slice:function(){return this.pushStack(a4.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(b4){var e=this.length,b3=+b4+(b4<0?e:0);return this.pushStack(b3>=0&&b30){return}ai.resolveWith(l,[bJ]);if(bJ.fn.trigger){bJ(l).trigger("ready").off("ready")}},isFunction:function(e){return bJ.type(e)==="function"},isArray:Array.isArray||function(e){return bJ.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !isNaN(parseFloat(e))&&isFinite(e)},type:function(e){if(e==null){return String(e)}return typeof e==="object"||typeof e==="function"?aa[z.call(e)]||"object":typeof e},isPlainObject:function(b5){if(!b5||bJ.type(b5)!=="object"||b5.nodeType||bJ.isWindow(b5)){return false}try{if(b5.constructor&&!V.call(b5,"constructor")&&!V.call(b5.constructor.prototype,"isPrototypeOf")){return false}}catch(b4){return false}var b3;for(b3 in b5){}return b3===aG||V.call(b5,b3)},isEmptyObject:function(b3){var e;for(e in b3){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(b6,b4,b5){if(!b6||typeof b6!=="string"){return null}if(typeof b4==="boolean"){b5=b4;b4=false}b4=b4||l;var b3=a.exec(b6),e=!b5&&[];if(b3){return[b4.createElement(b3[1])]}b3=bJ.buildFragment([b6],b4,e);if(e){bJ(e).remove()}return bJ.merge([],b3.childNodes)},parseJSON:function(e){if(a2.JSON&&a2.JSON.parse){return a2.JSON.parse(e)}if(e===null){return e}if(typeof e==="string"){e=bJ.trim(e);if(e){if(bh.test(e.replace(bG,"@").replace(aZ,"]").replace(bk,""))){return(new Function("return "+e))()}}}bJ.error("Invalid JSON: "+e)},parseXML:function(b5){var b3,b4;if(!b5||typeof b5!=="string"){return null}try{if(a2.DOMParser){b4=new DOMParser();b3=b4.parseFromString(b5,"text/xml")}else{b3=new ActiveXObject("Microsoft.XMLDOM");b3.async="false";b3.loadXML(b5)}}catch(b6){b3=aG}if(!b3||!b3.documentElement||b3.getElementsByTagName("parsererror").length){bJ.error("Invalid XML: "+b5)}return b3},noop:function(){},globalEval:function(e){if(e&&bJ.trim(e)){(a2.execScript||function(b3){a2["eval"].call(a2,b3)})(e)}},camelCase:function(e){return e.replace(bS,"ms-").replace(aV,M)},nodeName:function(b3,e){return b3.nodeName&&b3.nodeName.toLowerCase()===e.toLowerCase()},each:function(b7,b8,b3){var b6,b4=0,b5=b7.length,e=ab(b7);if(b3){if(e){for(;b40&&(b3-1) in b4)}w=bJ(l);var bY={};function ae(b3){var e=bY[b3]={};bJ.each(b3.match(ac)||[],function(b5,b4){e[b4]=true});return e}bJ.Callbacks=function(cc){cc=typeof cc==="string"?(bY[cc]||ae(cc)):bJ.extend({},cc);var b6,b5,e,b7,b8,b4,b9=[],ca=!cc.once&&[],b3=function(cd){b5=cc.memory&&cd;e=true;b8=b4||0;b4=0;b7=b9.length;b6=true;for(;b9&&b8-1){b9.splice(ce,1);if(b6){if(ce<=b7){b7--}if(ce<=b8){b8--}}}})}return this},has:function(cd){return cd?bJ.inArray(cd,b9)>-1:!!(b9&&b9.length)},empty:function(){b9=[];return this},disable:function(){b9=ca=b5=aG;return this},disabled:function(){return !b9},lock:function(){ca=aG;if(!b5){cb.disable()}return this},locked:function(){return !ca},fireWith:function(ce,cd){cd=cd||[];cd=[ce,cd.slice?cd.slice():cd];if(b9&&(!e||ca)){if(b6){ca.push(cd)}else{b3(cd)}}return this},fire:function(){cb.fireWith(this,arguments);return this},fired:function(){return !!e}};return cb};bJ.extend({Deferred:function(b4){var b3=[["resolve","done",bJ.Callbacks("once memory"),"resolved"],["reject","fail",bJ.Callbacks("once memory"),"rejected"],["notify","progress",bJ.Callbacks("memory")]],b5="pending",b6={state:function(){return b5},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var b7=arguments;return bJ.Deferred(function(b8){bJ.each(b3,function(ca,b9){var cc=b9[0],cb=bJ.isFunction(b7[ca])&&b7[ca];e[b9[1]](function(){var cd=cb&&cb.apply(this,arguments);if(cd&&bJ.isFunction(cd.promise)){cd.promise().done(b8.resolve).fail(b8.reject).progress(b8.notify)}else{b8[cc+"With"](this===b6?b8.promise():this,cb?[cd]:arguments)}})});b7=null}).promise()},promise:function(b7){return b7!=null?bJ.extend(b7,b6):b6}},e={};b6.pipe=b6.then;bJ.each(b3,function(b8,b7){var ca=b7[2],b9=b7[3];b6[b7[1]]=ca.add;if(b9){ca.add(function(){b5=b9},b3[b8^1][2].disable,b3[2][2].lock)}e[b7[0]]=function(){e[b7[0]+"With"](this===e?b6:this,arguments);return this};e[b7[0]+"With"]=ca.fireWith});b6.promise(e);if(b4){b4.call(e,e)}return e},when:function(b6){var b4=0,b8=a4.call(arguments),e=b8.length,b3=e!==1||(b6&&bJ.isFunction(b6.promise))?e:0,cb=b3===1?b6:bJ.Deferred(),b5=function(cd,ce,cc){return function(cf){ce[cd]=this;cc[cd]=arguments.length>1?a4.call(arguments):cf;if(cc===ca){cb.notifyWith(ce,cc)}else{if(!(--b3)){cb.resolveWith(ce,cc)}}}},ca,b7,b9;if(e>1){ca=new Array(e);b7=new Array(e);b9=new Array(e);for(;b4
      a";cd=b3.getElementsByTagName("*");cb=b3.getElementsByTagName("a")[0];if(!cd||!cb||!cd.length){return{}}cc=l.createElement("select");b5=cc.appendChild(l.createElement("option"));ca=b3.getElementsByTagName("input")[0];cb.style.cssText="top:1px;float:left;opacity:.5";ce={getSetAttribute:b3.className!=="t",leadingWhitespace:b3.firstChild.nodeType===3,tbody:!b3.getElementsByTagName("tbody").length,htmlSerialize:!!b3.getElementsByTagName("link").length,style:/top/.test(cb.getAttribute("style")),hrefNormalized:cb.getAttribute("href")==="/a",opacity:/^0.5/.test(cb.style.opacity),cssFloat:!!cb.style.cssFloat,checkOn:!!ca.value,optSelected:b5.selected,enctype:!!l.createElement("form").enctype,html5Clone:l.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",boxModel:l.compatMode==="CSS1Compat",deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};ca.checked=true;ce.noCloneChecked=ca.cloneNode(true).checked;cc.disabled=true;ce.optDisabled=!b5.disabled;try{delete b3.test}catch(b8){ce.deleteExpando=false}ca=l.createElement("input");ca.setAttribute("value","");ce.input=ca.getAttribute("value")==="";ca.value="t";ca.setAttribute("type","radio");ce.radioValue=ca.value==="t";ca.setAttribute("checked","t");ca.setAttribute("name","t");b9=l.createDocumentFragment();b9.appendChild(ca);ce.appendChecked=ca.checked;ce.checkClone=b9.cloneNode(true).cloneNode(true).lastChild.checked;if(b3.attachEvent){b3.attachEvent("onclick",function(){ce.noCloneEvent=false});b3.cloneNode(true).click()}for(b6 in {submit:true,change:true,focusin:true}){b3.setAttribute(b7="on"+b6,"t");ce[b6+"Bubbles"]=b7 in a2||b3.attributes[b7].expando===false}b3.style.backgroundClip="content-box";b3.cloneNode(true).style.backgroundClip="";ce.clearCloneStyle=b3.style.backgroundClip==="content-box";bJ(function(){var cf,ci,ch,cg="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",e=l.getElementsByTagName("body")[0];if(!e){return}cf=l.createElement("div");cf.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";e.appendChild(cf).appendChild(b3);b3.innerHTML="
      t
      ";ch=b3.getElementsByTagName("td");ch[0].style.cssText="padding:0;margin:0;border:0;display:none";b4=(ch[0].offsetHeight===0);ch[0].style.display="";ch[1].style.display="none";ce.reliableHiddenOffsets=b4&&(ch[0].offsetHeight===0);b3.innerHTML="";b3.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%;";ce.boxSizing=(b3.offsetWidth===4);ce.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==1);if(a2.getComputedStyle){ce.pixelPosition=(a2.getComputedStyle(b3,null)||{}).top!=="1%";ce.boxSizingReliable=(a2.getComputedStyle(b3,null)||{width:"4px"}).width==="4px";ci=b3.appendChild(l.createElement("div"));ci.style.cssText=b3.style.cssText=cg;ci.style.marginRight=ci.style.width="0";b3.style.width="1px";ce.reliableMarginRight=!parseFloat((a2.getComputedStyle(ci,null)||{}).marginRight)}if(typeof b3.style.zoom!==aC){b3.innerHTML="";b3.style.cssText=cg+"width:1px;padding:1px;display:inline;zoom:1";ce.inlineBlockNeedsLayout=(b3.offsetWidth===3);b3.style.display="block";b3.innerHTML="
      ";b3.firstChild.style.width="5px";ce.shrinkWrapBlocks=(b3.offsetWidth!==3);if(ce.inlineBlockNeedsLayout){e.style.zoom=1}}e.removeChild(cf);cf=b3=ch=ci=null});cd=cc=b9=b5=cb=ca=null;return ce})();var bw=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aN=/([A-Z])/g;function ba(b5,b3,b7,b6){if(!bJ.acceptData(b5)){return}var b8,ca,cb=bJ.expando,b9=typeof b3==="string",cc=b5.nodeType,e=cc?bJ.cache:b5,b4=cc?b5[cb]:b5[cb]&&cb;if((!b4||!e[b4]||(!b6&&!e[b4].data))&&b9&&b7===aG){return}if(!b4){if(cc){b5[cb]=b4=a6.pop()||bJ.guid++}else{b4=cb}}if(!e[b4]){e[b4]={};if(!cc){e[b4].toJSON=bJ.noop}}if(typeof b3==="object"||typeof b3==="function"){if(b6){e[b4]=bJ.extend(e[b4],b3)}else{e[b4].data=bJ.extend(e[b4].data,b3)}}b8=e[b4];if(!b6){if(!b8.data){b8.data={}}b8=b8.data}if(b7!==aG){b8[bJ.camelCase(b3)]=b7}if(b9){ca=b8[b3];if(ca==null){ca=b8[bJ.camelCase(b3)]}}else{ca=b8}return ca}function Z(b5,b3,b6){if(!bJ.acceptData(b5)){return}var b8,b7,b9,ca=b5.nodeType,e=ca?bJ.cache:b5,b4=ca?b5[bJ.expando]:bJ.expando;if(!e[b4]){return}if(b3){b9=b6?e[b4]:e[b4].data;if(b9){if(!bJ.isArray(b3)){if(b3 in b9){b3=[b3]}else{b3=bJ.camelCase(b3);if(b3 in b9){b3=[b3]}else{b3=b3.split(" ")}}}else{b3=b3.concat(bJ.map(b3,bJ.camelCase))}for(b8=0,b7=b3.length;b81,null,true)},removeData:function(e){return this.each(function(){bJ.removeData(this,e)})}});function by(b5,b4,b6){if(b6===aG&&b5.nodeType===1){var b3="data-"+b4.replace(aN,"-$1").toLowerCase();b6=b5.getAttribute(b3);if(typeof b6==="string"){try{b6=b6==="true"?true:b6==="false"?false:b6==="null"?null:+b6+""===b6?+b6:bw.test(b6)?bJ.parseJSON(b6):b6}catch(b7){}bJ.data(b5,b4,b6)}else{b6=aG}}return b6}function N(b3){var e;for(e in b3){if(e==="data"&&bJ.isEmptyObject(b3[e])){continue}if(e!=="toJSON"){return false}}return true}bJ.extend({queue:function(b4,b3,b5){var e;if(b4){b3=(b3||"fx")+"queue";e=bJ._data(b4,b3);if(b5){if(!e||bJ.isArray(b5)){e=bJ._data(b4,b3,bJ.makeArray(b5))}else{e.push(b5)}}return e||[]}},dequeue:function(b7,b6){b6=b6||"fx";var b3=bJ.queue(b7,b6),b8=b3.length,b5=b3.shift(),e=bJ._queueHooks(b7,b6),b4=function(){bJ.dequeue(b7,b6)};if(b5==="inprogress"){b5=b3.shift();b8--}e.cur=b5;if(b5){if(b6==="fx"){b3.unshift("inprogress")}delete e.stop;b5.call(b7,b4,e)}if(!b8&&e){e.empty.fire()}},_queueHooks:function(b4,b3){var e=b3+"queueHooks";return bJ._data(b4,e)||bJ._data(b4,e,{empty:bJ.Callbacks("once memory").add(function(){bJ._removeData(b4,b3+"queue");bJ._removeData(b4,e)})})}});bJ.fn.extend({queue:function(e,b3){var b4=2;if(typeof e!=="string"){b3=e;e="fx";b4--}if(arguments.length1)},removeAttr:function(e){return this.each(function(){bJ.removeAttr(this,e)})},prop:function(e,b3){return bJ.access(this,bJ.prop,e,b3,arguments.length>1)},removeProp:function(e){e=bJ.propFix[e]||e;return this.each(function(){try{this[e]=aG;delete this[e]}catch(b3){}})},addClass:function(b9){var b3,e,ca,b6,b4,b5=0,b7=this.length,b8=typeof b9==="string"&&b9;if(bJ.isFunction(b9)){return this.each(function(cb){bJ(this).addClass(b9.call(this,cb,this.className))})}if(b8){b3=(b9||"").match(ac)||[];for(;b5=0){ca=ca.replace(" "+b6+" "," ")}}e.className=b9?bJ.trim(ca):""}}}return this},toggleClass:function(b5,b3){var b4=typeof b5,e=typeof b3==="boolean";if(bJ.isFunction(b5)){return this.each(function(b6){bJ(this).toggleClass(b5.call(this,b6,this.className,b3),b3)})}return this.each(function(){if(b4==="string"){var b8,b7=0,b6=bJ(this),b9=b3,ca=b5.match(ac)||[];while((b8=ca[b7++])){b9=e?b9:!b6.hasClass(b8);b6[b9?"addClass":"removeClass"](b8)}}else{if(b4===aC||b4==="boolean"){if(this.className){bJ._data(this,"__className__",this.className)}this.className=this.className||b5===false?"":bJ._data(this,"__className__")||""}}})},hasClass:function(e){var b5=" "+e+" ",b4=0,b3=this.length;for(;b4=0){return true}}return false},val:function(b5){var b3,e,b6,b4=this[0];if(!arguments.length){if(b4){e=bJ.valHooks[b4.type]||bJ.valHooks[b4.nodeName.toLowerCase()];if(e&&"get" in e&&(b3=e.get(b4,"value"))!==aG){return b3}b3=b4.value;return typeof b3==="string"?b3.replace(ak,""):b3==null?"":b3}return}b6=bJ.isFunction(b5);return this.each(function(b8){var b9,b7=bJ(this);if(this.nodeType!==1){return}if(b6){b9=b5.call(this,b8,b7.val())}else{b9=b5}if(b9==null){b9=""}else{if(typeof b9==="number"){b9+=""}else{if(bJ.isArray(b9)){b9=bJ.map(b9,function(ca){return ca==null?"":ca+""})}}}e=bJ.valHooks[this.type]||bJ.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,b9,"value")===aG){this.value=b9}})}});bJ.extend({valHooks:{option:{get:function(e){var b3=e.attributes.value;return !b3||b3.specified?e.value:e.text}},select:{get:function(e){var b8,b4,ca=e.options,b6=e.selectedIndex,b5=e.type==="select-one"||b6<0,b9=b5?null:[],b7=b5?b6+1:ca.length,b3=b6<0?b7:b5?b6:0;for(;b3=0});if(!e.length){b3.selectedIndex=-1}return e}}},attr:function(b7,b5,b8){var e,b6,b4,b3=b7.nodeType;if(!b7||b3===3||b3===8||b3===2){return}if(typeof b7.getAttribute===aC){return bJ.prop(b7,b5,b8)}b6=b3!==1||!bJ.isXMLDoc(b7);if(b6){b5=b5.toLowerCase();e=bJ.attrHooks[b5]||(L.test(b5)?bZ:a8)}if(b8!==aG){if(b8===null){bJ.removeAttr(b7,b5)}else{if(e&&b6&&"set" in e&&(b4=e.set(b7,b8,b5))!==aG){return b4}else{b7.setAttribute(b5,b8+"");return b8}}}else{if(e&&b6&&"get" in e&&(b4=e.get(b7,b5))!==null){return b4}else{if(typeof b7.getAttribute!==aC){b4=b7.getAttribute(b5)}return b4==null?aG:b4}}},removeAttr:function(b4,b6){var e,b5,b3=0,b7=b6&&b6.match(ac);if(b7&&b4.nodeType===1){while((e=b7[b3++])){b5=bJ.propFix[e]||e;if(L.test(e)){if(!bP&&aq.test(e)){b4[bJ.camelCase("default-"+e)]=b4[b5]=false}else{b4[b5]=false}}else{bJ.attr(b4,e,"")}b4.removeAttribute(bP?e:b5)}}},attrHooks:{type:{set:function(e,b3){if(!bJ.support.radioValue&&b3==="radio"&&bJ.nodeName(e,"input")){var b4=e.value;e.setAttribute("type",b3);if(b4){e.value=b4}return b3}}}},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(b7,b5,b8){var b4,e,b6,b3=b7.nodeType;if(!b7||b3===3||b3===8||b3===2){return}b6=b3!==1||!bJ.isXMLDoc(b7);if(b6){b5=bJ.propFix[b5]||b5;e=bJ.propHooks[b5]}if(b8!==aG){if(e&&"set" in e&&(b4=e.set(b7,b8,b5))!==aG){return b4}else{return(b7[b5]=b8)}}else{if(e&&"get" in e&&(b4=e.get(b7,b5))!==null){return b4}else{return b7[b5]}}},propHooks:{tabIndex:{get:function(b3){var e=b3.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):aF.test(b3.nodeName)||D.test(b3.nodeName)&&b3.href?0:aG}}}});bZ={get:function(b5,b3){var b6=bJ.prop(b5,b3),e=typeof b6==="boolean"&&b5.getAttribute(b3),b4=typeof b6==="boolean"?bF&&bP?e!=null:aq.test(b3)?b5[bJ.camelCase("default-"+b3)]:!!e:b5.getAttributeNode(b3);return b4&&b4.value!==false?b3.toLowerCase():aG},set:function(b3,b4,e){if(b4===false){bJ.removeAttr(b3,e)}else{if(bF&&bP||!aq.test(e)){b3.setAttribute(!bP&&bJ.propFix[e]||e,e)}else{b3[bJ.camelCase("default-"+e)]=b3[e]=true}}return e}};if(!bF||!bP){bJ.attrHooks.value={get:function(b4,b3){var e=b4.getAttributeNode(b3);return bJ.nodeName(b4,"input")?b4.defaultValue:e&&e.specified?e.value:aG},set:function(b3,b4,e){if(bJ.nodeName(b3,"input")){b3.defaultValue=b4}else{return a8&&a8.set(b3,b4,e)}}}}if(!bP){a8=bJ.valHooks.button={get:function(b4,b3){var e=b4.getAttributeNode(b3);return e&&(b3==="id"||b3==="name"||b3==="coords"?e.value!=="":e.specified)?e.value:aG},set:function(b4,b5,b3){var e=b4.getAttributeNode(b3);if(!e){b4.setAttributeNode((e=b4.ownerDocument.createAttribute(b3)))}e.value=b5+="";return b3==="value"||b5===b4.getAttribute(b3)?b5:aG}};bJ.attrHooks.contenteditable={get:a8.get,set:function(b3,b4,e){a8.set(b3,b4===""?false:b4,e)}};bJ.each(["width","height"],function(b3,e){bJ.attrHooks[e]=bJ.extend(bJ.attrHooks[e],{set:function(b4,b5){if(b5===""){b4.setAttribute(e,"auto");return b5}}})})}if(!bJ.support.hrefNormalized){bJ.each(["href","src","width","height"],function(b3,e){bJ.attrHooks[e]=bJ.extend(bJ.attrHooks[e],{get:function(b5){var b4=b5.getAttribute(e,2);return b4==null?aG:b4}})});bJ.each(["href","src"],function(b3,e){bJ.propHooks[e]={get:function(b4){return b4.getAttribute(e,4)}}})}if(!bJ.support.style){bJ.attrHooks.style={get:function(e){return e.style.cssText||aG},set:function(e,b3){return(e.style.cssText=b3+"")}}}if(!bJ.support.optSelected){bJ.propHooks.selected=bJ.extend(bJ.propHooks.selected,{get:function(b3){var e=b3.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!bJ.support.enctype){bJ.propFix.enctype="encoding"}if(!bJ.support.checkOn){bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]=bJ.extend(bJ.valHooks[this],{set:function(e,b3){if(bJ.isArray(b3)){return(e.checked=bJ.inArray(bJ(e).val(),b3)>=0)}}})});var bH=/^(?:input|select|textarea)$/i,a3=/^key/,bN=/^(?:mouse|contextmenu)|click/,bB=/^(?:focusinfocus|focusoutblur)$/,bu=/^([^.]*)(?:\.(.+)|)$/;function R(){return true}function X(){return false}bJ.event={global:{},add:function(b6,cb,cg,b8,b7){var b9,ch,ci,b4,cd,ca,cf,b5,ce,e,b3,cc=bJ._data(b6);if(!cc){return}if(cg.handler){b4=cg;cg=b4.handler;b7=b4.selector}if(!cg.guid){cg.guid=bJ.guid++}if(!(ch=cc.events)){ch=cc.events={}}if(!(ca=cc.handle)){ca=cc.handle=function(cj){return typeof bJ!==aC&&(!cj||bJ.event.triggered!==cj.type)?bJ.event.dispatch.apply(ca.elem,arguments):aG};ca.elem=b6}cb=(cb||"").match(ac)||[""];ci=cb.length;while(ci--){b9=bu.exec(cb[ci])||[];ce=b3=b9[1];e=(b9[2]||"").split(".").sort();cd=bJ.event.special[ce]||{};ce=(b7?cd.delegateType:cd.bindType)||ce;cd=bJ.event.special[ce]||{};cf=bJ.extend({type:ce,origType:b3,data:b8,handler:cg,guid:cg.guid,selector:b7,needsContext:b7&&bJ.expr.match.needsContext.test(b7),namespace:e.join(".")},b4);if(!(b5=ch[ce])){b5=ch[ce]=[];b5.delegateCount=0;if(!cd.setup||cd.setup.call(b6,b8,e,ca)===false){if(b6.addEventListener){b6.addEventListener(ce,ca,false)}else{if(b6.attachEvent){b6.attachEvent("on"+ce,ca)}}}}if(cd.add){cd.add.call(b6,cf);if(!cf.handler.guid){cf.handler.guid=cg.guid}}if(b7){b5.splice(b5.delegateCount++,0,cf)}else{b5.push(cf)}bJ.event.global[ce]=true}b6=null},remove:function(b5,cb,ci,b6,ca){var b8,cf,b9,b7,ch,cg,cd,b4,ce,e,b3,cc=bJ.hasData(b5)&&bJ._data(b5);if(!cc||!(cg=cc.events)){return}cb=(cb||"").match(ac)||[""];ch=cb.length;while(ch--){b9=bu.exec(cb[ch])||[];ce=b3=b9[1];e=(b9[2]||"").split(".").sort();if(!ce){for(ce in cg){bJ.event.remove(b5,ce+cb[ch],ci,b6,true)}continue}cd=bJ.event.special[ce]||{};ce=(b6?cd.delegateType:cd.bindType)||ce;b4=cg[ce]||[];b9=b9[2]&&new RegExp("(^|\\.)"+e.join("\\.(?:.*\\.|)")+"(\\.|$)");b7=b8=b4.length;while(b8--){cf=b4[b8];if((ca||b3===cf.origType)&&(!ci||ci.guid===cf.guid)&&(!b9||b9.test(cf.namespace))&&(!b6||b6===cf.selector||b6==="**"&&cf.selector)){b4.splice(b8,1);if(cf.selector){b4.delegateCount--}if(cd.remove){cd.remove.call(b5,cf)}}}if(b7&&!b4.length){if(!cd.teardown||cd.teardown.call(b5,e,cc.handle)===false){bJ.removeEvent(b5,ce,cc.handle)}delete cg[ce]}}if(bJ.isEmptyObject(cg)){delete cc.handle;bJ._removeData(b5,"events")}},trigger:function(b3,ca,b6,ch){var cb,b5,cf,cg,cd,b9,b8,b7=[b6||l],ce=V.call(b3,"type")?b3.type:b3,b4=V.call(b3,"namespace")?b3.namespace.split("."):[];cf=b9=b6=b6||l;if(b6.nodeType===3||b6.nodeType===8){return}if(bB.test(ce+bJ.event.triggered)){return}if(ce.indexOf(".")>=0){b4=ce.split(".");ce=b4.shift();b4.sort()}b5=ce.indexOf(":")<0&&"on"+ce;b3=b3[bJ.expando]?b3:new bJ.Event(ce,typeof b3==="object"&&b3);b3.isTrigger=true;b3.namespace=b4.join(".");b3.namespace_re=b3.namespace?new RegExp("(^|\\.)"+b4.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b3.result=aG;if(!b3.target){b3.target=b6}ca=ca==null?[b3]:bJ.makeArray(ca,[b3]);cd=bJ.event.special[ce]||{};if(!ch&&cd.trigger&&cd.trigger.apply(b6,ca)===false){return}if(!ch&&!cd.noBubble&&!bJ.isWindow(b6)){cg=cd.delegateType||ce;if(!bB.test(cg+ce)){cf=cf.parentNode}for(;cf;cf=cf.parentNode){b7.push(cf);b9=cf}if(b9===(b6.ownerDocument||l)){b7.push(b9.defaultView||b9.parentWindow||a2)}}b8=0;while((cf=b7[b8++])&&!b3.isPropagationStopped()){b3.type=b8>1?cg:cd.bindType||ce;cb=(bJ._data(cf,"events")||{})[b3.type]&&bJ._data(cf,"handle");if(cb){cb.apply(cf,ca)}cb=b5&&cf[b5];if(cb&&bJ.acceptData(cf)&&cb.apply&&cb.apply(cf,ca)===false){b3.preventDefault()}}b3.type=ce;if(!ch&&!b3.isDefaultPrevented()){if((!cd._default||cd._default.apply(b6.ownerDocument,ca)===false)&&!(ce==="click"&&bJ.nodeName(b6,"a"))&&bJ.acceptData(b6)){if(b5&&b6[ce]&&!bJ.isWindow(b6)){b9=b6[b5];if(b9){b6[b5]=null}bJ.event.triggered=ce;try{b6[ce]()}catch(cc){}bJ.event.triggered=aG;if(b9){b6[b5]=b9}}}}return b3.result},dispatch:function(e){e=bJ.event.fix(e);var b6,b7,cb,b3,b5,ca=[],b9=a4.call(arguments),b4=(bJ._data(this,"events")||{})[e.type]||[],b8=bJ.event.special[e.type]||{};b9[0]=e;e.delegateTarget=this;if(b8.preDispatch&&b8.preDispatch.call(this,e)===false){return}ca=bJ.event.handlers.call(this,e,b4);b6=0;while((b3=ca[b6++])&&!e.isPropagationStopped()){e.currentTarget=b3.elem;b5=0;while((cb=b3.handlers[b5++])&&!e.isImmediatePropagationStopped()){if(!e.namespace_re||e.namespace_re.test(cb.namespace)){e.handleObj=cb;e.data=cb.data;b7=((bJ.event.special[cb.origType]||{}).handle||cb.handler).apply(b3.elem,b9);if(b7!==aG){if((e.result=b7)===false){e.preventDefault();e.stopPropagation()}}}}}if(b8.postDispatch){b8.postDispatch.call(this,e)}return e.result},handlers:function(e,b4){var b3,b9,b7,b6,b8=[],b5=b4.delegateCount,ca=e.target;if(b5&&ca.nodeType&&(!e.button||e.type!=="click")){for(;ca!=this;ca=ca.parentNode||this){if(ca.nodeType===1&&(ca.disabled!==true||e.type!=="click")){b7=[];for(b6=0;b6=0:bJ.find(b3,this,null,[ca]).length}if(b7[b3]){b7.push(b9)}}if(b7.length){b8.push({elem:ca,handlers:b7})}}}}if(b5+~])"+cp+"*"),cP=new RegExp(ck),cQ=new RegExp("^"+cK+"$"),cY={ID:new RegExp("^#("+b3+")"),CLASS:new RegExp("^\\.("+b3+")"),NAME:new RegExp("^\\[name=['\"]?("+b3+")['\"]?\\]"),TAG:new RegExp("^("+b3.replace("w","w*")+")"),ATTR:new RegExp("^"+c2),PSEUDO:new RegExp("^"+ck),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cp+"*(even|odd|(([+-]|)(\\d*)n|)"+cp+"*(?:([+-]|)"+cp+"*(\\d+)|))"+cp+"*\\)|)","i"),needsContext:new RegExp("^"+cp+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cp+"*((?:-\\d)?\\d*)"+cp+"*\\)|)(?=[^-]|$)","i")},cW=/[\x20\t\r\n\f]*[+~]/,cM=/^[^{]+\{\s*\[native code/,cO=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,b8=/^(?:input|select|textarea|button)$/i,cl=/^h\d$/i,cL=/'|\\/g,ct=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,cs=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,c1=function(e,di){var dh="0x"+di-65536;return dh!==dh?di:dh<0?String.fromCharCode(dh+65536):String.fromCharCode(dh>>10|55296,dh&1023|56320)};try{cm.call(cI.documentElement.childNodes,0)[0].nodeType}catch(cC){cm=function(dh){var di,e=[];while((di=this[dh++])){e.push(di)}return e}}function cE(e){return cM.test(e+"")}function cz(){var e,dh=[];return(e=function(di,dj){if(dh.push(di+=" ")>cn.cacheLength){delete e[dh.shift()]}return(e[di]=dj)})}function cj(e){e[c5]=true;return e}function cc(dh){var dj=cB.createElement("div");try{return dh(dj)}catch(di){return false}finally{dj=null}}function cv(dp,dh,dt,dv){var du,dl,dm,dr,ds,dk,dj,e,di,dq;if((dh?dh.ownerDocument||dh:cI)!==cB){cV(dh)}dh=dh||cB;dt=dt||[];if(!dp||typeof dp!=="string"){return dt}if((dr=dh.nodeType)!==1&&dr!==9){return[]}if(!cd&&!dv){if((du=cO.exec(dp))){if((dm=du[1])){if(dr===9){dl=dh.getElementById(dm);if(dl&&dl.parentNode){if(dl.id===dm){dt.push(dl);return dt}}else{return dt}}else{if(dh.ownerDocument&&(dl=dh.ownerDocument.getElementById(dm))&&cF(dh,dl)&&dl.id===dm){dt.push(dl);return dt}}}else{if(du[2]){b4.apply(dt,cm.call(dh.getElementsByTagName(dp),0));return dt}else{if((dm=du[3])&&dd.getByClassName&&dh.getElementsByClassName){b4.apply(dt,cm.call(dh.getElementsByClassName(dm),0));return dt}}}}if(dd.qsa&&!cZ.test(dp)){dj=true;e=c5;di=dh;dq=dr===9&&dp;if(dr===1&&dh.nodeName.toLowerCase()!=="object"){dk=cf(dp);if((dj=dh.getAttribute("id"))){e=dj.replace(cL,"\\$&")}else{dh.setAttribute("id",e)}e="[id='"+e+"'] ";ds=dk.length;while(ds--){dk[ds]=e+cg(dk[ds])}di=cW.test(dp)&&dh.parentNode||dh;dq=dk.join(",")}if(dq){try{b4.apply(dt,cm.call(di.querySelectorAll(dq),0));return dt}catch(dn){}finally{if(!dj){dh.removeAttribute("id")}}}}}return dc(dp.replace(cr,"$1"),dh,dt,dv)}cJ=cv.isXML=function(e){var dh=e&&(e.ownerDocument||e).documentElement;return dh?dh.nodeName!=="HTML":false};cV=cv.setDocument=function(e){var dh=e?e.ownerDocument||e:cI;if(dh===cB||dh.nodeType!==9||!dh.documentElement){return cB}cB=dh;co=dh.documentElement;cd=cJ(dh);dd.tagNameNoComments=cc(function(di){di.appendChild(dh.createComment(""));return !di.getElementsByTagName("*").length});dd.attributes=cc(function(dj){dj.innerHTML="";var di=typeof dj.lastChild.getAttribute("multiple");return di!=="boolean"&&di!=="string"});dd.getByClassName=cc(function(di){di.innerHTML="";if(!di.getElementsByClassName||!di.getElementsByClassName("e").length){return false}di.lastChild.className="e";return di.getElementsByClassName("e").length===2});dd.getByName=cc(function(dj){dj.id=c5+0;dj.innerHTML="
      ";co.insertBefore(dj,co.firstChild);var di=dh.getElementsByName&&dh.getElementsByName(c5).length===2+dh.getElementsByName(c5+0).length;dd.getIdNotName=!dh.getElementById(c5);co.removeChild(dj);return di});cn.attrHandle=cc(function(di){di.innerHTML="";return di.firstChild&&typeof di.firstChild.getAttribute!==c9&&di.firstChild.getAttribute("href")==="#"})?{}:{href:function(di){return di.getAttribute("href",2)},type:function(di){return di.getAttribute("type")}};if(dd.getIdNotName){cn.find.ID=function(dk,dj){if(typeof dj.getElementById!==c9&&!cd){var di=dj.getElementById(dk);return di&&di.parentNode?[di]:[]}};cn.filter.ID=function(dj){var di=dj.replace(cs,c1);return function(dk){return dk.getAttribute("id")===di}}}else{cn.find.ID=function(dk,dj){if(typeof dj.getElementById!==c9&&!cd){var di=dj.getElementById(dk);return di?di.id===dk||typeof di.getAttributeNode!==c9&&di.getAttributeNode("id").value===dk?[di]:ch:[]}};cn.filter.ID=function(dj){var di=dj.replace(cs,c1);return function(dl){var dk=typeof dl.getAttributeNode!==c9&&dl.getAttributeNode("id");return dk&&dk.value===di}}}cn.find.TAG=dd.tagNameNoComments?function(di,dj){if(typeof dj.getElementsByTagName!==c9){return dj.getElementsByTagName(di)}}:function(di,dm){var dn,dl=[],dk=0,dj=dm.getElementsByTagName(di);if(di==="*"){while((dn=dj[dk++])){if(dn.nodeType===1){dl.push(dn)}}return dl}return dj};cn.find.NAME=dd.getByName&&function(di,dj){if(typeof dj.getElementsByName!==c9){return dj.getElementsByName(name)}};cn.find.CLASS=dd.getByClassName&&function(dj,di){if(typeof di.getElementsByClassName!==c9&&!cd){return di.getElementsByClassName(dj)}};db=[];cZ=[":focus"];if((dd.qsa=cE(dh.querySelectorAll))){cc(function(di){di.innerHTML="";if(!di.querySelectorAll("[selected]").length){cZ.push("\\["+cp+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!di.querySelectorAll(":checked").length){cZ.push(":checked")}});cc(function(di){di.innerHTML="";if(di.querySelectorAll("[i^='']").length){cZ.push("[*^$]="+cp+"*(?:\"\"|'')")}if(!di.querySelectorAll(":enabled").length){cZ.push(":enabled",":disabled")}di.querySelectorAll("*,:x");cZ.push(",.*:")})}if((dd.matchesSelector=cE((ca=co.matchesSelector||co.mozMatchesSelector||co.webkitMatchesSelector||co.oMatchesSelector||co.msMatchesSelector)))){cc(function(di){dd.disconnectedMatch=ca.call(di,"div");ca.call(di,"[s!='']:x");db.push("!=",ck)})}cZ=new RegExp(cZ.join("|"));db=new RegExp(db.join("|"));cF=cE(co.contains)||co.compareDocumentPosition?function(dj,di){var dl=dj.nodeType===9?dj.documentElement:dj,dk=di&&di.parentNode;return dj===dk||!!(dk&&dk.nodeType===1&&(dl.contains?dl.contains(dk):dj.compareDocumentPosition&&dj.compareDocumentPosition(dk)&16))}:function(dj,di){if(di){while((di=di.parentNode)){if(di===dj){return true}}}return false};cD=co.compareDocumentPosition?function(dj,di){var dk;if(dj===di){cT=true;return 0}if((dk=di.compareDocumentPosition&&dj.compareDocumentPosition&&dj.compareDocumentPosition(di))){if(dk&1||dj.parentNode&&dj.parentNode.nodeType===11){if(dj===dh||cF(cI,dj)){return -1}if(di===dh||cF(cI,di)){return 1}return 0}return dk&4?-1:1}return dj.compareDocumentPosition?-1:1}:function(dj,di){var dq,dm=0,dp=dj.parentNode,dl=di.parentNode,dk=[dj],dn=[di];if(dj===di){cT=true;return 0}else{if(!dp||!dl){return dj===dh?-1:di===dh?1:dp?-1:dl?1:0}else{if(dp===dl){return b6(dj,di)}}}dq=dj;while((dq=dq.parentNode)){dk.unshift(dq)}dq=di;while((dq=dq.parentNode)){dn.unshift(dq)}while(dk[dm]===dn[dm]){dm++}return dm?b6(dk[dm],dn[dm]):dk[dm]===cI?-1:dn[dm]===cI?1:0};cT=false;[0,0].sort(cD);dd.detectDuplicates=cT;return cB};cv.matches=function(dh,e){return cv(dh,null,null,e)};cv.matchesSelector=function(di,dk){if((di.ownerDocument||di)!==cB){cV(di)}dk=dk.replace(ct,"='$1']");if(dd.matchesSelector&&!cd&&(!db||!db.test(dk))&&!cZ.test(dk)){try{var dh=ca.call(di,dk);if(dh||dd.disconnectedMatch||di.document&&di.document.nodeType!==11){return dh}}catch(dj){}}return cv(dk,cB,null,[di]).length>0};cv.contains=function(e,dh){if((e.ownerDocument||e)!==cB){cV(e)}return cF(e,dh)};cv.attr=function(dh,e){var di;if((dh.ownerDocument||dh)!==cB){cV(dh)}if(!cd){e=e.toLowerCase()}if((di=cn.attrHandle[e])){return di(dh)}if(cd||dd.attributes){return dh.getAttribute(e)}return((di=dh.getAttributeNode(e))||dh.getAttribute(e))&&dh[e]===true?e:di&&di.specified?di.value:null};cv.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};cv.uniqueSort=function(di){var dj,dk=[],dh=1,e=0;cT=!dd.detectDuplicates;di.sort(cD);if(cT){for(;(dj=di[dh]);dh++){if(dj===di[dh-1]){e=dk.push(dh)}}while(e--){di.splice(dk[e],1)}}return di};function b6(dh,e){var dj=e&&dh,di=dj&&(~e.sourceIndex||cN)-(~dh.sourceIndex||cN);if(di){return di}if(dj){while((dj=dj.nextSibling)){if(dj===e){return -1}}}return dh?1:-1}function cw(e){return function(di){var dh=di.nodeName.toLowerCase();return dh==="input"&&di.type===e}}function b7(e){return function(di){var dh=di.nodeName.toLowerCase();return(dh==="input"||dh==="button")&&di.type===e}}function c3(e){return cj(function(dh){dh=+dh;return cj(function(di,dm){var dk,dj=e([],di.length,dh),dl=dj.length;while(dl--){if(di[(dk=dj[dl])]){di[dk]=!(dm[dk]=di[dk])}}})})}cH=cv.getText=function(dk){var dj,dh="",di=0,e=dk.nodeType;if(!e){for(;(dj=dk[di]);di++){dh+=cH(dj)}}else{if(e===1||e===9||e===11){if(typeof dk.textContent==="string"){return dk.textContent}else{for(dk=dk.firstChild;dk;dk=dk.nextSibling){dh+=cH(dk)}}}else{if(e===3||e===4){return dk.nodeValue}}}return dh};cn=cv.selectors={cacheLength:50,createPseudo:cj,match:cY,find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(cs,c1);e[3]=(e[4]||e[5]||"").replace(cs,c1);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){cv.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){cv.error(e[0])}}return e},PSEUDO:function(dh){var e,di=!dh[5]&&dh[2];if(cY.CHILD.test(dh[0])){return null}if(dh[4]){dh[2]=dh[4]}else{if(di&&cP.test(di)&&(e=cf(di,true))&&(e=di.indexOf(")",di.length-e)-di.length)){dh[0]=dh[0].slice(0,e);dh[2]=di.slice(0,e)}}return dh.slice(0,3)}},filter:{TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace(cs,c1).toLowerCase();return function(dh){return dh.nodeName&&dh.nodeName.toLowerCase()===e}},CLASS:function(e){var dh=b5[e+" "];return dh||(dh=new RegExp("(^|"+cp+")"+e+"("+cp+"|$)"))&&b5(e,function(di){return dh.test(di.className||(typeof di.getAttribute!==c9&&di.getAttribute("class"))||"")})},ATTR:function(di,dh,e){return function(dk){var dj=cv.attr(dk,di);if(dj==null){return dh==="!="}if(!dh){return true}dj+="";return dh==="="?dj===e:dh==="!="?dj!==e:dh==="^="?e&&dj.indexOf(e)===0:dh==="*="?e&&dj.indexOf(e)>-1:dh==="$="?e&&dj.slice(-e.length)===e:dh==="~="?(" "+dj+" ").indexOf(e)>-1:dh==="|="?dj===e||dj.slice(0,e.length+1)===e+"-":false}},CHILD:function(dh,dk,dj,dl,di){var dn=dh.slice(0,3)!=="nth",e=dh.slice(-4)!=="last",dm=dk==="of-type";return dl===1&&di===0?function(dp){return !!dp.parentNode}:function(dv,dt,dy){var dp,dB,dw,dA,dx,ds,du=dn!==e?"nextSibling":"previousSibling",dz=dv.parentNode,dr=dm&&dv.nodeName.toLowerCase(),dq=!dy&&!dm;if(dz){if(dn){while(du){dw=dv;while((dw=dw[du])){if(dm?dw.nodeName.toLowerCase()===dr:dw.nodeType===1){return false}}ds=du=dh==="only"&&!ds&&"nextSibling"}return true}ds=[e?dz.firstChild:dz.lastChild];if(e&&dq){dB=dz[c5]||(dz[c5]={});dp=dB[dh]||[];dx=dp[0]===de&&dp[1];dA=dp[0]===de&&dp[2];dw=dx&&dz.childNodes[dx];while((dw=++dx&&dw&&dw[du]||(dA=dx=0)||ds.pop())){if(dw.nodeType===1&&++dA&&dw===dv){dB[dh]=[de,dx,dA];break}}}else{if(dq&&(dp=(dv[c5]||(dv[c5]={}))[dh])&&dp[0]===de){dA=dp[1]}else{while((dw=++dx&&dw&&dw[du]||(dA=dx=0)||ds.pop())){if((dm?dw.nodeName.toLowerCase()===dr:dw.nodeType===1)&&++dA){if(dq){(dw[c5]||(dw[c5]={}))[dh]=[de,dA]}if(dw===dv){break}}}}}dA-=di;return dA===dl||(dA%dl===0&&dA/dl>=0)}}},PSEUDO:function(dj,di){var e,dh=cn.pseudos[dj]||cn.setFilters[dj.toLowerCase()]||cv.error("unsupported pseudo: "+dj);if(dh[c5]){return dh(di)}if(dh.length>1){e=[dj,dj,"",di];return cn.setFilters.hasOwnProperty(dj.toLowerCase())?cj(function(dm,dp){var dl,dk=dh(dm,di),dn=dk.length;while(dn--){dl=b9.call(dm,dk[dn]);dm[dl]=!(dp[dl]=dk[dn])}}):function(dk){return dh(dk,0,e)}}return dh}},pseudos:{not:cj(function(e){var dh=[],di=[],dj=cS(e.replace(cr,"$1"));return dj[c5]?cj(function(dl,dr,dp,dm){var dq,dk=dj(dl,null,dm,[]),dn=dl.length;while(dn--){if((dq=dk[dn])){dl[dn]=!(dr[dn]=dq)}}}):function(dm,dl,dk){dh[0]=dm;dj(dh,null,dk,di);return !di.pop()}}),has:cj(function(e){return function(dh){return cv(e,dh).length>0}}),contains:cj(function(e){return function(dh){return(dh.textContent||dh.innerText||cH(dh)).indexOf(e)>-1}}),lang:cj(function(e){if(!cQ.test(e||"")){cv.error("unsupported lang: "+e)}e=e.replace(cs,c1).toLowerCase();return function(di){var dh;do{if((dh=cd?di.getAttribute("xml:lang")||di.getAttribute("lang"):di.lang)){dh=dh.toLowerCase();return dh===e||dh.indexOf(e+"-")===0}}while((di=di.parentNode)&&di.nodeType===1);return false}}),target:function(e){var dh=da.location&&da.location.hash;return dh&&dh.slice(1)===e.id},root:function(e){return e===co},focus:function(e){return e===cB.activeElement&&(!cB.hasFocus||cB.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var dh=e.nodeName.toLowerCase();return(dh==="input"&&!!e.checked)||(dh==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeName>"@"||e.nodeType===3||e.nodeType===4){return false}}return true},parent:function(e){return !cn.pseudos.empty(e)},header:function(e){return cl.test(e.nodeName)},input:function(e){return b8.test(e.nodeName)},button:function(dh){var e=dh.nodeName.toLowerCase();return e==="input"&&dh.type==="button"||e==="button"},text:function(dh){var e;return dh.nodeName.toLowerCase()==="input"&&dh.type==="text"&&((e=dh.getAttribute("type"))==null||e.toLowerCase()===dh.type)},first:c3(function(){return[0]}),last:c3(function(e,dh){return[dh-1]}),eq:c3(function(e,di,dh){return[dh<0?dh+di:dh]}),even:c3(function(e,di){var dh=0;for(;dh=0;){e.push(dh)}return e}),gt:c3(function(e,dj,di){var dh=di<0?di+dj:di;for(;++dh1?function(dk,dj,dh){var di=e.length;while(di--){if(!e[di](dk,dj,dh)){return false}}return true}:e[0]}function cX(e,dh,di,dj,dm){var dk,dq=[],dl=0,dn=e.length,dp=dh!=null;for(;dl-1){dx[dz]=!(du[dz]=dr)}}}}else{dt=cX(dt===du?dt.splice(dn,dt.length):dt);if(dl){dl(null,du,dt,dw)}else{b4.apply(du,dt)}}})}function c6(dm){var dh,dk,di,dl=dm.length,dq=cn.relative[dm[0].type],dr=dq||cn.relative[" "],dj=dq?1:0,dn=cq(function(ds){return ds===dh},dr,true),dp=cq(function(ds){return b9.call(dh,ds)>-1},dr,true),e=[function(du,dt,ds){return(!dq&&(ds||dt!==dg))||((dh=dt).nodeType?dn(du,dt,ds):dp(du,dt,ds))}];for(;dj1&&df(e),dj>1&&cg(dm.slice(0,dj-1)).replace(cr,"$1"),dk,dj0,dk=dj.length>0,dh=function(dw,dq,dv,du,dC){var dr,ds,dx,dB=[],dA=0,dt="0",dm=dw&&[],dy=dC!=null,dz=dg,dp=dw||dk&&cn.find.TAG("*",dC&&dq.parentNode||dq),dn=(de+=dz==null?1:Math.random()||0.1);if(dy){dg=dq!==cB&&dq;cb=dl}for(;(dr=dp[dt])!=null;dt++){if(dk&&dr){ds=0;while((dx=dj[ds++])){if(dx(dr,dq,dv)){du.push(dr);break}}if(dy){de=dn;cb=++dl}}if(e){if((dr=!dx&&dr)){dA--}if(dw){dm.push(dr)}}}dA+=dt;if(e&&dt!==dA){ds=0;while((dx=di[ds++])){dx(dm,dB,dq,dv)}if(dw){if(dA>0){while(dt--){if(!(dm[dt]||dB[dt])){dB[dt]=c8.call(du)}}}dB=cX(dB)}b4.apply(du,dB);if(dy&&!dw&&dB.length>0&&(dA+di.length)>1){cv.uniqueSort(du)}}if(dy){de=dn;dg=dz}return dm};return e?cj(dh):dh}cS=cv.compile=function(e,dl){var di,dh=[],dk=[],dj=cG[e+" "];if(!dj){if(!dl){dl=cf(e)}di=dl.length;while(di--){dj=c6(dl[di]);if(dj[c5]){dh.push(dj)}else{dk.push(dj)}}dj=cG(e,cU(dk,dh))}return dj};function cy(dh,dk,dj){var di=0,e=dk.length;for(;di2&&(dh=dp[0]).type==="ID"&&e.nodeType===9&&!cd&&cn.relative[dp[1].type]){e=cn.find.ID(dh.matches[0].replace(cs,c1),e)[0];if(!e){return dj}di=di.slice(dp.shift().value.length)}dk=cY.needsContext.test(di)?0:dp.length;while(dk--){dh=dp[dk];if(cn.relative[(dq=dh.type)]){break}if((dn=cn.find[dq])){if((dm=dn(dh.matches[0].replace(cs,c1),cW.test(dp[0].type)&&e.parentNode||e))){dp.splice(dk,1);di=dm.length&&cg(dp);if(!di){b4.apply(dj,cm.call(dm,0));return dj}break}}}}}cS(di,dl)(dm,e,cd,dj,cW.test(di));return dj}cn.pseudos.nth=cn.pseudos.eq;function cR(){}cn.filters=cR.prototype=cn.pseudos;cn.setFilters=new cR();cV();cv.attr=bJ.attr;bJ.find=cv;bJ.expr=cv.selectors;bJ.expr[":"]=bJ.expr.pseudos;bJ.unique=cv.uniqueSort;bJ.text=cv.getText;bJ.isXMLDoc=cv.isXML;bJ.contains=cv.contains})(a2);var aj=/Until$/,bt=/^(?:parents|prev(?:Until|All))/,an=/^.[^:#\[\.,]*$/,y=bJ.expr.match.needsContext,bx={children:true,contents:true,next:true,prev:true};bJ.fn.extend({find:function(b3){var b6,b5,b4,e=this.length;if(typeof b3!=="string"){b4=this;return this.pushStack(bJ(b3).filter(function(){for(b6=0;b61?bJ.unique(b5):b5);b5.selector=(this.selector?this.selector+" ":"")+b3;return b5},has:function(b5){var b4,b3=bJ(b5,this),e=b3.length;return this.filter(function(){for(b4=0;b4=0:bJ.filter(e,this).length>0:this.filter(e).length>0)},closest:function(b6,b5){var b7,b4=0,e=this.length,b3=[],b8=y.test(b6)||typeof b6!=="string"?bJ(b6,b5||this.context):0;for(;b4-1:bJ.find.matchesSelector(b7,b6)){b3.push(b7);break}b7=b7.parentNode}}return this.pushStack(b3.length>1?bJ.unique(b3):b3)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1}if(typeof e==="string"){return bJ.inArray(this[0],bJ(e))}return bJ.inArray(e.jquery?e[0]:e,this)},add:function(e,b3){var b5=typeof e==="string"?bJ(e,b3):bJ.makeArray(e&&e.nodeType?[e]:e),b4=bJ.merge(this.get(),b5);return this.pushStack(bJ.unique(b4))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});bJ.fn.andSelf=bJ.fn.addBack;function aX(b3,e){do{b3=b3[e]}while(b3&&b3.nodeType!==1);return b3}bJ.each({parent:function(b3){var e=b3.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return bJ.dir(e,"parentNode")},parentsUntil:function(b3,e,b4){return bJ.dir(b3,"parentNode",b4)},next:function(e){return aX(e,"nextSibling")},prev:function(e){return aX(e,"previousSibling")},nextAll:function(e){return bJ.dir(e,"nextSibling")},prevAll:function(e){return bJ.dir(e,"previousSibling")},nextUntil:function(b3,e,b4){return bJ.dir(b3,"nextSibling",b4)},prevUntil:function(b3,e,b4){return bJ.dir(b3,"previousSibling",b4)},siblings:function(e){return bJ.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return bJ.sibling(e.firstChild)},contents:function(e){return bJ.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:bJ.merge([],e.childNodes)}},function(e,b3){bJ.fn[e]=function(b6,b4){var b5=bJ.map(this,b3,b6);if(!aj.test(e)){b4=b6}if(b4&&typeof b4==="string"){b5=bJ.filter(b4,b5)}b5=this.length>1&&!bx[e]?bJ.unique(b5):b5;if(this.length>1&&bt.test(e)){b5=b5.reverse()}return this.pushStack(b5)}});bJ.extend({filter:function(b4,e,b3){if(b3){b4=":not("+b4+")"}return e.length===1?bJ.find.matchesSelector(e[0],b4)?[e[0]]:[]:bJ.find.matches(b4,e)},dir:function(b4,b3,b6){var e=[],b5=b4[b3];while(b5&&b5.nodeType!==9&&(b6===aG||b5.nodeType!==1||!bJ(b5).is(b6))){if(b5.nodeType===1){e.push(b5)}b5=b5[b3]}return e},sibling:function(b4,b3){var e=[];for(;b4;b4=b4.nextSibling){if(b4.nodeType===1&&b4!==b3){e.push(b4)}}return e}});function aO(b5,b4,e){b4=b4||0;if(bJ.isFunction(b4)){return bJ.grep(b5,function(b7,b6){var b8=!!b4.call(b7,b6,b7);return b8===e})}else{if(b4.nodeType){return bJ.grep(b5,function(b6){return(b6===b4)===e})}else{if(typeof b4==="string"){var b3=bJ.grep(b5,function(b6){return b6.nodeType===1});if(an.test(b4)){return bJ.filter(b4,b3,!e)}else{b4=bJ.filter(b4,b3)}}}}return bJ.grep(b5,function(b6){return(bJ.inArray(b6,b4)>=0)===e})}function A(e){var b4=d.split("|"),b3=e.createDocumentFragment();if(b3.createElement){while(b4.length){b3.createElement(b4.pop())}}return b3}var d="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aA=/ jQuery\d+="(?:null|\d+)"/g,J=new RegExp("<(?:"+d+")[\\s/>]","i"),b2=/^\s+/,aD=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/<([\w:]+)/,bX=/\s*$/g,T={option:[1,""],legend:[1,"
      ","
      "],area:[1,"",""],param:[1,"",""],thead:[1,"","
      "],tr:[2,"","
      "],col:[2,"","
      "],td:[3,"","
      "],_default:bJ.support.htmlSerialize?[0,"",""]:[1,"X
      ","
      "]},aS=A(l),j=aS.appendChild(l.createElement("div"));T.optgroup=T.option;T.tbody=T.tfoot=T.colgroup=T.caption=T.thead;T.th=T.td;bJ.fn.extend({text:function(e){return bJ.access(this,function(b3){return b3===aG?bJ.text(this):this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(b3))},null,e,arguments.length)},wrapAll:function(e){if(bJ.isFunction(e)){return this.each(function(b4){bJ(this).wrapAll(e.call(this,b4))})}if(this[0]){var b3=bJ(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b3.insertBefore(this[0])}b3.map(function(){var b4=this;while(b4.firstChild&&b4.firstChild.nodeType===1){b4=b4.firstChild}return b4}).append(this)}return this},wrapInner:function(e){if(bJ.isFunction(e)){return this.each(function(b3){bJ(this).wrapInner(e.call(this,b3))})}return this.each(function(){var b3=bJ(this),b4=b3.contents();if(b4.length){b4.wrapAll(e)}else{b3.append(e)}})},wrap:function(e){var b3=bJ.isFunction(e);return this.each(function(b4){bJ(this).wrapAll(b3?e.call(this,b4):e)})},unwrap:function(){return this.parent().each(function(){if(!bJ.nodeName(this,"body")){bJ(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.insertBefore(e,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,false,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(e,b5){var b4,b3=0;for(;(b4=this[b3])!=null;b3++){if(!e||bJ.filter(e,[b4]).length>0){if(!b5&&b4.nodeType===1){bJ.cleanData(k(b4))}if(b4.parentNode){if(b5&&bJ.contains(b4.ownerDocument,b4)){bs(k(b4,"script"))}b4.parentNode.removeChild(b4)}}}return this},empty:function(){var b3,e=0;for(;(b3=this[e])!=null;e++){if(b3.nodeType===1){bJ.cleanData(k(b3,false))}while(b3.firstChild){b3.removeChild(b3.firstChild)}if(b3.options&&bJ.nodeName(b3,"select")){b3.options.length=0}}return this},clone:function(b3,e){b3=b3==null?false:b3;e=e==null?b3:e;return this.map(function(){return bJ.clone(this,b3,e)})},html:function(e){return bJ.access(this,function(b6){var b5=this[0]||{},b4=0,b3=this.length;if(b6===aG){return b5.nodeType===1?b5.innerHTML.replace(aA,""):aG}if(typeof b6==="string"&&!al.test(b6)&&(bJ.support.htmlSerialize||!J.test(b6))&&(bJ.support.leadingWhitespace||!b2.test(b6))&&!T[(m.exec(b6)||["",""])[1].toLowerCase()]){b6=b6.replace(aD,"<$1>");try{for(;b4")){ca=b3.cloneNode(true)}else{j.innerHTML=b3.outerHTML;j.removeChild(ca=j.firstChild)}if((!bJ.support.noCloneEvent||!bJ.support.noCloneChecked)&&(b3.nodeType===1||b3.nodeType===11)&&!bJ.isXMLDoc(b3)){b7=k(ca);b8=k(b3);for(b6=0;(b4=b8[b6])!=null;++b6){if(b7[b6]){Q(b4,b7[b6])}}}if(b5){if(e){b8=b8||k(b3);b7=b7||k(ca);for(b6=0;(b4=b8[b6])!=null;b6++){at(b4,b7[b6])}}else{at(b3,ca)}}b7=k(ca,"script");if(b7.length>0){bs(b7,!b9&&k(b3,"script"))}b7=b8=b4=null;return ca},buildFragment:function(b3,b5,ca,cf){var cb,b7,b9,ce,cg,cd,b4,b8=b3.length,b6=A(b5),e=[],cc=0;for(;cc")+b4[2];cb=b4[0];while(cb--){ce=ce.lastChild}if(!bJ.support.leadingWhitespace&&b2.test(b7)){e.push(b5.createTextNode(b2.exec(b7)[0]))}if(!bJ.support.tbody){b7=cg==="table"&&!bX.test(b7)?ce.firstChild:b4[1]===""&&!bX.test(b7)?ce:0;cb=b7&&b7.childNodes.length;while(cb--){if(bJ.nodeName((cd=b7.childNodes[cb]),"tbody")&&!cd.childNodes.length){b7.removeChild(cd)}}}bJ.merge(e,ce.childNodes);ce.textContent="";while(ce.firstChild){ce.removeChild(ce.firstChild)}ce=b6.lastChild}}}}if(ce){b6.removeChild(ce)}if(!bJ.support.appendChecked){bJ.grep(k(e,"input"),bV)}cc=0;while((b7=e[cc++])){if(cf&&bJ.inArray(b7,cf)!==-1){continue}b9=bJ.contains(b7.ownerDocument,b7);ce=k(b6.appendChild(b7),"script");if(b9){bs(ce)}if(ca){cb=0;while((b7=ce[cb++])){if(bz.test(b7.type||"")){ca.push(b7)}}}}ce=null;return b6},cleanData:function(b3,cb){var b5,ca,b4,b6,b7=0,cc=bJ.expando,e=bJ.cache,b8=bJ.support.deleteExpando,b9=bJ.event.special;for(;(b5=b3[b7])!=null;b7++){if(cb||bJ.acceptData(b5)){b4=b5[cc];b6=b4&&e[b4];if(b6){if(b6.events){for(ca in b6.events){if(b9[ca]){bJ.event.remove(b5,ca)}else{bJ.removeEvent(b5,ca,b6.handle)}}}if(e[b4]){delete e[b4];if(b8){delete b5[cc]}else{if(typeof b5.removeAttribute!==aC){b5.removeAttribute(cc)}else{b5[cc]=null}}a6.push(b4)}}}}}});var aE,bo,E,bg=/alpha\([^)]*\)/i,aT=/opacity\s*=\s*([^)]*)/,bn=/^(top|right|bottom|left)$/,F=/^(none|table(?!-c[ea]).+)/,aY=/^margin/,a9=new RegExp("^("+bA+")(.*)$","i"),W=new RegExp("^("+bA+")(?!px)[a-z%]+$","i"),S=new RegExp("^([+-])=("+bA+")","i"),bj={BODY:"block"},bb={position:"absolute",visibility:"hidden",display:"block"},bC={letterSpacing:0,fontWeight:400},bT=["Top","Right","Bottom","Left"],av=["Webkit","O","Moz","ms"];function b(b5,b3){if(b3 in b5){return b3}var b6=b3.charAt(0).toUpperCase()+b3.slice(1),e=b3,b4=av.length;while(b4--){b3=av[b4]+b6;if(b3 in b5){return b3}}return e}function P(b3,e){b3=e||b3;return bJ.css(b3,"display")==="none"||!bJ.contains(b3.ownerDocument,b3)}function p(b8,e){var b9,b6,b7,b3=[],b4=0,b5=b8.length;for(;b41)},show:function(){return p(this,true)},hide:function(){return p(this)},toggle:function(b3){var e=typeof b3==="boolean";return this.each(function(){if(e?b3:P(this)){bJ(this).show()}else{bJ(this).hide()}})}});bJ.extend({cssHooks:{opacity:{get:function(b4,b3){if(b3){var e=E(b4,"opacity");return e===""?"1":e}}}},cssNumber:{columnCount:true,fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bJ.support.cssFloat?"cssFloat":"styleFloat"},style:function(b5,b4,cb,b6){if(!b5||b5.nodeType===3||b5.nodeType===8||!b5.style){return}var b9,ca,cc,b7=bJ.camelCase(b4),b3=b5.style;b4=bJ.cssProps[b7]||(bJ.cssProps[b7]=b(b3,b7));cc=bJ.cssHooks[b4]||bJ.cssHooks[b7];if(cb!==aG){ca=typeof cb;if(ca==="string"&&(b9=S.exec(cb))){cb=(b9[1]+1)*b9[2]+parseFloat(bJ.css(b5,b4));ca="number"}if(cb==null||ca==="number"&&isNaN(cb)){return}if(ca==="number"&&!bJ.cssNumber[b7]){cb+="px"}if(!bJ.support.clearCloneStyle&&cb===""&&b4.indexOf("background")===0){b3[b4]="inherit"}if(!cc||!("set" in cc)||(cb=cc.set(b5,cb,b6))!==aG){try{b3[b4]=cb}catch(b8){}}}else{if(cc&&"get" in cc&&(b9=cc.get(b5,false,b6))!==aG){return b9}return b3[b4]}},css:function(b8,b6,b3,b7){var b5,b9,e,b4=bJ.camelCase(b6);b6=bJ.cssProps[b4]||(bJ.cssProps[b4]=b(b8.style,b4));e=bJ.cssHooks[b6]||bJ.cssHooks[b4];if(e&&"get" in e){b9=e.get(b8,true,b3)}if(b9===aG){b9=E(b8,b6,b7)}if(b9==="normal"&&b6 in bC){b9=bC[b6]}if(b3===""||b3){b5=parseFloat(b9);return b3===true||bJ.isNumeric(b5)?b5||0:b9}return b9},swap:function(b7,b6,b8,b5){var b4,b3,e={};for(b3 in b6){e[b3]=b7.style[b3];b7.style[b3]=b6[b3]}b4=b8.apply(b7,b5||[]);for(b3 in b6){b7.style[b3]=e[b3]}return b4}});if(a2.getComputedStyle){bo=function(e){return a2.getComputedStyle(e,null)};E=function(b6,b4,b8){var b5,b3,ca,b7=b8||bo(b6),b9=b7?b7.getPropertyValue(b4)||b7[b4]:aG,e=b6.style;if(b7){if(b9===""&&!bJ.contains(b6.ownerDocument,b6)){b9=bJ.style(b6,b4)}if(W.test(b9)&&aY.test(b4)){b5=e.width;b3=e.minWidth;ca=e.maxWidth;e.minWidth=e.maxWidth=e.width=b9;b9=b7.width;e.width=b5;e.minWidth=b3;e.maxWidth=ca}}return b9}}else{if(l.documentElement.currentStyle){bo=function(e){return e.currentStyle};E=function(b5,b3,b8){var b4,b7,b9,b6=b8||bo(b5),ca=b6?b6[b3]:aG,e=b5.style;if(ca==null&&e&&e[b3]){ca=e[b3]}if(W.test(ca)&&!bn.test(b3)){b4=e.left;b7=b5.runtimeStyle;b9=b7&&b7.left;if(b9){b7.left=b5.currentStyle.left}e.left=b3==="fontSize"?"1em":ca;ca=e.pixelLeft+"px";e.left=b4;if(b9){b7.left=b9}}return ca===""?"auto":ca}}}function aJ(e,b4,b5){var b3=a9.exec(b4);return b3?Math.max(0,b3[1]-(b5||0))+(b3[2]||"px"):b4}function aw(b6,b3,e,b8,b5){var b4=e===(b8?"border":"content")?4:b3==="width"?1:0,b7=0;for(;b4<4;b4+=2){if(e==="margin"){b7+=bJ.css(b6,e+bT[b4],true,b5)}if(b8){if(e==="content"){b7-=bJ.css(b6,"padding"+bT[b4],true,b5)}if(e!=="margin"){b7-=bJ.css(b6,"border"+bT[b4]+"Width",true,b5)}}else{b7+=bJ.css(b6,"padding"+bT[b4],true,b5);if(e!=="padding"){b7+=bJ.css(b6,"border"+bT[b4]+"Width",true,b5)}}}return b7}function u(b6,b3,e){var b5=true,b7=b3==="width"?b6.offsetWidth:b6.offsetHeight,b4=bo(b6),b8=bJ.support.boxSizing&&bJ.css(b6,"boxSizing",false,b4)==="border-box";if(b7<=0||b7==null){b7=E(b6,b3,b4);if(b7<0||b7==null){b7=b6.style[b3]}if(W.test(b7)){return b7}b5=b8&&(bJ.support.boxSizingReliable||b7===b6.style[b3]);b7=parseFloat(b7)||0}return(b7+aw(b6,b3,e||(b8?"border":"content"),b5,b4))+"px"}function bE(b4){var b3=l,e=bj[b4];if(!e){e=a1(b4,b3);if(e==="none"||!e){aE=(aE||bJ("'; + document.body.appendChild(reloader_content); + reloader_content.style.position = 'absolute'; + reloader_content.style.left = reloader_content.style.top = '-9999px'; + iframe = reloader_content.getElementsByTagName('iframe')[0]; + + if (document.getElementById("safari_remember_field").value != "" ) { + historyHash = document.getElementById("safari_remember_field").value.split(","); + } + } + + if (browserHasHashChange) + document.body.onhashchange = hashChangeHandler; + } + + return { + historyHash: historyHash, + backStack: function() { return backStack; }, + forwardStack: function() { return forwardStack }, + getPlayer: getPlayer, + initialize: function(src) { + _initialize(src); + }, + setURL: function(url) { + document.location.href = url; + }, + getURL: function() { + return document.location.href; + }, + getTitle: function() { + return document.title; + }, + setTitle: function(title) { + try { + backStack[backStack.length - 1].title = title; + } catch(e) { } + //if on safari, set the title to be the empty string. + if (browser.safari) { + if (title == "") { + try { + var tmp = window.location.href.toString(); + title = tmp.substring((tmp.lastIndexOf("/")+1), tmp.lastIndexOf("#")); + } catch(e) { + title = ""; + } + } + } + document.title = title; + }, + setDefaultURL: function(def) + { + defaultHash = def; + def = getHash(); + //trailing ? is important else an extra frame gets added to the history + //when navigating back to the first page. Alternatively could check + //in history frame navigation to compare # and ?. + if (browser.ie) + { + window['_ie_firstload'] = true; + var sourceToSet = historyFrameSourcePrefix + def; + var func = function() { + getHistoryFrame().src = sourceToSet; + window.location.replace("#" + def); + setInterval(checkForUrlChange, 50); + } + try { + func(); + } catch(e) { + window.setTimeout(function() { func(); }, 0); + } + } + + if (browser.safari) + { + currentHistoryLength = history.length; + if (historyHash.length == 0) { + historyHash[currentHistoryLength] = def; + var newloc = "#" + def; + window.location.replace(newloc); + } else { + //alert(historyHash[historyHash.length-1]); + } + setInterval(checkForUrlChange, 50); + } + + + if (browser.firefox || browser.opera) + { + var reg = new RegExp("#" + def + "$"); + if (window.location.toString().match(reg)) { + } else { + var newloc ="#" + def; + window.location.replace(newloc); + } + setInterval(checkForUrlChange, 50); + } + + }, + + /* Set the current browser URL; called from inside BrowserManager to propagate + * the application state out to the container. + */ + setBrowserURL: function(flexAppUrl, objectId) { + if (browser.ie && typeof objectId != "undefined") { + currentObjectId = objectId; + } + //fromIframe = fromIframe || false; + //fromFlex = fromFlex || false; + //alert("setBrowserURL: " + flexAppUrl); + //flexAppUrl = (flexAppUrl == "") ? defaultHash : flexAppUrl ; + + var pos = document.location.href.indexOf('#'); + var baseUrl = pos != -1 ? document.location.href.substr(0, pos) : document.location.href; + var newUrl = baseUrl + '#' + flexAppUrl; + + if (document.location.href != newUrl && document.location.href + '#' != newUrl) { + currentHref = newUrl; + addHistoryEntry(baseUrl, newUrl, flexAppUrl); + currentHistoryLength = history.length; + } + }, + + browserURLChange: function(flexAppUrl) { + var objectId = null; + if (browser.ie && currentObjectId != null) { + objectId = currentObjectId; + } + + if (typeof BrowserHistory_multiple != "undefined" && BrowserHistory_multiple == true) { + var pl = getPlayers(); + for (var i = 0; i < pl.length; i++) { + try { + pl[i].browserURLChange(flexAppUrl); + } catch(e) { } + } + } else { + try { + getPlayer(objectId).browserURLChange(flexAppUrl); + } catch(e) { } + } + + currentObjectId = null; + }, + getUserAgent: function() { + return navigator.userAgent; + }, + getPlatform: function() { + return navigator.platform; + } + + } + +})(); + +// Initialization + +// Automated unit testing and other diagnostics + +function setURL(url) +{ + document.location.href = url; +} + +function backButton() +{ + history.back(); +} + +function forwardButton() +{ + history.forward(); +} + +function goForwardOrBackInHistory(step) +{ + history.go(step); +} + +//BrowserHistoryUtils.addEvent(window, "load", function() { BrowserHistory.initialize(); }); +(function(i) { + var u =navigator.userAgent;var e=/*@cc_on!@*/false; + var st = setTimeout; + if(/webkit/i.test(u)){ + st(function(){ + var dr=document.readyState; + if(dr=="loaded"||dr=="complete"){i()} + else{st(arguments.callee,10);}},10); + } else if((/mozilla/i.test(u)&&!/(compati)/.test(u)) || (/opera/i.test(u))){ + document.addEventListener("DOMContentLoaded",i,false); + } else if(e){ + (function(){ + var t=document.createElement('doc:rdy'); + try{t.doScroll('left'); + i();t=null; + }catch(e){st(arguments.callee,0);}})(); + } else{ + window.onload=i; + } +})( function() {BrowserHistory.initialize();} ); diff --git a/flash/source/chart/ScoreBall/0.1/bin-debug/history/historyFrame.html b/flash/source/chart/ScoreBall/0.1/bin-debug/history/historyFrame.html new file mode 100644 index 00000000..aebb8d89 --- /dev/null +++ b/flash/source/chart/ScoreBall/0.1/bin-debug/history/historyFrame.html @@ -0,0 +1,29 @@ + + + + + + + + Hidden frame for Browser History support. + + diff --git a/flash/source/chart/ScoreBall/0.1/bin-debug/jq.js b/flash/source/chart/ScoreBall/0.1/bin-debug/jq.js new file mode 100644 index 00000000..fd085fc0 --- /dev/null +++ b/flash/source/chart/ScoreBall/0.1/bin-debug/jq.js @@ -0,0 +1,8 @@ +(function(a2,aG){var ai,w,aC=typeof aG,l=a2.document,aL=a2.location,bi=a2.jQuery,H=a2.$,aa={},a6=[],s="1.9.1",aI=a6.concat,ao=a6.push,a4=a6.slice,aM=a6.indexOf,z=aa.toString,V=aa.hasOwnProperty,aQ=s.trim,bJ=function(e,b3){return new bJ.fn.init(e,b3,w)},bA=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ac=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,br=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bh=/^[\],:{}\s]*$/,bk=/(?:^|:|,)(?:\s*\[)+/g,bG=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,aZ=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,bS=/^-ms-/,aV=/-([\da-z])/gi,M=function(e,b3){return b3.toUpperCase()},bW=function(e){if(l.addEventListener||e.type==="load"||l.readyState==="complete"){bl();bJ.ready()}},bl=function(){if(l.addEventListener){l.removeEventListener("DOMContentLoaded",bW,false);a2.removeEventListener("load",bW,false)}else{l.detachEvent("onreadystatechange",bW);a2.detachEvent("onload",bW)}};bJ.fn=bJ.prototype={jquery:s,constructor:bJ,init:function(e,b5,b4){var b3,b6;if(!e){return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b3=[null,e,null]}else{b3=br.exec(e)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bJ?b5[0]:b5;bJ.merge(this,bJ.parseHTML(b3[1],b5&&b5.nodeType?b5.ownerDocument||b5:l,true));if(a.test(b3[1])&&bJ.isPlainObject(b5)){for(b3 in b5){if(bJ.isFunction(this[b3])){this[b3](b5[b3])}else{this.attr(b3,b5[b3])}}}return this}else{b6=l.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(e)}this.length=1;this[0]=b6}this.context=l;this.selector=e;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(e)}else{return this.constructor(b5).find(e)}}}else{if(e.nodeType){this.context=this[0]=e;this.length=1;return this}else{if(bJ.isFunction(e)){return b4.ready(e)}}}if(e.selector!==aG){this.selector=e.selector;this.context=e.context}return bJ.makeArray(e,this)},selector:"",length:0,size:function(){return this.length},toArray:function(){return a4.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},pushStack:function(e){var b3=bJ.merge(this.constructor(),e);b3.prevObject=this;b3.context=this.context;return b3},each:function(b3,e){return bJ.each(this,b3,e)},ready:function(e){bJ.ready.promise().done(e);return this},slice:function(){return this.pushStack(a4.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(b4){var e=this.length,b3=+b4+(b4<0?e:0);return this.pushStack(b3>=0&&b30){return}ai.resolveWith(l,[bJ]);if(bJ.fn.trigger){bJ(l).trigger("ready").off("ready")}},isFunction:function(e){return bJ.type(e)==="function"},isArray:Array.isArray||function(e){return bJ.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !isNaN(parseFloat(e))&&isFinite(e)},type:function(e){if(e==null){return String(e)}return typeof e==="object"||typeof e==="function"?aa[z.call(e)]||"object":typeof e},isPlainObject:function(b5){if(!b5||bJ.type(b5)!=="object"||b5.nodeType||bJ.isWindow(b5)){return false}try{if(b5.constructor&&!V.call(b5,"constructor")&&!V.call(b5.constructor.prototype,"isPrototypeOf")){return false}}catch(b4){return false}var b3;for(b3 in b5){}return b3===aG||V.call(b5,b3)},isEmptyObject:function(b3){var e;for(e in b3){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(b6,b4,b5){if(!b6||typeof b6!=="string"){return null}if(typeof b4==="boolean"){b5=b4;b4=false}b4=b4||l;var b3=a.exec(b6),e=!b5&&[];if(b3){return[b4.createElement(b3[1])]}b3=bJ.buildFragment([b6],b4,e);if(e){bJ(e).remove()}return bJ.merge([],b3.childNodes)},parseJSON:function(e){if(a2.JSON&&a2.JSON.parse){return a2.JSON.parse(e)}if(e===null){return e}if(typeof e==="string"){e=bJ.trim(e);if(e){if(bh.test(e.replace(bG,"@").replace(aZ,"]").replace(bk,""))){return(new Function("return "+e))()}}}bJ.error("Invalid JSON: "+e)},parseXML:function(b5){var b3,b4;if(!b5||typeof b5!=="string"){return null}try{if(a2.DOMParser){b4=new DOMParser();b3=b4.parseFromString(b5,"text/xml")}else{b3=new ActiveXObject("Microsoft.XMLDOM");b3.async="false";b3.loadXML(b5)}}catch(b6){b3=aG}if(!b3||!b3.documentElement||b3.getElementsByTagName("parsererror").length){bJ.error("Invalid XML: "+b5)}return b3},noop:function(){},globalEval:function(e){if(e&&bJ.trim(e)){(a2.execScript||function(b3){a2["eval"].call(a2,b3)})(e)}},camelCase:function(e){return e.replace(bS,"ms-").replace(aV,M)},nodeName:function(b3,e){return b3.nodeName&&b3.nodeName.toLowerCase()===e.toLowerCase()},each:function(b7,b8,b3){var b6,b4=0,b5=b7.length,e=ab(b7);if(b3){if(e){for(;b40&&(b3-1) in b4)}w=bJ(l);var bY={};function ae(b3){var e=bY[b3]={};bJ.each(b3.match(ac)||[],function(b5,b4){e[b4]=true});return e}bJ.Callbacks=function(cc){cc=typeof cc==="string"?(bY[cc]||ae(cc)):bJ.extend({},cc);var b6,b5,e,b7,b8,b4,b9=[],ca=!cc.once&&[],b3=function(cd){b5=cc.memory&&cd;e=true;b8=b4||0;b4=0;b7=b9.length;b6=true;for(;b9&&b8-1){b9.splice(ce,1);if(b6){if(ce<=b7){b7--}if(ce<=b8){b8--}}}})}return this},has:function(cd){return cd?bJ.inArray(cd,b9)>-1:!!(b9&&b9.length)},empty:function(){b9=[];return this},disable:function(){b9=ca=b5=aG;return this},disabled:function(){return !b9},lock:function(){ca=aG;if(!b5){cb.disable()}return this},locked:function(){return !ca},fireWith:function(ce,cd){cd=cd||[];cd=[ce,cd.slice?cd.slice():cd];if(b9&&(!e||ca)){if(b6){ca.push(cd)}else{b3(cd)}}return this},fire:function(){cb.fireWith(this,arguments);return this},fired:function(){return !!e}};return cb};bJ.extend({Deferred:function(b4){var b3=[["resolve","done",bJ.Callbacks("once memory"),"resolved"],["reject","fail",bJ.Callbacks("once memory"),"rejected"],["notify","progress",bJ.Callbacks("memory")]],b5="pending",b6={state:function(){return b5},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var b7=arguments;return bJ.Deferred(function(b8){bJ.each(b3,function(ca,b9){var cc=b9[0],cb=bJ.isFunction(b7[ca])&&b7[ca];e[b9[1]](function(){var cd=cb&&cb.apply(this,arguments);if(cd&&bJ.isFunction(cd.promise)){cd.promise().done(b8.resolve).fail(b8.reject).progress(b8.notify)}else{b8[cc+"With"](this===b6?b8.promise():this,cb?[cd]:arguments)}})});b7=null}).promise()},promise:function(b7){return b7!=null?bJ.extend(b7,b6):b6}},e={};b6.pipe=b6.then;bJ.each(b3,function(b8,b7){var ca=b7[2],b9=b7[3];b6[b7[1]]=ca.add;if(b9){ca.add(function(){b5=b9},b3[b8^1][2].disable,b3[2][2].lock)}e[b7[0]]=function(){e[b7[0]+"With"](this===e?b6:this,arguments);return this};e[b7[0]+"With"]=ca.fireWith});b6.promise(e);if(b4){b4.call(e,e)}return e},when:function(b6){var b4=0,b8=a4.call(arguments),e=b8.length,b3=e!==1||(b6&&bJ.isFunction(b6.promise))?e:0,cb=b3===1?b6:bJ.Deferred(),b5=function(cd,ce,cc){return function(cf){ce[cd]=this;cc[cd]=arguments.length>1?a4.call(arguments):cf;if(cc===ca){cb.notifyWith(ce,cc)}else{if(!(--b3)){cb.resolveWith(ce,cc)}}}},ca,b7,b9;if(e>1){ca=new Array(e);b7=new Array(e);b9=new Array(e);for(;b4
      a";cd=b3.getElementsByTagName("*");cb=b3.getElementsByTagName("a")[0];if(!cd||!cb||!cd.length){return{}}cc=l.createElement("select");b5=cc.appendChild(l.createElement("option"));ca=b3.getElementsByTagName("input")[0];cb.style.cssText="top:1px;float:left;opacity:.5";ce={getSetAttribute:b3.className!=="t",leadingWhitespace:b3.firstChild.nodeType===3,tbody:!b3.getElementsByTagName("tbody").length,htmlSerialize:!!b3.getElementsByTagName("link").length,style:/top/.test(cb.getAttribute("style")),hrefNormalized:cb.getAttribute("href")==="/a",opacity:/^0.5/.test(cb.style.opacity),cssFloat:!!cb.style.cssFloat,checkOn:!!ca.value,optSelected:b5.selected,enctype:!!l.createElement("form").enctype,html5Clone:l.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",boxModel:l.compatMode==="CSS1Compat",deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};ca.checked=true;ce.noCloneChecked=ca.cloneNode(true).checked;cc.disabled=true;ce.optDisabled=!b5.disabled;try{delete b3.test}catch(b8){ce.deleteExpando=false}ca=l.createElement("input");ca.setAttribute("value","");ce.input=ca.getAttribute("value")==="";ca.value="t";ca.setAttribute("type","radio");ce.radioValue=ca.value==="t";ca.setAttribute("checked","t");ca.setAttribute("name","t");b9=l.createDocumentFragment();b9.appendChild(ca);ce.appendChecked=ca.checked;ce.checkClone=b9.cloneNode(true).cloneNode(true).lastChild.checked;if(b3.attachEvent){b3.attachEvent("onclick",function(){ce.noCloneEvent=false});b3.cloneNode(true).click()}for(b6 in {submit:true,change:true,focusin:true}){b3.setAttribute(b7="on"+b6,"t");ce[b6+"Bubbles"]=b7 in a2||b3.attributes[b7].expando===false}b3.style.backgroundClip="content-box";b3.cloneNode(true).style.backgroundClip="";ce.clearCloneStyle=b3.style.backgroundClip==="content-box";bJ(function(){var cf,ci,ch,cg="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",e=l.getElementsByTagName("body")[0];if(!e){return}cf=l.createElement("div");cf.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";e.appendChild(cf).appendChild(b3);b3.innerHTML="
      t
      ";ch=b3.getElementsByTagName("td");ch[0].style.cssText="padding:0;margin:0;border:0;display:none";b4=(ch[0].offsetHeight===0);ch[0].style.display="";ch[1].style.display="none";ce.reliableHiddenOffsets=b4&&(ch[0].offsetHeight===0);b3.innerHTML="";b3.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%;";ce.boxSizing=(b3.offsetWidth===4);ce.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==1);if(a2.getComputedStyle){ce.pixelPosition=(a2.getComputedStyle(b3,null)||{}).top!=="1%";ce.boxSizingReliable=(a2.getComputedStyle(b3,null)||{width:"4px"}).width==="4px";ci=b3.appendChild(l.createElement("div"));ci.style.cssText=b3.style.cssText=cg;ci.style.marginRight=ci.style.width="0";b3.style.width="1px";ce.reliableMarginRight=!parseFloat((a2.getComputedStyle(ci,null)||{}).marginRight)}if(typeof b3.style.zoom!==aC){b3.innerHTML="";b3.style.cssText=cg+"width:1px;padding:1px;display:inline;zoom:1";ce.inlineBlockNeedsLayout=(b3.offsetWidth===3);b3.style.display="block";b3.innerHTML="
      ";b3.firstChild.style.width="5px";ce.shrinkWrapBlocks=(b3.offsetWidth!==3);if(ce.inlineBlockNeedsLayout){e.style.zoom=1}}e.removeChild(cf);cf=b3=ch=ci=null});cd=cc=b9=b5=cb=ca=null;return ce})();var bw=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aN=/([A-Z])/g;function ba(b5,b3,b7,b6){if(!bJ.acceptData(b5)){return}var b8,ca,cb=bJ.expando,b9=typeof b3==="string",cc=b5.nodeType,e=cc?bJ.cache:b5,b4=cc?b5[cb]:b5[cb]&&cb;if((!b4||!e[b4]||(!b6&&!e[b4].data))&&b9&&b7===aG){return}if(!b4){if(cc){b5[cb]=b4=a6.pop()||bJ.guid++}else{b4=cb}}if(!e[b4]){e[b4]={};if(!cc){e[b4].toJSON=bJ.noop}}if(typeof b3==="object"||typeof b3==="function"){if(b6){e[b4]=bJ.extend(e[b4],b3)}else{e[b4].data=bJ.extend(e[b4].data,b3)}}b8=e[b4];if(!b6){if(!b8.data){b8.data={}}b8=b8.data}if(b7!==aG){b8[bJ.camelCase(b3)]=b7}if(b9){ca=b8[b3];if(ca==null){ca=b8[bJ.camelCase(b3)]}}else{ca=b8}return ca}function Z(b5,b3,b6){if(!bJ.acceptData(b5)){return}var b8,b7,b9,ca=b5.nodeType,e=ca?bJ.cache:b5,b4=ca?b5[bJ.expando]:bJ.expando;if(!e[b4]){return}if(b3){b9=b6?e[b4]:e[b4].data;if(b9){if(!bJ.isArray(b3)){if(b3 in b9){b3=[b3]}else{b3=bJ.camelCase(b3);if(b3 in b9){b3=[b3]}else{b3=b3.split(" ")}}}else{b3=b3.concat(bJ.map(b3,bJ.camelCase))}for(b8=0,b7=b3.length;b81,null,true)},removeData:function(e){return this.each(function(){bJ.removeData(this,e)})}});function by(b5,b4,b6){if(b6===aG&&b5.nodeType===1){var b3="data-"+b4.replace(aN,"-$1").toLowerCase();b6=b5.getAttribute(b3);if(typeof b6==="string"){try{b6=b6==="true"?true:b6==="false"?false:b6==="null"?null:+b6+""===b6?+b6:bw.test(b6)?bJ.parseJSON(b6):b6}catch(b7){}bJ.data(b5,b4,b6)}else{b6=aG}}return b6}function N(b3){var e;for(e in b3){if(e==="data"&&bJ.isEmptyObject(b3[e])){continue}if(e!=="toJSON"){return false}}return true}bJ.extend({queue:function(b4,b3,b5){var e;if(b4){b3=(b3||"fx")+"queue";e=bJ._data(b4,b3);if(b5){if(!e||bJ.isArray(b5)){e=bJ._data(b4,b3,bJ.makeArray(b5))}else{e.push(b5)}}return e||[]}},dequeue:function(b7,b6){b6=b6||"fx";var b3=bJ.queue(b7,b6),b8=b3.length,b5=b3.shift(),e=bJ._queueHooks(b7,b6),b4=function(){bJ.dequeue(b7,b6)};if(b5==="inprogress"){b5=b3.shift();b8--}e.cur=b5;if(b5){if(b6==="fx"){b3.unshift("inprogress")}delete e.stop;b5.call(b7,b4,e)}if(!b8&&e){e.empty.fire()}},_queueHooks:function(b4,b3){var e=b3+"queueHooks";return bJ._data(b4,e)||bJ._data(b4,e,{empty:bJ.Callbacks("once memory").add(function(){bJ._removeData(b4,b3+"queue");bJ._removeData(b4,e)})})}});bJ.fn.extend({queue:function(e,b3){var b4=2;if(typeof e!=="string"){b3=e;e="fx";b4--}if(arguments.length1)},removeAttr:function(e){return this.each(function(){bJ.removeAttr(this,e)})},prop:function(e,b3){return bJ.access(this,bJ.prop,e,b3,arguments.length>1)},removeProp:function(e){e=bJ.propFix[e]||e;return this.each(function(){try{this[e]=aG;delete this[e]}catch(b3){}})},addClass:function(b9){var b3,e,ca,b6,b4,b5=0,b7=this.length,b8=typeof b9==="string"&&b9;if(bJ.isFunction(b9)){return this.each(function(cb){bJ(this).addClass(b9.call(this,cb,this.className))})}if(b8){b3=(b9||"").match(ac)||[];for(;b5=0){ca=ca.replace(" "+b6+" "," ")}}e.className=b9?bJ.trim(ca):""}}}return this},toggleClass:function(b5,b3){var b4=typeof b5,e=typeof b3==="boolean";if(bJ.isFunction(b5)){return this.each(function(b6){bJ(this).toggleClass(b5.call(this,b6,this.className,b3),b3)})}return this.each(function(){if(b4==="string"){var b8,b7=0,b6=bJ(this),b9=b3,ca=b5.match(ac)||[];while((b8=ca[b7++])){b9=e?b9:!b6.hasClass(b8);b6[b9?"addClass":"removeClass"](b8)}}else{if(b4===aC||b4==="boolean"){if(this.className){bJ._data(this,"__className__",this.className)}this.className=this.className||b5===false?"":bJ._data(this,"__className__")||""}}})},hasClass:function(e){var b5=" "+e+" ",b4=0,b3=this.length;for(;b4=0){return true}}return false},val:function(b5){var b3,e,b6,b4=this[0];if(!arguments.length){if(b4){e=bJ.valHooks[b4.type]||bJ.valHooks[b4.nodeName.toLowerCase()];if(e&&"get" in e&&(b3=e.get(b4,"value"))!==aG){return b3}b3=b4.value;return typeof b3==="string"?b3.replace(ak,""):b3==null?"":b3}return}b6=bJ.isFunction(b5);return this.each(function(b8){var b9,b7=bJ(this);if(this.nodeType!==1){return}if(b6){b9=b5.call(this,b8,b7.val())}else{b9=b5}if(b9==null){b9=""}else{if(typeof b9==="number"){b9+=""}else{if(bJ.isArray(b9)){b9=bJ.map(b9,function(ca){return ca==null?"":ca+""})}}}e=bJ.valHooks[this.type]||bJ.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,b9,"value")===aG){this.value=b9}})}});bJ.extend({valHooks:{option:{get:function(e){var b3=e.attributes.value;return !b3||b3.specified?e.value:e.text}},select:{get:function(e){var b8,b4,ca=e.options,b6=e.selectedIndex,b5=e.type==="select-one"||b6<0,b9=b5?null:[],b7=b5?b6+1:ca.length,b3=b6<0?b7:b5?b6:0;for(;b3=0});if(!e.length){b3.selectedIndex=-1}return e}}},attr:function(b7,b5,b8){var e,b6,b4,b3=b7.nodeType;if(!b7||b3===3||b3===8||b3===2){return}if(typeof b7.getAttribute===aC){return bJ.prop(b7,b5,b8)}b6=b3!==1||!bJ.isXMLDoc(b7);if(b6){b5=b5.toLowerCase();e=bJ.attrHooks[b5]||(L.test(b5)?bZ:a8)}if(b8!==aG){if(b8===null){bJ.removeAttr(b7,b5)}else{if(e&&b6&&"set" in e&&(b4=e.set(b7,b8,b5))!==aG){return b4}else{b7.setAttribute(b5,b8+"");return b8}}}else{if(e&&b6&&"get" in e&&(b4=e.get(b7,b5))!==null){return b4}else{if(typeof b7.getAttribute!==aC){b4=b7.getAttribute(b5)}return b4==null?aG:b4}}},removeAttr:function(b4,b6){var e,b5,b3=0,b7=b6&&b6.match(ac);if(b7&&b4.nodeType===1){while((e=b7[b3++])){b5=bJ.propFix[e]||e;if(L.test(e)){if(!bP&&aq.test(e)){b4[bJ.camelCase("default-"+e)]=b4[b5]=false}else{b4[b5]=false}}else{bJ.attr(b4,e,"")}b4.removeAttribute(bP?e:b5)}}},attrHooks:{type:{set:function(e,b3){if(!bJ.support.radioValue&&b3==="radio"&&bJ.nodeName(e,"input")){var b4=e.value;e.setAttribute("type",b3);if(b4){e.value=b4}return b3}}}},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(b7,b5,b8){var b4,e,b6,b3=b7.nodeType;if(!b7||b3===3||b3===8||b3===2){return}b6=b3!==1||!bJ.isXMLDoc(b7);if(b6){b5=bJ.propFix[b5]||b5;e=bJ.propHooks[b5]}if(b8!==aG){if(e&&"set" in e&&(b4=e.set(b7,b8,b5))!==aG){return b4}else{return(b7[b5]=b8)}}else{if(e&&"get" in e&&(b4=e.get(b7,b5))!==null){return b4}else{return b7[b5]}}},propHooks:{tabIndex:{get:function(b3){var e=b3.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):aF.test(b3.nodeName)||D.test(b3.nodeName)&&b3.href?0:aG}}}});bZ={get:function(b5,b3){var b6=bJ.prop(b5,b3),e=typeof b6==="boolean"&&b5.getAttribute(b3),b4=typeof b6==="boolean"?bF&&bP?e!=null:aq.test(b3)?b5[bJ.camelCase("default-"+b3)]:!!e:b5.getAttributeNode(b3);return b4&&b4.value!==false?b3.toLowerCase():aG},set:function(b3,b4,e){if(b4===false){bJ.removeAttr(b3,e)}else{if(bF&&bP||!aq.test(e)){b3.setAttribute(!bP&&bJ.propFix[e]||e,e)}else{b3[bJ.camelCase("default-"+e)]=b3[e]=true}}return e}};if(!bF||!bP){bJ.attrHooks.value={get:function(b4,b3){var e=b4.getAttributeNode(b3);return bJ.nodeName(b4,"input")?b4.defaultValue:e&&e.specified?e.value:aG},set:function(b3,b4,e){if(bJ.nodeName(b3,"input")){b3.defaultValue=b4}else{return a8&&a8.set(b3,b4,e)}}}}if(!bP){a8=bJ.valHooks.button={get:function(b4,b3){var e=b4.getAttributeNode(b3);return e&&(b3==="id"||b3==="name"||b3==="coords"?e.value!=="":e.specified)?e.value:aG},set:function(b4,b5,b3){var e=b4.getAttributeNode(b3);if(!e){b4.setAttributeNode((e=b4.ownerDocument.createAttribute(b3)))}e.value=b5+="";return b3==="value"||b5===b4.getAttribute(b3)?b5:aG}};bJ.attrHooks.contenteditable={get:a8.get,set:function(b3,b4,e){a8.set(b3,b4===""?false:b4,e)}};bJ.each(["width","height"],function(b3,e){bJ.attrHooks[e]=bJ.extend(bJ.attrHooks[e],{set:function(b4,b5){if(b5===""){b4.setAttribute(e,"auto");return b5}}})})}if(!bJ.support.hrefNormalized){bJ.each(["href","src","width","height"],function(b3,e){bJ.attrHooks[e]=bJ.extend(bJ.attrHooks[e],{get:function(b5){var b4=b5.getAttribute(e,2);return b4==null?aG:b4}})});bJ.each(["href","src"],function(b3,e){bJ.propHooks[e]={get:function(b4){return b4.getAttribute(e,4)}}})}if(!bJ.support.style){bJ.attrHooks.style={get:function(e){return e.style.cssText||aG},set:function(e,b3){return(e.style.cssText=b3+"")}}}if(!bJ.support.optSelected){bJ.propHooks.selected=bJ.extend(bJ.propHooks.selected,{get:function(b3){var e=b3.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!bJ.support.enctype){bJ.propFix.enctype="encoding"}if(!bJ.support.checkOn){bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}bJ.each(["radio","checkbox"],function(){bJ.valHooks[this]=bJ.extend(bJ.valHooks[this],{set:function(e,b3){if(bJ.isArray(b3)){return(e.checked=bJ.inArray(bJ(e).val(),b3)>=0)}}})});var bH=/^(?:input|select|textarea)$/i,a3=/^key/,bN=/^(?:mouse|contextmenu)|click/,bB=/^(?:focusinfocus|focusoutblur)$/,bu=/^([^.]*)(?:\.(.+)|)$/;function R(){return true}function X(){return false}bJ.event={global:{},add:function(b6,cb,cg,b8,b7){var b9,ch,ci,b4,cd,ca,cf,b5,ce,e,b3,cc=bJ._data(b6);if(!cc){return}if(cg.handler){b4=cg;cg=b4.handler;b7=b4.selector}if(!cg.guid){cg.guid=bJ.guid++}if(!(ch=cc.events)){ch=cc.events={}}if(!(ca=cc.handle)){ca=cc.handle=function(cj){return typeof bJ!==aC&&(!cj||bJ.event.triggered!==cj.type)?bJ.event.dispatch.apply(ca.elem,arguments):aG};ca.elem=b6}cb=(cb||"").match(ac)||[""];ci=cb.length;while(ci--){b9=bu.exec(cb[ci])||[];ce=b3=b9[1];e=(b9[2]||"").split(".").sort();cd=bJ.event.special[ce]||{};ce=(b7?cd.delegateType:cd.bindType)||ce;cd=bJ.event.special[ce]||{};cf=bJ.extend({type:ce,origType:b3,data:b8,handler:cg,guid:cg.guid,selector:b7,needsContext:b7&&bJ.expr.match.needsContext.test(b7),namespace:e.join(".")},b4);if(!(b5=ch[ce])){b5=ch[ce]=[];b5.delegateCount=0;if(!cd.setup||cd.setup.call(b6,b8,e,ca)===false){if(b6.addEventListener){b6.addEventListener(ce,ca,false)}else{if(b6.attachEvent){b6.attachEvent("on"+ce,ca)}}}}if(cd.add){cd.add.call(b6,cf);if(!cf.handler.guid){cf.handler.guid=cg.guid}}if(b7){b5.splice(b5.delegateCount++,0,cf)}else{b5.push(cf)}bJ.event.global[ce]=true}b6=null},remove:function(b5,cb,ci,b6,ca){var b8,cf,b9,b7,ch,cg,cd,b4,ce,e,b3,cc=bJ.hasData(b5)&&bJ._data(b5);if(!cc||!(cg=cc.events)){return}cb=(cb||"").match(ac)||[""];ch=cb.length;while(ch--){b9=bu.exec(cb[ch])||[];ce=b3=b9[1];e=(b9[2]||"").split(".").sort();if(!ce){for(ce in cg){bJ.event.remove(b5,ce+cb[ch],ci,b6,true)}continue}cd=bJ.event.special[ce]||{};ce=(b6?cd.delegateType:cd.bindType)||ce;b4=cg[ce]||[];b9=b9[2]&&new RegExp("(^|\\.)"+e.join("\\.(?:.*\\.|)")+"(\\.|$)");b7=b8=b4.length;while(b8--){cf=b4[b8];if((ca||b3===cf.origType)&&(!ci||ci.guid===cf.guid)&&(!b9||b9.test(cf.namespace))&&(!b6||b6===cf.selector||b6==="**"&&cf.selector)){b4.splice(b8,1);if(cf.selector){b4.delegateCount--}if(cd.remove){cd.remove.call(b5,cf)}}}if(b7&&!b4.length){if(!cd.teardown||cd.teardown.call(b5,e,cc.handle)===false){bJ.removeEvent(b5,ce,cc.handle)}delete cg[ce]}}if(bJ.isEmptyObject(cg)){delete cc.handle;bJ._removeData(b5,"events")}},trigger:function(b3,ca,b6,ch){var cb,b5,cf,cg,cd,b9,b8,b7=[b6||l],ce=V.call(b3,"type")?b3.type:b3,b4=V.call(b3,"namespace")?b3.namespace.split("."):[];cf=b9=b6=b6||l;if(b6.nodeType===3||b6.nodeType===8){return}if(bB.test(ce+bJ.event.triggered)){return}if(ce.indexOf(".")>=0){b4=ce.split(".");ce=b4.shift();b4.sort()}b5=ce.indexOf(":")<0&&"on"+ce;b3=b3[bJ.expando]?b3:new bJ.Event(ce,typeof b3==="object"&&b3);b3.isTrigger=true;b3.namespace=b4.join(".");b3.namespace_re=b3.namespace?new RegExp("(^|\\.)"+b4.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b3.result=aG;if(!b3.target){b3.target=b6}ca=ca==null?[b3]:bJ.makeArray(ca,[b3]);cd=bJ.event.special[ce]||{};if(!ch&&cd.trigger&&cd.trigger.apply(b6,ca)===false){return}if(!ch&&!cd.noBubble&&!bJ.isWindow(b6)){cg=cd.delegateType||ce;if(!bB.test(cg+ce)){cf=cf.parentNode}for(;cf;cf=cf.parentNode){b7.push(cf);b9=cf}if(b9===(b6.ownerDocument||l)){b7.push(b9.defaultView||b9.parentWindow||a2)}}b8=0;while((cf=b7[b8++])&&!b3.isPropagationStopped()){b3.type=b8>1?cg:cd.bindType||ce;cb=(bJ._data(cf,"events")||{})[b3.type]&&bJ._data(cf,"handle");if(cb){cb.apply(cf,ca)}cb=b5&&cf[b5];if(cb&&bJ.acceptData(cf)&&cb.apply&&cb.apply(cf,ca)===false){b3.preventDefault()}}b3.type=ce;if(!ch&&!b3.isDefaultPrevented()){if((!cd._default||cd._default.apply(b6.ownerDocument,ca)===false)&&!(ce==="click"&&bJ.nodeName(b6,"a"))&&bJ.acceptData(b6)){if(b5&&b6[ce]&&!bJ.isWindow(b6)){b9=b6[b5];if(b9){b6[b5]=null}bJ.event.triggered=ce;try{b6[ce]()}catch(cc){}bJ.event.triggered=aG;if(b9){b6[b5]=b9}}}}return b3.result},dispatch:function(e){e=bJ.event.fix(e);var b6,b7,cb,b3,b5,ca=[],b9=a4.call(arguments),b4=(bJ._data(this,"events")||{})[e.type]||[],b8=bJ.event.special[e.type]||{};b9[0]=e;e.delegateTarget=this;if(b8.preDispatch&&b8.preDispatch.call(this,e)===false){return}ca=bJ.event.handlers.call(this,e,b4);b6=0;while((b3=ca[b6++])&&!e.isPropagationStopped()){e.currentTarget=b3.elem;b5=0;while((cb=b3.handlers[b5++])&&!e.isImmediatePropagationStopped()){if(!e.namespace_re||e.namespace_re.test(cb.namespace)){e.handleObj=cb;e.data=cb.data;b7=((bJ.event.special[cb.origType]||{}).handle||cb.handler).apply(b3.elem,b9);if(b7!==aG){if((e.result=b7)===false){e.preventDefault();e.stopPropagation()}}}}}if(b8.postDispatch){b8.postDispatch.call(this,e)}return e.result},handlers:function(e,b4){var b3,b9,b7,b6,b8=[],b5=b4.delegateCount,ca=e.target;if(b5&&ca.nodeType&&(!e.button||e.type!=="click")){for(;ca!=this;ca=ca.parentNode||this){if(ca.nodeType===1&&(ca.disabled!==true||e.type!=="click")){b7=[];for(b6=0;b6=0:bJ.find(b3,this,null,[ca]).length}if(b7[b3]){b7.push(b9)}}if(b7.length){b8.push({elem:ca,handlers:b7})}}}}if(b5+~])"+cp+"*"),cP=new RegExp(ck),cQ=new RegExp("^"+cK+"$"),cY={ID:new RegExp("^#("+b3+")"),CLASS:new RegExp("^\\.("+b3+")"),NAME:new RegExp("^\\[name=['\"]?("+b3+")['\"]?\\]"),TAG:new RegExp("^("+b3.replace("w","w*")+")"),ATTR:new RegExp("^"+c2),PSEUDO:new RegExp("^"+ck),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cp+"*(even|odd|(([+-]|)(\\d*)n|)"+cp+"*(?:([+-]|)"+cp+"*(\\d+)|))"+cp+"*\\)|)","i"),needsContext:new RegExp("^"+cp+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cp+"*((?:-\\d)?\\d*)"+cp+"*\\)|)(?=[^-]|$)","i")},cW=/[\x20\t\r\n\f]*[+~]/,cM=/^[^{]+\{\s*\[native code/,cO=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,b8=/^(?:input|select|textarea|button)$/i,cl=/^h\d$/i,cL=/'|\\/g,ct=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,cs=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,c1=function(e,di){var dh="0x"+di-65536;return dh!==dh?di:dh<0?String.fromCharCode(dh+65536):String.fromCharCode(dh>>10|55296,dh&1023|56320)};try{cm.call(cI.documentElement.childNodes,0)[0].nodeType}catch(cC){cm=function(dh){var di,e=[];while((di=this[dh++])){e.push(di)}return e}}function cE(e){return cM.test(e+"")}function cz(){var e,dh=[];return(e=function(di,dj){if(dh.push(di+=" ")>cn.cacheLength){delete e[dh.shift()]}return(e[di]=dj)})}function cj(e){e[c5]=true;return e}function cc(dh){var dj=cB.createElement("div");try{return dh(dj)}catch(di){return false}finally{dj=null}}function cv(dp,dh,dt,dv){var du,dl,dm,dr,ds,dk,dj,e,di,dq;if((dh?dh.ownerDocument||dh:cI)!==cB){cV(dh)}dh=dh||cB;dt=dt||[];if(!dp||typeof dp!=="string"){return dt}if((dr=dh.nodeType)!==1&&dr!==9){return[]}if(!cd&&!dv){if((du=cO.exec(dp))){if((dm=du[1])){if(dr===9){dl=dh.getElementById(dm);if(dl&&dl.parentNode){if(dl.id===dm){dt.push(dl);return dt}}else{return dt}}else{if(dh.ownerDocument&&(dl=dh.ownerDocument.getElementById(dm))&&cF(dh,dl)&&dl.id===dm){dt.push(dl);return dt}}}else{if(du[2]){b4.apply(dt,cm.call(dh.getElementsByTagName(dp),0));return dt}else{if((dm=du[3])&&dd.getByClassName&&dh.getElementsByClassName){b4.apply(dt,cm.call(dh.getElementsByClassName(dm),0));return dt}}}}if(dd.qsa&&!cZ.test(dp)){dj=true;e=c5;di=dh;dq=dr===9&&dp;if(dr===1&&dh.nodeName.toLowerCase()!=="object"){dk=cf(dp);if((dj=dh.getAttribute("id"))){e=dj.replace(cL,"\\$&")}else{dh.setAttribute("id",e)}e="[id='"+e+"'] ";ds=dk.length;while(ds--){dk[ds]=e+cg(dk[ds])}di=cW.test(dp)&&dh.parentNode||dh;dq=dk.join(",")}if(dq){try{b4.apply(dt,cm.call(di.querySelectorAll(dq),0));return dt}catch(dn){}finally{if(!dj){dh.removeAttribute("id")}}}}}return dc(dp.replace(cr,"$1"),dh,dt,dv)}cJ=cv.isXML=function(e){var dh=e&&(e.ownerDocument||e).documentElement;return dh?dh.nodeName!=="HTML":false};cV=cv.setDocument=function(e){var dh=e?e.ownerDocument||e:cI;if(dh===cB||dh.nodeType!==9||!dh.documentElement){return cB}cB=dh;co=dh.documentElement;cd=cJ(dh);dd.tagNameNoComments=cc(function(di){di.appendChild(dh.createComment(""));return !di.getElementsByTagName("*").length});dd.attributes=cc(function(dj){dj.innerHTML="";var di=typeof dj.lastChild.getAttribute("multiple");return di!=="boolean"&&di!=="string"});dd.getByClassName=cc(function(di){di.innerHTML="";if(!di.getElementsByClassName||!di.getElementsByClassName("e").length){return false}di.lastChild.className="e";return di.getElementsByClassName("e").length===2});dd.getByName=cc(function(dj){dj.id=c5+0;dj.innerHTML="
      ";co.insertBefore(dj,co.firstChild);var di=dh.getElementsByName&&dh.getElementsByName(c5).length===2+dh.getElementsByName(c5+0).length;dd.getIdNotName=!dh.getElementById(c5);co.removeChild(dj);return di});cn.attrHandle=cc(function(di){di.innerHTML="";return di.firstChild&&typeof di.firstChild.getAttribute!==c9&&di.firstChild.getAttribute("href")==="#"})?{}:{href:function(di){return di.getAttribute("href",2)},type:function(di){return di.getAttribute("type")}};if(dd.getIdNotName){cn.find.ID=function(dk,dj){if(typeof dj.getElementById!==c9&&!cd){var di=dj.getElementById(dk);return di&&di.parentNode?[di]:[]}};cn.filter.ID=function(dj){var di=dj.replace(cs,c1);return function(dk){return dk.getAttribute("id")===di}}}else{cn.find.ID=function(dk,dj){if(typeof dj.getElementById!==c9&&!cd){var di=dj.getElementById(dk);return di?di.id===dk||typeof di.getAttributeNode!==c9&&di.getAttributeNode("id").value===dk?[di]:ch:[]}};cn.filter.ID=function(dj){var di=dj.replace(cs,c1);return function(dl){var dk=typeof dl.getAttributeNode!==c9&&dl.getAttributeNode("id");return dk&&dk.value===di}}}cn.find.TAG=dd.tagNameNoComments?function(di,dj){if(typeof dj.getElementsByTagName!==c9){return dj.getElementsByTagName(di)}}:function(di,dm){var dn,dl=[],dk=0,dj=dm.getElementsByTagName(di);if(di==="*"){while((dn=dj[dk++])){if(dn.nodeType===1){dl.push(dn)}}return dl}return dj};cn.find.NAME=dd.getByName&&function(di,dj){if(typeof dj.getElementsByName!==c9){return dj.getElementsByName(name)}};cn.find.CLASS=dd.getByClassName&&function(dj,di){if(typeof di.getElementsByClassName!==c9&&!cd){return di.getElementsByClassName(dj)}};db=[];cZ=[":focus"];if((dd.qsa=cE(dh.querySelectorAll))){cc(function(di){di.innerHTML="";if(!di.querySelectorAll("[selected]").length){cZ.push("\\["+cp+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!di.querySelectorAll(":checked").length){cZ.push(":checked")}});cc(function(di){di.innerHTML="";if(di.querySelectorAll("[i^='']").length){cZ.push("[*^$]="+cp+"*(?:\"\"|'')")}if(!di.querySelectorAll(":enabled").length){cZ.push(":enabled",":disabled")}di.querySelectorAll("*,:x");cZ.push(",.*:")})}if((dd.matchesSelector=cE((ca=co.matchesSelector||co.mozMatchesSelector||co.webkitMatchesSelector||co.oMatchesSelector||co.msMatchesSelector)))){cc(function(di){dd.disconnectedMatch=ca.call(di,"div");ca.call(di,"[s!='']:x");db.push("!=",ck)})}cZ=new RegExp(cZ.join("|"));db=new RegExp(db.join("|"));cF=cE(co.contains)||co.compareDocumentPosition?function(dj,di){var dl=dj.nodeType===9?dj.documentElement:dj,dk=di&&di.parentNode;return dj===dk||!!(dk&&dk.nodeType===1&&(dl.contains?dl.contains(dk):dj.compareDocumentPosition&&dj.compareDocumentPosition(dk)&16))}:function(dj,di){if(di){while((di=di.parentNode)){if(di===dj){return true}}}return false};cD=co.compareDocumentPosition?function(dj,di){var dk;if(dj===di){cT=true;return 0}if((dk=di.compareDocumentPosition&&dj.compareDocumentPosition&&dj.compareDocumentPosition(di))){if(dk&1||dj.parentNode&&dj.parentNode.nodeType===11){if(dj===dh||cF(cI,dj)){return -1}if(di===dh||cF(cI,di)){return 1}return 0}return dk&4?-1:1}return dj.compareDocumentPosition?-1:1}:function(dj,di){var dq,dm=0,dp=dj.parentNode,dl=di.parentNode,dk=[dj],dn=[di];if(dj===di){cT=true;return 0}else{if(!dp||!dl){return dj===dh?-1:di===dh?1:dp?-1:dl?1:0}else{if(dp===dl){return b6(dj,di)}}}dq=dj;while((dq=dq.parentNode)){dk.unshift(dq)}dq=di;while((dq=dq.parentNode)){dn.unshift(dq)}while(dk[dm]===dn[dm]){dm++}return dm?b6(dk[dm],dn[dm]):dk[dm]===cI?-1:dn[dm]===cI?1:0};cT=false;[0,0].sort(cD);dd.detectDuplicates=cT;return cB};cv.matches=function(dh,e){return cv(dh,null,null,e)};cv.matchesSelector=function(di,dk){if((di.ownerDocument||di)!==cB){cV(di)}dk=dk.replace(ct,"='$1']");if(dd.matchesSelector&&!cd&&(!db||!db.test(dk))&&!cZ.test(dk)){try{var dh=ca.call(di,dk);if(dh||dd.disconnectedMatch||di.document&&di.document.nodeType!==11){return dh}}catch(dj){}}return cv(dk,cB,null,[di]).length>0};cv.contains=function(e,dh){if((e.ownerDocument||e)!==cB){cV(e)}return cF(e,dh)};cv.attr=function(dh,e){var di;if((dh.ownerDocument||dh)!==cB){cV(dh)}if(!cd){e=e.toLowerCase()}if((di=cn.attrHandle[e])){return di(dh)}if(cd||dd.attributes){return dh.getAttribute(e)}return((di=dh.getAttributeNode(e))||dh.getAttribute(e))&&dh[e]===true?e:di&&di.specified?di.value:null};cv.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};cv.uniqueSort=function(di){var dj,dk=[],dh=1,e=0;cT=!dd.detectDuplicates;di.sort(cD);if(cT){for(;(dj=di[dh]);dh++){if(dj===di[dh-1]){e=dk.push(dh)}}while(e--){di.splice(dk[e],1)}}return di};function b6(dh,e){var dj=e&&dh,di=dj&&(~e.sourceIndex||cN)-(~dh.sourceIndex||cN);if(di){return di}if(dj){while((dj=dj.nextSibling)){if(dj===e){return -1}}}return dh?1:-1}function cw(e){return function(di){var dh=di.nodeName.toLowerCase();return dh==="input"&&di.type===e}}function b7(e){return function(di){var dh=di.nodeName.toLowerCase();return(dh==="input"||dh==="button")&&di.type===e}}function c3(e){return cj(function(dh){dh=+dh;return cj(function(di,dm){var dk,dj=e([],di.length,dh),dl=dj.length;while(dl--){if(di[(dk=dj[dl])]){di[dk]=!(dm[dk]=di[dk])}}})})}cH=cv.getText=function(dk){var dj,dh="",di=0,e=dk.nodeType;if(!e){for(;(dj=dk[di]);di++){dh+=cH(dj)}}else{if(e===1||e===9||e===11){if(typeof dk.textContent==="string"){return dk.textContent}else{for(dk=dk.firstChild;dk;dk=dk.nextSibling){dh+=cH(dk)}}}else{if(e===3||e===4){return dk.nodeValue}}}return dh};cn=cv.selectors={cacheLength:50,createPseudo:cj,match:cY,find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(cs,c1);e[3]=(e[4]||e[5]||"").replace(cs,c1);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){cv.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){cv.error(e[0])}}return e},PSEUDO:function(dh){var e,di=!dh[5]&&dh[2];if(cY.CHILD.test(dh[0])){return null}if(dh[4]){dh[2]=dh[4]}else{if(di&&cP.test(di)&&(e=cf(di,true))&&(e=di.indexOf(")",di.length-e)-di.length)){dh[0]=dh[0].slice(0,e);dh[2]=di.slice(0,e)}}return dh.slice(0,3)}},filter:{TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace(cs,c1).toLowerCase();return function(dh){return dh.nodeName&&dh.nodeName.toLowerCase()===e}},CLASS:function(e){var dh=b5[e+" "];return dh||(dh=new RegExp("(^|"+cp+")"+e+"("+cp+"|$)"))&&b5(e,function(di){return dh.test(di.className||(typeof di.getAttribute!==c9&&di.getAttribute("class"))||"")})},ATTR:function(di,dh,e){return function(dk){var dj=cv.attr(dk,di);if(dj==null){return dh==="!="}if(!dh){return true}dj+="";return dh==="="?dj===e:dh==="!="?dj!==e:dh==="^="?e&&dj.indexOf(e)===0:dh==="*="?e&&dj.indexOf(e)>-1:dh==="$="?e&&dj.slice(-e.length)===e:dh==="~="?(" "+dj+" ").indexOf(e)>-1:dh==="|="?dj===e||dj.slice(0,e.length+1)===e+"-":false}},CHILD:function(dh,dk,dj,dl,di){var dn=dh.slice(0,3)!=="nth",e=dh.slice(-4)!=="last",dm=dk==="of-type";return dl===1&&di===0?function(dp){return !!dp.parentNode}:function(dv,dt,dy){var dp,dB,dw,dA,dx,ds,du=dn!==e?"nextSibling":"previousSibling",dz=dv.parentNode,dr=dm&&dv.nodeName.toLowerCase(),dq=!dy&&!dm;if(dz){if(dn){while(du){dw=dv;while((dw=dw[du])){if(dm?dw.nodeName.toLowerCase()===dr:dw.nodeType===1){return false}}ds=du=dh==="only"&&!ds&&"nextSibling"}return true}ds=[e?dz.firstChild:dz.lastChild];if(e&&dq){dB=dz[c5]||(dz[c5]={});dp=dB[dh]||[];dx=dp[0]===de&&dp[1];dA=dp[0]===de&&dp[2];dw=dx&&dz.childNodes[dx];while((dw=++dx&&dw&&dw[du]||(dA=dx=0)||ds.pop())){if(dw.nodeType===1&&++dA&&dw===dv){dB[dh]=[de,dx,dA];break}}}else{if(dq&&(dp=(dv[c5]||(dv[c5]={}))[dh])&&dp[0]===de){dA=dp[1]}else{while((dw=++dx&&dw&&dw[du]||(dA=dx=0)||ds.pop())){if((dm?dw.nodeName.toLowerCase()===dr:dw.nodeType===1)&&++dA){if(dq){(dw[c5]||(dw[c5]={}))[dh]=[de,dA]}if(dw===dv){break}}}}}dA-=di;return dA===dl||(dA%dl===0&&dA/dl>=0)}}},PSEUDO:function(dj,di){var e,dh=cn.pseudos[dj]||cn.setFilters[dj.toLowerCase()]||cv.error("unsupported pseudo: "+dj);if(dh[c5]){return dh(di)}if(dh.length>1){e=[dj,dj,"",di];return cn.setFilters.hasOwnProperty(dj.toLowerCase())?cj(function(dm,dp){var dl,dk=dh(dm,di),dn=dk.length;while(dn--){dl=b9.call(dm,dk[dn]);dm[dl]=!(dp[dl]=dk[dn])}}):function(dk){return dh(dk,0,e)}}return dh}},pseudos:{not:cj(function(e){var dh=[],di=[],dj=cS(e.replace(cr,"$1"));return dj[c5]?cj(function(dl,dr,dp,dm){var dq,dk=dj(dl,null,dm,[]),dn=dl.length;while(dn--){if((dq=dk[dn])){dl[dn]=!(dr[dn]=dq)}}}):function(dm,dl,dk){dh[0]=dm;dj(dh,null,dk,di);return !di.pop()}}),has:cj(function(e){return function(dh){return cv(e,dh).length>0}}),contains:cj(function(e){return function(dh){return(dh.textContent||dh.innerText||cH(dh)).indexOf(e)>-1}}),lang:cj(function(e){if(!cQ.test(e||"")){cv.error("unsupported lang: "+e)}e=e.replace(cs,c1).toLowerCase();return function(di){var dh;do{if((dh=cd?di.getAttribute("xml:lang")||di.getAttribute("lang"):di.lang)){dh=dh.toLowerCase();return dh===e||dh.indexOf(e+"-")===0}}while((di=di.parentNode)&&di.nodeType===1);return false}}),target:function(e){var dh=da.location&&da.location.hash;return dh&&dh.slice(1)===e.id},root:function(e){return e===co},focus:function(e){return e===cB.activeElement&&(!cB.hasFocus||cB.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var dh=e.nodeName.toLowerCase();return(dh==="input"&&!!e.checked)||(dh==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeName>"@"||e.nodeType===3||e.nodeType===4){return false}}return true},parent:function(e){return !cn.pseudos.empty(e)},header:function(e){return cl.test(e.nodeName)},input:function(e){return b8.test(e.nodeName)},button:function(dh){var e=dh.nodeName.toLowerCase();return e==="input"&&dh.type==="button"||e==="button"},text:function(dh){var e;return dh.nodeName.toLowerCase()==="input"&&dh.type==="text"&&((e=dh.getAttribute("type"))==null||e.toLowerCase()===dh.type)},first:c3(function(){return[0]}),last:c3(function(e,dh){return[dh-1]}),eq:c3(function(e,di,dh){return[dh<0?dh+di:dh]}),even:c3(function(e,di){var dh=0;for(;dh=0;){e.push(dh)}return e}),gt:c3(function(e,dj,di){var dh=di<0?di+dj:di;for(;++dh1?function(dk,dj,dh){var di=e.length;while(di--){if(!e[di](dk,dj,dh)){return false}}return true}:e[0]}function cX(e,dh,di,dj,dm){var dk,dq=[],dl=0,dn=e.length,dp=dh!=null;for(;dl-1){dx[dz]=!(du[dz]=dr)}}}}else{dt=cX(dt===du?dt.splice(dn,dt.length):dt);if(dl){dl(null,du,dt,dw)}else{b4.apply(du,dt)}}})}function c6(dm){var dh,dk,di,dl=dm.length,dq=cn.relative[dm[0].type],dr=dq||cn.relative[" "],dj=dq?1:0,dn=cq(function(ds){return ds===dh},dr,true),dp=cq(function(ds){return b9.call(dh,ds)>-1},dr,true),e=[function(du,dt,ds){return(!dq&&(ds||dt!==dg))||((dh=dt).nodeType?dn(du,dt,ds):dp(du,dt,ds))}];for(;dj1&&df(e),dj>1&&cg(dm.slice(0,dj-1)).replace(cr,"$1"),dk,dj0,dk=dj.length>0,dh=function(dw,dq,dv,du,dC){var dr,ds,dx,dB=[],dA=0,dt="0",dm=dw&&[],dy=dC!=null,dz=dg,dp=dw||dk&&cn.find.TAG("*",dC&&dq.parentNode||dq),dn=(de+=dz==null?1:Math.random()||0.1);if(dy){dg=dq!==cB&&dq;cb=dl}for(;(dr=dp[dt])!=null;dt++){if(dk&&dr){ds=0;while((dx=dj[ds++])){if(dx(dr,dq,dv)){du.push(dr);break}}if(dy){de=dn;cb=++dl}}if(e){if((dr=!dx&&dr)){dA--}if(dw){dm.push(dr)}}}dA+=dt;if(e&&dt!==dA){ds=0;while((dx=di[ds++])){dx(dm,dB,dq,dv)}if(dw){if(dA>0){while(dt--){if(!(dm[dt]||dB[dt])){dB[dt]=c8.call(du)}}}dB=cX(dB)}b4.apply(du,dB);if(dy&&!dw&&dB.length>0&&(dA+di.length)>1){cv.uniqueSort(du)}}if(dy){de=dn;dg=dz}return dm};return e?cj(dh):dh}cS=cv.compile=function(e,dl){var di,dh=[],dk=[],dj=cG[e+" "];if(!dj){if(!dl){dl=cf(e)}di=dl.length;while(di--){dj=c6(dl[di]);if(dj[c5]){dh.push(dj)}else{dk.push(dj)}}dj=cG(e,cU(dk,dh))}return dj};function cy(dh,dk,dj){var di=0,e=dk.length;for(;di2&&(dh=dp[0]).type==="ID"&&e.nodeType===9&&!cd&&cn.relative[dp[1].type]){e=cn.find.ID(dh.matches[0].replace(cs,c1),e)[0];if(!e){return dj}di=di.slice(dp.shift().value.length)}dk=cY.needsContext.test(di)?0:dp.length;while(dk--){dh=dp[dk];if(cn.relative[(dq=dh.type)]){break}if((dn=cn.find[dq])){if((dm=dn(dh.matches[0].replace(cs,c1),cW.test(dp[0].type)&&e.parentNode||e))){dp.splice(dk,1);di=dm.length&&cg(dp);if(!di){b4.apply(dj,cm.call(dm,0));return dj}break}}}}}cS(di,dl)(dm,e,cd,dj,cW.test(di));return dj}cn.pseudos.nth=cn.pseudos.eq;function cR(){}cn.filters=cR.prototype=cn.pseudos;cn.setFilters=new cR();cV();cv.attr=bJ.attr;bJ.find=cv;bJ.expr=cv.selectors;bJ.expr[":"]=bJ.expr.pseudos;bJ.unique=cv.uniqueSort;bJ.text=cv.getText;bJ.isXMLDoc=cv.isXML;bJ.contains=cv.contains})(a2);var aj=/Until$/,bt=/^(?:parents|prev(?:Until|All))/,an=/^.[^:#\[\.,]*$/,y=bJ.expr.match.needsContext,bx={children:true,contents:true,next:true,prev:true};bJ.fn.extend({find:function(b3){var b6,b5,b4,e=this.length;if(typeof b3!=="string"){b4=this;return this.pushStack(bJ(b3).filter(function(){for(b6=0;b61?bJ.unique(b5):b5);b5.selector=(this.selector?this.selector+" ":"")+b3;return b5},has:function(b5){var b4,b3=bJ(b5,this),e=b3.length;return this.filter(function(){for(b4=0;b4=0:bJ.filter(e,this).length>0:this.filter(e).length>0)},closest:function(b6,b5){var b7,b4=0,e=this.length,b3=[],b8=y.test(b6)||typeof b6!=="string"?bJ(b6,b5||this.context):0;for(;b4-1:bJ.find.matchesSelector(b7,b6)){b3.push(b7);break}b7=b7.parentNode}}return this.pushStack(b3.length>1?bJ.unique(b3):b3)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1}if(typeof e==="string"){return bJ.inArray(this[0],bJ(e))}return bJ.inArray(e.jquery?e[0]:e,this)},add:function(e,b3){var b5=typeof e==="string"?bJ(e,b3):bJ.makeArray(e&&e.nodeType?[e]:e),b4=bJ.merge(this.get(),b5);return this.pushStack(bJ.unique(b4))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});bJ.fn.andSelf=bJ.fn.addBack;function aX(b3,e){do{b3=b3[e]}while(b3&&b3.nodeType!==1);return b3}bJ.each({parent:function(b3){var e=b3.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return bJ.dir(e,"parentNode")},parentsUntil:function(b3,e,b4){return bJ.dir(b3,"parentNode",b4)},next:function(e){return aX(e,"nextSibling")},prev:function(e){return aX(e,"previousSibling")},nextAll:function(e){return bJ.dir(e,"nextSibling")},prevAll:function(e){return bJ.dir(e,"previousSibling")},nextUntil:function(b3,e,b4){return bJ.dir(b3,"nextSibling",b4)},prevUntil:function(b3,e,b4){return bJ.dir(b3,"previousSibling",b4)},siblings:function(e){return bJ.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return bJ.sibling(e.firstChild)},contents:function(e){return bJ.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:bJ.merge([],e.childNodes)}},function(e,b3){bJ.fn[e]=function(b6,b4){var b5=bJ.map(this,b3,b6);if(!aj.test(e)){b4=b6}if(b4&&typeof b4==="string"){b5=bJ.filter(b4,b5)}b5=this.length>1&&!bx[e]?bJ.unique(b5):b5;if(this.length>1&&bt.test(e)){b5=b5.reverse()}return this.pushStack(b5)}});bJ.extend({filter:function(b4,e,b3){if(b3){b4=":not("+b4+")"}return e.length===1?bJ.find.matchesSelector(e[0],b4)?[e[0]]:[]:bJ.find.matches(b4,e)},dir:function(b4,b3,b6){var e=[],b5=b4[b3];while(b5&&b5.nodeType!==9&&(b6===aG||b5.nodeType!==1||!bJ(b5).is(b6))){if(b5.nodeType===1){e.push(b5)}b5=b5[b3]}return e},sibling:function(b4,b3){var e=[];for(;b4;b4=b4.nextSibling){if(b4.nodeType===1&&b4!==b3){e.push(b4)}}return e}});function aO(b5,b4,e){b4=b4||0;if(bJ.isFunction(b4)){return bJ.grep(b5,function(b7,b6){var b8=!!b4.call(b7,b6,b7);return b8===e})}else{if(b4.nodeType){return bJ.grep(b5,function(b6){return(b6===b4)===e})}else{if(typeof b4==="string"){var b3=bJ.grep(b5,function(b6){return b6.nodeType===1});if(an.test(b4)){return bJ.filter(b4,b3,!e)}else{b4=bJ.filter(b4,b3)}}}}return bJ.grep(b5,function(b6){return(bJ.inArray(b6,b4)>=0)===e})}function A(e){var b4=d.split("|"),b3=e.createDocumentFragment();if(b3.createElement){while(b4.length){b3.createElement(b4.pop())}}return b3}var d="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aA=/ jQuery\d+="(?:null|\d+)"/g,J=new RegExp("<(?:"+d+")[\\s/>]","i"),b2=/^\s+/,aD=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/<([\w:]+)/,bX=/\s*$/g,T={option:[1,""],legend:[1,"
      ","
      "],area:[1,"",""],param:[1,"",""],thead:[1,"","
      "],tr:[2,"","
      "],col:[2,"","
      "],td:[3,"","
      "],_default:bJ.support.htmlSerialize?[0,"",""]:[1,"X
      ","
      "]},aS=A(l),j=aS.appendChild(l.createElement("div"));T.optgroup=T.option;T.tbody=T.tfoot=T.colgroup=T.caption=T.thead;T.th=T.td;bJ.fn.extend({text:function(e){return bJ.access(this,function(b3){return b3===aG?bJ.text(this):this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(b3))},null,e,arguments.length)},wrapAll:function(e){if(bJ.isFunction(e)){return this.each(function(b4){bJ(this).wrapAll(e.call(this,b4))})}if(this[0]){var b3=bJ(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b3.insertBefore(this[0])}b3.map(function(){var b4=this;while(b4.firstChild&&b4.firstChild.nodeType===1){b4=b4.firstChild}return b4}).append(this)}return this},wrapInner:function(e){if(bJ.isFunction(e)){return this.each(function(b3){bJ(this).wrapInner(e.call(this,b3))})}return this.each(function(){var b3=bJ(this),b4=b3.contents();if(b4.length){b4.wrapAll(e)}else{b3.append(e)}})},wrap:function(e){var b3=bJ.isFunction(e);return this.each(function(b4){bJ(this).wrapAll(b3?e.call(this,b4):e)})},unwrap:function(){return this.parent().each(function(){if(!bJ.nodeName(this,"body")){bJ(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.insertBefore(e,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,false,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(e,b5){var b4,b3=0;for(;(b4=this[b3])!=null;b3++){if(!e||bJ.filter(e,[b4]).length>0){if(!b5&&b4.nodeType===1){bJ.cleanData(k(b4))}if(b4.parentNode){if(b5&&bJ.contains(b4.ownerDocument,b4)){bs(k(b4,"script"))}b4.parentNode.removeChild(b4)}}}return this},empty:function(){var b3,e=0;for(;(b3=this[e])!=null;e++){if(b3.nodeType===1){bJ.cleanData(k(b3,false))}while(b3.firstChild){b3.removeChild(b3.firstChild)}if(b3.options&&bJ.nodeName(b3,"select")){b3.options.length=0}}return this},clone:function(b3,e){b3=b3==null?false:b3;e=e==null?b3:e;return this.map(function(){return bJ.clone(this,b3,e)})},html:function(e){return bJ.access(this,function(b6){var b5=this[0]||{},b4=0,b3=this.length;if(b6===aG){return b5.nodeType===1?b5.innerHTML.replace(aA,""):aG}if(typeof b6==="string"&&!al.test(b6)&&(bJ.support.htmlSerialize||!J.test(b6))&&(bJ.support.leadingWhitespace||!b2.test(b6))&&!T[(m.exec(b6)||["",""])[1].toLowerCase()]){b6=b6.replace(aD,"<$1>");try{for(;b4")){ca=b3.cloneNode(true)}else{j.innerHTML=b3.outerHTML;j.removeChild(ca=j.firstChild)}if((!bJ.support.noCloneEvent||!bJ.support.noCloneChecked)&&(b3.nodeType===1||b3.nodeType===11)&&!bJ.isXMLDoc(b3)){b7=k(ca);b8=k(b3);for(b6=0;(b4=b8[b6])!=null;++b6){if(b7[b6]){Q(b4,b7[b6])}}}if(b5){if(e){b8=b8||k(b3);b7=b7||k(ca);for(b6=0;(b4=b8[b6])!=null;b6++){at(b4,b7[b6])}}else{at(b3,ca)}}b7=k(ca,"script");if(b7.length>0){bs(b7,!b9&&k(b3,"script"))}b7=b8=b4=null;return ca},buildFragment:function(b3,b5,ca,cf){var cb,b7,b9,ce,cg,cd,b4,b8=b3.length,b6=A(b5),e=[],cc=0;for(;cc")+b4[2];cb=b4[0];while(cb--){ce=ce.lastChild}if(!bJ.support.leadingWhitespace&&b2.test(b7)){e.push(b5.createTextNode(b2.exec(b7)[0]))}if(!bJ.support.tbody){b7=cg==="table"&&!bX.test(b7)?ce.firstChild:b4[1]===""&&!bX.test(b7)?ce:0;cb=b7&&b7.childNodes.length;while(cb--){if(bJ.nodeName((cd=b7.childNodes[cb]),"tbody")&&!cd.childNodes.length){b7.removeChild(cd)}}}bJ.merge(e,ce.childNodes);ce.textContent="";while(ce.firstChild){ce.removeChild(ce.firstChild)}ce=b6.lastChild}}}}if(ce){b6.removeChild(ce)}if(!bJ.support.appendChecked){bJ.grep(k(e,"input"),bV)}cc=0;while((b7=e[cc++])){if(cf&&bJ.inArray(b7,cf)!==-1){continue}b9=bJ.contains(b7.ownerDocument,b7);ce=k(b6.appendChild(b7),"script");if(b9){bs(ce)}if(ca){cb=0;while((b7=ce[cb++])){if(bz.test(b7.type||"")){ca.push(b7)}}}}ce=null;return b6},cleanData:function(b3,cb){var b5,ca,b4,b6,b7=0,cc=bJ.expando,e=bJ.cache,b8=bJ.support.deleteExpando,b9=bJ.event.special;for(;(b5=b3[b7])!=null;b7++){if(cb||bJ.acceptData(b5)){b4=b5[cc];b6=b4&&e[b4];if(b6){if(b6.events){for(ca in b6.events){if(b9[ca]){bJ.event.remove(b5,ca)}else{bJ.removeEvent(b5,ca,b6.handle)}}}if(e[b4]){delete e[b4];if(b8){delete b5[cc]}else{if(typeof b5.removeAttribute!==aC){b5.removeAttribute(cc)}else{b5[cc]=null}}a6.push(b4)}}}}}});var aE,bo,E,bg=/alpha\([^)]*\)/i,aT=/opacity\s*=\s*([^)]*)/,bn=/^(top|right|bottom|left)$/,F=/^(none|table(?!-c[ea]).+)/,aY=/^margin/,a9=new RegExp("^("+bA+")(.*)$","i"),W=new RegExp("^("+bA+")(?!px)[a-z%]+$","i"),S=new RegExp("^([+-])=("+bA+")","i"),bj={BODY:"block"},bb={position:"absolute",visibility:"hidden",display:"block"},bC={letterSpacing:0,fontWeight:400},bT=["Top","Right","Bottom","Left"],av=["Webkit","O","Moz","ms"];function b(b5,b3){if(b3 in b5){return b3}var b6=b3.charAt(0).toUpperCase()+b3.slice(1),e=b3,b4=av.length;while(b4--){b3=av[b4]+b6;if(b3 in b5){return b3}}return e}function P(b3,e){b3=e||b3;return bJ.css(b3,"display")==="none"||!bJ.contains(b3.ownerDocument,b3)}function p(b8,e){var b9,b6,b7,b3=[],b4=0,b5=b8.length;for(;b41)},show:function(){return p(this,true)},hide:function(){return p(this)},toggle:function(b3){var e=typeof b3==="boolean";return this.each(function(){if(e?b3:P(this)){bJ(this).show()}else{bJ(this).hide()}})}});bJ.extend({cssHooks:{opacity:{get:function(b4,b3){if(b3){var e=E(b4,"opacity");return e===""?"1":e}}}},cssNumber:{columnCount:true,fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bJ.support.cssFloat?"cssFloat":"styleFloat"},style:function(b5,b4,cb,b6){if(!b5||b5.nodeType===3||b5.nodeType===8||!b5.style){return}var b9,ca,cc,b7=bJ.camelCase(b4),b3=b5.style;b4=bJ.cssProps[b7]||(bJ.cssProps[b7]=b(b3,b7));cc=bJ.cssHooks[b4]||bJ.cssHooks[b7];if(cb!==aG){ca=typeof cb;if(ca==="string"&&(b9=S.exec(cb))){cb=(b9[1]+1)*b9[2]+parseFloat(bJ.css(b5,b4));ca="number"}if(cb==null||ca==="number"&&isNaN(cb)){return}if(ca==="number"&&!bJ.cssNumber[b7]){cb+="px"}if(!bJ.support.clearCloneStyle&&cb===""&&b4.indexOf("background")===0){b3[b4]="inherit"}if(!cc||!("set" in cc)||(cb=cc.set(b5,cb,b6))!==aG){try{b3[b4]=cb}catch(b8){}}}else{if(cc&&"get" in cc&&(b9=cc.get(b5,false,b6))!==aG){return b9}return b3[b4]}},css:function(b8,b6,b3,b7){var b5,b9,e,b4=bJ.camelCase(b6);b6=bJ.cssProps[b4]||(bJ.cssProps[b4]=b(b8.style,b4));e=bJ.cssHooks[b6]||bJ.cssHooks[b4];if(e&&"get" in e){b9=e.get(b8,true,b3)}if(b9===aG){b9=E(b8,b6,b7)}if(b9==="normal"&&b6 in bC){b9=bC[b6]}if(b3===""||b3){b5=parseFloat(b9);return b3===true||bJ.isNumeric(b5)?b5||0:b9}return b9},swap:function(b7,b6,b8,b5){var b4,b3,e={};for(b3 in b6){e[b3]=b7.style[b3];b7.style[b3]=b6[b3]}b4=b8.apply(b7,b5||[]);for(b3 in b6){b7.style[b3]=e[b3]}return b4}});if(a2.getComputedStyle){bo=function(e){return a2.getComputedStyle(e,null)};E=function(b6,b4,b8){var b5,b3,ca,b7=b8||bo(b6),b9=b7?b7.getPropertyValue(b4)||b7[b4]:aG,e=b6.style;if(b7){if(b9===""&&!bJ.contains(b6.ownerDocument,b6)){b9=bJ.style(b6,b4)}if(W.test(b9)&&aY.test(b4)){b5=e.width;b3=e.minWidth;ca=e.maxWidth;e.minWidth=e.maxWidth=e.width=b9;b9=b7.width;e.width=b5;e.minWidth=b3;e.maxWidth=ca}}return b9}}else{if(l.documentElement.currentStyle){bo=function(e){return e.currentStyle};E=function(b5,b3,b8){var b4,b7,b9,b6=b8||bo(b5),ca=b6?b6[b3]:aG,e=b5.style;if(ca==null&&e&&e[b3]){ca=e[b3]}if(W.test(ca)&&!bn.test(b3)){b4=e.left;b7=b5.runtimeStyle;b9=b7&&b7.left;if(b9){b7.left=b5.currentStyle.left}e.left=b3==="fontSize"?"1em":ca;ca=e.pixelLeft+"px";e.left=b4;if(b9){b7.left=b9}}return ca===""?"auto":ca}}}function aJ(e,b4,b5){var b3=a9.exec(b4);return b3?Math.max(0,b3[1]-(b5||0))+(b3[2]||"px"):b4}function aw(b6,b3,e,b8,b5){var b4=e===(b8?"border":"content")?4:b3==="width"?1:0,b7=0;for(;b4<4;b4+=2){if(e==="margin"){b7+=bJ.css(b6,e+bT[b4],true,b5)}if(b8){if(e==="content"){b7-=bJ.css(b6,"padding"+bT[b4],true,b5)}if(e!=="margin"){b7-=bJ.css(b6,"border"+bT[b4]+"Width",true,b5)}}else{b7+=bJ.css(b6,"padding"+bT[b4],true,b5);if(e!=="padding"){b7+=bJ.css(b6,"border"+bT[b4]+"Width",true,b5)}}}return b7}function u(b6,b3,e){var b5=true,b7=b3==="width"?b6.offsetWidth:b6.offsetHeight,b4=bo(b6),b8=bJ.support.boxSizing&&bJ.css(b6,"boxSizing",false,b4)==="border-box";if(b7<=0||b7==null){b7=E(b6,b3,b4);if(b7<0||b7==null){b7=b6.style[b3]}if(W.test(b7)){return b7}b5=b8&&(bJ.support.boxSizingReliable||b7===b6.style[b3]);b7=parseFloat(b7)||0}return(b7+aw(b6,b3,e||(b8?"border":"content"),b5,b4))+"px"}function bE(b4){var b3=l,e=bj[b4];if(!e){e=a1(b4,b3);if(e==="none"||!e){aE=(aE||bJ("