Making WordPress.org

Changeset 7088


Ignore:
Timestamp:
04/11/2018 06:17:39 AM (7 years ago)
Author:
dd32
Message:

Trac: Sync our copy of the trac htdocs with Trac-1.2.2

This brings in the required CSS & JS trac uses.
Source: https://svn.edgewall.org/repos/trac/tags/trac-1.2.2/trac/htdocs/

This change may cause some CSS & JS breakage where we've overridden the old trac CSS/JS with our own.

See #3526

Location:
sites/trunk/wordpress.org/public_html/style/trac/common
Files:
1 added
3 deleted
52 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/common/README

    r730 r7088  
    11This directory contains files used by Trac's default Genshi templates.
    22
    3 Local modifications to these files might be lost during the installation of 
     3Local modifications to these files might be lost during the installation of
    44a new Trac version. This can be avoided by making a copy of this entire
    55directory before beginning modifications.
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/admin.css

    r730 r7088  
    11#content.admin h1 { float: left; }
    2 .admin h1, .admin h2 { margin-top: 0; }
     2#content.admin h1, #content.admin h2 { margin-top: 0; }
    33
     4/* Navigation panel */
    45#tabs {
    56 background: #f7f7f0;
     
    3940#tabcontent { padding: 0.4em 0 0.4em 2em; margin-left: 12em; min-height: 300px; }
    4041#tabcontent h2 { color: #333; }
    41 p.help { color: #666; font-size: 90%; margin: 1em .5em .5em; }
    4242
    4343#enumlist tbody td { vertical-align: middle; }
     
    5252form.addnew p.help {
    5353 display: inline-block;
    54  /* IE7 hack to make inline-block effective on block element */
    55  zoom: 1;
    56  *display: inline;
    5754}
    5855form.addnew div.field,
    5956form.addnew div.buttons {
    60  padding: 0.2em 0.5em 0.2em 0;
     57 padding: 0.2em 0;
    6158 white-space: nowrap;
    6259}
    63 form.addnew div.buttons input { margin: 0 0.5em 0 0; }
     60form.addnew div.field { padding-right: 1em; }
     61form.addnew div.buttons input { margin: 0 1em 0 0; }
    6462form.addnew p.hint,
    6563form.addnew span.hint {
    66  padding-left: 0.5em;
    67  padding-right: 0.5em;
     64 padding-left: 0.25em;
    6865}
    6966form.addnew p.help { margin-top: 0.5em; }
    7067form.addnew br { display: none; }
    71 form.mod { margin-top: 1em; }
    72 form.mod fieldset { margin: 0 }
    73 form.mod .field { margin: .5em 0; }
    74 form .field em { color: #888; font-size: smaller }
    75 form .field .disabled em { color: #d7d7d7 }
    7668
    7769table.listing { clear: none; }
    78 table.listing .sel, table.listing .default { text-align: center; width: 1% }
     70table.listing .default { text-align: center; width: 1% }
    7971table.listing .num { text-align: right; width: 1% }
    8072
     
    8274.plugin {
    8375 background: #f7f7f7;
     76 margin: 2em 0 0;
    8477 border: 1px solid #d7d7d7;
    85  margin: 2em 0 0;
     78 border-radius: 0.4em 0.4em 0.4em 0.4em;
     79 box-shadow: 0.1em 0.1em 1em 0 #E7E7E7 inset;
    8680 padding: 2px .5em;
    8781 text-align: left;
    8882}
    8983.plugin > .foldable { margin: .5em 0; color: #bb0000; }
     84.plugin .foldable > :link, .plugin .foldable > :visited {
     85 border-radius: 0;
     86 box-shadow: none;
     87 text-shadow: none;
     88}
    9089.plugin .buttons { margin-top: 0; text-align: right; }
    9190.plugin .uninstall { margin-top: -2.6em; padding: 0; }
    92 .plugin .summary, .plugin .info { padding-left: 16px; color: #999; font-size: 80%; }
     91.plugin .summary, .plugin .info { padding-left: 20px; color: #999; font-size: 80%; }
    9392.plugin .summary { margin: 1.2em 0 .5em; }
    9493.plugin .info { margin: 1em 0 .5em; }
     
    9695.plugin .info dd { padding: 0; margin: 0; }
    9796.plugin .listing { width: 100%; }
     97.plugin .listing th.sel input { margin-right: 0.5em; vertical-align: bottom; }
     98.plugin .listing td.trac-module { background: #fcfcfc; }
    9899.plugin .listing td { background: #fff; }
    99100.trac-heading { margin: 0; }
     
    102103.trac-toggler :link, .trac-toggler :visited,
    103104.trac-toggler :link:hover, .trac-toggler :visited:hover { border: none; padding: 0; }
    104 .trac-module .trac-heading { padding-left: 16px; color: #888; }
    105 .trac-module .trac-heading.foldable { text-indent: -16px }
     105.trac-module .trac-heading { padding-left: 20px; color: #888; }
     106.trac-module .trac-heading.foldable { text-indent: -20px }
     107.trac-module .trac-heading.foldable :link,
     108.trac-module .trac-heading.foldable :visited { color: #888; }
    106109.trac-module > div { margin-left: 1em; }
    107 .trac-component .trac-heading { margin-left: 2em; padding-left: 16px }
    108 .trac-component .trac-heading.foldable { text-indent: -16px }
     110.trac-component .trac-heading { margin-left: 2em; padding-left: 20px }
     111.trac-component .trac-heading.foldable { text-indent: -20px }
    109112.trac-component > div { margin-left: 3em; }
    110113.trac-summary { color: #888 }
     
    116119#permlist label, #grouplist label {
    117120 float: left;
    118  min-width: 13em;
    119  max-width: 33%;
    120  padding: 0 2em 0 0;
     121 width: 13em;
     122 overflow: hidden;
     123 text-overflow: ellipsis;
     124 padding: 0;
    121125 white-space: nowrap;
    122126}
    123 fieldset tr.field th { text-align: right; }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/browser.css

    r730 r7088  
    44#prefs fieldset label { display: block }
    55#prefs .buttons { margin-top: -2.3em }
    6 #prefs .choice { 
    7  float: left; 
     6#prefs .choice {
     7 float: left;
    88 margin: 0 .6em 0 .3em;
    99 border-right: 1px dotted #d7d7d7;
     
    2222#diffrev, #jumprev, #jumploc { float: right; font-size: 10px; margin: 0 0 0.6em 2em; }
    2323#diffrev form, #jumprev form, #jumploc form { margin: 0 }
    24 #diffrev input, #jumprev input, #jumploc select, #jumploc input { 
    25   font-size: 10px; 
    26   margin: 0; 
     24#diffrev input, #jumprev input, #jumploc select, #jumploc input {
     25  font-size: 10px;
     26  margin: 0;
    2727}
    2828#jumploc div.buttons { margin: 0; }
     
    3232table.code th.blame a { color: #ddd; }
    3333
    34 div.message { 
    35   background: #f7f7f0;
    36   border: 3px double #d7d7d7;
     34div.message {
     35  background: #ececec;
     36  border: 1px solid #cecece;
    3737  margin: 0;
    38   padding: 8px;
    39   /* Note: border width and padding must be compensated for in the placement */
     38  padding: 8px;
     39  box-shadow: .2em .4em .7em 1px #999;
     40  border-radius: .4em;
     41  /* Note that border width and padding must be compensated for in the placement */
    4042}
    4143
    4244div.message div.inlinebuttons { float: right;  }
     45div.message div.embedded { clear: right; }
    4346
    4447/* Styles for the directory entries table
     
    5659 text-align: right;
    5760}
    58 table.dirlist td.size { 
     61table.dirlist td.size {
    5962 color: #888;
    6063 white-space: nowrap;
     
    7679  padding-left: 20px;
    7780}
    78 table.dirlist tr span.expander {
    79   background: url(../expander_normal.png) 0 50% no-repeat;
    80   cursor: pointer;
    81   padding-left: 8px;
    82   margin-left: 4px;
    83 }
    84 table.dirlist tr span.expander:hover {
    85   background: url(../expander_normal_hover.png) 0 50% no-repeat;
    86 }
    87 table.dirlist tr.expanded span.expander {
    88   background: url(../expander_open.png) 0 50% no-repeat;
    89   padding-left: 12px;
    90   margin-left: 0;
    91 }
    92 table.dirlist tr.expanded span.expander:hover {
    93   background: url(../expander_open_hover.png) 0 50% no-repeat;
    94 }
    9581table.dirlist td.name a.dir {
    9682  background: url(../folder.png) 0 50% no-repeat;
     
    10389table.dirlist td.name a, table.dirlist td.rev a { border-bottom: none }
    10490table.dirlist td.author, table.dirlist td.change { font-size: 85% }
    105 table.dirlist td.rev a.chgset { 
     91table.dirlist td.rev a.chgset {
    10692  background: url(../changeset.png) 100% 50% no-repeat;
    107   padding: 0 0 0 5px; 
    108   margin: 0 5px 0 0; 
     93  padding: 0 0 0 5px;
     94  margin: 0 5px 0 0;
    10995}
    11096table.dirlist td.description { padding-left: 2em }
    11197table.dirlist td.description > :first-child { margin-top: 0 }
    11298table.dirlist td.description > :last-child { margin-bottom: 0 }
    113 table.dirlist td span.loading { 
     99table.dirlist td span.loading {
    114100  background: url(../loading.gif) 0 50% no-repeat;
    115101  padding-left: 20px;
    116   font-style: italic 
     102  font-style: italic
    117103}
    118104
     
    135121table.trac-graph td.summary { white-space: nowrap; }
    136122
    137 @media print { 
     123@media print {
    138124 th.diff, td.diff { display: none }
    139125}
     
    141127/* Styles for the revision log table (extends the styles for "table.listing") */
    142128table.chglist { margin-top: 0 }
    143 .chglist td.diff, .chglist td.rev, .chglist td.age, 
     129.chglist td.diff, .chglist td.rev, .chglist td.age,
    144130.chglist td.author, .chglist td.change {
    145131 white-space: nowrap;
     
    147133}
    148134.chglist td.author { color: #888 }
    149 .chglist td.change span.edit {
     135.chglist td.change span {
    150136 border: 1px solid #999;
    151137 float: left;
     
    157143.chglist td.age { font-size: 85% }
    158144.chglist td.author { font-size: 85% }
    159 .chglist td.rev { 
    160  font-family: monospace; 
     145.chglist td.rev {
     146 font-family: monospace;
    161147 letter-spacing: -0.08em;
    162148 font-size: 90%;
    163  text-align: right; 
     149 text-align: right;
    164150}
    165151.chglist td.rev a { border-bottom: none }
    166152.chglist td.rev a.chgset {
    167153  background-repeat: no-repeat;
    168   background-image: url(../changeset.png); 
     154  background-image: url(../changeset.png);
    169155  background-position: 100% 50%;
    170   padding: 0 0 0 5px; 
    171   margin: 0 5px 0 0; 
    172 }
    173 .chglist td.summary, .chglist td.log { 
    174  width: 100%; 
    175  font-size: 85%; 
    176  vertical-align: middle; 
     156  padding: 0 0 0 5px;
     157  margin: 0 5px 0 0;
     158}
     159.chglist td.summary, .chglist td.log {
     160 width: 100%;
     161 font-size: 85%;
     162 vertical-align: middle;
    177163}
    178164.chglist td.summary *, .chglist td.log * { margin-top: 0 }
     
    186172.chglist tr.verbose td { border: none; }
    187173.chglist tr.verbose td.diff, .chglist tr.verbose td.filler {
    188  border-left: 1px solid #ddd; 
     174 border-left: 1px solid #ddd;
    189175}
    190176.chglist tr.verbose td.summary, .chglist tr.verbose td.log {
    191  border-right: 1px solid #ddd; 
     177 border-right: 1px solid #ddd;
    192178}
    193179
     
    215201#preview .image-file img { max-width: 100% }
    216202
    217 /* Branch and tag labels */
    218 .chglist td.summary .branch, .chglist td.summary .tag,
    219 .browser .trac-tags .branch, .browser .trac-tags .tag {
     203/* Branch, tag and bookmark labels */
     204.chglist td.summary .branch, .chglist td.summary .tag, .chglist td.summary .trac-bookmark,
     205.browser .trac-tags .branch, .browser .trac-tags .tag, .browser .trac-tags .trac-bookmark {
    220206 color: #777;
    221207 font-size: 80%;
     
    233219 border: 1px solid #fe0;
    234220}
     221.chglist td.summary .trac-bookmark, .browser .trac-tags .trac-bookmark {
     222 background: #bdf;
     223 border: 1px solid #9ae;
     224}
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/changeset.css

    r730 r7088  
    11/* Changeset overview */
    2 #overview .files { padding-top: 1em }
     2#overview .files { padding: 1px 0 }
    33#overview .files ul { margin: 0; padding: 0 }
    44#overview .files li { list-style-type: none }
     
    1111 width: .8em; height: .8em;
    1212}
    13 #overview div.add div, #overview div.cp div, #overview div.mv div {
    14  border: 0;
    15  margin: 0;
    16  float: right;
    17  width: .35em;
    18 }
    1913
    2014#overview .changeset { padding: 0 0 1px }
     
    2317 margin-top: 0;
    2418}
    25 #overview .files { padding: 1px 0 }
     19#content.changeset p.message { margin-left: 8.5em; }
    2620
    2721.diff ul.props {
     
    3226}
    3327.diff ul.props li { margin: 0; padding: 0 }
    34 
    35 #title dl { display: inline; font-size: 110% }
    36 #title dt {
    37  display: inline;
    38  font-size: 110%;
    39  font-weight: bold;
    40  margin-left: 3em;
    41 }
    42 #title dd { display: inline; margin-left: 0.4em }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/code.css

    r730 r7088  
    33 border: 1px solid #d7d7d7;
    44 border-radius: .3em;
    5  margin: 1em 1.75em;
    65 padding: .25em;
    76 overflow: auto
     
    1716 border-spacing: 0;
    1817 border-top: 0;
    19  border-collapse: collapse; 
     18 border-collapse: collapse;
    2019 empty-cells: show;
    2120 font-size: 12px;
     
    6766 color: #000;
    6867}
     68table.code tbody tr:hover td {
     69 background: #eed;
     70}
    6971table.code td {
    7072 font: normal 11px monospace;
     
    8486/* Default */
    8587.code-block span { font-family: monospace; }
    86 
    87 /* Comments */
    88 .code-comment, .css_comment, .c_comment, .c_commentdoc, .c_commentline,
    89 .c_commentlinedoc, .h_comment,.pl_commentline, .p_commentblock,
    90 .p_commentline, .hphp_comment, .hphp_commentblock, .hphp_commentline,
    91 .yaml_comment {
    92  color: #998;
    93  font-style: italic;
    94 }
    95 
    96 /* Language keyword */
    97 .code-keyword, .pl_word  { color: #789; font-weight: bold }
    98 
    99 /* Type */
    100 .code-type, .c_word, .c_word2, .p_classname, .hphp_classname{
    101  color: #468;
    102  font-weight: bold;
    103 }
    104 
    105 /* Function */
    106 .code-func, .p_defname {
    107  color: #900;
    108  font-weight: bold;
    109  border-bottom: none;
    110 }
    111 
    112 /* Pre-processor */
    113 .code-prep, .c_preprocessor, .pl_preprocessor, .yaml_identifier {
    114  color: #999;
    115  font-weight: bold;
    116 }
    117 
    118 /* Language construct */
    119 .code-lang, .p_word { color: #000; font-weight: bold }
    120 
    121 /* String */
    122 .code-string, .c_string, .c_stringeol, .css_doublestring, .css_singlestring,
    123 .h_singlestring, .h_doublestring, .pl_string, .pl_string_q, .pl_string_qq,
    124 .pl_string_qr, .pl_string_qw, .pl_string_qx, .pl_backticks, .pl_character,
    125 .p_string, .p_stringeol, .hphp_string, .hphp_stringeol, .hphp_triple,
    126 .hphp_tripledouble, .p_character, .p_triple, .p_tripledouble {
    127  color: #b84;
    128  font-weight: normal;
    129 }
    130 
    131 /* Variable name */
    132 .code-var { color: #f9f }
    133 
    134 /* SilverCity-specific styles */
    135 .css_id, .css_class, .css_pseudoclass, .css_tag { color: #900000 }
    136 .css_directive { color: #009000; font-weight: bold }
    137 .css_important { color: blue }
    138 .css_operator { color: #000090; font-weight: bold }
    139 .css_tag { font-weight: bold }
    140 .css_unknown_identifier, .css_unknown_pseudoclass { color: red }
    141 .css_value { color: navy }
    142 .c_commentdockeyword { color: navy; font-weight: bold }
    143 .c_commentdockeyworderror { color: red; font-weight: bold }
    144 .c_character, .c_regex, .c_uuid, .c_verbatim { color: olive }
    145 .c_number { color: #099 }
    146 .h_asp { color: #ff0 }
    147 .h_aspat { color: #ffdf00 }
    148 .h_attribute { color: teal }
    149 .h_attributeunknown { color: red }
    150 .h_cdata { color: #373 }
    151 .h_entity { color: purple }
    152 .h_number { color: #099 }
    153 .h_other { color: purple }
    154 .h_script, .h_tag, .h_tagend { color: navy }
    155 .h_tagunknown { color: red }
    156 .h_xmlend, .h_xmlstart { color: blue }
    157 .pl_datasection { color: olive }
    158 .pl_error { color: red; font-weight: bold }
    159 .pl_hash { color: #000 }
    160 .pl_here_delim, .pl_here_q, .pl_here_qq, .pl_here_qx, .pl_longquote { color: olive }
    161 .pl_number { color: #099 }
    162 .pl_pod { font-style: italic }
    163 .pl_regex, .pl_regsubst { color: olive }
    164 .p_number { color: #099 }
    165 .hphp_character { color: olive }
    166 .hphp_defname { color: #099; font-weight: bold }
    167 .hphp_number { color: #099 }
    168 .hphp_word { color: navy; font-weight: bold }
    169 .yaml_document { color: gray; font-style: italic }
    170 .yaml_keyword { color: #808 }
    171 .yaml_number { color: #800 }
    172 .yaml_reference { color: #088 }
    173 .v_comment { color: gray; font-style: italic }
    174 .v_commentline, .v_commentlinebang { color: red; font-style: italic }
    175 .v_number, .v_preprocessor { color: #099 }
    176 .v_string, .v_stringeol { color: olive }
    177 .v_user{ color: blue; font-weight: bold }
    178 .v_word, .v_word3 { color: navy; font-weight: bold }
    179 .v_word2 { color: green; font-weight: bold }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/diff.css

    r730 r7088  
    33
    44/* Diff/change overview */
    5 #overview { line-height: 130%; margin-top: 1em; padding: .5em }
     5#overview { line-height: 130%; margin-top: 1em; padding: .5em .5em .5em 0 }
    66#overview dt.property {
     7 clear: left;
     8 float: left;
    79 font-weight: bold;
    8  padding-right: .25em;
    9  position: absolute; /* relies on #content { position: relative } */
    10  left: 0;
    1110 text-align: right;
    1211 width: 7.75em;
    1312}
    14 #overview dd { margin-left: 8em }
     13#overview dd { margin-left: 8.5em }
    1514
    1615#overview .message { padding: 1em 0 1px }
     
    133132 vertical-align: top;
    134133}
     134.diff table.trac-diff tbody tr:hover td {
     135 background: #eed;
     136}
     137.diff table.trac-diff tbody.mod tr:hover td,
     138.diff table.trac-diff tbody.add tr:hover td,
     139.diff table.trac-diff tbody.rem tr:hover td {
     140 background: #ddc;
     141}
     142.diff table.trac-diff tbody.mod tr:hover td del,
     143.diff table.trac-diff tbody.mod tr:hover td ins {
     144 background: #bb9;
     145}
    135146.diff table.trac-diff tbody.skipped td, .diff table.trac-diff thead td {
    136147 background: #f7f7f7;
     
    162173.diff table.inline tbody.mod tr.last td.r,
    163174.diff table.inline tbody.add tr.last td.r { border-bottom-width: 1px }
    164 .diff table.inline tbody.mod td del { 
    165  background: #e99; 
     175.diff table.inline tbody.mod td del {
     176 background: #e99;
    166177 color: #000;
    167178}
    168 .diff table.inline tbody.mod td ins { 
    169  background: #9e9; 
     179.diff table.inline tbody.mod td ins {
     180 background: #9e9;
    170181 color: #000;
    171182}
     
    180191.diff table.sidebyside tbody.rem td.r { background: #faa }
    181192.diff table.sidebyside tbody.mod del, .diff table.sidebyside tbody.mod ins {
    182  background: #fc0; 
     193 background: #fc0;
    183194}
    184195
     
    190201/* Styles for the property diffs */
    191202.diff table.props td { padding: 2px 0.5em }
     203
     204/* Styles for the diff page */
     205.trac-autocomplete-dir { font-weight: bold }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/jquery-ui-addons.css

    r730 r7088  
    22.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
    33.ui-timepicker-div dl { text-align: left; }
    4 .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
    5 .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
     4.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
     5.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
    66.ui-timepicker-div td { font-size: 90%; }
    77.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
     8.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }
    89
     10.ui-timepicker-rtl{ direction: rtl; }
     11.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
     12.ui-timepicker-rtl dl dt{ float: right; clear: right; }
     13.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }
     14
     15.ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
     16.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
     17.ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
     18.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
     19.ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
     20.ui-timepicker-div.ui-timepicker-oneLine dl dd,
     21.ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
     22.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
     23.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
     24.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
     25.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
     26.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
     27.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }
    928
    1029/* jQuery UI datepicker customization */
    11 .ui-datepicker , .ui-datepicker  table, .ui-datepicker  tr, .ui-datepicker td, 
     30.ui-datepicker , .ui-datepicker  table, .ui-datepicker  tr, .ui-datepicker td,
    1231.ui-datepicker th, .ui-datepicker-calendar { font-size: 11px; }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/jquery-ui/jquery-ui.css

    r730 r7088  
    1 /*!
    2  * jQuery UI CSS Framework 1.8.21
    3  *
    4  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    5  * Dual licensed under the MIT or GPL Version 2 licenses.
    6  * http://jquery.org/license
    7  *
    8  * http://docs.jquery.com/UI/Theming/API
    9  */
     1/*! jQuery UI - v1.11.4 - 2015-08-27
     2* http://jqueryui.com
     3* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
     4* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C'Bitstream%20Vera%20Sans%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C'%2CHelvetica%2Csans-serif&fwDefault=normal&fsDefault=13px&cornerRadius=.3em&bgColorHeader=ffffdd&bgTextureHeader=highlight_soft&bgImgOpacityHeader=80&borderColorHeader=bbbbbb&fcHeader=000000&iconColorHeader=707070&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=00&borderColorContent=bbbbbb&fcContent=000000&iconColorContent=222222&bgColorDefault=ffffff&bgTextureDefault=flat&bgImgOpacityDefault=0&borderColorDefault=bbbbbb&fcDefault=b00000&iconColorDefault=b00000&bgColorHover=ffffdd&bgTextureHover=flat&bgImgOpacityHover=0&borderColorHover=505050&fcHover=505050&iconColorHover=505050&bgColorActive=303030&bgTextureActive=highlight_soft&bgImgOpacityActive=30&borderColorActive=bbbbbb&fcActive=eeeeee&iconColorActive=d7d7d7&bgColorHighlight=c0f0c0&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=c0f0c0&fcHighlight=363636&iconColorHighlight=4b954f&bgColorError=ffddcc&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=9b081d&fcError=500000&iconColorError=9b081d&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px&ctl=themeroller
     5* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
    106
    117/* Layout helpers
    128----------------------------------*/
    13 .ui-helper-hidden { display: none; }
    14 .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
    15 .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
    16 .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
    17 .ui-helper-clearfix:after { clear: both; }
    18 .ui-helper-clearfix { zoom: 1; }
    19 .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
     9.ui-helper-hidden {
     10    display: none;
     11}
     12.ui-helper-hidden-accessible {
     13    border: 0;
     14    clip: rect(0 0 0 0);
     15    height: 1px;
     16    margin: -1px;
     17    overflow: hidden;
     18    padding: 0;
     19    position: absolute;
     20    width: 1px;
     21}
     22.ui-helper-reset {
     23    margin: 0;
     24    padding: 0;
     25    border: 0;
     26    outline: 0;
     27    line-height: 1.3;
     28    text-decoration: none;
     29    font-size: 100%;
     30    list-style: none;
     31}
     32.ui-helper-clearfix:before,
     33.ui-helper-clearfix:after {
     34    content: "";
     35    display: table;
     36    border-collapse: collapse;
     37}
     38.ui-helper-clearfix:after {
     39    clear: both;
     40}
     41.ui-helper-clearfix {
     42    min-height: 0; /* support: IE7 */
     43}
     44.ui-helper-zfix {
     45    width: 100%;
     46    height: 100%;
     47    top: 0;
     48    left: 0;
     49    position: absolute;
     50    opacity: 0;
     51    filter:Alpha(Opacity=0); /* support: IE8 */
     52}
     53
     54.ui-front {
     55    z-index: 100;
     56}
    2057
    2158
    2259/* Interaction Cues
    2360----------------------------------*/
    24 .ui-state-disabled { cursor: default !important; }
     61.ui-state-disabled {
     62    cursor: default !important;
     63}
    2564
    2665
     
    2968
    3069/* states and images */
    31 .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
     70.ui-icon {
     71    display: block;
     72    text-indent: -99999px;
     73    overflow: hidden;
     74    background-repeat: no-repeat;
     75}
    3276
    3377
     
    3680
    3781/* Overlays */
    38 .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    39 
    40 
    41 /*!
    42  * jQuery UI CSS Framework 1.8.21
    43  *
    44  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    45  * Dual licensed under the MIT or GPL Version 2 licenses.
    46  * http://jquery.org/license
    47  *
    48  * http://docs.jquery.com/UI/Theming/API
    49  *
    50  * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller&ffDefault=Verdana,Arial,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Bitstream%20Vera%20Sans\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\',Helvetica,sans-serif&fwDefault=normal&fsDefault=13px&cornerRadius=.3em&bgColorHeader=ffffdd&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=80&borderColorHeader=bbbbbb&fcHeader=000000&iconColorHeader=707070&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=00&borderColorContent=bbbbbb&fcContent=000000&iconColorContent=222222&bgColorDefault=ffffff&bgTextureDefault=01_flat.png&bgImgOpacityDefault=0&borderColorDefault=bbbbbb&fcDefault=b00000&iconColorDefault=b00000&bgColorHover=ffffdd&bgTextureHover=01_flat.png&bgImgOpacityHover=0&borderColorHover=505050&fcHover=505050&iconColorHover=505050&bgColorActive=303030&bgTextureActive=03_highlight_soft.png&bgImgOpacityActive=30&borderColorActive=bbbbbb&fcActive=eeeeee&iconColorActive=d7d7d7&bgColorHighlight=c0f0c0&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=c0f0c0&fcHighlight=363636&iconColorHighlight=4b954f&bgColorError=ffddcc&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=9b081d&fcError=500000&iconColorError=9b081d&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
    51  */
    52 
     82.ui-widget-overlay {
     83    position: fixed;
     84    top: 0;
     85    left: 0;
     86    width: 100%;
     87    height: 100%;
     88}
     89.ui-draggable-handle {
     90    -ms-touch-action: none;
     91    touch-action: none;
     92}
     93.ui-resizable {
     94    position: relative;
     95}
     96.ui-resizable-handle {
     97    position: absolute;
     98    font-size: 0.1px;
     99    display: block;
     100    -ms-touch-action: none;
     101    touch-action: none;
     102}
     103.ui-resizable-disabled .ui-resizable-handle,
     104.ui-resizable-autohide .ui-resizable-handle {
     105    display: none;
     106}
     107.ui-resizable-n {
     108    cursor: n-resize;
     109    height: 7px;
     110    width: 100%;
     111    top: -5px;
     112    left: 0;
     113}
     114.ui-resizable-s {
     115    cursor: s-resize;
     116    height: 7px;
     117    width: 100%;
     118    bottom: -5px;
     119    left: 0;
     120}
     121.ui-resizable-e {
     122    cursor: e-resize;
     123    width: 7px;
     124    right: -5px;
     125    top: 0;
     126    height: 100%;
     127}
     128.ui-resizable-w {
     129    cursor: w-resize;
     130    width: 7px;
     131    left: -5px;
     132    top: 0;
     133    height: 100%;
     134}
     135.ui-resizable-se {
     136    cursor: se-resize;
     137    width: 12px;
     138    height: 12px;
     139    right: 1px;
     140    bottom: 1px;
     141}
     142.ui-resizable-sw {
     143    cursor: sw-resize;
     144    width: 9px;
     145    height: 9px;
     146    left: -5px;
     147    bottom: -5px;
     148}
     149.ui-resizable-nw {
     150    cursor: nw-resize;
     151    width: 9px;
     152    height: 9px;
     153    left: -5px;
     154    top: -5px;
     155}
     156.ui-resizable-ne {
     157    cursor: ne-resize;
     158    width: 9px;
     159    height: 9px;
     160    right: -5px;
     161    top: -5px;
     162}
     163.ui-selectable {
     164    -ms-touch-action: none;
     165    touch-action: none;
     166}
     167.ui-selectable-helper {
     168    position: absolute;
     169    z-index: 100;
     170    border: 1px dotted black;
     171}
     172.ui-sortable-handle {
     173    -ms-touch-action: none;
     174    touch-action: none;
     175}
     176.ui-accordion .ui-accordion-header {
     177    display: block;
     178    cursor: pointer;
     179    position: relative;
     180    margin: 2px 0 0 0;
     181    padding: .5em .5em .5em .7em;
     182    min-height: 0; /* support: IE7 */
     183    font-size: 100%;
     184}
     185.ui-accordion .ui-accordion-icons {
     186    padding-left: 2.2em;
     187}
     188.ui-accordion .ui-accordion-icons .ui-accordion-icons {
     189    padding-left: 2.2em;
     190}
     191.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
     192    position: absolute;
     193    left: .5em;
     194    top: 50%;
     195    margin-top: -8px;
     196}
     197.ui-accordion .ui-accordion-content {
     198    padding: 1em 2.2em;
     199    border-top: 0;
     200    overflow: auto;
     201}
     202.ui-autocomplete {
     203    position: absolute;
     204    top: 0;
     205    left: 0;
     206    cursor: default;
     207}
     208.ui-button {
     209    display: inline-block;
     210    position: relative;
     211    padding: 0;
     212    line-height: normal;
     213    margin-right: .1em;
     214    cursor: pointer;
     215    vertical-align: middle;
     216    text-align: center;
     217    overflow: visible; /* removes extra width in IE */
     218}
     219.ui-button,
     220.ui-button:link,
     221.ui-button:visited,
     222.ui-button:hover,
     223.ui-button:active {
     224    text-decoration: none;
     225}
     226/* to make room for the icon, a width needs to be set here */
     227.ui-button-icon-only {
     228    width: 2.2em;
     229}
     230/* button elements seem to need a little more width */
     231button.ui-button-icon-only {
     232    width: 2.4em;
     233}
     234.ui-button-icons-only {
     235    width: 3.4em;
     236}
     237button.ui-button-icons-only {
     238    width: 3.7em;
     239}
     240
     241/* button text element */
     242.ui-button .ui-button-text {
     243    display: block;
     244    line-height: normal;
     245}
     246.ui-button-text-only .ui-button-text {
     247    padding: .4em 1em;
     248}
     249.ui-button-icon-only .ui-button-text,
     250.ui-button-icons-only .ui-button-text {
     251    padding: .4em;
     252    text-indent: -9999999px;
     253}
     254.ui-button-text-icon-primary .ui-button-text,
     255.ui-button-text-icons .ui-button-text {
     256    padding: .4em 1em .4em 2.1em;
     257}
     258.ui-button-text-icon-secondary .ui-button-text,
     259.ui-button-text-icons .ui-button-text {
     260    padding: .4em 2.1em .4em 1em;
     261}
     262.ui-button-text-icons .ui-button-text {
     263    padding-left: 2.1em;
     264    padding-right: 2.1em;
     265}
     266/* no icon support for input elements, provide padding by default */
     267input.ui-button {
     268    padding: .4em 1em;
     269}
     270
     271/* button icon element(s) */
     272.ui-button-icon-only .ui-icon,
     273.ui-button-text-icon-primary .ui-icon,
     274.ui-button-text-icon-secondary .ui-icon,
     275.ui-button-text-icons .ui-icon,
     276.ui-button-icons-only .ui-icon {
     277    position: absolute;
     278    top: 50%;
     279    margin-top: -8px;
     280}
     281.ui-button-icon-only .ui-icon {
     282    left: 50%;
     283    margin-left: -8px;
     284}
     285.ui-button-text-icon-primary .ui-button-icon-primary,
     286.ui-button-text-icons .ui-button-icon-primary,
     287.ui-button-icons-only .ui-button-icon-primary {
     288    left: .5em;
     289}
     290.ui-button-text-icon-secondary .ui-button-icon-secondary,
     291.ui-button-text-icons .ui-button-icon-secondary,
     292.ui-button-icons-only .ui-button-icon-secondary {
     293    right: .5em;
     294}
     295
     296/* button sets */
     297.ui-buttonset {
     298    margin-right: 7px;
     299}
     300.ui-buttonset .ui-button {
     301    margin-left: 0;
     302    margin-right: -.3em;
     303}
     304
     305/* workarounds */
     306/* reset extra padding in Firefox, see h5bp.com/l */
     307input.ui-button::-moz-focus-inner,
     308button.ui-button::-moz-focus-inner {
     309    border: 0;
     310    padding: 0;
     311}
     312.ui-datepicker {
     313    width: 17em;
     314    padding: .2em .2em 0;
     315    display: none;
     316}
     317.ui-datepicker .ui-datepicker-header {
     318    position: relative;
     319    padding: .2em 0;
     320}
     321.ui-datepicker .ui-datepicker-prev,
     322.ui-datepicker .ui-datepicker-next {
     323    position: absolute;
     324    top: 2px;
     325    width: 1.8em;
     326    height: 1.8em;
     327}
     328.ui-datepicker .ui-datepicker-prev-hover,
     329.ui-datepicker .ui-datepicker-next-hover {
     330    top: 1px;
     331}
     332.ui-datepicker .ui-datepicker-prev {
     333    left: 2px;
     334}
     335.ui-datepicker .ui-datepicker-next {
     336    right: 2px;
     337}
     338.ui-datepicker .ui-datepicker-prev-hover {
     339    left: 1px;
     340}
     341.ui-datepicker .ui-datepicker-next-hover {
     342    right: 1px;
     343}
     344.ui-datepicker .ui-datepicker-prev span,
     345.ui-datepicker .ui-datepicker-next span {
     346    display: block;
     347    position: absolute;
     348    left: 50%;
     349    margin-left: -8px;
     350    top: 50%;
     351    margin-top: -8px;
     352}
     353.ui-datepicker .ui-datepicker-title {
     354    margin: 0 2.3em;
     355    line-height: 1.8em;
     356    text-align: center;
     357}
     358.ui-datepicker .ui-datepicker-title select {
     359    font-size: 1em;
     360    margin: 1px 0;
     361}
     362.ui-datepicker select.ui-datepicker-month,
     363.ui-datepicker select.ui-datepicker-year {
     364    width: 45%;
     365}
     366.ui-datepicker table {
     367    width: 100%;
     368    font-size: .9em;
     369    border-collapse: collapse;
     370    margin: 0 0 .4em;
     371}
     372.ui-datepicker th {
     373    padding: .7em .3em;
     374    text-align: center;
     375    font-weight: bold;
     376    border: 0;
     377}
     378.ui-datepicker td {
     379    border: 0;
     380    padding: 1px;
     381}
     382.ui-datepicker td span,
     383.ui-datepicker td a {
     384    display: block;
     385    padding: .2em;
     386    text-align: right;
     387    text-decoration: none;
     388}
     389.ui-datepicker .ui-datepicker-buttonpane {
     390    background-image: none;
     391    margin: .7em 0 0 0;
     392    padding: 0 .2em;
     393    border-left: 0;
     394    border-right: 0;
     395    border-bottom: 0;
     396}
     397.ui-datepicker .ui-datepicker-buttonpane button {
     398    float: right;
     399    margin: .5em .2em .4em;
     400    cursor: pointer;
     401    padding: .2em .6em .3em .6em;
     402    width: auto;
     403    overflow: visible;
     404}
     405.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
     406    float: left;
     407}
     408
     409/* with multiple calendars */
     410.ui-datepicker.ui-datepicker-multi {
     411    width: auto;
     412}
     413.ui-datepicker-multi .ui-datepicker-group {
     414    float: left;
     415}
     416.ui-datepicker-multi .ui-datepicker-group table {
     417    width: 95%;
     418    margin: 0 auto .4em;
     419}
     420.ui-datepicker-multi-2 .ui-datepicker-group {
     421    width: 50%;
     422}
     423.ui-datepicker-multi-3 .ui-datepicker-group {
     424    width: 33.3%;
     425}
     426.ui-datepicker-multi-4 .ui-datepicker-group {
     427    width: 25%;
     428}
     429.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
     430.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
     431    border-left-width: 0;
     432}
     433.ui-datepicker-multi .ui-datepicker-buttonpane {
     434    clear: left;
     435}
     436.ui-datepicker-row-break {
     437    clear: both;
     438    width: 100%;
     439    font-size: 0;
     440}
     441
     442/* RTL support */
     443.ui-datepicker-rtl {
     444    direction: rtl;
     445}
     446.ui-datepicker-rtl .ui-datepicker-prev {
     447    right: 2px;
     448    left: auto;
     449}
     450.ui-datepicker-rtl .ui-datepicker-next {
     451    left: 2px;
     452    right: auto;
     453}
     454.ui-datepicker-rtl .ui-datepicker-prev:hover {
     455    right: 1px;
     456    left: auto;
     457}
     458.ui-datepicker-rtl .ui-datepicker-next:hover {
     459    left: 1px;
     460    right: auto;
     461}
     462.ui-datepicker-rtl .ui-datepicker-buttonpane {
     463    clear: right;
     464}
     465.ui-datepicker-rtl .ui-datepicker-buttonpane button {
     466    float: left;
     467}
     468.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
     469.ui-datepicker-rtl .ui-datepicker-group {
     470    float: right;
     471}
     472.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
     473.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
     474    border-right-width: 0;
     475    border-left-width: 1px;
     476}
     477.ui-dialog {
     478    overflow: hidden;
     479    position: absolute;
     480    top: 0;
     481    left: 0;
     482    padding: .2em;
     483    outline: 0;
     484}
     485.ui-dialog .ui-dialog-titlebar {
     486    padding: .4em 1em;
     487    position: relative;
     488}
     489.ui-dialog .ui-dialog-title {
     490    float: left;
     491    margin: .1em 0;
     492    white-space: nowrap;
     493    width: 90%;
     494    overflow: hidden;
     495    text-overflow: ellipsis;
     496}
     497.ui-dialog .ui-dialog-titlebar-close {
     498    position: absolute;
     499    right: .3em;
     500    top: 50%;
     501    width: 20px;
     502    margin: -10px 0 0 0;
     503    padding: 1px;
     504    height: 20px;
     505}
     506.ui-dialog .ui-dialog-content {
     507    position: relative;
     508    border: 0;
     509    padding: .5em 1em;
     510    background: none;
     511    overflow: auto;
     512}
     513.ui-dialog .ui-dialog-buttonpane {
     514    text-align: left;
     515    border-width: 1px 0 0 0;
     516    background-image: none;
     517    margin-top: .5em;
     518    padding: .3em 1em .5em .4em;
     519}
     520.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
     521    float: right;
     522}
     523.ui-dialog .ui-dialog-buttonpane button {
     524    margin: .5em .4em .5em 0;
     525    cursor: pointer;
     526}
     527.ui-dialog .ui-resizable-se {
     528    width: 12px;
     529    height: 12px;
     530    right: -5px;
     531    bottom: -5px;
     532    background-position: 16px 16px;
     533}
     534.ui-draggable .ui-dialog-titlebar {
     535    cursor: move;
     536}
     537.ui-menu {
     538    list-style: none;
     539    padding: 0;
     540    margin: 0;
     541    display: block;
     542    outline: none;
     543}
     544.ui-menu .ui-menu {
     545    position: absolute;
     546}
     547.ui-menu .ui-menu-item {
     548    position: relative;
     549    margin: 0;
     550    padding: 3px 1em 3px .4em;
     551    cursor: pointer;
     552    min-height: 0; /* support: IE7 */
     553    /* support: IE10, see #8844 */
     554    list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
     555}
     556.ui-menu .ui-menu-divider {
     557    margin: 5px 0;
     558    height: 0;
     559    font-size: 0;
     560    line-height: 0;
     561    border-width: 1px 0 0 0;
     562}
     563.ui-menu .ui-state-focus,
     564.ui-menu .ui-state-active {
     565    margin: -1px;
     566}
     567
     568/* icon support */
     569.ui-menu-icons {
     570    position: relative;
     571}
     572.ui-menu-icons .ui-menu-item {
     573    padding-left: 2em;
     574}
     575
     576/* left-aligned */
     577.ui-menu .ui-icon {
     578    position: absolute;
     579    top: 0;
     580    bottom: 0;
     581    left: .2em;
     582    margin: auto 0;
     583}
     584
     585/* right-aligned */
     586.ui-menu .ui-menu-icon {
     587    left: auto;
     588    right: 0;
     589}
     590.ui-progressbar {
     591    height: 2em;
     592    text-align: left;
     593    overflow: hidden;
     594}
     595.ui-progressbar .ui-progressbar-value {
     596    margin: -1px;
     597    height: 100%;
     598}
     599.ui-progressbar .ui-progressbar-overlay {
     600    background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
     601    height: 100%;
     602    filter: alpha(opacity=25); /* support: IE8 */
     603    opacity: 0.25;
     604}
     605.ui-progressbar-indeterminate .ui-progressbar-value {
     606    background-image: none;
     607}
     608.ui-selectmenu-menu {
     609    padding: 0;
     610    margin: 0;
     611    position: absolute;
     612    top: 0;
     613    left: 0;
     614    display: none;
     615}
     616.ui-selectmenu-menu .ui-menu {
     617    overflow: auto;
     618    /* Support: IE7 */
     619    overflow-x: hidden;
     620    padding-bottom: 1px;
     621}
     622.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
     623    font-size: 1em;
     624    font-weight: bold;
     625    line-height: 1.5;
     626    padding: 2px 0.4em;
     627    margin: 0.5em 0 0 0;
     628    height: auto;
     629    border: 0;
     630}
     631.ui-selectmenu-open {
     632    display: block;
     633}
     634.ui-selectmenu-button {
     635    display: inline-block;
     636    overflow: hidden;
     637    position: relative;
     638    text-decoration: none;
     639    cursor: pointer;
     640}
     641.ui-selectmenu-button span.ui-icon {
     642    right: 0.5em;
     643    left: auto;
     644    margin-top: -8px;
     645    position: absolute;
     646    top: 50%;
     647}
     648.ui-selectmenu-button span.ui-selectmenu-text {
     649    text-align: left;
     650    padding: 0.4em 2.1em 0.4em 1em;
     651    display: block;
     652    line-height: 1.4;
     653    overflow: hidden;
     654    text-overflow: ellipsis;
     655    white-space: nowrap;
     656}
     657.ui-slider {
     658    position: relative;
     659    text-align: left;
     660}
     661.ui-slider .ui-slider-handle {
     662    position: absolute;
     663    z-index: 2;
     664    width: 1.2em;
     665    height: 1.2em;
     666    cursor: default;
     667    -ms-touch-action: none;
     668    touch-action: none;
     669}
     670.ui-slider .ui-slider-range {
     671    position: absolute;
     672    z-index: 1;
     673    font-size: .7em;
     674    display: block;
     675    border: 0;
     676    background-position: 0 0;
     677}
     678
     679/* support: IE8 - See #6727 */
     680.ui-slider.ui-state-disabled .ui-slider-handle,
     681.ui-slider.ui-state-disabled .ui-slider-range {
     682    filter: inherit;
     683}
     684
     685.ui-slider-horizontal {
     686    height: .8em;
     687}
     688.ui-slider-horizontal .ui-slider-handle {
     689    top: -.3em;
     690    margin-left: -.6em;
     691}
     692.ui-slider-horizontal .ui-slider-range {
     693    top: 0;
     694    height: 100%;
     695}
     696.ui-slider-horizontal .ui-slider-range-min {
     697    left: 0;
     698}
     699.ui-slider-horizontal .ui-slider-range-max {
     700    right: 0;
     701}
     702
     703.ui-slider-vertical {
     704    width: .8em;
     705    height: 100px;
     706}
     707.ui-slider-vertical .ui-slider-handle {
     708    left: -.3em;
     709    margin-left: 0;
     710    margin-bottom: -.6em;
     711}
     712.ui-slider-vertical .ui-slider-range {
     713    left: 0;
     714    width: 100%;
     715}
     716.ui-slider-vertical .ui-slider-range-min {
     717    bottom: 0;
     718}
     719.ui-slider-vertical .ui-slider-range-max {
     720    top: 0;
     721}
     722.ui-spinner {
     723    position: relative;
     724    display: inline-block;
     725    overflow: hidden;
     726    padding: 0;
     727    vertical-align: middle;
     728}
     729.ui-spinner-input {
     730    border: none;
     731    background: none;
     732    color: inherit;
     733    padding: 0;
     734    margin: .2em 0;
     735    vertical-align: middle;
     736    margin-left: .4em;
     737    margin-right: 22px;
     738}
     739.ui-spinner-button {
     740    width: 16px;
     741    height: 50%;
     742    font-size: .5em;
     743    padding: 0;
     744    margin: 0;
     745    text-align: center;
     746    position: absolute;
     747    cursor: default;
     748    display: block;
     749    overflow: hidden;
     750    right: 0;
     751}
     752/* more specificity required here to override default borders */
     753.ui-spinner a.ui-spinner-button {
     754    border-top: none;
     755    border-bottom: none;
     756    border-right: none;
     757}
     758/* vertically center icon */
     759.ui-spinner .ui-icon {
     760    position: absolute;
     761    margin-top: -8px;
     762    top: 50%;
     763    left: 0;
     764}
     765.ui-spinner-up {
     766    top: 0;
     767}
     768.ui-spinner-down {
     769    bottom: 0;
     770}
     771
     772/* TR overrides */
     773.ui-spinner .ui-icon-triangle-1-s {
     774    /* need to fix icons sprite */
     775    background-position: -65px -16px;
     776}
     777.ui-tabs {
     778    position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
     779    padding: .2em;
     780}
     781.ui-tabs .ui-tabs-nav {
     782    margin: 0;
     783    padding: .2em .2em 0;
     784}
     785.ui-tabs .ui-tabs-nav li {
     786    list-style: none;
     787    float: left;
     788    position: relative;
     789    top: 0;
     790    margin: 1px .2em 0 0;
     791    border-bottom-width: 0;
     792    padding: 0;
     793    white-space: nowrap;
     794}
     795.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
     796    float: left;
     797    padding: .5em 1em;
     798    text-decoration: none;
     799}
     800.ui-tabs .ui-tabs-nav li.ui-tabs-active {
     801    margin-bottom: -1px;
     802    padding-bottom: 1px;
     803}
     804.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
     805.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
     806.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
     807    cursor: text;
     808}
     809.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
     810    cursor: pointer;
     811}
     812.ui-tabs .ui-tabs-panel {
     813    display: block;
     814    border-width: 0;
     815    padding: 1em 1.4em;
     816    background: none;
     817}
     818.ui-tooltip {
     819    padding: 8px;
     820    position: absolute;
     821    z-index: 9999;
     822    max-width: 300px;
     823    -webkit-box-shadow: 0 0 5px #aaa;
     824    box-shadow: 0 0 5px #aaa;
     825}
     826body .ui-tooltip {
     827    border-width: 2px;
     828}
    53829
    54830/* Component containers
    55831----------------------------------*/
    56 .ui-widget { font-family: Verdana,Arial,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Bitstream Vera Sans\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\',Helvetica,sans-serif; font-size: 13px; }
    57 .ui-widget .ui-widget { font-size: 1em; }
    58 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Bitstream Vera Sans\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\',Helvetica,sans-serif; font-size: 1em; }
    59 .ui-widget-content { border: 1px solid #bbbbbb; background: #ffffff url(images/ui-bg_flat_00_ffffff_40x100.png) 50% 50% repeat-x; color: #000000; }
    60 .ui-widget-content a { color: #000000; }
    61 .ui-widget-header { border: 1px solid #bbbbbb; background: #ffffdd url(images/ui-bg_highlight-soft_80_ffffdd_1x100.png) 50% 50% repeat-x; color: #000000; font-weight: bold; }
    62 .ui-widget-header a { color: #000000; }
     832.ui-widget {
     833    font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;
     834    font-size: 13px;
     835}
     836.ui-widget .ui-widget {
     837    font-size: 1em;
     838}
     839.ui-widget input,
     840.ui-widget select,
     841.ui-widget textarea,
     842.ui-widget button {
     843    font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;
     844    font-size: 1em;
     845}
     846.ui-widget-content {
     847    border: 1px solid #bbbbbb;
     848    background: #ffffff url("images/ui-bg_flat_00_ffffff_40x100.png") 50% 50% repeat-x;
     849    color: #000000;
     850}
     851.ui-widget-content a {
     852    color: #000000;
     853}
     854.ui-widget-header {
     855    border: 1px solid #bbbbbb;
     856    background: #ffffdd url("images/ui-bg_highlight-soft_80_ffffdd_1x100.png") 50% 50% repeat-x;
     857    color: #000000;
     858    font-weight: bold;
     859}
     860.ui-widget-header a {
     861    color: #000000;
     862}
    63863
    64864/* Interaction states
    65865----------------------------------*/
    66 .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #bbbbbb; background: #ffffff url(images/ui-bg_flat_0_ffffff_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #b00000; }
    67 .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #b00000; text-decoration: none; }
    68 .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #505050; background: #ffffdd url(images/ui-bg_flat_0_ffffdd_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #505050; }
    69 .ui-state-hover a, .ui-state-hover a:hover { color: #505050; text-decoration: none; }
    70 .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #bbbbbb; background: #303030 url(images/ui-bg_highlight-soft_30_303030_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #eeeeee; }
    71 .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eeeeee; text-decoration: none; }
    72 .ui-widget :active { outline: none; }
     866.ui-state-default,
     867.ui-widget-content .ui-state-default,
     868.ui-widget-header .ui-state-default {
     869    border: 1px solid #bbbbbb;
     870    background: #ffffff url("images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x;
     871    font-weight: normal;
     872    color: #b00000;
     873}
     874.ui-state-default a,
     875.ui-state-default a:link,
     876.ui-state-default a:visited {
     877    color: #b00000;
     878    text-decoration: none;
     879}
     880.ui-state-hover,
     881.ui-widget-content .ui-state-hover,
     882.ui-widget-header .ui-state-hover,
     883.ui-state-focus,
     884.ui-widget-content .ui-state-focus,
     885.ui-widget-header .ui-state-focus {
     886    border: 1px solid #505050;
     887    background: #ffffdd url("images/ui-bg_flat_0_ffffdd_40x100.png") 50% 50% repeat-x;
     888    font-weight: normal;
     889    color: #505050;
     890}
     891.ui-state-hover a,
     892.ui-state-hover a:hover,
     893.ui-state-hover a:link,
     894.ui-state-hover a:visited,
     895.ui-state-focus a,
     896.ui-state-focus a:hover,
     897.ui-state-focus a:link,
     898.ui-state-focus a:visited {
     899    color: #505050;
     900    text-decoration: none;
     901}
     902.ui-state-active,
     903.ui-widget-content .ui-state-active,
     904.ui-widget-header .ui-state-active {
     905    border: 1px solid #bbbbbb;
     906    background: #303030 url("images/ui-bg_highlight-soft_30_303030_1x100.png") 50% 50% repeat-x;
     907    font-weight: normal;
     908    color: #eeeeee;
     909}
     910.ui-state-active a,
     911.ui-state-active a:link,
     912.ui-state-active a:visited {
     913    color: #eeeeee;
     914    text-decoration: none;
     915}
    73916
    74917/* Interaction Cues
    75918----------------------------------*/
    76 .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #c0f0c0; background: #c0f0c0 url(images/ui-bg_highlight-soft_75_c0f0c0_1x100.png) 50% top repeat-x; color: #363636; }
    77 .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
    78 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #9b081d; background: #ffddcc url(images/ui-bg_diagonals-thick_18_ffddcc_40x40.png) 50% 50% repeat; color: #500000; }
    79 .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #500000; }
    80 .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #500000; }
    81 .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
    82 .ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
    83 .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
     919.ui-state-highlight,
     920.ui-widget-content .ui-state-highlight,
     921.ui-widget-header .ui-state-highlight {
     922    border: 1px solid #c0f0c0;
     923    background: #c0f0c0 url("images/ui-bg_highlight-soft_75_c0f0c0_1x100.png") 50% top repeat-x;
     924    color: #363636;
     925}
     926.ui-state-highlight a,
     927.ui-widget-content .ui-state-highlight a,
     928.ui-widget-header .ui-state-highlight a {
     929    color: #363636;
     930}
     931.ui-state-error,
     932.ui-widget-content .ui-state-error,
     933.ui-widget-header .ui-state-error {
     934    border: 1px solid #9b081d;
     935    background: #ffddcc url("images/ui-bg_diagonals-thick_18_ffddcc_40x40.png") 50% 50% repeat;
     936    color: #500000;
     937}
     938.ui-state-error a,
     939.ui-widget-content .ui-state-error a,
     940.ui-widget-header .ui-state-error a {
     941    color: #500000;
     942}
     943.ui-state-error-text,
     944.ui-widget-content .ui-state-error-text,
     945.ui-widget-header .ui-state-error-text {
     946    color: #500000;
     947}
     948.ui-priority-primary,
     949.ui-widget-content .ui-priority-primary,
     950.ui-widget-header .ui-priority-primary {
     951    font-weight: bold;
     952}
     953.ui-priority-secondary,
     954.ui-widget-content .ui-priority-secondary,
     955.ui-widget-header .ui-priority-secondary {
     956    opacity: .7;
     957    filter:Alpha(Opacity=70); /* support: IE8 */
     958    font-weight: normal;
     959}
     960.ui-state-disabled,
     961.ui-widget-content .ui-state-disabled,
     962.ui-widget-header .ui-state-disabled {
     963    opacity: .35;
     964    filter:Alpha(Opacity=35); /* support: IE8 */
     965    background-image: none;
     966}
     967.ui-state-disabled .ui-icon {
     968    filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
     969}
    84970
    85971/* Icons
     
    87973
    88974/* states and images */
    89 .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
    90 .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
    91 .ui-widget-header .ui-icon {background-image: url(images/ui-icons_707070_256x240.png); }
    92 .ui-state-default .ui-icon { background-image: url(images/ui-icons_b00000_256x240.png); }
    93 .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_505050_256x240.png); }
    94 .ui-state-active .ui-icon {background-image: url(images/ui-icons_d7d7d7_256x240.png); }
    95 .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_4b954f_256x240.png); }
    96 .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_9b081d_256x240.png); }
     975.ui-icon {
     976    width: 16px;
     977    height: 16px;
     978}
     979.ui-icon,
     980.ui-widget-content .ui-icon {
     981    background-image: url("images/ui-icons_222222_256x240.png");
     982}
     983.ui-widget-header .ui-icon {
     984    background-image: url("images/ui-icons_707070_256x240.png");
     985}
     986.ui-state-default .ui-icon {
     987    background-image: url("images/ui-icons_b00000_256x240.png");
     988}
     989.ui-state-hover .ui-icon,
     990.ui-state-focus .ui-icon {
     991    background-image: url("images/ui-icons_505050_256x240.png");
     992}
     993.ui-state-active .ui-icon {
     994    background-image: url("images/ui-icons_d7d7d7_256x240.png");
     995}
     996.ui-state-highlight .ui-icon {
     997    background-image: url("images/ui-icons_4b954f_256x240.png");
     998}
     999.ui-state-error .ui-icon,
     1000.ui-state-error-text .ui-icon {
     1001    background-image: url("images/ui-icons_9b081d_256x240.png");
     1002}
    971003
    981004/* positioning */
     1005.ui-icon-blank { background-position: 16px 16px; }
    991006.ui-icon-carat-1-n { background-position: 0 0; }
    1001007.ui-icon-carat-1-ne { background-position: -16px 0; }
     
    2231130.ui-icon-check { background-position: -64px -144px; }
    2241131.ui-icon-bullet { background-position: -80px -144px; }
    225 .ui-icon-radio-off { background-position: -96px -144px; }
    226 .ui-icon-radio-on { background-position: -112px -144px; }
     1132.ui-icon-radio-on { background-position: -96px -144px; }
     1133.ui-icon-radio-off { background-position: -112px -144px; }
    2271134.ui-icon-pin-w { background-position: -128px -144px; }
    2281135.ui-icon-pin-s { background-position: -144px -144px; }
     
    2781185
    2791186/* Corner radius */
    280 .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: .3em; -webkit-border-top-left-radius: .3em; -khtml-border-top-left-radius: .3em; border-top-left-radius: .3em; }
    281 .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: .3em; -webkit-border-top-right-radius: .3em; -khtml-border-top-right-radius: .3em; border-top-right-radius: .3em; }
    282 .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: .3em; -webkit-border-bottom-left-radius: .3em; -khtml-border-bottom-left-radius: .3em; border-bottom-left-radius: .3em; }
    283 .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: .3em; -webkit-border-bottom-right-radius: .3em; -khtml-border-bottom-right-radius: .3em; border-bottom-right-radius: .3em; }
     1187.ui-corner-all,
     1188.ui-corner-top,
     1189.ui-corner-left,
     1190.ui-corner-tl {
     1191    border-top-left-radius: .3em;
     1192}
     1193.ui-corner-all,
     1194.ui-corner-top,
     1195.ui-corner-right,
     1196.ui-corner-tr {
     1197    border-top-right-radius: .3em;
     1198}
     1199.ui-corner-all,
     1200.ui-corner-bottom,
     1201.ui-corner-left,
     1202.ui-corner-bl {
     1203    border-bottom-left-radius: .3em;
     1204}
     1205.ui-corner-all,
     1206.ui-corner-bottom,
     1207.ui-corner-right,
     1208.ui-corner-br {
     1209    border-bottom-right-radius: .3em;
     1210}
    2841211
    2851212/* Overlays */
    286 .ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
    287 .ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*!
    288  * jQuery UI Resizable 1.8.21
    289  *
    290  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    291  * Dual licensed under the MIT or GPL Version 2 licenses.
    292  * http://jquery.org/license
    293  *
    294  * http://docs.jquery.com/UI/Resizable#theming
    295  */
    296 .ui-resizable { position: relative;}
    297 .ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
    298 .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
    299 .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
    300 .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
    301 .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
    302 .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
    303 .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
    304 .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
    305 .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
    306 .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
    307  * jQuery UI Selectable 1.8.21
    308  *
    309  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    310  * Dual licensed under the MIT or GPL Version 2 licenses.
    311  * http://jquery.org/license
    312  *
    313  * http://docs.jquery.com/UI/Selectable#theming
    314  */
    315 .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
    316 /*!
    317  * jQuery UI Accordion 1.8.21
    318  *
    319  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    320  * Dual licensed under the MIT or GPL Version 2 licenses.
    321  * http://jquery.org/license
    322  *
    323  * http://docs.jquery.com/UI/Accordion#theming
    324  */
    325 /* IE/Win - Fix animation bug - #4615 */
    326 .ui-accordion { width: 100%; }
    327 .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
    328 .ui-accordion .ui-accordion-li-fix { display: inline; }
    329 .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
    330 .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
    331 .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
    332 .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
    333 .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
    334 .ui-accordion .ui-accordion-content-active { display: block; }
    335 /*!
    336  * jQuery UI Autocomplete 1.8.21
    337  *
    338  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    339  * Dual licensed under the MIT or GPL Version 2 licenses.
    340  * http://jquery.org/license
    341  *
    342  * http://docs.jquery.com/UI/Autocomplete#theming
    343  */
    344 .ui-autocomplete { position: absolute; cursor: default; }   
    345 
    346 /* workarounds */
    347 * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
    348 
    349 /*
    350  * jQuery UI Menu 1.8.21
    351  *
    352  * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
    353  * Dual licensed under the MIT or GPL Version 2 licenses.
    354  * http://jquery.org/license
    355  *
    356  * http://docs.jquery.com/UI/Menu#theming
    357  */
    358 .ui-menu {
    359     list-style:none;
    360     padding: 2px;
    361     margin: 0;
    362     display:block;
    363     float: left;
    364 }
    365 .ui-menu .ui-menu {
    366     margin-top: -3px;
    367 }
    368 .ui-menu .ui-menu-item {
    369     margin:0;
    370     padding: 0;
    371     zoom: 1;
    372     float: left;
    373     clear: left;
    374     width: 100%;
    375 }
    376 .ui-menu .ui-menu-item a {
    377     text-decoration:none;
    378     display:block;
    379     padding:.2em .4em;
    380     line-height:1.5;
    381     zoom:1;
    382 }
    383 .ui-menu .ui-menu-item a.ui-state-hover,
    384 .ui-menu .ui-menu-item a.ui-state-active {
    385     font-weight: normal;
    386     margin: -1px;
    387 }
    388 /*!
    389  * jQuery UI Button 1.8.21
    390  *
    391  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    392  * Dual licensed under the MIT or GPL Version 2 licenses.
    393  * http://jquery.org/license
    394  *
    395  * http://docs.jquery.com/UI/Button#theming
    396  */
    397 .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
    398 .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
    399 button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
    400 .ui-button-icons-only { width: 3.4em; }
    401 button.ui-button-icons-only { width: 3.7em; }
    402 
    403 /*button text element */
    404 .ui-button .ui-button-text { display: block; line-height: 1.4;  }
    405 .ui-button-text-only .ui-button-text { padding: .4em 1em; }
    406 .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
    407 .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
    408 .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
    409 .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
    410 /* no icon support for input elements, provide padding by default */
    411 input.ui-button { padding: .4em 1em; }
    412 
    413 /*button icon element(s) */
    414 .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
    415 .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
    416 .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
    417 .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
    418 .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
    419 
    420 /*button sets*/
    421 .ui-buttonset { margin-right: 7px; }
    422 .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
    423 
    424 /* workarounds */
    425 button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
    426 /*!
    427  * jQuery UI Dialog 1.8.21
    428  *
    429  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    430  * Dual licensed under the MIT or GPL Version 2 licenses.
    431  * http://jquery.org/license
    432  *
    433  * http://docs.jquery.com/UI/Dialog#theming
    434  */
    435 .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
    436 .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
    437 .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
    438 .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
    439 .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
    440 .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
    441 .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
    442 .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
    443 .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
    444 .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
    445 .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
    446 .ui-draggable .ui-dialog-titlebar { cursor: move; }
    447 /*!
    448  * jQuery UI Slider 1.8.21
    449  *
    450  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    451  * Dual licensed under the MIT or GPL Version 2 licenses.
    452  * http://jquery.org/license
    453  *
    454  * http://docs.jquery.com/UI/Slider#theming
    455  */
    456 .ui-slider { position: relative; text-align: left; }
    457 .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
    458 .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
    459 
    460 .ui-slider-horizontal { height: .8em; }
    461 .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
    462 .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
    463 .ui-slider-horizontal .ui-slider-range-min { left: 0; }
    464 .ui-slider-horizontal .ui-slider-range-max { right: 0; }
    465 
    466 .ui-slider-vertical { width: .8em; height: 100px; }
    467 .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
    468 .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
    469 .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
    470 .ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
    471  * jQuery UI Tabs 1.8.21
    472  *
    473  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    474  * Dual licensed under the MIT or GPL Version 2 licenses.
    475  * http://jquery.org/license
    476  *
    477  * http://docs.jquery.com/UI/Tabs#theming
    478  */
    479 .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
    480 .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
    481 .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
    482 .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
    483 .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
    484 .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
    485 .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
    486 .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
    487 .ui-tabs .ui-tabs-hide { display: none !important; }
    488 /*!
    489  * jQuery UI Datepicker 1.8.21
    490  *
    491  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    492  * Dual licensed under the MIT or GPL Version 2 licenses.
    493  * http://jquery.org/license
    494  *
    495  * http://docs.jquery.com/UI/Datepicker#theming
    496  */
    497 .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
    498 .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
    499 .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
    500 .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
    501 .ui-datepicker .ui-datepicker-prev { left:2px; }
    502 .ui-datepicker .ui-datepicker-next { right:2px; }
    503 .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
    504 .ui-datepicker .ui-datepicker-next-hover { right:1px; }
    505 .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
    506 .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
    507 .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
    508 .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
    509 .ui-datepicker select.ui-datepicker-month,
    510 .ui-datepicker select.ui-datepicker-year { width: 49%;}
    511 .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
    512 .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
    513 .ui-datepicker td { border: 0; padding: 1px; }
    514 .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
    515 .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
    516 .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
    517 .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
    518 
    519 /* with multiple calendars */
    520 .ui-datepicker.ui-datepicker-multi { width:auto; }
    521 .ui-datepicker-multi .ui-datepicker-group { float:left; }
    522 .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
    523 .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
    524 .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
    525 .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
    526 .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
    527 .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
    528 .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
    529 .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
    530 
    531 /* RTL support */
    532 .ui-datepicker-rtl { direction: rtl; }
    533 .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
    534 .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
    535 .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
    536 .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
    537 .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
    538 .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
    539 .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
    540 .ui-datepicker-rtl .ui-datepicker-group { float:right; }
    541 .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
    542 .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
    543 
    544 /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
    545 .ui-datepicker-cover {
    546     display: none; /*sorry for IE5*/
    547     display/**/: block; /*sorry for IE5*/
    548     position: absolute; /*must have*/
    549     z-index: -1; /*must have*/
    550     filter: mask(); /*must have*/
    551     top: -4px; /*must have*/
    552     left: -4px; /*must have*/
    553     width: 200px; /*must have*/
    554     height: 200px; /*must have*/
    555 }/*!
    556  * jQuery UI Progressbar 1.8.21
    557  *
    558  * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
    559  * Dual licensed under the MIT or GPL Version 2 licenses.
    560  * http://jquery.org/license
    561  *
    562  * http://docs.jquery.com/UI/Progressbar#theming
    563  */
    564 .ui-progressbar { height:2em; text-align: left; overflow: hidden; }
    565 .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
     1213.ui-widget-overlay {
     1214    background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;
     1215    opacity: .5;
     1216    filter: Alpha(Opacity=50); /* support: IE8 */
     1217}
     1218.ui-widget-shadow {
     1219    margin: -5px 0 0 -5px;
     1220    padding: 5px;
     1221    background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;
     1222    opacity: .2;
     1223    filter: Alpha(Opacity=20); /* support: IE8 */
     1224    border-radius: 5px;
     1225}
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/prefs.css

    r730 r7088  
    44 padding: 1px;
    55}
    6 #content.prefs #tabs li { 
     6#content.prefs #tabs li {
    77 background: #e6e6e6;
    88 border: 1px solid;
     
    1010 border-top-left-radius: .5em;
    1111 border-top-right-radius: .5em;
    12  color: #666; 
     12 color: #666;
    1313 position: relative;
    1414 bottom: -1px;
     
    2323}
    2424#content.prefs #tabs :link:hover, #content.prefs #tabs :visited:hover {
    25  background: transparent; 
     25 background: transparent;
    2626 color: #333;
    2727}
     
    4545 white-space: nowrap;
    4646}
     47#content.prefs tr.field { height: 30px; }
     48
     49#content.prefs div.prefs_child {
     50 margin-bottom: 4em;
     51 margin-top: 4em;
     52}
     53#content.prefs div.prefs_child  h2 {
     54 border-bottom: 1px solid #ddd;
     55 box-shadow: .1em .4em .7em 0 #f2f2f2;
     56 padding: 0.2em .3em .1em;
     57}
     58
     59table.subscription-rules { border-collapse: collapse }
     60table.subscription-rules .ui-sortable .rule-label { cursor: move }
     61table.subscription-rules .ui-sortable-helper { opacity: 0.2; alpha(opacity=20) }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/report.css

    r730 r7088  
    22
    33/* Report listing */
    4 .report #trac-sort-order { 
     4.report #trac-sort-order {
    55 float: right;
    66 font-size: 11px;
     
    88}
    99
    10 .report #trac-sort-order a { 
     10.report #trac-sort-order a {
    1111 background-position: 100% 50%;
    1212 background-repeat: no-repeat;
    1313 margin-left: 4px;
    1414}
    15 .report #trac-sort-order a.asc { 
     15.report #trac-sort-order a.asc {
    1616 font-weight: bold;
    1717 padding-right: 12px;
     
    2525
    2626.report div.reports { clear: both }
    27 
    2827
    2928.report div.reports h2 {
     
    5251.report div.description {
    5352 font-size: 90%;
    54  margin: 1em .5em .5em; 
     53 margin: 1em .5em .5em;
    5554}
    5655
    5756/* Report results */
    5857#prefs .buttons { margin-top: 0 }
    59 #prefs fieldset { 
     58#prefs fieldset {
    6059 margin-left: 1em;
    6160 border: 1px dotted #dfdfdf;
     
    6867h1 .numrows, h2 .numrows {
    6968 margin-left: 1em;
    70  color: #999; 
    71  font-size: 65%; 
    72  font-weight: normal; 
     69 color: #999;
     70 font-size: 65%;
     71 font-weight: normal;
    7372}
    7473h2.report-result {
     
    8281#report-descr { margin: 0 2em; font-size: 90% }
    8382#report-notfound { margin: 2em; font-size: 110% }
     83
     84/* Report edit form */
     85#content.report.edit form {
     86 max-width: 54em;
     87}
    8488#content.report .field { margin: 1em 0; }
    85 #content.report .field label { padding-bottom: .3em; }
     89#content.report .field label { display: block; padding-bottom: .3em; }
    8690
    8791#query { clear: right }
     
    9094}
    9195#query fieldset { margin-top: 1em }
    92 #query fieldset.collapsed { 
     96#query fieldset.collapsed {
    9397 border-width: 0;
    9498 margin-bottom: 0pt;
     
    104108#filters table { width: 100% }
    105109#filters td.trac-clause { padding: 0 }
    106 #filters td .trac-clause-lsep { 
     110#filters td .trac-clause-lsep {
    107111 float: left;
    108112 width: 47%;
     
    114118 width: 5%;
    115119}
    116 #filters td .trac-clause-rsep { 
     120#filters td .trac-clause-rsep {
    117121 float: right;
    118  width: 47%; 
     122 width: 47%;
    119123 line-height: 50%;
    120124}
     
    135139#filters div.inlinebuttons { display: inline }
    136140
    137 #columns div label { 
     141#columns div label {
    138142 display: block;
    139143 float: left;
     
    180184.tickets tr.color3-odd  { background: #fbfbfb; border-color: #ddd; color: #444 }
    181185.tickets tr.color3-even { background: #f6f6f6; border-color: #ccc; color: #333 }
    182 .tickets tr.color4-odd { background: #e7ffff; border-color: #cee; color: #099 }
     186.tickets tr.color4-odd  { background: #e7ffff; border-color: #cee; color: #099 }
    183187.tickets tr.color4-even { background: #dff; border-color: #bee; color: #099 }
    184 .tickets tr.color5-odd { background: #e7eeff; border-color: #cde; color: #469 }
     188.tickets tr.color5-odd  { background: #e7eeff; border-color: #cde; color: #469 }
    185189.tickets tr.color5-even { background: #dde7ff; border-color: #cde; color: #469 }
    186190.tickets tr.color6-odd  { background: #f0f0f0; border-color: #ddd; color: #888 }
     
    208212table.tickets tbody tr.prio2 { background: #ffb; border-color: #eea }
    209213table.tickets tbody tr.even.prio2 { background: #ffd; border-color: #dd8 }
    210 table.tickets tbody tr.prio3  { background: #fbfbfb; border-color: #ddd }
     214table.tickets tbody tr.prio3 { background: #fbfbfb; border-color: #ddd }
    211215table.tickets tbody tr.even.prio3 { background: #f6f6f6; border-color: #ccc }
    212216table.tickets tbody tr.prio4 { background: #e7ffff; border-color: #cee }
     
    216220table.tickets tbody tr.prio6 { background: #f0f0f0; border-color: #ddd }
    217221table.tickets tbody tr.even.prio6 { background: #f7f7f7 }
    218 table.tickets tbody tr.fullrow th {
    219   border: none;
    220   vertical-align: middle;
    221   text-align: center;
    222   font-size: 85%;
    223 }
     222table.tickets tbody tr.fullrow th {
     223 border: none;
     224 vertical-align: middle;
     225 text-align: center;
     226 font-size: 85%;
     227}
     228table.tickets tbody tr p:first-child { margin-top: 0 }
     229table.tickets tbody tr p:last-child { margin-bottom: 0 }
    224230
    225231/* Batchmod Form */
    226232
    227 #batchmod_form fieldset input#batchmod_submit { font-size: 14px; }
     233#batchmod_form { display: none; }
     234#batchmod_form fieldset input#batchmod_submit { font-size: 100% }
    228235#batchmod_form fieldset input[type="button"]{ padding: 0.1em 0.5em; }
    229236#batchmod_form > fieldset { margin-top: 1.5em }
    230 #batchmod_form fieldset.collapsed { 
     237#batchmod_form fieldset.collapsed {
    231238 border-width: 0;
    232239 margin-bottom: 0pt;
     
    236243.batchmod_required:before { content: " * "; }
    237244#batchmod_form fieldset input,
    238 #batchmod_form fieldset select,
    239 .batchmod_property,
    240 .batchmod_label {
    241     font-size: 11px;
    242 }
    243 #batchmod_action { margin-top: 0; line-height: 2em; }
     245#batchmod_form fieldset select, .batchmod_property, .batchmod_label {
     246 font-size: 11px;
     247}
     248#action { margin-top: 0; line-height: 2em; }
    244249#batchmod_form th {
    245250 text-align: right;
     
    262267
    263268@media print {
    264  .batchmod_selector { display: none }
    265 }
     269 .sel { display: none }
     270}
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/roadmap.css

    r730 r7088  
    2424table.progress td.closed { background: #bae0ba }
    2525table.progress td :hover { background: none }
    26 p.percent { 
     26p.percent {
    2727 line-height: 1.2em;
    2828 margin: 0;
     
    5656 margin: 0 0 1em 0;
    5757}
    58 .milestone .description { margin-left: 1em }
     58.milestone .description { margin: 1em 0 2em }
    5959
    60 /* Styles for the milestone view */
    61 .milestone .date { color: #888; font-style: italic; margin: 0 }
    62 .milestone .description { margin: 1em 0 2em }
    6360#stats {
    6461 float: right;
     
    9188.trac-groupprogress table.progress td  { padding: 0 }
    9289.trac-groupprogress p.percent { margin-top: 3px; white-space: nowrap }
    93 
    94 /* Styles for the milestone edit form */
    95 #edit fieldset { margin: 1em 0 }
    96 #edit em { color: #888; font-size: smaller }
    97 #edit .disabled em { color: #d7d7d7 }
    98 #edit .field { margin: 0.5em 0 }
    99 #edit label { padding-left: .2em }
    100 #edit fieldset { margin-left: 1px; margin-right: 1px }
    101 #edit textarea#description { margin-left: -1px; margin-right: -1px; padding: 0; width: 100% }
    102 #edit .wikitoolbar { margin-left: -1px }
    103 #edit div.trac-resizable { width: 100% }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/search.css

    r730 r7088  
    1010#content.search #results dt a { color: #33c }
    1111#content.search #results dd { font-size: 80%; margin: 0; padding: 0 }
    12 #content.search #results .author, #results .date { color: #090; }
     12#content.search #results .trac-author, #results .date { color: #090; }
    1313
    1414#content.search #quickjump { font-style: italic; font-weight: bold; }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/ticket.css

    r730 r7088  
    11@import url(code.css);
    22
    3 #content.ticket { 
    4  width: 58em; 
     3#content.ticket {
     4 width: 58em;
    55 max-width: 100%;
    66 margin-left: auto;
     
    99
    1010#field-description-help { float: right }
    11 #properties div.trac-resizable, #field-description { width: 100% }
     11
     12#content.ticket .trac-topnav {
     13 float: none;
     14 text-align: right;
     15 margin-top: 0;
     16}
    1217
    1318/* "Yellow Ticket Box" */
     
    1621 border: 1px solid #dd9;
    1722 border-radius: .4em;
    18  margin-top: 1em;
     23 margin-top: .2em;
    1924 padding: .5em 1em;
    2025 position: relative;
     
    2631}
    2732#ticketchange.ticketdraft {
     33 overflow: auto;
    2834 padding: 0 1em;
    2935 margin: 1em 0;
     
    8389 width: 100%;
    8490}
    85 #ticket table.properties tr { border-bottom: 1px dotted #eed }
    86 #ticket table.properties td, #ticket table.properties th {
     91#ticket table.properties > tbody > tr { border-bottom: 1px dotted #eed }
     92#ticket table.properties > tbody > tr > td,
     93#ticket table.properties > tbody > tr > th {
    8794 font-size: 80%;
    8895 padding: .5em 1em;
    8996 vertical-align: top;
    9097}
    91 #ticket table.properties th {
     98#ticket table.properties > tbody > tr > th {
    9299 color: #663;
    93100 font-weight: normal;
     
    95102 width: 20%;
    96103}
    97 #ticket table.properties th.missing { color: #d3d398; }
    98 #ticket table.properties td { width: 30% }
    99 #ticket table.properties td p:first-child { margin-top: 0 }
    100 #ticket table.properties td p:last-child { margin-bottom: 0 }
    101 #ticket table.properties .description { border-top: 1px solid #dd9 }
    102 
    103 #ticket .description h3 {
     104#ticket table.properties > tbody > tr > th.missing { color: #d3d398; }
     105#ticket table.properties > tbody > tr > td { width: 30% }
     106#ticket table.properties > tbody > tr > td p:first-child { margin-top: 0 }
     107#ticket table.properties > tbody > tr > td p:last-child { margin-bottom: 0 }
     108#ticket div.description h3 {
    104109 border-bottom: 1px solid #dd9;
    105110 color: #663;
     
    107112 font-weight: normal;
    108113}
    109 #ticket .description h3 .lastmod {
     114#ticket div.description h3 .lastmod {
    110115 font-size: 90%;
    111116}
     
    118123/* Change History */
    119124#changelog {
    120  padding: 1em;
     125 padding: 1.5em 0;
    121126}
    122127.trac-shade { background-color: #eee }
     
    127132 margin-top: 1.5em;
    128133 padding-left: 2em;
    129  list-style-image: url(../inreply.png);
    130 }
     134}
     135ul.children, ul.children ul.children { list-style-image: url(../inreply.png) }
     136ul.children ul, ul.children ol { list-style-image: none }
    131137ul.children > li.child {
    132  padding-left: .5em;
     138 padding: .1em 0 0 .5em;
    133139 margin-bottom: 1.5em;
    134  border-left: 1px solid #bbb;
    135  border-radius: 1em;
    136 }
     140 border: 1px solid;
     141 border-color: #f8f8f8 #eee #e4e4e4 #ddd;
     142 border-top: 0;
     143 border-right: 0;
     144 border-radius: .8em;
     145}
     146#changelog ul.children h3 { margin-right: .4em }
     147#changelog pre.wiki, #changelog div.code { clear: right }
     148#ticketchange pre.wiki, #ticketchange div.code { clear: right }
     149
     150.in-reply-to:before { content: "↑" }
     151.follow-up:before { content: "↓" }
     152.trac-most-recent-first .in-reply-to:before { content: "↓" }
     153.trac-most-recent-first .follow-up:before { content: "↑" }
     154
    137155
    138156/* Comment contents */
    139157#changelog h3, #ticketchange h3 {
    140158 border-bottom: 1px solid #d7d7d7;
    141  box-shadow: .1em .4em .7em 0 #f2f2f2;
     159 box-shadow: .1em .2em .4em 0 #f2f2f2;
    142160 padding: 0 .2em;
    143  margin-bottom: .5em;
     161 margin-bottom: .2em;
    144162 color: #999;
    145163 font-size: 100%;
     
    150168}
    151169
    152 div.comment ul { list-style: disc }
    153 div.comment ul ul, div.comment ol ul { list-style: circle }
    154 div.comment ul ul ul, div.comment ol ul ul { list-style: square }
    155 div.comment ul ol ul, div.comment ol ol ul { list-style: square }
    156 div.comment ol { list-style: decimal }
    157 
    158170/* Comment editor */
    159 #trac-comment-editor { margin-left: 2em; margin-bottom: 1em }
    160 #trac-comment-editor div.trac-resizable { width: 100% }
    161 #trac-comment-editor textarea {
    162  background: #ffffe0;
    163  margin-left: -1px;
    164  margin-right: -1px;
    165  width: 100%;
    166 }
    167 #trac-comment-editor .wikitoolbar { margin-left: -1px }
     171#trac-comment-editor { margin-left: .5em; margin-bottom: 1em }
     172#trac-comment-editor textarea { background: #ffffe0; }
     173#trac-comment-editor .wikitoolbar { clear: right }
    168174.trac-new { border-left: 0.31em solid #c0f0c0; padding-left: 0.31em; }
    169175
     
    177183 float: right;
    178184}
     185
    179186.threading { font-size: 85%; }
    180187.threading :link, .threading :visited { border-bottom: 0 }
     
    187194#changelog .trac-lastedit :link, #changelog .trac-lastedit :visited { color: inherit }
    188195
    189 #changelog .changes, #ticketchange .changes { list-style: square; margin-left: 2em; padding: 0 }
    190 .trac-conflict { border-left: .3em solid #e44; padding-left: .3em; }
    191 #changelog .comment, #ticketchange .comment { margin-left: 2em }
     196/*  - Change controls */
     197.trac-ticket-buttons {
     198 clear: right;
     199 visibility: hidden;
     200 float: right;
     201}
     202.trac-ticket-buttons form {
     203 display: inline-block;
     204}
     205
     206/* - Property changes */
     207#changelog .changes { background: #ffd }
     208#ticketchange .changes { background: #f8f8f8 url(../draft.png) }
     209#changelog .changes, #ticketchange .changes {
     210 clear: right;
     211 width: auto;
     212 margin: 0 0 1.5em 2em;
     213 padding: 0 .8em .2em;
     214 color: #663;
     215 border: 1px solid;
     216 border-color: #eea #dd9 #dd9 #eea;
     217 border-radius: .4em;
     218 float: right;
     219 box-shadow: .1em .2em 1em #eee;
     220}
     221div.change, ul.children { clear: both; }
     222div.change:after {
     223 content: "";
     224 display: block;
     225 clear: both;
     226 height: 0;
     227}
     228
     229.changes th {
     230 text-align: right;
     231 vertical-align: baseline;
     232 padding: .4em .7em .4em 0;
     233 font-size: 85%;
     234 border-top: 1px dotted #eed;
     235}
     236.changes td {
     237 font-size: 85%;
     238 padding: .4em 0 .4em 0;
     239 border-top: 1px dotted #eed;
     240}
     241.changes tr:first-child th, .changes tr:first-child td { border-top: none }
     242.changes .trac-field-new { font-weight: bold }
     243.changes .trac-field-deleted { text-decoration: line-through }
     244
     245.trac-conflict, .trac-conflict th {
     246 border-left: .3em solid #e44;
     247 padding-left: .3em;
     248}
     249#changelog .comment, #ticketchange .comment { margin-left: .5em }
    192250button.trac-revert, button.trac-revert:hover {
    193251 margin: 0;
     
    207265form .field { margin-top: .75em; width: 100% }
    208266form .field fieldset { margin-left: 1px; margin-right: 1px }
     267#trac-add-comment .author { margin-bottom: 1em; }
     268#trac-add-comment table th { text-align: left; width: 22%; }
     269#trac-add-comment table td { width: 78%; }
    209270label[for=comment] { float: right }
    210 #comment { margin-left: -1px; margin-right: -1px; padding: 0; width: 100% }
    211 form .field .wikitoolbar { margin-left: -1px }
    212 form .field div.trac-resizable { width: 100% }
    213 
    214 #propertyform { margin-bottom: 2em; }
    215 #properties { white-space: nowrap; line-height: 160%; padding: .5em }
    216 #properties table { border-spacing: 0; width: 100%; padding: 0 .5em }
    217 #properties table th {
     271
     272#propertyform {
     273 clear: both;
     274 margin-bottom: 2em;
     275}
     276#propertyform table.trac-properties {
     277 border-spacing: 0;
     278 table-layout: fixed;
     279 width: 100%;
     280}
     281#propertyform table.trac-properties td input[type="text"],
     282#propertyform table.trac-properties td textarea {
     283 -moz-box-sizing: border-box;
     284 box-sizing: border-box;
     285 width: 100%;
     286}
     287#properties { white-space: nowrap; line-height: 160%; padding: 1em }
     288#properties table.trac-properties > tbody > tr > th,
     289#properties table.trac-properties > colgroup > col.th {
    218290 padding: .4em;
    219291 text-align: right;
    220  width: 20%;
    221  vertical-align: top;
    222 }
    223 #properties table th.col2 { border-left: 1px dotted #d7d7d7 }
    224 #properties table td { vertical-align: middle; width: 30% }
    225 #properties table td.fullrow { vertical-align: middle; width: 80% }
     292 vertical-align: middle;
     293 white-space: normal;
     294 width: 17%;
     295}
     296#properties table.trac-properties > tbody > tr > th.col2 { border-left: 1px dotted #d7d7d7 }
     297#properties table.trac-properties > tbody > tr > td,
     298#properties table.trac-properties > colgroup > col.td {
     299 padding-right: 0.6em;
     300 vertical-align: middle;
     301 width: 33%
     302}
     303#properties table.trac-properties > tbody > tr > th.trac-textarea { vertical-align: top }
     304#properties table.trac-properties > tbody > tr > td.fullrow { width: 83% }
     305#properties table.trac-properties > tbody > tr > td.col1 > label,
     306#properties table.trac-properties > tbody > tr > td.col2 > label { float: left; margin-right: 0.5em; }
     307#properties table.trac-properties > tbody > tr > td > select { max-width: 100% }
     308#properties table.trac-properties > tbody > tr > td > span.hint { padding-left: 0 }
    226309
    227310#action { line-height: 2em }
     
    236319}
    237320fieldset.radio label { padding-right: 1em }
     321
     322#content.ticket .trac-nav a { margin-left: 1em; }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/timeline.css

    r730 r7088  
    11/* Timeline */
    22
    3 * html #prefs { width: 34em } /* Set width only for IE */
    4 #prefs fieldset label { display: block }
    5 #prefs .buttons { margin-top: -1.6em }
     3.timeline #prefs fieldset label { display: block }
     4.timeline #prefs .buttons { margin-top: -1.6em }
    65
    7 h2 {
     6.timeline h2 {
    87 background: #f7f7f7;
    98 border-bottom: 1px solid #d7d7d7;
     
    1413 border-radius: .1em;
    1514}
    16 dl {
     15.timeline dl {
    1716 line-height: 1.3em;
    1817 margin-left: 1em;
    1918}
    20 dl.unread {
     19.timeline dl.unread {
    2120 margin-left: 0.38em;
    2221 border-left: 0.31em solid #c0f0c0;
     
    2423}
    2524
    26 dt { background: 3px 4px no-repeat; padding: 0 }
    27 dt :link, dt :visited {
     25.timeline dt { background: 3px 4px no-repeat; padding: 0 }
     26.timeline dt :link, .timeline dt :visited {
    2827 background: 3px 3px no-repeat;
    2928 border: none;
     
    3130 padding: 0 4px 2px 22px;
    3231}
    33 dt>:link, dt>:visited {
    34  /* Hide from IE/Win */
    35  background-position: 3px 4px;
     32.timeline dt>:link, .timeline dt>:visited {
     33 background-position: 3px 4px;  /* Hide from IE/Win */
    3634}
    37 dt :link:hover, dt :visited:hover { background-color: #eed; color: #000 }
    38 dt em {
     35.timeline dt :link:hover, .timeline dt :visited:hover {
     36 background-color: #eed;
     37 color: #000;
     38}
     39.timeline dt em {
    3940 border-bottom: 1px dotted #bbb;
    4041 color: #b00;
     
    4243 text-decoration: none;
    4344}
    44 dt .time { color: #999; font-size: 80%; }
    45 dt .author { color: #666; }
    46 dt.highlight { background-color: #ffa; }
    47 dd {
     45.timeline dt .time { color: #999; font-size: 80%; }
     46.timeline dt .trac-author { color: #666; }
     47.timeline dt.highlight { background-color: #ffa; }
     48.timeline dd {
    4849 font-size: 80%;
    4950 margin: 0 0 .75em 5.8em;
     
    5354
    5455/* Apply icon background-image twice to avoid hover-flicker in IE/Win */
    55 dt.changeset, dt.changeset a { background-image: url(../changeset.png) !important }
    56 dt.newticket, dt.newticket a { background-image: url(../newticket.png) !important }
    57 dt.reopenedticket, dt.reopenedticket a { background-image: url(../newticket.png) !important }
    58 dt.editedticket, dt.editedticket a { background-image: url(../editedticket.png) !important }
    59 dt.closedticket, dt.closedticket a { background-image: url(../closedticket.png) !important }
    60 dt.batchmodify, dt.batchmodify a { background-image: url(../batchmodify.png) !important }
    61 dt.wiki, dt.wiki a { background-image: url(../wiki.png) !important }
    62 dt.milestone, dt.milestone a { background-image: url(../milestone.png) !important }
    63 dt.attachment, dt.attachment a { background-image: url(../attachment.png) !important }
     56.timeline dt.changeset, .timeline dt.changeset a {
     57 background-image: url(../changeset.png) !important
     58}
     59.timeline dt.newticket, .timeline dt.newticket a {
     60 background-image: url(../newticket.png) !important
     61}
     62.timeline dt.reopenedticket, .timeline dt.reopenedticket a {
     63 background-image: url(../newticket.png) !important
     64}
     65.timeline dt.editedticket, .timeline dt.editedticket a {
     66 background-image: url(../editedticket.png) !important
     67}
     68.timeline dt.closedticket, .timeline dt.closedticket a {
     69 background-image: url(../closedticket.png) !important
     70}
     71.timeline dt.batchmodify, .timeline dt.batchmodify a {
     72 background-image: url(../batchmodify.png) !important
     73}
     74.timeline dt.wiki, .timeline dt.wiki a {
     75 background-image: url(../wiki.png) !important
     76}
     77.timeline dt.milestone, .timeline dt.milestone a {
     78 background-image: url(../milestone.png) !important
     79}
     80.timeline dt.attachment, .timeline dt.attachment a {
     81 background-image: url(../attachment.png) !important
     82}
    6483
    6584/* styles for the 'changeset_long_messages' option */
    66 dd.changeset p { margin: 0; padding: 0 }
    67 dd.changeset ul { padding-left: 15px; }
     85.timeline dd.changeset p { margin: 0; padding: 0 }
     86.timeline dd.changeset ul { padding-left: 15px; }
    6887
    6988/* Styles for the 'changeset_show_files' option */
    70 dd.changeset .changes { color: #aaa; font-size: 90%; }
    71 dd.changeset ul.changes {
     89.timeline dd.changeset .changes {
     90 color: #aaa;
     91 font-size: 90%;
    7292 margin-left: 0;
    7393 padding-left: 0;
    7494 list-style-type: none;
    7595}
    76 dd.changeset .changes li div {
     96.timeline dd.changeset .changes li div {
    7797 border: 1px solid #999;
    7898 display: inline-block;
    79  *display: inline;
    80  *zoom: 1;
    8199 margin: 0 .5em 0 0;
    82100 width: .8em;
     
    84102 vertical-align: middle;
    85103}
    86 dd.changeset .changes li span {
     104.timeline dd.changeset .changes li span {
    87105 margin-right: .8em;
    88106}
    89 dd.changeset .changes .add     { background: #bfb }
    90 dd.changeset .changes .delete  { background: #f88 }
    91 dd.changeset .changes .edit    { background: #fd8 }
    92 dd.changeset .changes .copy    { background: #88f }
    93 dd.changeset .changes .move    { background: #ccc }
    94 dt.changeset .branch, dt.changeset .tag {
     107.timeline dd.changeset .changes .add    { background: #bfb }
     108.timeline dd.changeset .changes .delete { background: #f88 }
     109.timeline dd.changeset .changes .edit   { background: #fd8 }
     110.timeline dd.changeset .changes .copy   { background: #88f }
     111.timeline dd.changeset .changes .move   { background: #ccc }
     112.timeline dt.changeset .branch,
     113.timeline dt.changeset .tag,
     114.timeline dt.changeset .trac-bookmark {
    95115 color: #777;
    96116 font-size: 80%;
     
    100120 padding: 0 .2em;
    101121}
    102 dt.changeset .head {
     122.timeline dt.changeset .head {
    103123 background: #d0ffd0;
    104124 border: 1px solid #9d9;
    105125}
    106 dt.changeset .tag {
     126.timeline dt.changeset .tag {
    107127 background: #ffa;
    108128 border: 1px solid #fe0;
    109129}
     130.timeline dt.changeset .trac-bookmark {
     131 background: #bdf;
     132 border: 1px solid #9ae;
     133}
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/trac.css

    r730 r7088  
    6363 box-shadow: .1em .1em .4em .1em #DDA;
    6464 border-radius: .2em;
     65}
     66
     67/* option anchors in TracIni macro */
     68.tracini table.wiki tbody tr:target { background: #ffb }
     69.tracini .tracini-option { border: none; position: relative }
     70.tracini .tracini-option:link:hover, .tracini .tracini-option:visited:hover {
     71 background-color: transparent;
     72}
     73.tracini tr[id]:hover .tracini-option:before {
     74 content: "\00b6";
     75 position: absolute;
     76 display: block;
     77 left: -1em;
     78 width: 1em;
     79 color: #d7d7d7;
     80 z-index: 1;
    6581}
    6682
     
    8298
    8399/* Forms */
    84 input, textarea, select { margin: 2px }
    85 input, select { vertical-align: middle }
    86 input[type=button], input[type=submit], input[type=reset], button {
    87  *overflow: visible; /* Workaround too much margin on button in IE7 */
    88 }
    89 input[type=button], input[type=submit], input[type=reset] {
     100input, textarea, select, .trac-button { margin: 2px }
     101/* Avoid respect to system font settings for controls on Firefox, #11607 */
     102input, select, button {
     103 font-family: Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif;
     104 font-size: 100%;
     105}
     106/* Avoid to inherit white-space of its parent element for IE 11, #11376 */
     107textarea { white-space: pre-wrap }
     108input, select, .trac-button { vertical-align: middle }
     109input[type=button], input[type=submit], input[type=reset], .trac-button {
    90110 background: #eee;
    91111 color: #222;
     
    94114 box-shadow: .1em .1em .4em 0 #888;
    95115 padding: .1em .5em .2em;
    96  text-shadow: .1em .1em #ddd;
     116 text-shadow: .04em .04em #ddd;
    97117 cursor: pointer;
    98118}
    99 input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
     119input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover,
     120.trac-button:hover {
    100121 background: #f6f6f6;
    101122 box-shadow: .1em .1em .6em 0 #999;
    102  text-shadow: .1em .1em #fcfcfc;
    103 }
    104 input[type=button]:active, input[type=submit]:active,
    105 input[type=reset]:active {
     123 text-shadow: .04em .04em #fcfcfc;
     124}
     125input[type=button]:active, input[type=submit]:active, input[type=reset]:active,
     126.trac-button:active, .inlinebuttons a:active {
    106127 position: relative;
    107128 top: .1em;
     
    109130}
    110131input[type=button][disabled], input[type=submit][disabled],
    111 input[type=reset][disabled] {
     132input[type=reset][disabled], .trac-button[disabled] {
    112133 background: #f6f6f6;
    113134 border-style: solid;
     
    131152 padding: 1em;
    132153}
    133 p.hint, span.hint { color: #666; font-size: 85%; font-style: italic; margin: .5em 0;
    134   padding-left: 1em;
    135 }
     154p.hint, span.hint, span.trac-datetimehint {
     155 color: #666;
     156 font-size: 85%;
     157 font-style: italic;
     158 margin: .5em 0;
     159 padding-left: 1em;
     160}
     161span.hint { vertical-align: middle; }
     162p.help { color: #666; font-size: 90%; margin: 1em .5em .5em; }
    136163legend {
    137164 color: #999;
     
    141168 font-weight: bold;
    142169}
    143 label.disabled { color: #d7d7d7 }
     170label.disabled, .disabled span.hint, .disabled p.help, .disabled legend,
     171.disabled input, .disabled select, .readonly span.hint, .readonly p.help {
     172 color: #d7d7d7
     173}
    144174.buttons { margin: .5em .5em .5em 0 }
    145175.buttons form, .buttons form div { display: inline }
    146176.buttons input { margin: 1em .5em .1em 0 }
    147177
    148 .inlinebuttons input {
     178.inlinebuttons input,
     179.inlinebuttons .trac-button,
     180.inlinebuttons a {
    149181 border: 1px solid #ddd;
    150182 border-radius: 1em;
     
    159191}
    160192.uisymbols .inlinebuttons input[type=button],
    161 .uisymbols .inlinebuttons input[type=submit] {
     193.uisymbols .inlinebuttons input[type=submit],
     194.uisymbols .inlinebuttons .trac-button,
     195.uisymbols .inlinebuttons a {
    162196 font-size: 100%;
    163197}
    164198.inlinebuttons input[type=button]:hover,
    165 .inlinebuttons input[type=submit]:hover {
     199.inlinebuttons input[type=submit]:hover,
     200.inlinebuttons .trac-button:hover,
     201.inlinebuttons a:hover {
    166202 background: #f6f6f6;
    167203 color: #333;
    168  text-shadow: .1em .1em #fcfcfc;
     204 text-shadow: .04em .04em #fcfcfc;
    169205 box-shadow: .1em .1em .6em 0 #999;
    170206}
    171207input[type=button].trac-delete,
    172 input[type=submit].trac-delete {
     208input[type=submit].trac-delete,
     209.trac-button.trac-delete {
    173210 color: #d31313;
    174211}
    175212input[type=button].trac-delete:hover,
    176 input[type=submit].trac-delete:hover {
     213input[type=submit].trac-delete:hover,
     214.trac-button.trac-delete:hover {
    177215 color: #e31313;
    178216}
     217textarea.trac-fullwidth, input.trac-fullwidth, button.trac-fullwidth {
     218 -moz-box-sizing: border-box;
     219 box-sizing: border-box;
     220 margin-left: 0;
     221 margin-right: 0;
     222 width: 100%;
     223}
     224textarea.trac-fullwidth { padding: 2px; }
     225/* Resource edit forms (detailed view) */
     226form.mod { margin: 1em 0 }
     227form.mod .field { margin: .5em 0; }
     228form.mod .field.description { margin-top: 1em; }
     229form.mod .field label { padding-left: .2em }
     230form.mod #changeinfo .field { margin: 0.25em 0 0.75em 0 }
     231form.mod #changeinfo .options { padding: 0 0 0.5em 1em }
    179232
    180233/* Header */
     
    182235#header h1 { margin: 1.5em 0 -1.5em; padding: 0 }
    183236#header img { border: none; margin: 0 0 -3em }
    184 #header a {
     237#header :link, #header :visited, #header :link:hover, #header :visited:hover {
    185238 background: transparent;
    186239 color: #555;
     
    189242 padding: 0;
    190243}
    191 #header h1 a:hover { color: #000 }
     244#header h1 :link:hover, #header h1 :visited:hover { color: #000 }
    192245
    193246/* Quick search */
     
    204257/* Navigation */
    205258.nav h2, .nav hr { display: none }
    206 .nav ul { 
     259.nav ul {
    207260 font-size: 10px;
    208261 list-style: none;
     
    216269 padding: 0 .75em;
    217270 white-space: nowrap;
    218  /* IE7 hack to make inline-block effective on block element */
    219  zoom: 1;
    220  *display: inline;
    221271}
    222272.nav li.last { border-right: none }
     
    226276 padding-top: .3em;
    227277}
     278#metanav form.trac-logout {
     279 display: inline;
     280 margin: 0;
     281 padding: 0;
     282}
     283#metanav form.trac-logout button {
     284 margin: 0;
     285 padding: 0;
     286 border: 0;
     287 outline: 0;
     288 background: transparent;
     289 font-family: inherit;
     290 font-size: 100%;
     291 color: #b00;
     292 border-bottom: 1px dotted #bbb;
     293 cursor: pointer;
     294}
     295#metanav form.trac-logout button::-moz-focus-inner { border: 0; padding: 0 }
     296#metanav form.trac-logout button:hover { background-color: #eee; color: #555 }
     297#metanav form.trac-logout button:active { position: static }
    228298
    229299/* Main navigation bar */
     
    278348
    279349/* Context-dependent navigation links */
    280 #ctxtnav { 
     350#ctxtnav {
    281351 min-height: 1em;
    282352 padding: .4em 0;
     
    306376
    307377/* Alternate links */
    308 #altlinks { 
     378#altlinks {
    309379 clear: both;
    310380 margin-top: .4em;
     
    312382}
    313383#altlinks h3 { font-size: 12px; letter-spacing: normal; margin: 0 }
    314 #altlinks ul { list-style: none; margin: 0; }
     384#altlinks ul { list-style: none; margin: 0; padding: 0 }
    315385#altlinks li {
    316386 border-right: 1px solid #d7d7d7;
     
    339409/* Footer */
    340410#footer {
    341   clear: both;
    342   color: #bbb;
    343   font-size: 10px;
    344   height: 31px;
    345   padding: .25em 0;
     411 clear: both;
     412 color: #bbb;
     413 font-size: 10px;
     414 height: 31px;
     415 padding: .25em 0;
    346416}
    347417#footer :link, #footer :visited { color: #bbb; }
     
    351421#footer p { margin: 0 }
    352422#footer p.left {
    353   float: left;
    354   margin-left: 1em;
    355   padding: 0 1em;
    356   border-left: 1px solid #d7d7d7;
    357   border-right: 1px solid #d7d7d7;
     423 float: left;
     424 margin-left: 1em;
     425 padding: 0 1em;
     426 border-left: 1px solid #d7d7d7;
     427 border-right: 1px solid #d7d7d7;
    358428}
    359429#footer p.right {
    360   float: right;
    361   text-align: right;
     430 float: right;
     431 text-align: right;
    362432}
    363433
     
    374444 border-radius: .5em;
    375445 box-shadow: .2em .3em 1.5em #eee;
     446}
     447
     448/* Author info */
     449.trac-author-anonymous, .trac-author-none {
     450 font-style: italic;
     451}
     452.trac-author-user {
     453 font-weight: bold;
     454 color: #666;
    376455}
    377456
     
    388467#help hr { display: none }
    389468
     469/* Datepicker hints */
     470.trac-nodatetimehint .trac-datetimehint { display: none }
     471
    390472/* Section folding */
    391473.foldable :link, .foldable :visited {
     
    395477 box-shadow: .1em .1em .3em 0 #bbb;
    396478 color: #222;
    397  text-shadow: .1em .1em #fcfcfc;
     479 text-shadow: .04em .04em #fcfcfc;
    398480 padding: .3em .5em .3em 20px;
    399481}
     
    406488 color: #666;
    407489 font-size: 110%;
    408  text-shadow: .1em .1em #ddd;
     490 text-shadow: .04em .04em #ddd;
    409491}
    410492.collapsed legend.foldable { background: white }
     493
     494.expander {
     495 background: url(../expander_normal.png) 0 50% no-repeat;
     496 cursor: pointer;
     497 padding-left: 8px;
     498 margin-left: 4px;
     499}
     500.expander:hover {
     501 background: url(../expander_normal_hover.png) 0 50% no-repeat;
     502}
     503.expander.expanded {
     504 background: url(../expander_open.png) 0 50% no-repeat;
     505 padding-left: 12px;
     506 margin-left: 0;
     507}
     508.expander.expanded:hover {
     509 background: url(../expander_open_hover.png) 0 50% no-repeat;
     510}
    411511
    412512/* Section with count */
     
    431531 margin: 0 1em 1em;
    432532}
    433 * html #prefs { width: 26em } /* Set width only for IE */
    434533#prefs input, #prefs select { font-size: 9px; vertical-align: middle }
    435534#prefs fieldset {
     
    474573div.compact > p:last-child { margin-bottom: 0 }
    475574
     575/* Delete */
     576#delete-confirm li { list-style-type: square; }
     577
     578/* Styles related to RTL support */
     579.rtl { direction: rtl; }
     580.rtl div.wiki-toc { float: left; }
     581.rtl .wiki-toc ul ul, .wiki-toc ol ol { padding-right: 1.2em }
     582
    476583a.missing:link, a.missing:visited, a.missing, span.missing,
    477584a.forbidden, span.forbidden { color: #998 }
     
    502609}
    503610
    504 tt {
     611div.wiki-code {
     612 margin: 1em 1.75em;
     613}
     614
     615code, tt {
    505616 color: #600;
    506617 border: 1px solid #edc;
     
    510621}
    511622
    512 blockquote.citation { 
    513  margin: -0.6em 0;
    514  border-style: solid; 
    515  border-width: 0 0 0 2px; 
     623blockquote.citation {
     624 margin: -0.6em 0 0 0;
     625 border-style: solid;
     626 border-width: 0 0 0 2px;
    516627 padding-left: .5em;
    517  border-color: #b44; 
     628 border-color: #b44;
    518629}
    519630.citation blockquote.citation { border-color: #4b4; }
     
    533644 background-color: #f7f7f7;
    534645}
     646table.wiki tbody tr.even { background-color: #fcfcfc }
     647table.wiki tbody tr.odd { background-color: #f7f7f7 }
    535648
    536649.wikitoolbar {
    537650 margin-top: 0.3em;
    538  margin-left: 2px;
    539651 border: solid #d7d7d7;
    540652 border-width: 1px 1px 1px 0;
     
    567679
    568680/* Textarea resizer */
    569 div.trac-resizable { display: table; width: 1px }
     681div.trac-resizable { display: table; width: 100% }
    570682div.trac-resizable > div { display: table-cell }
    571683div.trac-resizable textarea { display: block; margin-bottom: 0 }
     
    579691}
    580692
    581 /* Styles for the form for adding attachments. */
    582 #attachment .field { margin-top: 1.3em }
    583 #attachment label { padding-left: .2em }
    584 #attachment fieldset { margin-top: 2em }
    585 #attachment fieldset .field { float: left; margin: 0 1em .5em 0 }
    586 #attachment .options { float: left; padding: 0 0 1em 1em }
    587 #attachment br { clear: left }
    588 .attachment #preview { margin-top: 1em }
    589 
    590693/* Styles for the list of attachments. */
    591694#attachments > div.attachments {
     
    604707 margin: .4em 0;
    605708}
     709#attachments span.trac-author { font-style: italic; }
     710
     711.attachment #preview { margin-top: 1em }
    606712
    607713/* Styles for tabular listings such as those used for displaying directory
     
    617723}
    618724table.listing th { text-align: left; padding: 0 1em .1em 0; font-size: 12px }
     725table.listing th.sel, table.listing td.sel { text-align: center; width: 1% }
    619726table.listing thead tr { background: #f7f7f0 }
    620727table.listing thead th {
     
    649756table.listing tbody tr.even { background-color: #fcfcfc }
    650757table.listing tbody tr.odd { background-color: #f7f7f7 }
    651 table.listing tbody tr:hover { background: #eed !important }
     758table.listing tbody tr:hover td { background: #eed !important }
    652759table.listing tbody tr.focus { background: #ddf !important }
    653760
     
    663770#fieldhist td.version { text-align: center }
    664771#fieldhist td.comment { width: 100% }
     772#fieldhist .inlinebuttons {
     773 display: none;
     774 float: right;
     775}
     776.uisymbols #fieldhist .inlinebuttons a { font-size: 85% }
    665777
    666778/* Auto-completion interface */
    667779.suggestions { background: #fff; border: 1px solid #886; color: #222; }
    668780.suggestions ul {
    669   font-family: sans-serif;
    670   max-height: 20em;
    671   min-height: 3em;
    672   list-style: none;
    673   margin: 0;
    674   overflow: auto;
    675   padding: 0;
    676   width: 440px;
     781 font-family: sans-serif;
     782 max-height: 20em;
     783 min-height: 3em;
     784 list-style: none;
     785 margin: 0;
     786 overflow: auto;
     787 padding: 0;
     788 width: 440px;
    677789}
    678790* html .suggestions ul { height: 10em; }
     
    689801}
    690802#content.error div.message pre, div.system-message pre {
    691   margin-left: 1em;
    692   overflow: hidden;
    693   white-space: normal;
     803 margin-left: 1em;
     804 overflow: hidden;
     805 white-space: pre-wrap;
    694806}
    695807
     
    747859 background: #f6f6f6;
    748860 color: #333;
    749  text-shadow: .1em .1em #fcfcfc;
     861 text-shadow: .04em .04em #fcfcfc;
    750862 box-shadow: .1em .1em .6em 0 #999;
    751863}
     
    760872#content.error form.newticket { display: inline; }
    761873#content.error form.newticket textarea { display: none; }
    762 
    763 #content.error #systeminfo, #content.error #plugins { margin: 1em; width: auto; }
    764 #content.error #systeminfo th, #content.error #systeminfo td,
    765 #content.error #plugins th, #content.error #plugins td { font-size: 90%; }
    766 #content.error #systeminfo th, #content.error #plugins th { background: #f7f7f7; font-weight: bold; }
    767874
    768875#content.error #traceback { margin-left: 1em; }
     
    793900#content.error #traceback pre { font-size: 95%; }
    794901
    795 #content.error #plugins td.file { color: #666; }
    796 
    797902#content .paging { margin: 0 0 2em; padding: .5em 0 0;
    798903  font-size: 85%; line-height: 2em; text-align: center;
    799904}
    800 #content .paging .current { 
     905#content .paging .current {
    801906  padding: .1em .3em;
    802907  border: 1px solid #333;
    803   background: #999; color: #fff; 
     908  background: #999; color: #fff;
    804909}
    805910
     
    812917  background: #999; color: #fff;  border-color: #333;
    813918}
    814 #content .paging .previous a, 
     919#content .paging .previous a,
    815920#content .paging .next a {
    816921  font-size: 150%; font-weight: bold; border: none;
     
    822927
    823928#content h2 .numresults { color: #666; font-size: 90%; }
     929
     930/* Styles for the About page */
     931#content.about a.logo { border: none; float: right; margin-left: 2em; }
     932#content.about a.logo img { display: block; }
     933#content.about #python-logo img { width: 140px; height: 56px; }
     934#content.about p.copyright { color: #999; font-size: 90%; }
     935
     936/* Styles for environment info (error and about pages) */
     937#environmentinfo h2 { margin-top: 2em; }
     938#environmentinfo table { margin: 1em; width: auto; }
     939#environmentinfo table th, #environmentinfo table td { border: 1px solid #ddd; font-size: 90%; }
     940#environmentinfo table th { background: #f7f7f7; font-weight: bold; white-space: nowrap; }
     941#environmentinfo table td.file { color: #666; }
     942#environmentinfo table tr.disabled th,
     943#environmentinfo table tr.disabled td { color: #999; }
     944#environmentinfo #config th, #content.about #config td { padding: 3px; }
     945#environmentinfo #config tr.modified { background: #ffd; }
     946#environmentinfo #config tr.modified td.value { font-style: italic; }
     947#environmentinfo #config td.doc { padding: 3px 1em; }
     948
     949/* Styles for jquery-ui */
     950.trac-placeholder { background: #eed }
    824951
    825952/* Styles for search word highlighting */
     
    837964 .noprint, .trac-nav, .trac-topnav,
    838965 #attachments > div.attachments > p {
    839    display: none;
     966  display: none;
    840967 }
    841968 form.printableform { display: block }
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/wiki.css

    r730 r7088  
    1313.wikipage h3 {
    1414 border-bottom: 1px dashed #ddd;
     15 padding: 0.2em .3em .1em;
    1516}
    1617.wikipage .trac-content {
     
    2021
    2122/* Styles for the path of hierarchical pages */
    22 #pagepath { 
     23#pagepath {
    2324 font-size: 10px; /* same as .nav ul in trac.css */
    2425 float: left;
     
    3031#pagepath .pathentry { float: left }
    3132
     33/* Styles for the page creation form */
     34.create #modifypage input { margin: 2px /* trac.css' input {} */ }
     35
    3236/* Styles for the page editing form */
    33 .preview-right { 
     37.preview-right {
    3438 float: right;
    3539 width: 50%;
     
    4246
    4347#edit { margin-top: .5em }
    44 #edit #rows { 
     48#edit #rows {
    4549 float: right;
    4650 font-size: 80%;
     
    5155#edit #text {
    5256 clear: both;
    53  margin-left: -1px;
    54  margin-right: -1px;
    55  padding: 0;
    56  width: 100%;
    5757 min-height: 10em;
    5858 resize: vertical;
    5959}
    60 #edit .wikitoolbar { float: left; margin-left: -1px }
    61 #edit div.trac-resizable { clear: both; width: 100% }
     60#edit .wikitoolbar { float: left }
     61#edit div.trac-resizable { clear: both }
    6262#edit + #info { margin-top: 1em }
    6363#edit + #attachments { margin-top: 1.5em }
    64 #changeinfo { padding: .5em }
    65 #changeinfo .field { float: left; margin: 0 1em .5em 0 }
    66 #changeinfo { clear: both }
    67 #changeinfo br { clear: left }
    68 #changeinfo .options { padding: 0 0 1em 1em }
    69 #changeinfo .options, #changeinfo .buttons { clear: left }
    7064#delete, #rename, #save { margin-left: 3em }
    7165#preview {
     
    7468 overflow: auto;
    7569}
    76 #template { vertical-align: middle; padding-top: 1em; }
    7770
    7871/* Diff view */
     
    8174#overview .comment { padding: 1em 0 0 }
    8275
    83 @media print { 
     76@media print {
    8477 th.diff, td.diff { display: none }
    8578}
     
    10194.wiki-toc li { margin: 0; padding: 0 }
    10295.wiki-toc .active { background: #ff9; position: relative; }
    103 .wiki-toc-un ul, .wiki-toc-un ol { list-style: none; } 
     96.wiki-toc-un ul, .wiki-toc-un ol { list-style: none; }
    10497
    10598div.trac-modifiedby {
    10699 margin: .3em .5em;
    107  *width: 100%; /* Workaround horizontal scrollbar on IE7 */
    108100 color: #888;
    109101 font-size: 80%;
     
    119111}
    120112
    121 /* Styles related to RTL support */
    122 .rtl { direction: rtl; }
    123 .rtl div.wiki-toc { float: left; }
    124 .rtl .wiki-toc ul ul, .wiki-toc ol ol { padding-right: 1.2em }
    125 
    126113/* TracIni default value */
    127114div.tracini td.default { font-size: 90% }
     
    132119 white-space: nowrap;
    133120}
     121div.tracini td > p:first-child { margin-top: 0 }
     122div.tracini td > p:last-child { margin-bottom: 0 }
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/auto_preview.js

    r730 r7088  
    2929    var updating = false;
    3030    var queued = false;
    31    
     31
    3232    // Return true iff the values have changed
    3333    function values_changed(new_values) {
     
    4141      return false;
    4242    }
    43    
     43
    4444    // Request a preview through XHR
    4545    function request() {
     
    5151          if (busy != undefined)
    5252            $(busy).show();
    53          
     53
    5454          // Construct request data
    5555          var data = values.slice(0);
    5656          for (var key in args)
    5757            data.push({name: key, value: args[key]});
    58          
     58
    5959          $.ajax({
    6060            type: form.attr('method'), url: form.attr('action'),
     
    7979      }
    8080    }
    81    
     81
    8282    // Trigger a request after the given timeout
    8383    function trigger() {
     
    9393
    9494    var values = form.serializeArray();
    95     return inputs.each(function() {
    96       $(this).keydown(trigger).keypress(trigger).change(trigger).blur(trigger);
    97     });
     95    // See #11510
     96    return inputs.bind('input cut paste keydown keypress change blur',
     97                       trigger);
    9898  };
    9999
     
    119119      data["__FORM_TOKEN"] = form_token;
    120120      data["text"] = textarea.value;
    121      
     121
    122122      // Request a preview through XHR
    123123      function request() {
     
    140140        }
    141141      }
    142      
     142
    143143      // Trigger a request after the given timeout
    144144      function trigger() {
     
    150150        return true;
    151151      }
    152      
    153       $(this).keydown(trigger).keypress(trigger).blur(trigger);
     152
     153      // "input" event to detect editing using IMEs on Firefox,
     154      // "cut" and "paste" events to detect editing using context
     155      // menu on Internet Explorer (#11510)
     156      $(this).bind('input cut paste keydown keypress blur', trigger);
    154157    });
    155158  };
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/blame.js

    r730 r7088  
    55    var message = null;
    66    var message_rev = null;
    7  
     7
    88    /* for each blame cell... */
    99    $("table.code th.blame").each(function() {
     
    1313      if (!href)
    1414        return; // was "Rev" column title
    15      
     15
    1616      var path = original_path;
    1717      if (href) {
     
    2525          if (!path)
    2626            path = original_path;
    27         } 
     27        }
    2828      }
    2929
     
    3232      if (!rev)
    3333        return;
    34  
     34
    3535      $(this).css("cursor", "pointer").click(function() {
    3636        var row = this.parentNode;
     
    3838        var highlight_rev = null;
    3939        var annotate_path = decodeURI(path);
    40  
     40
    4141        function show() {
    4242          /* Display commit message for the selected revision */
    43  
     43
    4444          var message_w = message.get(0).offsetWidth;
    45  
     45
    4646          // limit message panel width to 3/5 of the row width
    4747          var row_w = row.offsetWidth;
    4848          var max_w = (3.0 * row_w / 5.0);
    4949          if (!message_w || message_w > max_w) {
    50             message_w = max_w; 
    51             var borderw = (3+8)*2; // borderwidth + padding on both sides 
     50            message_w = max_w;
     51            var borderw = (3+8)*2; // borderwidth + padding on both sides
    5252            message.css({width: message_w - borderw + "px"});
    5353          }
    54  
     54
    5555          var row_offset = $(row).offset();
    5656          var left = row_offset.left + row.offsetWidth - message_w;
    5757          message.css({display: "block", top: row_offset.top+"px", left: left-2+"px"});
    5858        }
    59  
     59
    6060        function hide() {
    6161          /* Hide commit message */
    6262          message.css({display: "none"});
    63  
     63
    6464          /* Remove highlighting for lines of the current revision */
    65           $("table.code th."+message_rev).each(function() { 
    66             $(this.parentNode).removeClass("hilite") 
     65          $("table.code th."+message_rev).each(function() {
     66            $(this.parentNode).removeClass("hilite")
    6767          });
    6868        }
    69  
     69
    7070        if (message_rev != rev) {              // fetch a new revision
    7171          if (message_is_visible) {
     
    7474          message_rev = rev;
    7575          highlight_rev = message_rev;
    76  
    77           $.get(url + [rev.substr(1), reponame].join("/"), 
     76
     77          $.get(url + [rev.substr(1), reponame].join("/"),
    7878                {annotate: annotate_path}, function(data) {
    7979            // remove former message panel if any
     
    8585            message = $('<div class="message">').css("position", "absolute")
    8686                .append($('<div class="inlinebuttons">')
    87                 .append($('<input value="' + _("Close") + '" type="button">').click(hide)))
    88                 .append($('<div>').html(data))
     87                  .append($('<input value="' + _("Close") + '" type="button">').click(hide)))
     88                .append($('<div class="embedded">').html(data))
    8989              .appendTo("body");
    9090
    91             // workaround non-clickable "Close" issue in Firefox
    92             if ($.browser.mozilla || $.browser.safari)
    93               message.find("div.inlinebuttons").next().css("clear", "right");
    94  
    9591            show();
    9692          }, 'html');
     
    10197          highlight_rev = message_rev;
    10298        }
    103  
     99
    104100        /* Highlight all lines of the current revision */
    105         $("table.code th."+highlight_rev).each(function() { 
    106           $(this.parentNode).addClass("hilite") 
     101        $("table.code th."+highlight_rev).each(function() {
     102          $(this.parentNode).addClass("hilite")
    107103        });
    108  
     104
    109105      });
    110106    });
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/diff.js

    r730 r7088  
    11(function($){
    2  
     2
    33  function convertDiff(name, table, pre) {
    44    var inline = $(table).hasClass('inline');
     
    2727    if (inline)
    2828      title = $(ths[2]).text();
    29  
     29
    3030    for (var i = 0; i < table.tBodies.length; i++) {
    3131      var tBody = table.tBodies[i];
     
    8787      }
    8888    }
    89  
     89
    9090    if (!oldOffset && oldLength) oldOffset = 1;
    9191    if (!newOffset && newLength) newOffset = 1;
     
    9494      .replace("{3}", newOffset).replace("{4}", newLength)
    9595      .replace("{5}", title);
    96  
    97     /* remove trailing &nbsp; and join lines (with CR for IExplorer) */
    98     var sep = $.browser.msie ? "\r" : "\n";
    99     for ( var i = 0; i < lines.length; i++ )
    100         if ( lines[i] )
    101         {
    102             var line = lines[i].replace(/\xa0$/, '') + sep;
    103             if ( lines[i][0] == '+' )
     96
     97    /* remove trailing &nbsp; and join lines */
     98    for (var i = 0; i < lines.length; i++)
     99        if (lines[i]) {
     100            var line = lines[i].replace(/\xa0$/, '') + "\n";
     101            if (lines[i][0] == '+')
    104102              pre.append($('<span class="add">').text(line));
    105             else if ( lines[i][0] == '-' )
     103            else if (lines[i][0] == '-')
    106104              pre.append($('<span class="rem">').text(line));
    107105            else
     
    109107        }
    110108  }
    111  
    112   $(document).ready(function($) {
     109
     110  $.documentReady(function($) {
    113111    $("div.diff h2").each(function() {
    114112      var switcher = $("<span class='switch'></span>").prependTo(this);
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/expand_dir.js

    r730 r7088  
    44  var FOLDERID_COUNTER = 0;
    55  var SUBFOLDER_INDENT = 20;
    6  
     6
    77  // enableExpandDir adds the capability to ''folder'' rows in a table
    88  // to be expanded and folded.
     
    1414  //  - `autoexpand`, an optional array corresponding to a splitted sub-path
    1515  //    of entries that will be expanded automatically.
    16  
     16
    1717  window.enableExpandDir = function(parent_tr, rows, qargs, autoexpand) {
    1818    // the ancestors folder ids are present in the parent_tr class attribute
     
    2020
    2121    if (parent_tr) // rows are logical children of the parent_tr row
    22       ancestor_folderids = $.grep(parent_tr.attr("class").split(" "), 
     22      ancestor_folderids = $.grep(parent_tr.attr("class").split(" "),
    2323                                  function(c) { return c.match(/^f\d+$/)});
    2424    else { // rows are toplevel rows, this is the initial call
     
    3131    rows.each(function () {
    3232      var a = $(this).find("a.dir");
    33  
     33
    3434      if (a.length) { // then the entry is a folder
    3535        // create new folder id
     
    3737        this.id = folderid;
    3838        $(this).addClass(folderid);
    39  
     39
    4040        // add the expander icon
    4141        var expander = $('<span class="expander">&nbsp;</span>')
     
    4646          autoexpand_expander = expander;
    4747      }
    48  
     48
    4949      // tie that row to ancestor folders
    5050      if (parent_tr)
    5151        $(this).addClass(ancestor_folderids.join(" "));
    5252    });
    53    
     53
    5454    if ( autoexpand_expander )
    5555      toggleDir(autoexpand_expander, qargs, autoexpand.slice(1));
    5656  }
    57  
     57
    5858  // handler for click event on the expander icons
    5959  window.toggleDir = function(expander, qargs, autoexpand) {
    6060    var tr = expander.parents("tr:first");
    6161    var folderid = tr.get(0).id;
    62  
    63     if ( tr.hasClass("expanded") ) { // then *fold*
    64       tr.removeClass("expanded");
     62
     63    if (expander.hasClass("expanded")) { // then *fold*
     64      expander.removeClass("expanded");
    6565      if (tr.next().hasClass("error")) {
    6666        tr.next().remove();
     
    9292     });
    9393
    94     if ( tr.hasClass("collapsed") ) { // then *expand*
    95       tr.removeClass("collapsed").addClass("expanded");
     94    if (tr.hasClass("collapsed")) { // then *expand*
     95      tr.removeClass("collapsed");
     96      expander.addClass("expanded");
    9697      tr.siblings("tr."+folderid).show();
    9798      // Note that the above will show all the already fetched subtrees,
     
    103104      var td = expander.parents("td:first");
    104105      var td_class = td.attr("class");
    105       var depth = 
    106         parseFloat(td.css("padding-left").replace(/^(\d*\.\d*).*$/, "$1")) + 
     106      var depth =
     107        parseFloat(td.css("padding-left").replace(/^(\d*\.\d*).*$/, "$1")) +
    107108        SUBFOLDER_INDENT;
    108  
    109       tr.addClass("expanded");
     109
     110      expander.addClass("expanded");
    110111      // insert "Loading ..." row
    111112      var loading_row = $($.htmlFormat(
     
    116117        ' </td>' +
    117118        '</tr>', {
    118         td_class: td_class, 
    119         colspan: tr.children("td").length, 
    120         depth: depth, 
     119        td_class: td_class,
     120        colspan: tr.children("td").length,
     121        depth: depth,
    121122        loading: _("Loading %(entry)s...", {entry: a.text()})
    122123      }));
    123124      tr.after(loading_row);
    124  
     125
    125126      // XHR for getting the rows corresponding to the folder entries
    126127      $.ajax({
     
    134135          var rows = data.replace(/^<!DOCTYPE[^>]+>/, "").split("</tr>");
    135136          if (rows.length) {
    136             // insert entry rows 
     137            // insert entry rows
    137138            $(rows).each(function() {
    138139              row = $(this+"</tr>");
     
    140141              // make all entry rows collapsible but only subdir rows expandable
    141142              loading_row.before(row);
    142               enableExpandDir(tr, row, qargs, autoexpand); 
     143              enableExpandDir(tr, row, qargs, autoexpand);
    143144            });
    144145            // remove "Loading ..." row
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/folding.js

    r730 r7088  
    77    if (snap == undefined)
    88      snap = false;
    9    
     9
    1010    var count = 1;
    1111    return this.each(function() {
     
    1919        $(this).append(trigger);
    2020      }
    21      
     21
    2222      trigger.click(function() {
    2323        var div = $(this.parentNode.parentNode).toggleClass("collapsed");
     
    6464              $(this).remove();
    6565              th.show();
    66               if ($.browser.msie)
    67                 for ( var i = 0; i < n; i++ )
    68                   row_headers.eq(i*k+j).show();
    69               else // much faster, but not supported by IExplorer
    70                 for ( var i = 0; i < n; i++ )
    71                   row_headers.eq(i*k+j).css('display', 'table-cell');
     66              for (var i = 0; i < n; i++)
     67                row_headers.eq(i*k+j).css('display', 'table-cell');
    7268            })
    7369          );
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/jquery-ui-addons.js

    r730 r7088  
    1 /*
    2 * jQuery timepicker addon
    3 * By: Trent Richardson [http://trentrichardson.com]
    4 * Version 1.0.1
    5 * Last Modified: 07/01/2012
    6 *
    7 * Copyright 2012 Trent Richardson
    8 * You may use this project under MIT or GPL licenses.
    9 * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
    10 * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
    11 */
    12 (function(d){function m(){this.regional=[];this.regional[""]={currentText:"Now",closeText:"Done",ampm:!1,amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"hh:mm tt",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",timezoneText:"Time Zone"};this._defaults={showButtonPanel:!0,timeOnly:!1,showHour:!0,showMinute:!0,showSecond:!1,showMillisec:!1,showTimezone:!1,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1, hour:0,minute:0,second:0,millisec:0,timezone:null,useLocalTimezone:!1,defaultTimezone:"+0000",hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,minDateTime:null,maxDateTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,showTimepicker:!0,timezoneIso8601:!1,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null};d.extend(this._defaults,this.regional[""])}function r(b,a){d.extend(b, a);for(var c in a)if(null===a[c]||void 0===a[c])b[c]=a[c];return b}d.ui.timepicker=d.ui.timepicker||{};if(!d.ui.timepicker.version){d.extend(d.ui,{timepicker:{version:"1.0.1"}});d.extend(m.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,timezone_select:null,hour:0,minute:0,second:0,millisec:0,timezone:null,defaultTimezone:"+0000",hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null, hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,setDefaults:function(b){r(this._defaults,b||{});return this},_newInst:function(b,a){var c=new m,e={},f;for(f in this._defaults){var g=b.attr("time:"+f);if(g)try{e[f]=eval(g)}catch(l){e[f]=g}}c._defaults=d.extend({},this._defaults,e,a,{beforeShow:function(b,e){if(d.isFunction(a.beforeShow))return a.beforeShow(b,e,c)},onChangeMonthYear:function(e, f,g){c._updateDateTime(g);d.isFunction(a.onChangeMonthYear)&&a.onChangeMonthYear.call(b[0],e,f,g,c)},onClose:function(e,f){!0===c.timeDefined&&""!==b.val()&&c._updateDateTime(f);d.isFunction(a.onClose)&&a.onClose.call(b[0],e,f,c)},timepicker:c});c.amNames=d.map(c._defaults.amNames,function(a){return a.toUpperCase()});c.pmNames=d.map(c._defaults.pmNames,function(a){return a.toUpperCase()});if(null===c._defaults.timezoneList){e=[];for(f=-11;12>=f;f++)e.push((0<=f?"+":"-")+("0"+Math.abs(f).toString()).slice(-2)+ "00");c._defaults.timezoneIso8601&&(e=d.map(e,function(a){return"+0000"==a?"Z":a.substring(0,3)+":"+a.substring(3)}));c._defaults.timezoneList=e}c.timezone=c._defaults.timezone;c.hour=c._defaults.hour;c.minute=c._defaults.minute;c.second=c._defaults.second;c.millisec=c._defaults.millisec;c.ampm="";c.$input=b;a.altField&&(c.$altInput=d(a.altField).css({cursor:"pointer"}).focus(function(){b.trigger("focus")}));if(0===c._defaults.minDate||0===c._defaults.minDateTime)c._defaults.minDate=new Date;if(0=== c._defaults.maxDate||0===c._defaults.maxDateTime)c._defaults.maxDate=new Date;void 0!==c._defaults.minDate&&c._defaults.minDate instanceof Date&&(c._defaults.minDateTime=new Date(c._defaults.minDate.getTime()));void 0!==c._defaults.minDateTime&&c._defaults.minDateTime instanceof Date&&(c._defaults.minDate=new Date(c._defaults.minDateTime.getTime()));void 0!==c._defaults.maxDate&&c._defaults.maxDate instanceof Date&&(c._defaults.maxDateTime=new Date(c._defaults.maxDate.getTime()));void 0!==c._defaults.maxDateTime&& c._defaults.maxDateTime instanceof Date&&(c._defaults.maxDate=new Date(c._defaults.maxDateTime.getTime()));return c},_addTimePicker:function(b){var a=this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val();this.timeDefined=this._parseTime(a);this._limitMinMaxDateTime(b,!1);this._injectTimePicker()},_parseTime:function(b,a){this.inst||(this.inst=d.datepicker._getInst(this.$input[0]));if(a||!this._defaults.timeOnly){var c=d.datepicker._get(this.inst, "dateFormat");try{var e=u(c,this._defaults.timeFormat,b,d.datepicker._getFormatConfig(this.inst),this._defaults);if(!e.timeObj)return!1;d.extend(this,e.timeObj)}catch(f){return!1}}else{c=d.datepicker.parseTime(this._defaults.timeFormat,b,this._defaults);if(!c)return!1;d.extend(this,c)}return!0},_injectTimePicker:function(){var b=this.inst.dpDiv,a=this._defaults,c=this,e=parseInt(a.hourMax-(a.hourMax-a.hourMin)%a.stepHour,10),f=parseInt(a.minuteMax-(a.minuteMax-a.minuteMin)%a.stepMinute,10),g=parseInt(a.secondMax- (a.secondMax-a.secondMin)%a.stepSecond,10),l=parseInt(a.millisecMax-(a.millisecMax-a.millisecMin)%a.stepMillisec,10),i=this.inst.id.toString().replace(/([^A-Za-z0-9_])/g,"");if(0===b.find("div#ui-timepicker-div-"+i).length&&a.showTimepicker){var h='<div class="ui-timepicker-div" id="ui-timepicker-div-'+i+'"><dl><dt class="ui_tpicker_time_label" id="ui_tpicker_time_label_'+i+'"'+(a.showTime?"":' style="display:none;"')+">"+a.timeText+'</dt><dd class="ui_tpicker_time" id="ui_tpicker_time_'+i+'"'+(a.showTime? "":' style="display:none;"')+'></dd><dt class="ui_tpicker_hour_label" id="ui_tpicker_hour_label_'+i+'"'+(a.showHour?"":' style="display:none;"')+">"+a.hourText+"</dt>",s=0,q=0,o=0,m=0,n=null,h=h+('<dd class="ui_tpicker_hour"><div id="ui_tpicker_hour_'+i+'"'+(a.showHour?"":' style="display:none;"')+"></div>");if(a.showHour&&0<a.hourGrid){for(var h=h+'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',j=a.hourMin;j<=e;j+=parseInt(a.hourGrid,10)){s++;var p=a.ampm&&12<j?j-12:j; 10>p&&(p="0"+p);a.ampm&&(p=0===j?"12a":12>j?p+"a":p+"p");h+="<td>"+p+"</td>"}h+="</tr></table></div>"}h=h+"</dd>"+('<dt class="ui_tpicker_minute_label" id="ui_tpicker_minute_label_'+i+'"'+(a.showMinute?"":' style="display:none;"')+">"+a.minuteText+'</dt><dd class="ui_tpicker_minute"><div id="ui_tpicker_minute_'+i+'"'+(a.showMinute?"":' style="display:none;"')+"></div>");if(a.showMinute&&0<a.minuteGrid){h+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';for(j=a.minuteMin;j<= f;j+=parseInt(a.minuteGrid,10))q++,h+="<td>"+(10>j?"0":"")+j+"</td>";h+="</tr></table></div>"}h=h+"</dd>"+('<dt class="ui_tpicker_second_label" id="ui_tpicker_second_label_'+i+'"'+(a.showSecond?"":' style="display:none;"')+">"+a.secondText+'</dt><dd class="ui_tpicker_second"><div id="ui_tpicker_second_'+i+'"'+(a.showSecond?"":' style="display:none;"')+"></div>");if(a.showSecond&&0<a.secondGrid){h+='<div style="padding-left: 1px"><table><tr>';for(j=a.secondMin;j<=g;j+=parseInt(a.secondGrid,10))o++, h+="<td>"+(10>j?"0":"")+j+"</td>";h+="</tr></table></div>"}h=h+"</dd>"+('<dt class="ui_tpicker_millisec_label" id="ui_tpicker_millisec_label_'+i+'"'+(a.showMillisec?"":' style="display:none;"')+">"+a.millisecText+'</dt><dd class="ui_tpicker_millisec"><div id="ui_tpicker_millisec_'+i+'"'+(a.showMillisec?"":' style="display:none;"')+"></div>");if(a.showMillisec&&0<a.millisecGrid){h+='<div style="padding-left: 1px"><table><tr>';for(j=a.millisecMin;j<=l;j+=parseInt(a.millisecGrid,10))m++,h+="<td>"+(10> j?"0":"")+j+"</td>";h+="</tr></table></div>"}var h=h+"</dd>"+('<dt class="ui_tpicker_timezone_label" id="ui_tpicker_timezone_label_'+i+'"'+(a.showTimezone?"":' style="display:none;"')+">"+a.timezoneText+"</dt>"),h=h+('<dd class="ui_tpicker_timezone" id="ui_tpicker_timezone_'+i+'"'+(a.showTimezone?"":' style="display:none;"')+"></dd>"),k=d(h+"</dl></div>");!0===a.timeOnly&&(k.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+a.timeOnlyTitle+ "</div></div>"),b.find(".ui-datepicker-header, .ui-datepicker-calendar").hide());this.hour_slider=k.find("#ui_tpicker_hour_"+i).slider({orientation:"horizontal",value:this.hour,min:a.hourMin,max:e,step:a.stepHour,slide:function(a,b){c.hour_slider.slider("option","value",b.value);c._onTimeChange()}});this.minute_slider=k.find("#ui_tpicker_minute_"+i).slider({orientation:"horizontal",value:this.minute,min:a.minuteMin,max:f,step:a.stepMinute,slide:function(a,b){c.minute_slider.slider("option","value", b.value);c._onTimeChange()}});this.second_slider=k.find("#ui_tpicker_second_"+i).slider({orientation:"horizontal",value:this.second,min:a.secondMin,max:g,step:a.stepSecond,slide:function(a,b){c.second_slider.slider("option","value",b.value);c._onTimeChange()}});this.millisec_slider=k.find("#ui_tpicker_millisec_"+i).slider({orientation:"horizontal",value:this.millisec,min:a.millisecMin,max:l,step:a.stepMillisec,slide:function(a,b){c.millisec_slider.slider("option","value",b.value);c._onTimeChange()}}); this.timezone_select=k.find("#ui_tpicker_timezone_"+i).append("<select></select>").find("select");d.fn.append.apply(this.timezone_select,d.map(a.timezoneList,function(a){return d("<option />").val(typeof a=="object"?a.value:a).text(typeof a=="object"?a.label:a)}));"undefined"!=typeof this.timezone&&null!==this.timezone&&""!==this.timezone?v(new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12))==this.timezone?t(c):this.timezone_select.val(this.timezone):"undefined"!=typeof this.hour&& null!==this.hour&&""!==this.hour?this.timezone_select.val(a.defaultTimezone):t(c);this.timezone_select.change(function(){c._defaults.useLocalTimezone=false;c._onTimeChange()});a.showHour&&0<a.hourGrid&&(n=100*s*a.hourGrid/(e-a.hourMin),k.find(".ui_tpicker_hour table").css({width:n+"%",marginLeft:n/(-2*s)+"%",borderCollapse:"collapse"}).find("td").each(function(){d(this).click(function(){var b=d(this).html();if(a.ampm)var e=b.substring(2).toLowerCase(),b=parseInt(b.substring(0,2),10),b=e=="a"?b==12? 0:b:b==12?12:b+12;c.hour_slider.slider("option","value",b);c._onTimeChange();c._onSelectHandler()}).css({cursor:"pointer",width:100/s+"%",textAlign:"center",overflow:"hidden"})}));a.showMinute&&0<a.minuteGrid&&(n=100*q*a.minuteGrid/(f-a.minuteMin),k.find(".ui_tpicker_minute table").css({width:n+"%",marginLeft:n/(-2*q)+"%",borderCollapse:"collapse"}).find("td").each(function(){d(this).click(function(){c.minute_slider.slider("option","value",d(this).html());c._onTimeChange();c._onSelectHandler()}).css({cursor:"pointer", width:100/q+"%",textAlign:"center",overflow:"hidden"})}));a.showSecond&&0<a.secondGrid&&k.find(".ui_tpicker_second table").css({width:n+"%",marginLeft:n/(-2*o)+"%",borderCollapse:"collapse"}).find("td").each(function(){d(this).click(function(){c.second_slider.slider("option","value",d(this).html());c._onTimeChange();c._onSelectHandler()}).css({cursor:"pointer",width:100/o+"%",textAlign:"center",overflow:"hidden"})});a.showMillisec&&0<a.millisecGrid&&k.find(".ui_tpicker_millisec table").css({width:n+ "%",marginLeft:n/(-2*m)+"%",borderCollapse:"collapse"}).find("td").each(function(){d(this).click(function(){c.millisec_slider.slider("option","value",d(this).html());c._onTimeChange();c._onSelectHandler()}).css({cursor:"pointer",width:100/m+"%",textAlign:"center",overflow:"hidden"})});e=b.find(".ui-datepicker-buttonpane");e.length?e.before(k):b.append(k);this.$timeObj=k.find("#ui_tpicker_time_"+i);null!==this.inst&&(b=this.timeDefined,this._onTimeChange(),this.timeDefined=b);b=function(){c._onSelectHandler()}; this.hour_slider.bind("slidestop",b);this.minute_slider.bind("slidestop",b);this.second_slider.bind("slidestop",b);this.millisec_slider.bind("slidestop",b);if(this._defaults.addSliderAccess){var r=this._defaults.sliderAccessArgs;setTimeout(function(){if(k.find(".ui-slider-access").length===0){k.find(".ui-slider:visible").sliderAccess(r);var a=k.find(".ui-slider-access:eq(0)").outerWidth(true);a&&k.find("table:visible").each(function(){var b=d(this),c=b.outerWidth(),e=b.css("marginLeft").toString().replace("%", ""),f=c-a;b.css({width:f,marginLeft:e*f/c+"%"})})}},0)}}},_limitMinMaxDateTime:function(b,a){var c=this._defaults,e=new Date(b.selectedYear,b.selectedMonth,b.selectedDay);if(this._defaults.showTimepicker){if(null!==d.datepicker._get(b,"minDateTime")&&void 0!==d.datepicker._get(b,"minDateTime")&&e){var f=d.datepicker._get(b,"minDateTime"),g=new Date(f.getFullYear(),f.getMonth(),f.getDate(),0,0,0,0);if(null===this.hourMinOriginal||null===this.minuteMinOriginal||null===this.secondMinOriginal||null=== this.millisecMinOriginal)this.hourMinOriginal=c.hourMin,this.minuteMinOriginal=c.minuteMin,this.secondMinOriginal=c.secondMin,this.millisecMinOriginal=c.millisecMin;b.settings.timeOnly||g.getTime()==e.getTime()?(this._defaults.hourMin=f.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=f.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=f.getSeconds()):this.second<=this._defaults.secondMin? (this.second=this._defaults.secondMin,this._defaults.millisecMin=f.getMilliseconds()):(this.millisec<this._defaults.millisecMin&&(this.millisec=this._defaults.millisecMin),this._defaults.millisecMin=this.millisecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal, this._defaults.millisecMin=this.millisecMinOriginal)}if(null!==d.datepicker._get(b,"maxDateTime")&&void 0!==d.datepicker._get(b,"maxDateTime")&&e){f=d.datepicker._get(b,"maxDateTime");g=new Date(f.getFullYear(),f.getMonth(),f.getDate(),0,0,0,0);if(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal)this.hourMaxOriginal=c.hourMax,this.minuteMaxOriginal=c.minuteMax,this.secondMaxOriginal=c.secondMax,this.millisecMaxOriginal=c.millisecMax;b.settings.timeOnly||g.getTime()== e.getTime()?(this._defaults.hourMax=f.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=f.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=f.getSeconds()):this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=f.getMilliseconds()):(this.millisec>this._defaults.millisecMax&&(this.millisec=this._defaults.millisecMax),this._defaults.millisecMax= this.millisecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal)}void 0!==a&&!0===a&&(c=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10), e=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),f=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),g=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),this.hour_slider&&this.hour_slider.slider("option",{min:this._defaults.hourMin,max:c}).slider("value",this.hour),this.minute_slider&&this.minute_slider.slider("option", {min:this._defaults.minuteMin,max:e}).slider("value",this.minute),this.second_slider&&this.second_slider.slider("option",{min:this._defaults.secondMin,max:f}).slider("value",this.second),this.millisec_slider&&this.millisec_slider.slider("option",{min:this._defaults.millisecMin,max:g}).slider("value",this.millisec))}},_onTimeChange:function(){var b=this.hour_slider?this.hour_slider.slider("value"):!1,a=this.minute_slider?this.minute_slider.slider("value"):!1,c=this.second_slider?this.second_slider.slider("value"): !1,e=this.millisec_slider?this.millisec_slider.slider("value"):!1,f=this.timezone_select?this.timezone_select.val():!1,g=this._defaults;"object"==typeof b&&(b=!1);"object"==typeof a&&(a=!1);"object"==typeof c&&(c=!1);"object"==typeof e&&(e=!1);"object"==typeof f&&(f=!1);!1!==b&&(b=parseInt(b,10));!1!==a&&(a=parseInt(a,10));!1!==c&&(c=parseInt(c,10));!1!==e&&(e=parseInt(e,10));var l=g[12>b?"amNames":"pmNames"][0],i=b!=this.hour||a!=this.minute||c!=this.second||e!=this.millisec||0<this.ampm.length&& 12>b!=(-1!==d.inArray(this.ampm.toUpperCase(),this.amNames))||f!=this.timezone;i&&(!1!==b&&(this.hour=b),!1!==a&&(this.minute=a),!1!==c&&(this.second=c),!1!==e&&(this.millisec=e),!1!==f&&(this.timezone=f),this.inst||(this.inst=d.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0));g.ampm&&(this.ampm=l);this.formattedTime=d.datepicker.formatTime(this._defaults.timeFormat,this,this._defaults);this.$timeObj&&this.$timeObj.text(this.formattedTime+g.timeSuffix);this.timeDefined= !0;i&&this._updateDateTime()},_onSelectHandler:function(){var b=this._defaults.onSelect,a=this.$input?this.$input[0]:null;b&&a&&b.apply(a,[this.formattedDateTime,this])},_formatTime:function(b,a){var b=b||{hour:this.hour,minute:this.minute,second:this.second,millisec:this.millisec,ampm:this.ampm,timezone:this.timezone},c=(a||this._defaults.timeFormat).toString(),c=d.datepicker.formatTime(c,b,this._defaults);if(arguments.length)return c;this.formattedTime=c},_updateDateTime:function(b){var b=this.inst|| b,a=d.datepicker._daylightSavingAdjust(new Date(b.selectedYear,b.selectedMonth,b.selectedDay)),c=d.datepicker._get(b,"dateFormat"),e=d.datepicker._getFormatConfig(b),b=null!==a&&this.timeDefined,a=this.formattedDate=d.datepicker.formatDate(c,null===a?new Date:a,e);if(!0===this._defaults.timeOnly)a=this.formattedTime;else if(!0!==this._defaults.timeOnly&&(this._defaults.alwaysSetTime||b))a+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix;this.formattedDateTime=a;this._defaults.showTimepicker? this.$altInput&&!0===this._defaults.altFieldTimeOnly?(this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate)):(this.$altInput&&this.$altInput.val(a),this.$input.val(a)):this.$input.val(this.formattedDate);this.$input.trigger("change")}});d.fn.extend({timepicker:function(b){var b=b||{},a=arguments;"object"==typeof b&&(a[0]=d.extend(b,{timeOnly:!0}));return d(this).each(function(){d.fn.datetimepicker.apply(d(this),a)})},datetimepicker:function(b){var b=b||{},a=arguments;return"string"== typeof b?"getDate"==b?d.fn.datepicker.apply(d(this[0]),a):this.each(function(){var b=d(this);b.datepicker.apply(b,a)}):this.each(function(){var a=d(this);a.datepicker(d.timepicker._newInst(a,b)._defaults)})}});d.datepicker.parseDateTime=function(b,a,c,e,d){b=u(b,a,c,e,d);b.timeObj&&(a=b.timeObj,b.date.setHours(a.hour,a.minute,a.second,a.millisec));return b.date};d.datepicker.parseTime=function(b,a,c){var c=r(r({},d.timepicker._defaults),c||{}),e="^"+b.toString().replace(/h{1,2}/ig,"(\\d?\\d)").replace(/m{1,2}/ig, "(\\d?\\d)").replace(/s{1,2}/ig,"(\\d?\\d)").replace(/l{1}/ig,"(\\d?\\d?\\d)").replace(/t{1,2}/ig,function(a,b){var c=[];a&&d.merge(c,a);b&&d.merge(c,b);c=d.map(c,function(a){return a.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")});return"("+c.join("|")+")?"}(c.amNames,c.pmNames)).replace(/z{1}/ig,"(z|[-+]\\d\\d:?\\d\\d)?").replace(/\s/g,"\\s?")+c.timeSuffix+"$",f=b.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|t{1,2}|z)/g),b={h:-1,m:-1,s:-1,l:-1,t:-1,z:-1};if(f)for(var g=0;g<f.length;g++)-1==b[f[g].toString().charAt(0)]&& (b[f[g].toString().charAt(0)]=g+1);f="";e=a.match(RegExp(e,"i"));a={hour:0,minute:0,second:0,millisec:0};if(e){-1!==b.t&&(void 0===e[b.t]||0===e[b.t].length?(f="",a.ampm=""):(f=-1!==d.inArray(e[b.t],c.amNames)?"AM":"PM",a.ampm=c["AM"==f?"amNames":"pmNames"][0]));-1!==b.h&&(a.hour="AM"==f&&"12"==e[b.h]?0:"PM"==f&&"12"!=e[b.h]?parseInt(e[b.h],10)+12:Number(e[b.h]));-1!==b.m&&(a.minute=Number(e[b.m]));-1!==b.s&&(a.second=Number(e[b.s]));-1!==b.l&&(a.millisec=Number(e[b.l]));if(-1!==b.z&&void 0!==e[b.z]){b= e[b.z].toUpperCase();switch(b.length){case 1:b=c.timezoneIso8601?"Z":"+0000";break;case 5:c.timezoneIso8601&&(b="0000"==b.substring(1)?"Z":b.substring(0,3)+":"+b.substring(3));break;case 6:c.timezoneIso8601?"00:00"==b.substring(1)&&(b="Z"):b="Z"==b||"00:00"==b.substring(1)?"+0000":b.replace(/:/,"")}a.timezone=b}return a}return!1};d.datepicker.formatTime=function(b,a,c){var c=c||{},c=d.extend(d.timepicker._defaults,c),a=d.extend({hour:0,minute:0,second:0,millisec:0,timezone:"+0000"},a),e=c.amNames[0], f=parseInt(a.hour,10);c.ampm&&(11<f&&(e=c.pmNames[0],12<f&&(f%=12)),0===f&&(f=12));b=b.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz])/g,function(b){switch(b.toLowerCase()){case "hh":return("0"+f).slice(-2);case "h":return f;case "mm":return("0"+a.minute).slice(-2);case "m":return a.minute;case "ss":return("0"+a.second).slice(-2);case "s":return a.second;case "l":return("00"+a.millisec).slice(-3);case "z":return a.timezone;case "t":case "tt":if(c.ampm){b.length==1&&(e=e.charAt(0));return b.charAt(0)=="T"? e.toUpperCase():e.toLowerCase()}return""}});return b=d.trim(b)};d.datepicker._base_selectDate=d.datepicker._selectDate;d.datepicker._selectDate=function(b,a){var c=this._getInst(d(b)[0]),e=this._get(c,"timepicker");e?(e._limitMinMaxDateTime(c,!0),c.inline=c.stay_open=!0,this._base_selectDate(b,a),c.inline=c.stay_open=!1,this._notifyChange(c),this._updateDatepicker(c)):this._base_selectDate(b,a)};d.datepicker._base_updateDatepicker=d.datepicker._updateDatepicker;d.datepicker._updateDatepicker=function(b){var a= b.input[0];if(!d.datepicker._curInst||!(d.datepicker._curInst!=b&&d.datepicker._datepickerShowing&&d.datepicker._lastInput!=a))if("boolean"!==typeof b.stay_open||!1===b.stay_open)if(this._base_updateDatepicker(b),a=this._get(b,"timepicker"))a._addTimePicker(b),a._defaults.useLocalTimezone&&(t(a,new Date(b.selectedYear,b.selectedMonth,b.selectedDay,12)),a._onTimeChange())};d.datepicker._base_doKeyPress=d.datepicker._doKeyPress;d.datepicker._doKeyPress=function(b){var a=d.datepicker._getInst(b.target), c=d.datepicker._get(a,"timepicker");if(c&&d.datepicker._get(a,"constrainInput")){var e=c._defaults.ampm,a=d.datepicker._possibleChars(d.datepicker._get(a,"dateFormat")),c=c._defaults.timeFormat.toString().replace(/[hms]/g,"").replace(/TT/g,e?"APM":"").replace(/Tt/g,e?"AaPpMm":"").replace(/tT/g,e?"AaPpMm":"").replace(/T/g,e?"AP":"").replace(/tt/g,e?"apm":"").replace(/t/g,e?"ap":"")+" "+c._defaults.separator+c._defaults.timeSuffix+(c._defaults.showTimezone?c._defaults.timezoneList.join(""):"")+c._defaults.amNames.join("")+ c._defaults.pmNames.join("")+a,e=String.fromCharCode(void 0===b.charCode?b.keyCode:b.charCode);return b.ctrlKey||" ">e||!a||-1<c.indexOf(e)}return d.datepicker._base_doKeyPress(b)};d.datepicker._base_doKeyUp=d.datepicker._doKeyUp;d.datepicker._doKeyUp=function(b){var a=d.datepicker._getInst(b.target),c=d.datepicker._get(a,"timepicker");if(c&&c._defaults.timeOnly&&a.input.val()!=a.lastVal)try{d.datepicker._updateDatepicker(a)}catch(e){d.datepicker.log(e)}return d.datepicker._base_doKeyUp(b)};d.datepicker._base_gotoToday= d.datepicker._gotoToday;d.datepicker._gotoToday=function(b){var a=this._getInst(d(b)[0]),c=a.dpDiv;this._base_gotoToday(b);b=this._get(a,"timepicker");t(b);this._setTime(a,new Date);d(".ui-datepicker-today",c).click()};d.datepicker._disableTimepickerDatepicker=function(b){var a=this._getInst(b);if(a){var c=this._get(a,"timepicker");d(b).datepicker("getDate");c&&(c._defaults.showTimepicker=!1,c._updateDateTime(a))}};d.datepicker._enableTimepickerDatepicker=function(b){var a=this._getInst(b);if(a){var c= this._get(a,"timepicker");d(b).datepicker("getDate");c&&(c._defaults.showTimepicker=!0,c._addTimePicker(a),c._updateDateTime(a))}};d.datepicker._setTime=function(b,a){var c=this._get(b,"timepicker");if(c){var e=c._defaults,d=a?a.getHours():e.hour,g=a?a.getMinutes():e.minute,l=a?a.getSeconds():e.second,i=a?a.getMilliseconds():e.millisec,h=d===e.hourMin,m=g===e.minuteMin,q=l===e.secondMin,o=!1;if(d<e.hourMin||d>e.hourMax)o=!0;else if((g<e.minuteMin||g>e.minuteMax)&&h)o=!0;else if((l<e.secondMin||l> e.secondMax)&&h&&m)o=!0;else if((i<e.millisecMin||i>e.millisecMax)&&h&&m&&q)o=!0;o&&(d=e.hourMin,g=e.minuteMin,l=e.secondMin,i=e.millisecMin);c.hour=d;c.minute=g;c.second=l;c.millisec=i;c.hour_slider&&c.hour_slider.slider("value",d);c.minute_slider&&c.minute_slider.slider("value",g);c.second_slider&&c.second_slider.slider("value",l);c.millisec_slider&&c.millisec_slider.slider("value",i);c._onTimeChange();c._updateDateTime(b)}};d.datepicker._setTimeDatepicker=function(b,a,c){if(b=this._getInst(b)){var e= this._get(b,"timepicker");e&&(this._setDateFromField(b),a&&("string"==typeof a?(e._parseTime(a,c),a=new Date,a.setHours(e.hour,e.minute,e.second,e.millisec)):a=new Date(a.getTime()),"Invalid Date"==a.toString()&&(a=void 0),this._setTime(b,a)))}};d.datepicker._base_setDateDatepicker=d.datepicker._setDateDatepicker;d.datepicker._setDateDatepicker=function(b,a){var c=this._getInst(b);if(c){var e=a instanceof Date?new Date(a.getTime()):a;this._updateDatepicker(c);this._base_setDateDatepicker.apply(this, arguments);this._setTimeDatepicker(b,e,!0)}};d.datepicker._base_getDateDatepicker=d.datepicker._getDateDatepicker;d.datepicker._getDateDatepicker=function(b,a){var c=this._getInst(b);if(c){var e=this._get(c,"timepicker");return e?(this._setDateFromField(c,a),(c=this._getDate(c))&&e._parseTime(d(b).val(),e.timeOnly)&&c.setHours(e.hour,e.minute,e.second,e.millisec),c):this._base_getDateDatepicker(b,a)}};d.datepicker._base_parseDate=d.datepicker.parseDate;d.datepicker.parseDate=function(b,a,c){a=w(b, a,c);return d.datepicker._base_parseDate(b,a[0],c)};d.datepicker._base_formatDate=d.datepicker._formatDate;d.datepicker._formatDate=function(b){var a=this._get(b,"timepicker");return a?(a._updateDateTime(b),a.$input.val()):this._base_formatDate(b)};d.datepicker._base_optionDatepicker=d.datepicker._optionDatepicker;d.datepicker._optionDatepicker=function(b,a,c){var e=this._getInst(b);if(!e)return null;if(e=this._get(e,"timepicker")){var d=null,g=null,l=null;"string"==typeof a?"minDate"===a||"minDateTime"=== a?d=c:"maxDate"===a||"maxDateTime"===a?g=c:"onSelect"===a&&(l=c):"object"==typeof a&&(a.minDate?d=a.minDate:a.minDateTime?d=a.minDateTime:a.maxDate?g=a.maxDate:a.maxDateTime&&(g=a.maxDateTime));d?(d=0===d?new Date:new Date(d),e._defaults.minDate=d,e._defaults.minDateTime=d):g?(g=0===g?new Date:new Date(g),e._defaults.maxDate=g,e._defaults.maxDateTime=g):l&&(e._defaults.onSelect=l)}return void 0===c?this._base_optionDatepicker(b,a):this._base_optionDatepicker(b,a,c)};var w=function(b,a,c){try{d.datepicker._base_parseDate(b, a,c)}catch(e){if(0<=e.indexOf(":"))return b=a.length-(e.length-e.indexOf(":")-2),a.substring(b),[a.substring(0,b),a.substring(b)];throw e;}return[a,""]},u=function(b,a,c,e,f){c=w(b,c,e);b=d.datepicker._base_parseDate(b,c[0],e);if(""!==c[1]){e=c[1];c=f&&f.separator?f.separator:d.timepicker._defaults.separator;if(0!==e.indexOf(c))throw"Missing time separator";e=e.substring(c.length);a=d.datepicker.parseTime(a,e,f);if(null===a)throw"Wrong time format";return{date:b,timeObj:a}}return{date:b}},t=function(b, a){if(b&&b.timezone_select){b._defaults.useLocalTimezone=!0;var c=v("undefined"!==typeof a?a:new Date);b._defaults.timezoneIso8601&&(c=c.substring(0,3)+":"+c.substring(3));b.timezone_select.val(c)}},v=function(b){b=-10100*b.getTimezoneOffset()/60;return(0<=b?"+":"-")+Math.abs(b).toString().substr(1)};d.timepicker=new m;d.timepicker.version="1.0.1"}})(jQuery);
     1/*! jQuery Timepicker Addon - v1.5.5 - 2015-05-24
     2* http://trentrichardson.com/examples/timepicker
     3* Copyright (c) 2015 Trent Richardson; Licensed MIT */
     4(function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui"],e):e(jQuery)})(function($){if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.5.5"}});var Timepicker=function(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"HH:mm",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",microsecText:"Microsecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,timeOnlyShowDate:!1,showHour:null,showMinute:null,showSecond:null,showMillisec:null,showMicrosec:null,showTimezone:null,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,stepMicrosec:1,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,microsecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,microsecMax:999,minDateTime:null,maxDateTime:null,maxTime:null,minTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,microsecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altTimeFormat:null,altSeparator:null,altTimeSuffix:null,altRedirectFocus:!0,pickerTimeFormat:null,pickerTimeSuffix:null,showTimepicker:!0,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",oneLine:!1,defaultValue:null,parse:"strict",afterInject:null},$.extend(this._defaults,this.regional[""])};$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,microsec_slider:null,timezone_select:null,maxTime:null,minTime:null,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,microsecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,microsecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec","microsec"],support:{},control:null,setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_newInst:function($input,opts){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}overrides={beforeShow:function(e,t){return $.isFunction(tp_inst._defaults.evnts.beforeShow)?tp_inst._defaults.evnts.beforeShow.call($input[0],e,t,tp_inst):void 0},onChangeMonthYear:function(e,t,i){$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],e,t,i,tp_inst)},onClose:function(e,t){tp_inst.timeDefined===!0&&""!==$input.val()&&tp_inst._updateDateTime(t),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],e,t,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=opts[i]||this._defaults[i]||null);tp_inst._defaults=$.extend({},this._defaults,inlineSettings,opts,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(e){return e.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(e){return e.toUpperCase()}),tp_inst.support=detectSupport(tp_inst._defaults.timeFormat+(tp_inst._defaults.pickerTimeFormat?tp_inst._defaults.pickerTimeFormat:"")+(tp_inst._defaults.altTimeFormat?tp_inst._defaults.altTimeFormat:"")),"string"==typeof tp_inst._defaults.controlType?("slider"===tp_inst._defaults.controlType&&$.ui.slider===void 0&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType;var timezoneList=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,660,690,720,765,780,840];null!==tp_inst._defaults.timezoneList&&(timezoneList=tp_inst._defaults.timezoneList);var tzl=timezoneList.length,tzi=0,tzv=null;if(tzl>0&&"object"!=typeof timezoneList[0])for(;tzl>tzi;tzi++)tzv=timezoneList[tzi],timezoneList[tzi]={value:tzv,label:$.timepicker.timezoneOffsetString(tzv,tp_inst.support.iso8601)};return tp_inst._defaults.timezoneList=timezoneList,tp_inst.timezone=null!==tp_inst._defaults.timezone?$.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone):-1*(new Date).getTimezoneOffset(),tp_inst.hour=tp_inst._defaults.hour<tp_inst._defaults.hourMin?tp_inst._defaults.hourMin:tp_inst._defaults.hour>tp_inst._defaults.hourMax?tp_inst._defaults.hourMax:tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute<tp_inst._defaults.minuteMin?tp_inst._defaults.minuteMin:tp_inst._defaults.minute>tp_inst._defaults.minuteMax?tp_inst._defaults.minuteMax:tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second<tp_inst._defaults.secondMin?tp_inst._defaults.secondMin:tp_inst._defaults.second>tp_inst._defaults.secondMax?tp_inst._defaults.secondMax:tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec<tp_inst._defaults.millisecMin?tp_inst._defaults.millisecMin:tp_inst._defaults.millisec>tp_inst._defaults.millisecMax?tp_inst._defaults.millisecMax:tp_inst._defaults.millisec,tp_inst.microsec=tp_inst._defaults.microsec<tp_inst._defaults.microsecMin?tp_inst._defaults.microsecMin:tp_inst._defaults.microsec>tp_inst._defaults.microsecMax?tp_inst._defaults.microsecMax:tp_inst._defaults.microsec,tp_inst.ampm="",tp_inst.$input=$input,tp_inst._defaults.altField&&(tp_inst.$altInput=$(tp_inst._defaults.altField),tp_inst._defaults.altRedirectFocus===!0&&tp_inst.$altInput.css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),(0===tp_inst._defaults.minDate||0===tp_inst._defaults.minDateTime)&&(tp_inst._defaults.minDate=new Date),(0===tp_inst._defaults.maxDate||0===tp_inst._defaults.maxDateTime)&&(tp_inst._defaults.maxDate=new Date),void 0!==tp_inst._defaults.minDate&&tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),void 0!==tp_inst._defaults.minDateTime&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),void 0!==tp_inst._defaults.maxDate&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),void 0!==tp_inst._defaults.maxDateTime&&tp_inst._defaults.maxDateTime instanceof Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(e){var t=$.trim(this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val());this.timeDefined=this._parseTime(t),this._limitMinMaxDateTime(e,!1),this._injectTimePicker(),this._afterInject()},_parseTime:function(e,t){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),t||!this._defaults.timeOnly){var i=$.datepicker._get(this.inst,"dateFormat");try{var s=parseDateTimeInternal(i,this._defaults.timeFormat,e,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!s.timeObj)return!1;$.extend(this,s.timeObj)}catch(a){return $.timepicker.log("Error parsing the date/time string: "+a+"\ndate/time string = "+e+"\ntimeFormat = "+this._defaults.timeFormat+"\ndateFormat = "+i),!1}return!0}var n=$.datepicker.parseTime(this._defaults.timeFormat,e,this._defaults);return n?($.extend(this,n),!0):!1},_afterInject:function(){var e=this.inst.settings;$.isFunction(e.afterInject)&&e.afterInject.call(this)},_injectTimePicker:function(){var e=this.inst.dpDiv,t=this.inst.settings,i=this,s="",a="",n=null,r={},l={},o=null,c=0,u=0;if(0===e.find("div.ui-timepicker-div").length&&t.showTimepicker){var m=" ui_tpicker_unit_hide",d='<div class="ui-timepicker-div'+(t.isRTL?" ui-timepicker-rtl":"")+(t.oneLine&&"select"===t.controlType?" ui-timepicker-oneLine":"")+'"><dl>'+'<dt class="ui_tpicker_time_label'+(t.showTime?"":m)+'">'+t.timeText+"</dt>"+'<dd class="ui_tpicker_time '+(t.showTime?"":m)+'"></dd>';for(c=0,u=this.units.length;u>c;c++){if(s=this.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],r[s]=parseInt(t[s+"Max"]-(t[s+"Max"]-t[s+"Min"])%t["step"+a],10),l[s]=0,d+='<dt class="ui_tpicker_'+s+"_label"+(n?"":m)+'">'+t[s+"Text"]+"</dt>"+'<dd class="ui_tpicker_'+s+(n?"":m)+'"><div class="ui_tpicker_'+s+"_slider"+(n?"":m)+'"></div>',n&&t[s+"Grid"]>0){if(d+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"===s)for(var h=t[s+"Min"];r[s]>=h;h+=parseInt(t[s+"Grid"],10)){l[s]++;var p=$.datepicker.formatTime(this.support.ampm?"hht":"HH",{hour:h},t);d+='<td data-for="'+s+'">'+p+"</td>"}else for(var _=t[s+"Min"];r[s]>=_;_+=parseInt(t[s+"Grid"],10))l[s]++,d+='<td data-for="'+s+'">'+(10>_?"0":"")+_+"</td>";d+="</tr></table></div>"}d+="</dd>"}var f=null!==t.showTimezone?t.showTimezone:this.support.timezone;d+='<dt class="ui_tpicker_timezone_label'+(f?"":m)+'">'+t.timezoneText+"</dt>",d+='<dd class="ui_tpicker_timezone'+(f?"":m)+'"></dd>',d+="</dl></div>";var g=$(d);for(t.timeOnly===!0&&(g.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+t.timeOnlyTitle+"</div>"+"</div>"),e.find(".ui-datepicker-header, .ui-datepicker-calendar").hide()),c=0,u=i.units.length;u>c;c++)s=i.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],i[s+"_slider"]=i.control.create(i,g.find(".ui_tpicker_"+s+"_slider"),s,i[s],t[s+"Min"],r[s],t["step"+a]),n&&t[s+"Grid"]>0&&(o=100*l[s]*t[s+"Grid"]/(r[s]-t[s+"Min"]),g.find(".ui_tpicker_"+s+" table").css({width:o+"%",marginLeft:t.isRTL?"0":o/(-2*l[s])+"%",marginRight:t.isRTL?o/(-2*l[s])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var e=$(this),t=e.html(),a=parseInt(t.replace(/[^0-9]/g),10),n=t.replace(/[^apm]/gi),r=e.data("for");"hour"===r&&(-1!==n.indexOf("p")&&12>a?a+=12:-1!==n.indexOf("a")&&12===a&&(a=0)),i.control.value(i,i[r+"_slider"],s,a),i._onTimeChange(),i._onSelectHandler()}).css({cursor:"pointer",width:100/l[s]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=g.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(t.timezoneList,function(e){return $("<option />").val("object"==typeof e?e.value:e).text("object"==typeof e?e.label:e)})),this.timezone!==void 0&&null!==this.timezone&&""!==this.timezone){var M=-1*new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12).getTimezoneOffset();M===this.timezone?selectLocalTimezone(i):this.timezone_select.val(this.timezone)}else this.hour!==void 0&&null!==this.hour&&""!==this.hour?this.timezone_select.val(t.timezone):selectLocalTimezone(i);this.timezone_select.change(function(){i._onTimeChange(),i._onSelectHandler(),i._afterInject()});var v=e.find(".ui-datepicker-buttonpane");if(v.length?v.before(g):e.append(g),this.$timeObj=g.find(".ui_tpicker_time"),null!==this.inst){var k=this.timeDefined;this._onTimeChange(),this.timeDefined=k}if(this._defaults.addSliderAccess){var T=this._defaults.sliderAccessArgs,D=this._defaults.isRTL;T.isRTL=D,setTimeout(function(){if(0===g.find(".ui-slider-access").length){g.find(".ui-slider:visible").sliderAccess(T);var e=g.find(".ui-slider-access:eq(0)").outerWidth(!0);e&&g.find("table:visible").each(function(){var t=$(this),i=t.outerWidth(),s=(""+t.css(D?"marginRight":"marginLeft")).replace("%",""),a=i-e,n=s*a/i+"%",r={width:a,marginRight:0,marginLeft:0};r[D?"marginRight":"marginLeft"]=n,t.css(r)})}},10)}i._limitMinMaxDateTime(this.inst,!0)}},_limitMinMaxDateTime:function(e,t){var i=this._defaults,s=new Date(e.selectedYear,e.selectedMonth,e.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(e,"minDateTime")&&void 0!==$.datepicker._get(e,"minDateTime")&&s){var a=$.datepicker._get(e,"minDateTime"),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0);(null===this.hourMinOriginal||null===this.minuteMinOriginal||null===this.secondMinOriginal||null===this.millisecMinOriginal||null===this.microsecMinOriginal)&&(this.hourMinOriginal=i.hourMin,this.minuteMinOriginal=i.minuteMin,this.secondMinOriginal=i.secondMin,this.millisecMinOriginal=i.millisecMin,this.microsecMinOriginal=i.microsecMin),e.settings.timeOnly||n.getTime()===s.getTime()?(this._defaults.hourMin=a.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=a.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=a.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=a.getMilliseconds(),this.millisec<=this._defaults.millisecMin?(this.millisec=this._defaults.millisecMin,this._defaults.microsecMin=a.getMicroseconds()):(this.microsec<this._defaults.microsecMin&&(this.microsec=this._defaults.microsecMin),this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)}if(null!==$.datepicker._get(e,"maxDateTime")&&void 0!==$.datepicker._get(e,"maxDateTime")&&s){var r=$.datepicker._get(e,"maxDateTime"),l=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0);(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal||null===this.millisecMaxOriginal)&&(this.hourMaxOriginal=i.hourMax,this.minuteMaxOriginal=i.minuteMax,this.secondMaxOriginal=i.secondMax,this.millisecMaxOriginal=i.millisecMax,this.microsecMaxOriginal=i.microsecMax),e.settings.timeOnly||l.getTime()===s.getTime()?(this._defaults.hourMax=r.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=r.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=r.getSeconds(),this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=r.getMilliseconds(),this.millisec>=this._defaults.millisecMax?(this.millisec=this._defaults.millisecMax,this._defaults.microsecMax=r.getMicroseconds()):(this.microsec>this._defaults.microsecMax&&(this.microsec=this._defaults.microsecMax),this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)}if(null!==e.settings.minTime){var o=new Date("01/01/1970 "+e.settings.minTime);this.hour<o.getHours()?(this.hour=this._defaults.hourMin=o.getHours(),this.minute=this._defaults.minuteMin=o.getMinutes()):this.hour===o.getHours()&&this.minute<o.getMinutes()?this.minute=this._defaults.minuteMin=o.getMinutes():this._defaults.hourMin<o.getHours()?(this._defaults.hourMin=o.getHours(),this._defaults.minuteMin=o.getMinutes()):this._defaults.minuteMin=this._defaults.hourMin===o.getHours()===this.hour&&this._defaults.minuteMin<o.getMinutes()?o.getMinutes():0}if(null!==e.settings.maxTime){var c=new Date("01/01/1970 "+e.settings.maxTime);this.hour>c.getHours()?(this.hour=this._defaults.hourMax=c.getHours(),this.minute=this._defaults.minuteMax=c.getMinutes()):this.hour===c.getHours()&&this.minute>c.getMinutes()?this.minute=this._defaults.minuteMax=c.getMinutes():this._defaults.hourMax>c.getHours()?(this._defaults.hourMax=c.getHours(),this._defaults.minuteMax=c.getMinutes()):this._defaults.minuteMax=this._defaults.hourMax===c.getHours()===this.hour&&this._defaults.minuteMax>c.getMinutes()?c.getMinutes():59}if(void 0!==t&&t===!0){var u=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),m=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),d=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),h=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),p=parseInt(this._defaults.microsecMax-(this._defaults.microsecMax-this._defaults.microsecMin)%this._defaults.stepMicrosec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,"hour",{min:this._defaults.hourMin,max:u,step:this._defaults.stepHour}),this.control.value(this,this.hour_slider,"hour",this.hour-this.hour%this._defaults.stepHour)),this.minute_slider&&(this.control.options(this,this.minute_slider,"minute",{min:this._defaults.minuteMin,max:m,step:this._defaults.stepMinute}),this.control.value(this,this.minute_slider,"minute",this.minute-this.minute%this._defaults.stepMinute)),this.second_slider&&(this.control.options(this,this.second_slider,"second",{min:this._defaults.secondMin,max:d,step:this._defaults.stepSecond}),this.control.value(this,this.second_slider,"second",this.second-this.second%this._defaults.stepSecond)),this.millisec_slider&&(this.control.options(this,this.millisec_slider,"millisec",{min:this._defaults.millisecMin,max:h,step:this._defaults.stepMillisec}),this.control.value(this,this.millisec_slider,"millisec",this.millisec-this.millisec%this._defaults.stepMillisec)),this.microsec_slider&&(this.control.options(this,this.microsec_slider,"microsec",{min:this._defaults.microsecMin,max:p,step:this._defaults.stepMicrosec}),this.control.value(this,this.microsec_slider,"microsec",this.microsec-this.microsec%this._defaults.stepMicrosec))}}},_onTimeChange:function(){if(this._defaults.showTimepicker){var e=this.hour_slider?this.control.value(this,this.hour_slider,"hour"):!1,t=this.minute_slider?this.control.value(this,this.minute_slider,"minute"):!1,i=this.second_slider?this.control.value(this,this.second_slider,"second"):!1,s=this.millisec_slider?this.control.value(this,this.millisec_slider,"millisec"):!1,a=this.microsec_slider?this.control.value(this,this.microsec_slider,"microsec"):!1,n=this.timezone_select?this.timezone_select.val():!1,r=this._defaults,l=r.pickerTimeFormat||r.timeFormat,o=r.pickerTimeSuffix||r.timeSuffix;"object"==typeof e&&(e=!1),"object"==typeof t&&(t=!1),"object"==typeof i&&(i=!1),"object"==typeof s&&(s=!1),"object"==typeof a&&(a=!1),"object"==typeof n&&(n=!1),e!==!1&&(e=parseInt(e,10)),t!==!1&&(t=parseInt(t,10)),i!==!1&&(i=parseInt(i,10)),s!==!1&&(s=parseInt(s,10)),a!==!1&&(a=parseInt(a,10)),n!==!1&&(n=""+n);var c=r[12>e?"amNames":"pmNames"][0],u=e!==parseInt(this.hour,10)||t!==parseInt(this.minute,10)||i!==parseInt(this.second,10)||s!==parseInt(this.millisec,10)||a!==parseInt(this.microsec,10)||this.ampm.length>0&&12>e!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null!==this.timezone&&n!==""+this.timezone;u&&(e!==!1&&(this.hour=e),t!==!1&&(this.minute=t),i!==!1&&(this.second=i),s!==!1&&(this.millisec=s),a!==!1&&(this.microsec=a),n!==!1&&(this.timezone=n),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),this.support.ampm&&(this.ampm=c),this.formattedTime=$.datepicker.formatTime(r.timeFormat,this,r),this.$timeObj&&(l===r.timeFormat?this.$timeObj.text(this.formattedTime+o):this.$timeObj.text($.datepicker.formatTime(l,this,r)+o)),this.timeDefined=!0,u&&this._updateDateTime()}},_onSelectHandler:function(){var e=this._defaults.onSelect||this.inst.settings.onSelect,t=this.$input?this.$input[0]:null;e&&t&&e.apply(t,[this.formattedDateTime,this])},_updateDateTime:function(e){e=this.inst||e;var t=e.currentYear>0?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(e.selectedYear,e.selectedMonth,e.selectedDay),i=$.datepicker._daylightSavingAdjust(t),s=$.datepicker._get(e,"dateFormat"),a=$.datepicker._getFormatConfig(e),n=null!==i&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(s,null===i?new Date:i,a);var r=this.formattedDate;if(""===e.lastVal&&(e.currentYear=e.selectedYear,e.currentMonth=e.selectedMonth,e.currentDay=e.selectedDay),this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!1?r=this.formattedTime:(this._defaults.timeOnly!==!0&&(this._defaults.alwaysSetTime||n)||this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!0)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&this._defaults.timeOnly===!1&&this._defaults.altFieldTimeOnly===!0)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var l="",o=null!==this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=null!==this._defaults.altTimeSuffix?this._defaults.altTimeSuffix:this._defaults.timeSuffix;this._defaults.timeOnly||(l=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===i?new Date:i,a):this.formattedDate,l&&(l+=o)),l+=null!==this._defaults.altTimeFormat?$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:this.formattedTime+c,this.$altInput.val(l)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var e=$.datepicker._getInst(this.$input.get(0)),t=$.datepicker._get(e,"timepicker");if(t&&t._defaults.timeOnly&&e.input.val()!==e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(i){$.timepicker.log(i)}}},_controls:{slider:{create:function(e,t,i,s,a,n,r){var l=e._defaults.isRTL;return t.prop("slide",null).slider({orientation:"horizontal",value:l?-1*s:s,min:l?-1*n:a,max:l?-1*a:n,step:r,slide:function(t,s){e.control.value(e,$(this),i,l?-1*s.value:s.value),e._onTimeChange()},stop:function(){e._onSelectHandler()}})},options:function(e,t,i,s,a){if(e._defaults.isRTL){if("string"==typeof s)return"min"===s||"max"===s?void 0!==a?t.slider(s,-1*a):Math.abs(t.slider(s)):t.slider(s);var n=s.min,r=s.max;return s.min=s.max=null,void 0!==n&&(s.max=-1*n),void 0!==r&&(s.min=-1*r),t.slider(s)}return"string"==typeof s&&void 0!==a?t.slider(s,a):t.slider(s)},value:function(e,t,i,s){return e._defaults.isRTL?void 0!==s?t.slider("value",-1*s):Math.abs(t.slider("value")):void 0!==s?t.slider("value",s):t.slider("value")}},select:{create:function(e,t,i,s,a,n,r){for(var l='<select class="ui-timepicker-select ui-state-default ui-corner-all" data-unit="'+i+'" data-min="'+a+'" data-max="'+n+'" data-step="'+r+'">',o=e._defaults.pickerTimeFormat||e._defaults.timeFormat,c=a;n>=c;c+=r)l+='<option value="'+c+'"'+(c===s?" selected":"")+">",l+="hour"===i?$.datepicker.formatTime($.trim(o.replace(/[^ht ]/gi,"")),{hour:c},e._defaults):"millisec"===i||"microsec"===i||c>=10?c:"0"+(""+c),l+="</option>";return l+="</select>",t.children("select").remove(),$(l).appendTo(t).change(function(){e._onTimeChange(),e._onSelectHandler(),e._afterInject()}),t},options:function(e,t,i,s,a){var n={},r=t.children("select");if("string"==typeof s){if(void 0===a)return r.data(s);n[s]=a}else n=s;return e.control.create(e,t,r.data("unit"),r.val(),n.min>=0?n.min:r.data("min"),n.max||r.data("max"),n.step||r.data("step"))},value:function(e,t,i,s){var a=t.children("select");return void 0!==s?a.val(s):a.val()}}}}),$.fn.extend({timepicker:function(e){e=e||{};var t=Array.prototype.slice.call(arguments);return"object"==typeof e&&(t[0]=$.extend(e,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),t)})},datetimepicker:function(e){e=e||{};var t=arguments;return"string"==typeof e?"getDate"===e||"option"===e&&2===t.length&&"string"==typeof t[1]?$.fn.datepicker.apply($(this[0]),t):this.each(function(){var e=$(this);e.datepicker.apply(e,t)}):this.each(function(){var t=$(this);t.datepicker($.timepicker._newInst(t,e)._defaults)})}}),$.datepicker.parseDateTime=function(e,t,i,s,a){var n=parseDateTimeInternal(e,t,i,s,a);if(n.timeObj){var r=n.timeObj;n.date.setHours(r.hour,r.minute,r.second,r.millisec),n.date.setMicroseconds(r.microsec)}return n.date},$.datepicker.parseTime=function(e,t,i){var s=extendRemove(extendRemove({},$.timepicker._defaults),i||{});-1!==e.replace(/\'.*?\'/g,"").indexOf("Z");var a=function(e,t,i){var s,a=function(e,t){var i=[];return e&&$.merge(i,e),t&&$.merge(i,t),i=$.map(i,function(e){return e.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+i.join("|")+")?"},n=function(e){var t=e.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),i={h:-1,m:-1,s:-1,l:-1,c:-1,t:-1,z:-1};if(t)for(var s=0;t.length>s;s++)-1===i[(""+t[s]).charAt(0)]&&(i[(""+t[s]).charAt(0)]=s+1);return i},r="^"+(""+e).replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){var t=e.length;switch(e.charAt(0).toLowerCase()){case"h":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"m":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"s":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"l":return"(\\d?\\d?\\d)";case"c":return"(\\d?\\d?\\d)";case"z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case"t":return a(i.amNames,i.pmNames);default:return"("+e.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(e){return"\\"+e})+")?"}}).replace(/\s/g,"\\s?")+i.timeSuffix+"$",l=n(e),o="";s=t.match(RegExp(r,"i"));var c={hour:0,minute:0,second:0,millisec:0,microsec:0};return s?(-1!==l.t&&(void 0===s[l.t]||0===s[l.t].length?(o="",c.ampm=""):(o=-1!==$.inArray(s[l.t].toUpperCase(),$.map(i.amNames,function(e){return e.toUpperCase()}))?"AM":"PM",c.ampm=i["AM"===o?"amNames":"pmNames"][0])),-1!==l.h&&(c.hour="AM"===o&&"12"===s[l.h]?0:"PM"===o&&"12"!==s[l.h]?parseInt(s[l.h],10)+12:Number(s[l.h])),-1!==l.m&&(c.minute=Number(s[l.m])),-1!==l.s&&(c.second=Number(s[l.s])),-1!==l.l&&(c.millisec=Number(s[l.l])),-1!==l.c&&(c.microsec=Number(s[l.c])),-1!==l.z&&void 0!==s[l.z]&&(c.timezone=$.timepicker.timezoneOffsetNumber(s[l.z])),c):!1},n=function(e,t,i){try{var s=new Date("2012-01-01 "+t);if(isNaN(s.getTime())&&(s=new Date("2012-01-01T"+t),isNaN(s.getTime())&&(s=new Date("01/01/2012 "+t),isNaN(s.getTime()))))throw"Unable to parse time with native Date: "+t;return{hour:s.getHours(),minute:s.getMinutes(),second:s.getSeconds(),millisec:s.getMilliseconds(),microsec:s.getMicroseconds(),timezone:-1*s.getTimezoneOffset()}}catch(n){try{return a(e,t,i)}catch(r){$.timepicker.log("Unable to parse \ntimeString: "+t+"\ntimeFormat: "+e)}}return!1};return"function"==typeof s.parse?s.parse(e,t,s):"loose"===s.parse?n(e,t,s):a(e,t,s)},$.datepicker.formatTime=function(e,t,i){i=i||{},i=$.extend({},$.timepicker._defaults,i),t=$.extend({hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null},t);var s=e,a=i.amNames[0],n=parseInt(t.hour,10);return n>11&&(a=i.pmNames[0]),s=s.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){switch(e){case"HH":return("0"+n).slice(-2);case"H":return n;case"hh":return("0"+convert24to12(n)).slice(-2);case"h":return convert24to12(n);case"mm":return("0"+t.minute).slice(-2);case"m":return t.minute;case"ss":return("0"+t.second).slice(-2);case"s":return t.second;case"l":return("00"+t.millisec).slice(-3);case"c":return("00"+t.microsec).slice(-3);case"z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!1);case"Z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!0);case"T":return a.charAt(0).toUpperCase();case"TT":return a.toUpperCase();case"t":return a.charAt(0).toLowerCase();case"tt":return a.toLowerCase();default:return e.replace(/'/g,"")}})},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(e,t){var i,s=this._getInst($(e)[0]),a=this._get(s,"timepicker");a&&s.settings.showTimepicker?(a._limitMinMaxDateTime(s,!0),i=s.inline,s.inline=s.stay_open=!0,this._base_selectDate(e,t),s.inline=i,s.stay_open=!1,this._notifyChange(s),this._updateDatepicker(s)):this._base_selectDate(e,t)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(e){var t=e.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!==e&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!==t||"boolean"==typeof e.stay_open&&e.stay_open!==!1)){this._base_updateDatepicker(e);var i=this._get(e,"timepicker");i&&i._addTimePicker(e)}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&$.datepicker._get(t,"constrainInput")){var s=i.support.ampm,a=null!==i._defaults.showTimezone?i._defaults.showTimezone:i.support.timezone,n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=(""+i._defaults.timeFormat).replace(/[hms]/g,"").replace(/TT/g,s?"APM":"").replace(/Tt/g,s?"AaPpMm":"").replace(/tT/g,s?"AaPpMm":"").replace(/T/g,s?"AP":"").replace(/tt/g,s?"apm":"").replace(/t/g,s?"ap":"")+" "+i._defaults.separator+i._defaults.timeSuffix+(a?i._defaults.timezoneList.join(""):"")+i._defaults.amNames.join("")+i._defaults.pmNames.join("")+n,l=String.fromCharCode(void 0===e.charCode?e.keyCode:e.charCode);return e.ctrlKey||" ">l||!n||r.indexOf(l)>-1}return $.datepicker._base_doKeyPress(e)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(e){var t=this._get(e,"timepicker");if(t){var i=t._defaults.altField;if(i){var s=(t._defaults.altFormat||t._defaults.dateFormat,this._getDate(e)),a=$.datepicker._getFormatConfig(e),n="",r=t._defaults.altSeparator?t._defaults.altSeparator:t._defaults.separator,l=t._defaults.altTimeSuffix?t._defaults.altTimeSuffix:t._defaults.timeSuffix,o=null!==t._defaults.altTimeFormat?t._defaults.altTimeFormat:t._defaults.timeFormat;n+=$.datepicker.formatTime(o,t,t._defaults)+l,t._defaults.timeOnly||t._defaults.altFieldTimeOnly||null===s||(n=t._defaults.altFormat?$.datepicker.formatDate(t._defaults.altFormat,s,a)+r+n:t.formattedDate+r+n),$(i).val(e.input.val()?n:"")}}else $.datepicker._base_updateAlternate(e)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&i._defaults.timeOnly&&t.input.val()!==t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(s){$.timepicker.log(s)}return $.datepicker._base_doKeyUp(e)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(e){var t=this._getInst($(e)[0]);t.dpDiv;var i=this._get(t,"timepicker");selectLocalTimezone(i);var s=new Date;this._setTime(t,s),this._setDate(t,s),this._base_gotoToday(e)},$.datepicker._disableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!1,i._defaults.showTimepicker=!1,i._updateDateTime(t))
     5}},$.datepicker._enableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!0,i._defaults.showTimepicker=!0,i._addTimePicker(t),i._updateDateTime(t))}},$.datepicker._setTime=function(e,t){var i=this._get(e,"timepicker");if(i){var s=i._defaults;i.hour=t?t.getHours():s.hour,i.minute=t?t.getMinutes():s.minute,i.second=t?t.getSeconds():s.second,i.millisec=t?t.getMilliseconds():s.millisec,i.microsec=t?t.getMicroseconds():s.microsec,i._limitMinMaxDateTime(e,!0),i._onTimeChange(),i._updateDateTime(e)}},$.datepicker._setTimeDatepicker=function(e,t,i){var s=this._getInst(e);if(s){var a=this._get(s,"timepicker");if(a){this._setDateFromField(s);var n;t&&("string"==typeof t?(a._parseTime(t,i),n=new Date,n.setHours(a.hour,a.minute,a.second,a.millisec),n.setMicroseconds(a.microsec)):(n=new Date(t.getTime()),n.setMicroseconds(t.getMicroseconds())),"Invalid Date"==""+n&&(n=void 0),this._setTime(s,n))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(e,t){var i=this._getInst(e),s=t;if(i){"string"==typeof t&&(s=new Date(t),s.getTime()||(this._base_setDateDatepicker.apply(this,arguments),s=$(e).datepicker("getDate")));var a,n=this._get(i,"timepicker");s instanceof Date?(a=new Date(s.getTime()),a.setMicroseconds(s.getMicroseconds())):a=s,n&&a&&(n.support.timezone||null!==n._defaults.timezone||(n.timezone=-1*a.getTimezoneOffset()),s=$.timepicker.timezoneAdjust(s,n.timezone),a=$.timepicker.timezoneAdjust(a,n.timezone)),this._updateDatepicker(i),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(e,a,!0)}},$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(e,t){var i=this._getInst(e);if(i){var s=this._get(i,"timepicker");if(s){void 0===i.lastVal&&this._setDateFromField(i,t);var a=this._getDate(i),n=$.trim(s.$altInput&&s._defaults.altFieldTimeOnly?s.$input.val()+" "+s.$altInput.val():s.$input.val());return a&&s._parseTime(n,!i.settings.timeOnly)&&(a.setHours(s.hour,s.minute,s.second,s.millisec),a.setMicroseconds(s.microsec),null!=s.timezone&&(s.support.timezone||null!==s._defaults.timezone||(s.timezone=-1*a.getTimezoneOffset()),a=$.timepicker.timezoneAdjust(a,s.timezone))),a}return this._base_getDateDatepicker(e,t)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(e,t,i){var s;try{s=this._base_parseDate(e,t,i)}catch(a){if(!(a.indexOf(":")>=0))throw a;s=this._base_parseDate(e,t.substring(0,t.length-(a.length-a.indexOf(":")-2)),i),$.timepicker.log("Error parsing the date string: "+a+"\ndate string = "+t+"\ndate format = "+e)}return s},$.datepicker._base_formatDate=$.datepicker._formatDate,$.datepicker._formatDate=function(e){var t=this._get(e,"timepicker");return t?(t._updateDateTime(e),t.$input.val()):this._base_formatDate(e)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(e,t,i){var s,a=this._getInst(e);if(!a)return null;var n=this._get(a,"timepicker");if(n){var r,l,o,c,u=null,m=null,d=null,h=n._defaults.evnts,p={};if("string"==typeof t){if("minDate"===t||"minDateTime"===t)u=i;else if("maxDate"===t||"maxDateTime"===t)m=i;else if("onSelect"===t)d=i;else if(h.hasOwnProperty(t)){if(i===void 0)return h[t];p[t]=i,s={}}}else if("object"==typeof t){t.minDate?u=t.minDate:t.minDateTime?u=t.minDateTime:t.maxDate?m=t.maxDate:t.maxDateTime&&(m=t.maxDateTime);for(r in h)h.hasOwnProperty(r)&&t[r]&&(p[r]=t[r])}for(r in p)p.hasOwnProperty(r)&&(h[r]=p[r],s||(s=$.extend({},t)),delete s[r]);if(s&&isEmptyObject(s))return;if(u?(u=0===u?new Date:new Date(u),n._defaults.minDate=u,n._defaults.minDateTime=u):m?(m=0===m?new Date:new Date(m),n._defaults.maxDate=m,n._defaults.maxDateTime=m):d&&(n._defaults.onSelect=d),u||m)return c=$(e),o=c.datetimepicker("getDate"),l=this._base_optionDatepicker.call($.datepicker,e,s||t,i),c.datetimepicker("setDate",o),l}return void 0===i?this._base_optionDatepicker.call($.datepicker,e,t):this._base_optionDatepicker.call($.datepicker,e,s||t,i)};var isEmptyObject=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},extendRemove=function(e,t){$.extend(e,t);for(var i in t)(null===t[i]||void 0===t[i])&&(e[i]=t[i]);return e},detectSupport=function(e){var t=e.replace(/'.*?'/g,"").toLowerCase(),i=function(e,t){return-1!==e.indexOf(t)?!0:!1};return{hour:i(t,"h"),minute:i(t,"m"),second:i(t,"s"),millisec:i(t,"l"),microsec:i(t,"c"),timezone:i(t,"z"),ampm:i(t,"t")&&i(e,"h"),iso8601:i(e,"Z")}},convert24to12=function(e){return e%=12,0===e&&(e=12),e+""},computeEffectiveSetting=function(e,t){return e&&e[t]?e[t]:$.timepicker._defaults[t]},splitDateTime=function(e,t){var i=computeEffectiveSetting(t,"separator"),s=computeEffectiveSetting(t,"timeFormat"),a=s.split(i),n=a.length,r=e.split(i),l=r.length;return l>1?{dateString:r.splice(0,l-n).join(i),timeString:r.splice(0,n).join(i)}:{dateString:e,timeString:""}},parseDateTimeInternal=function(e,t,i,s,a){var n,r,l;if(r=splitDateTime(i,a),n=$.datepicker._base_parseDate(e,r.dateString,s),""===r.timeString)return{date:n};if(l=$.datepicker.parseTime(t,r.timeString,a),!l)throw"Wrong time format";return{date:n,timeObj:l}},selectLocalTimezone=function(e,t){if(e&&e.timezone_select){var i=t||new Date;e.timezone_select.val(-i.getTimezoneOffset())}};$.timepicker=new Timepicker,$.timepicker.timezoneOffsetString=function(e,t){if(isNaN(e)||e>840||-720>e)return e;var i=e,s=i%60,a=(i-s)/60,n=t?":":"",r=(i>=0?"+":"-")+("0"+Math.abs(a)).slice(-2)+n+("0"+Math.abs(s)).slice(-2);return"+00:00"===r?"Z":r},$.timepicker.timezoneOffsetNumber=function(e){var t=(""+e).replace(":","");return"Z"===t.toUpperCase()?0:/^(\-|\+)\d{4}$/.test(t)?("-"===t.substr(0,1)?-1:1)*(60*parseInt(t.substr(1,2),10)+parseInt(t.substr(3,2),10)):e},$.timepicker.timezoneAdjust=function(e,t){var i=$.timepicker.timezoneOffsetNumber(t);return isNaN(i)||e.setMinutes(e.getMinutes()+-e.getTimezoneOffset()-i),e},$.timepicker.timeRange=function(e,t,i){return $.timepicker.handleRange("timepicker",e,t,i)},$.timepicker.datetimeRange=function(e,t,i){$.timepicker.handleRange("datetimepicker",e,t,i)},$.timepicker.dateRange=function(e,t,i){$.timepicker.handleRange("datepicker",e,t,i)},$.timepicker.handleRange=function(e,t,i,s){function a(a,n){var r=t[e]("getDate"),l=i[e]("getDate"),o=a[e]("getDate");if(null!==r){var c=new Date(r.getTime()),u=new Date(r.getTime());c.setMilliseconds(c.getMilliseconds()+s.minInterval),u.setMilliseconds(u.getMilliseconds()+s.maxInterval),s.minInterval>0&&c>l?i[e]("setDate",c):s.maxInterval>0&&l>u?i[e]("setDate",u):r>l&&n[e]("setDate",o)}}function n(t,i,a){if(t.val()){var n=t[e].call(t,"getDate");null!==n&&s.minInterval>0&&("minDate"===a&&n.setMilliseconds(n.getMilliseconds()+s.minInterval),"maxDate"===a&&n.setMilliseconds(n.getMilliseconds()-s.minInterval)),n.getTime&&i[e].call(i,"option",a,n)}}s=$.extend({},{minInterval:0,maxInterval:0,start:{},end:{}},s);var r=!1;return"timepicker"===e&&(r=!0,e="datetimepicker"),$.fn[e].call(t,$.extend({timeOnly:r,onClose:function(){a($(this),i)},onSelect:function(){n($(this),i,"minDate")}},s,s.start)),$.fn[e].call(i,$.extend({timeOnly:r,onClose:function(){a($(this),t)},onSelect:function(){n($(this),t,"maxDate")}},s,s.end)),a(t,i),n(t,i,"minDate"),n(i,t,"maxDate"),$([t.get(0),i.get(0)])},$.timepicker.log=function(){window.console&&window.console.log.apply(window.console,Array.prototype.slice.call(arguments))},$.timepicker._util={_extendRemove:extendRemove,_isEmptyObject:isEmptyObject,_convert24to12:convert24to12,_detectSupport:detectSupport,_selectLocalTimezone:selectLocalTimezone,_computeEffectiveSetting:computeEffectiveSetting,_splitDateTime:splitDateTime,_parseDateTimeInternal:parseDateTimeInternal},Date.prototype.getMicroseconds||(Date.prototype.microseconds=0,Date.prototype.getMicroseconds=function(){return this.microseconds},Date.prototype.setMicroseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+Math.floor(e/1e3)),this.microseconds=e%1e3,this}),$.timepicker.version="1.5.5"}});
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/jquery-ui-i18n.js

    r730 r7088  
    2323    firstDay: jquery_ui.first_week_day,
    2424    isRTL: false,
     25    showButtonPanel: true,
    2526    showMonthAfterYear: formatMonth.indexOf('$month') >
    2627                        formatMonth.indexOf('$year')
     
    4041    timeFormat: jquery_ui.time_format,
    4142    separator: jquery_ui.timepicker_separator,
    42     timezone: 'Z',
     43    timezone: jquery_ui.default_timezone,
    4344    showTimezone: jquery_ui.show_timezone,
    4445    timezoneList: jquery_ui.timezone_list,
    4546    timezoneIso8601: jquery_ui.timezone_iso8601,
    4647    ampm: jquery_ui.ampm,
     48    amNames: jquery_ui.period_names.am,
     49    pmNames: jquery_ui.period_names.pm,
    4750    showSecond: true
    4851  });
  • sites/trunk/wordpress.org/public_html/style/trac/common/js/jquery-ui.js

    r730 r7088  
    1 /*! jQuery UI - v1.8.21 - 2012-06-05
    2 * https://github.com/jquery/jquery-ui
    3 * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.effects.core.js, jquery.effects.blind.js, jquery.effects.bounce.js, jquery.effects.clip.js, jquery.effects.drop.js, jquery.effects.explode.js, jquery.effects.fade.js, jquery.effects.fold.js, jquery.effects.highlight.js, jquery.effects.pulsate.js, jquery.effects.scale.js, jquery.effects.shake.js, jquery.effects.slide.js, jquery.effects.transfer.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.tabs.js
    4 * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
    5 (function(a,b){function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;return!b.href||!g||f.nodeName.toLowerCase()!=="map"?!1:(h=a("img[usemap=#"+g+"]")[0],!!h&&d(h))}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(a.ui.version)return;a.extend(a.ui,{version:"1.8.21",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;return a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0),/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)}),c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){return c===b?g["inner"+d].call(this):this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){return typeof b!="number"?g["outer"+d].call(this,b):this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!d||!a.element[0].parentNode)return;for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;return b[d]>0?!0:(b[d]=1,e=b[d]>0,b[d]=0,e)},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}})})(jQuery),function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("remove")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){return c||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(b){}}),d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1],f=e+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e=="string",g=Array.prototype.slice.call(arguments,1),h=this;return e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e,f&&e.charAt(0)==="_"?h:(f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b)return h=f,!1}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))}),h)}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c=="string"){if(d===b)return this.options[c];e={},e[c]=d}return this._setOptions(e),this},_setOptions:function(b){var c=this;return a.each(b,function(a,b){c._setOption(a,b)}),this},_setOption:function(a,b){return this.options[a]=b,a==="disabled"&&this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}}(jQuery),function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+".preventClickEvent"))return a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(b){if(c)return;this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel=="string"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted)return b.preventDefault(),!0}return!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0,!0},_mouseMove:function(b){return!a.browser.msie||document.documentMode>=9||!!b.button?this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted):this._mouseUp(b)},_mouseUp:function(b){return a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})}(jQuery),function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){if(!this.element.data("draggable"))return;return this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this},_mouseCapture:function(b){var c=this.options;return this.helper||c.disabled||a(b.target).is(".ui-resizable-handle")?!1:(this.handle=this._getHandle(b),this.handle?(c.iframeFix&&a(c.iframeFix===!0?"iframe":c.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(a(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(b){var c=this.options;return this.helper=this._createHelper(b),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),a.ui.ddmanager&&(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt),c.containment&&this._setContainment(),this._trigger("start",b)===!1?(this._clear(),!1):(this._cacheHelperProportions(),a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this._mouseDrag(b,!0),a.ui.ddmanager&&a.ui.ddmanager.dragStart(this,b),!0)},_mouseDrag:function(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute");if(!c){var d=this._uiHash();if(this._trigger("drag",b,d)===!1)return this._mouseUp({}),!1;this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";return a.ui.ddmanager&&a.ui.ddmanager.drag(this,b),!1},_mouseStop:function(b){var c=!1;a.ui.ddmanager&&!this.options.dropBehaviour&&(c=a.ui.ddmanager.drop(this,b)),this.dropped&&(c=this.dropped,this.dropped=!1);var d=this.element[0],e=!1;while(d&&(d=d.parentNode))d==document&&(e=!0);if(!e&&this.options.helper==="original")return!1;if(this.options.revert=="invalid"&&!c||this.options.revert=="valid"&&c||this.options.revert===!0||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var f=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){f._trigger("stop",b)!==!1&&f._clear()})}else this._trigger("stop",b)!==!1&&this._clear();return!1},_mouseUp:function(b){return this.options.iframeFix===!0&&a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),a.ui.ddmanager&&a.ui.ddmanager.dragStop(this,b),a.ui.mouse.prototype._mouseUp.call(this,b)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;return a(this.options.handle,this.element).find("*").andSelf().each(function(){this==b.target&&(c=!0)}),c},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b])):c.helper=="clone"?this.element.clone().removeAttr("id"):this.element;return d.parents("body").length||d.appendTo(c.appendTo=="parent"?this.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&&!/(fixed|absolute)/.test(d.css("position"))&&d.css("position","absolute"),d},_adjustOffsetFromHelper:function(b){typeof b=="string"&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left"in b&&(this.offset.click.left=b.left+this.margins.left),"right"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top"in b&&(this.offset.click.top=b.top+this.margins.top),"bottom"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment=="parent"&&(b.containment=this.helper[0].parentNode);if(b.containment=="document"||b.containment=="window")this.containment=[b.containment=="document"?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment=="document"?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment=="document"?0:a(window).scrollLeft())+a(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment=="document"?0:a(window).scrollTop())+(a(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&b.containment.constructor!=Array){var c=a(b.containment),d=c[0];if(!d)return;var e=c.offset(),f=a(d).css("overflow")!="hidden";this.containment=[(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0),(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=c}else b.containment.constructor==Array&&(this.containment=b.containment)},_convertPositionTo:function(b,c){c||(c=this.position);var d=b=="absolute"?1:-1,e=this.options,f=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){var h;if(this.containment){if(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}else h=this.containment;b.pageX-this.offset.click.left<h[0]&&(f=h[0]+this.offset.click.left),b.pageY-this.offset.click.top<h[1]&&(g=h[1]+this.offset.click.top),b.pageX-this.offset.click.left>h[2]&&(f=h[2]+this.offset.click.left),b.pageY-this.offset.click.top>h[3]&&(g=h[3]+this.offset.click.top)}if(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.top<h[1]||j-this.offset.click.top>h[3]?j-this.offset.click.top<h[1]?j+c.grid[1]:j-c.grid[1]:j:j;var k=c.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX;f=h?k-this.offset.click.left<h[0]||k-this.offset.click.left>h[2]?k-this.offset.click.left<h[0]?k+c.grid[0]:k-c.grid[0]:k:k}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(b,c,d){return d=d||this._uiHash(),a.ui.plugin.call(this,b,[c,d]),b=="drag"&&(this.positionAbs=this._convertPositionTo("absolute")),a.Widget.prototype._trigger.call(this,b,c,d)},plugins:{},_uiHash:function(a){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),a.extend(a.ui.draggable,{version:"1.8.21"}),a.ui.plugin.add("draggable","connectToSortable",{start:function(b,c){var d=a(this).data("draggable"),e=d.options,f=a.extend({},c,{item:d.element});d.sortables=[],a(e.connectToSortable).each(function(){var c=a.data(this,"sortable");c&&!c.options.disabled&&(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger("activate",b,f))})},stop:function(b,c){var d=a(this).data("draggable"),e=a.extend({},c,{item:d.element});a.each(d.sortables,function(){this.instance.isOver?(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(b),this.instance.options.helper=this.instance.options._helper,d.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",b,e))})},drag:function(b,c){var d=a(this).data("draggable"),e=this,f=function(b){var c=this.offset.click.top,d=this.offset.click.left,e=this.positionAbs.top,f=this.positionAbs.left,g=b.height,h=b.width,i=b.top,j=b.left;return a.ui.isOver(e+c,f+d,i,j,g,h)};a.each(d.sortables,function(f){this.instance.positionAbs=d.positionAbs,this.instance.helperProportions=d.helperProportions,this.instance.offset.click=d.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(e).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},b.target=this.instance.currentItem[0],this.instance._mouseCapture(b,!0),this.instance._mouseStart(b,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger("toSortable",b),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&&this.instance._mouseDrag(b)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",b,this.instance._uiHash(this.instance)),this.instance._mouseStop(b,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),d._trigger("fromSortable",b),d.dropped=!1)})}}),a.ui.plugin.add("draggable","cursor",{start:function(b,c){var d=a("body"),e=a(this).data("draggable").options;d.css("cursor")&&(e._cursor=d.css("cursor")),d.css("cursor",e.cursor)},stop:function(b,c){var d=a(this).data("draggable").options;d._cursor&&a("body").css("cursor",d._cursor)}}),a.ui.plugin.add("draggable","opacity",{start:function(b,c){var d=a(c.helper),e=a(this).data("draggable").options;d.css("opacity")&&(e._opacity=d.css("opacity")),d.css("opacity",e.opacity)},stop:function(b,c){var d=a(this).data("draggable").options;d._opacity&&a(c.helper).css("opacity",d._opacity)}}),a.ui.plugin.add("draggable","scroll",{start:function(b,c){var d=a(this).data("draggable");d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"&&(d.overflowOffset=d.scrollParent.offset())},drag:function(b,c){var d=a(this).data("draggable"),e=d.options,f=!1;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!e.axis||e.axis!="x")d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY<e.scrollSensitivity?d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed:b.pageY-d.overflowOffset.top<e.scrollSensitivity&&(d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed);if(!e.axis||e.axis!="y")d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX<e.scrollSensitivity?d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed:b.pageX-d.overflowOffset.left<e.scrollSensitivity&&(d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed)}else{if(!e.axis||e.axis!="x")b.pageY-a(document).scrollTop()<e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<e.scrollSensitivity&&(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));if(!e.axis||e.axis!="y")b.pageX-a(document).scrollLeft()<e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<e.scrollSensitivity&&(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&&a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(d,b)}}),a.ui.plugin.add("draggable","snap",{start:function(b,c){var d=a(this).data("draggable"),e=d.options;d.snapElements=[],a(e.snap.constructor!=String?e.snap.items||":data(draggable)":e.snap).each(function(){var b=a(this),c=b.offset();this!=d.element[0]&&d.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:c.top,left:c.left})})},drag:function(b,c){var d=a(this).data("draggable"),e=d.options,f=e.snapTolerance,g=c.offset.left,h=g+d.helperProportions.width,i=c.offset.top,j=i+d.helperProportions.height;for(var k=d.snapElements.length-1;k>=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;if(!(l-f<g&&g<m+f&&n-f<i&&i<o+f||l-f<g&&g<m+f&&n-f<j&&j<o+f||l-f<h&&h<m+f&&n-f<i&&i<o+f||l-f<h&&h<m+f&&n-f<j&&j<o+f)){d.snapElements[k].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1;continue}if(e.snapMode!="inner"){var p=Math.abs(n-j)<=f,q=Math.abs(o-i)<=f,r=Math.abs(l-h)<=f,s=Math.abs(m-g)<=f;p&&(c.position.top=d._convertPositionTo("relative",{top:n-d.helperProportions.height,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo("relative",{top:o,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l-d.helperProportions.width}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo("relative",{top:0,left:m}).left-d.margins.left)}var t=p||q||r||s;if(e.snapMode!="outer"){var p=Math.abs(n-i)<=f,q=Math.abs(o-j)<=f,r=Math.abs(l-g)<=f,s=Math.abs(m-h)<=f;p&&(c.position.top=d._convertPositionTo("relative",{top:n,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo("relative",{top:o-d.helperProportions.height,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo("relative",{top:0,left:m-d.helperProportions.width}).left-d.margins.left)}!d.snapElements[k].snapping&&(p||q||r||s||t)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=p||q||r||s||t}}}),a.ui.plugin.add("draggable","stack",{start:function(b,c){var d=a(this).data("draggable").options,e=a.makeArray(a(d.stack)).sort(function(b,c){return(parseInt(a(b).css("zIndex"),10)||0)-(parseInt(a(c).css("zIndex"),10)||0)});if(!e.length)return;var f=parseInt(e[0].style.zIndex)||0;a(e).each(function(a){this.style.zIndex=f+a}),this[0].style.zIndex=f+e.length}}),a.ui.plugin.add("draggable","zIndex",{start:function(b,c){var d=a(c.helper),e=a(this).data("draggable").options;d.css("zIndex")&&(e._zIndex=d.css("zIndex")),d.css("zIndex",e.zIndex)},stop:function(b,c){var d=a(this).data("draggable").options;d._zIndex&&a(c.helper).css("zIndex",d._zIndex)}})}(jQuery),function(a,b){a.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var b=this.options,c=b.accept;this.isover=0,this.isout=1,this.accept=a.isFunction(c)?c:function(a){return a.is(c)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},a.ui.ddmanager.droppables[b.scope]=a.ui.ddmanager.droppables[b.scope]||[],a.ui.ddmanager.droppables[b.scope].push(this),b.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){var b=a.ui.ddmanager.droppables[this.options.scope];for(var c=0;c<b.length;c++)b[c]==this&&b.splice(c,1);return this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable"),this},_setOption:function(b,c){b=="accept"&&(this.accept=a.isFunction(c)?c:function(a){return a.is(c)}),a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),c&&this._trigger("activate",b,this.ui(c))},_deactivate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),c&&this._trigger("deactivate",b,this.ui(c))},_over:function(b){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return;this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",b,this.ui(c)))},_out:function(b){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return;this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",b,this.ui(c)))},_drop:function(b,c){var d=c||a.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return!1;var e=!1;return this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var b=a.data(this,"droppable");if(b.options.greedy&&!b.options.disabled&&b.options.scope==d.options.scope&&b.accept.call(b.element[0],d.currentItem||d.element)&&a.ui.intersect(d,a.extend(b,{offset:b.element.offset()}),b.options.tolerance))return e=!0,!1}),e?!1:this.accept.call(this.element[0],d.currentItem||d.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",b,this.ui(d)),this.element):!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),a.extend(a.ui.droppable,{version:"1.8.21"}),a.ui.intersect=function(b,c,d){if(!c.offset)return!1;var e=(b.positionAbs||b.position.absolute).left,f=e+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;switch(d){case"fit":return i<=e&&f<=j&&k<=g&&h<=l;case"intersect":return i<e+b.helperProportions.width/2&&f-b.helperProportions.width/2<j&&k<g+b.helperProportions.height/2&&h-b.helperProportions.height/2<l;case"pointer":var m=(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,n=(b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,o=a.ui.isOver(n,m,k,i,c.proportions.height,c.proportions.width);return o;case"touch":return(g>=k&&g<=l||h>=k&&h<=l||g<k&&h>l)&&(e>=i&&e<=j||f>=i&&f<=j||e<i&&f>j);default:return!1}},a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(":data(droppable)").andSelf();g:for(var h=0;h<d.length;h++){if(d[h].options.disabled||b&&!d[h].accept.call(d[h].element[0],b.currentItem||b.element))continue;for(var i=0;i<f.length;i++)if(f[i]==d[h].element[0]){d[h].proportions.height=0;continue g}d[h].visible=d[h].element.css("display")!="none";if(!d[h].visible)continue;e=="mousedown"&&d[h]._activate.call(d[h],c),d[h].offset=d[h].element.offset(),d[h].proportions={width:d[h].element[0].offsetWidth,height:d[h].element[0].offsetHeight}}},drop:function(b,c){var d=!1;return a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!this.options)return;!this.options.disabled&&this.visible&&a.ui.intersect(b,this,this.options.tolerance)&&(d=this._drop.call(this,c)||d),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this.isout=1,this.isover=0,this._deactivate.call(this,c))}),d},dragStart:function(b,c){b.element.parents(":not(body,html)").bind("scroll.droppable",function(){b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)})},drag:function(b,c){b.options.refreshPositions&&a.ui.ddmanager.prepareOffsets(b,c),a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible)return;var d=a.ui.intersect(b,this,this.options.tolerance),e=!d&&this.isover==1?"isout":d&&this.isover==0?"isover":null;if(!e)return;var f;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");g.length&&(f=a.data(g[0],"droppable"),f.greedyChild=e=="isover"?1:0)}f&&e=="isover"&&(f.isover=0,f.isout=1,f._out.call(f,c)),this[e]=1,this[e=="isout"?"isover":"isout"]=0,this[e=="isover"?"_over":"_out"].call(this,c),f&&e=="isout"&&(f.isout=0,f.isover=1,f._over.call(f,c))})},dragStop:function(b,c){b.element.parents(":not(body,html)").unbind("scroll.droppable"),b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)}}}(jQuery),function(a,b){a.widget("ui.resizable",a.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var b=this,c=this.options;this.element.addClass("ui-resizable"),a.extend(this,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(a('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=c.handles||(a(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var d=this.handles.split(",");this.handles={};for(var e=0;e<d.length;e++){var f=a.trim(d[e]),g="ui-resizable-"+f,h=a('<div class="ui-resizable-handle '+g+'"></div>');h.css({zIndex:c.zIndex}),"se"==f&&h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[f]=".ui-resizable-"+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=a(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&&a[1]?a[1]:"se"}}),c.autoHide&&(this._handles.hide(),a(this.element).addClass("ui-resizable-autohide").hover(function(){if(c.disabled)return;a(this).removeClass("ui-resizable-autohide"),b._handles.show()},function(){if(c.disabled)return;b.resizing||(a(this).addClass("ui-resizable-autohide"),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")})).remove()}return this.originalElement.css("resize",this.originalResizeStyle),b(this.originalElement),this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&&(c=!0);return!this.options.disabled&&c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(".ui-draggable")||/absolute/.test(f.css("position")))&&f.css({position:"absolute",top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css("left")),h=c(this.helper.css("top"));d.containment&&(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio=="number"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(".ui-resizable-"+this.axis).css("cursor");return a("body").css("cursor",i=="auto"?this.axis+"-resize":i),f.addClass("ui-resizable-resizing"),this._propagate("start",b),!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&&a.browser.version<7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);return l=this._respectSize(l,b),this._propagate("resize",b),c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",b,this.ui()),!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&a.ui.hasScroll(e[0],"left")?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&&!c.animate&&this._proportionallyResize()}return a("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",b),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c>h.minWidth&&(h.minWidth=c),f>h.minHeight&&(h.minHeight=f),e<h.maxWidth&&(h.maxWidth=e),g<h.maxHeight&&(h.maxHeight=g);this._vBoundaries=h},_updateCache:function(a){var b=this.options;this.offset=this.helper.offset(),d(a.left)&&(this.position.left=a.left),d(a.top)&&(this.position.top=a.top),d(a.height)&&(this.size.height=a.height),d(a.width)&&(this.size.width=a.width)},_updateRatio:function(a,b){var c=this.options,e=this.position,f=this.size,g=this.axis;return d(a.height)?a.width=a.height*this.aspectRatio:d(a.width)&&(a.height=a.width/this.aspectRatio),g=="sw"&&(a.left=e.left+(f.width-a.width),a.top=null),g=="nw"&&(a.top=e.top+(f.height-a.height),a.left=e.left+(f.width-a.width)),a},_respectSize:function(a,b){var c=this.helper,e=this._vBoundaries,f=this._aspectRatio||b.shiftKey,g=this.axis,h=d(a.width)&&e.maxWidth&&e.maxWidth<a.width,i=d(a.height)&&e.maxHeight&&e.maxHeight<a.height,j=d(a.width)&&e.minWidth&&e.minWidth>a.width,k=d(a.height)&&e.minHeight&&e.minHeight>a.height;j&&(a.width=e.minWidth),k&&(a.height=e.minHeight),h&&(a.width=e.maxWidth),i&&(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&&n&&(a.left=l-e.minWidth),h&&n&&(a.left=l-e.maxWidth),k&&o&&(a.top=m-e.minHeight),i&&o&&(a.top=m-e.maxHeight);var p=!a.width&&!a.height;return p&&!a.left&&a.top?a.top=null:p&&!a.top&&a.left&&(a.left=null),a},_proportionallyResize:function(){var b=this.options;if(!this._proportionallyResizeElements.length)return;var c=this.helper||this.element;for(var d=0;d<this._proportionallyResizeElements.length;d++){var e=this._proportionallyResizeElements[d];if(!this.borderDif){var f=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],g=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];this.borderDif=a.map(f,function(a,b){var c=parseInt(a,10)||0,d=parseInt(g[b],10)||0;return c+d})}if(!a.browser.msie||!a(c).is(":hidden")&&!a(c).parents(":hidden").length)e.css({height:c.height()-this.borderDif[0]-this.borderDif[2]||0,width:c.width()-this.borderDif[1]-this.borderDif[3]||0});else continue}},_renderProxy:function(){var b=this.element,c=this.options;this.elementOffset=b.offset();if(this._helper){this.helper=this.helper||a('<div style="overflow:hidden;"></div>');var d=a.browser.msie&&a.browser.version<7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++c.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!="resize"&&this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:"1.8.21"}),a.ui.plugin.add("resizable","alsoResize",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data("resizable-alsoresize",{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css("left"),10),top:parseInt(b.css("top"),10)})})};typeof e.alsoResize=="object"&&!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,d){a(b).each(function(){var b=a(this),e=a(this).data("resizable-alsoresize"),f={},g=d&&d.length?d:b.parents(c.originalElement[0]).length?["width","height"]:["width","height","top","left"];a.each(g,function(a,b){var c=(e[b]||0)+(h[b]||0);c&&c>=0&&(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize=="object"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){a(this).removeData("resizable-alsoresize")}}),a.ui.plugin.add("resizable","animate",{stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d._proportionallyResizeElements,g=f.length&&/textarea/i.test(f[0].nodeName),h=g&&a.ui.hasScroll(f[0],"left")?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&&k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={width:parseInt(d.element.css("width"),10),height:parseInt(d.element.css("height"),10),top:parseInt(d.element.css("top"),10),left:parseInt(d.element.css("left"),10)};f&&f.length&&a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate("resize",b)}})}}),a.ui.plugin.add("resizable","containment",{start:function(b,d){var e=a(this).data("resizable"),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!i)return;e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a(["Top","Right","Left","Bottom"]).each(function(a,b){k[a]=c(j.css("padding"+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,"left")?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&&/static/.test(l.css("position"))&&(k=g),i.left<(d._helper?g.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&&(d.size.height=d.size.width/d.aspectRatio),d.position.left=e.helper?g.left:0),i.top<(d._helper?g.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&&(d.size.width=d.size.height*d.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css("position"));o&&p&&(m-=d.parentData.left),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,j&&(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,j&&(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&&!e.animate&&/relative/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&&!e.animate&&/static/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add("resizable","ghost",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof e.ghost=="string"?e.ghost:""),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})},stop:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add("resizable","grid",{resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid=="number"?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a,10))}}(jQuery),function(a,b){a.widget("ui.selectable",a.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var b=this;this.element.addClass("ui-selectable"),this.dragged=!1;var c;this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass("ui-selectee"),c.each(function(){var b=a(this),c=b.offset();a.data(this,"selectable-item",{element:this,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass("ui-selected"),selecting:b.hasClass("ui-selecting"),unselecting:b.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=c.addClass("ui-selectee"),this._mouseInit(),this.helper=a("<div class='ui-selectable-helper'></div>")},destroy:function(){return this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"),this._mouseDestroy(),this},_mouseStart:function(b){var c=this;this.opos=[b.pageX,b.pageY];if(this.options.disabled)return;var d=this.options;this.selectees=a(d.filter,this.element[0]),this._trigger("start",b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var d=a.data(this,"selectable-item");d.startselected=!0,!b.metaKey&&!b.ctrlKey&&(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(function(){var d=a.data(this,"selectable-item");if(d){var e=!b.metaKey&&!b.ctrlKey||!d.$element.hasClass("ui-selected");return d.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger("selecting",b,{selecting:d.element}):c._trigger("unselecting",b,{unselecting:d.element}),!1}})},_mouseDrag:function(b){var c=this;this.dragged=!0;if(this.options.disabled)return;var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;if(e>g){var i=g;g=e,e=i}if(f>h){var i=h;h=f,f=i}return this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(function(){var i=a.data(this,"selectable-item");if(!i||i.element==c.element[0])return;var j=!1;d.tolerance=="touch"?j=!(i.left>g||i.right<e||i.top>h||i.bottom<f):d.tolerance=="fit"&&(j=i.left>e&&i.right<g&&i.top>f&&i.bottom<h),j?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,c._trigger("selecting",b,{selecting:i.element}))):(i.selecting&&((b.metaKey||b.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),c._trigger("unselecting",b,{unselecting:i.element}))),i.selected&&!b.metaKey&&!b.ctrlKey&&!i.startselected&&(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,c._trigger("unselecting",b,{unselecting:i.element})))}),!1},_mouseStop:function(b){var c=this;this.dragged=!1;var d=this.options;return a(".ui-unselecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item");d.$element.removeClass("ui-unselecting"),d.unselecting=!1,d.startselected=!1,c._trigger("unselected",b,{unselected:d.element})}),a(".ui-selecting",this.element[0]).each(function(){var d=a.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected"),d.selecting=!1,d.selected=!0,d.startselected=!0,c._trigger("selected",b,{selected:d.element})}),this._trigger("stop",b),this.helper.remove(),!1}}),a.extend(a.ui.selectable,{version:"1.8.21"})}(jQuery),function(a,b){a.widget("ui.sortable",a.ui.mouse,{widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var a=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototype.destroy.call(this),this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData(this.widgetName+"-item");return this},_setOption:function(b,c){b==="disabled"?(this.options[b]=c,this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")):a.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(b,c){var d=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(b);var e=null,f=this,g=a(b.target).parents().each(function(){if(a.data(this,d.widgetName+"-item")==f)return e=a(this),!1});a.data(b.target,d.widgetName+"-item")==f&&(e=a(b.target));if(!e)return!1;if(this.options.handle&&!c){var h=!1;a(this.options.handle,e).find("*").andSelf().each(function(){this==b.target&&(h=!0)});if(!h)return!1}return this.currentItem=e,this._removeCurrentsFromItems(),!0},_mouseStart:function(b,c,d){var e=this.options,f=this;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),e.containment&&this._setContainment(),e.cursor&&(a("body").css("cursor")&&(this._storedCursor=a("body").css("cursor")),a("body").css("cursor",e.cursor)),e.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",e.opacity)),e.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",e.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(var g=this.containers.length-1;g>=0;g--)this.containers[g]._trigger("activate",b,f._uiHash(this));return a.ui.ddmanager&&(a.ui.ddmanager.current=this),a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(b),!0},_mouseDrag:function(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY<c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:b.pageY-this.overflowOffset.top<c.scrollSensitivity&&(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-b.pageX<c.scrollSensitivity?this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft+c.scrollSpeed:b.pageX-this.overflowOffset.left<c.scrollSensitivity&&(this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft-c.scrollSpeed)):(b.pageY-a(document).scrollTop()<c.scrollSensitivity?d=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<c.scrollSensitivity&&(d=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed)),b.pageX-a(document).scrollLeft()<c.scrollSensitivity?d=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<c.scrollSensitivity&&(d=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed))),d!==!1&&a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(var e=this.items.length-1;e>=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);if(!h)continue;if(g!=this.currentItem[0]&&this.placeholder[h==1?"next":"prev"]()[0]!=g&&!a.ui.contains(this.placeholder[0],g)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(f))this._rearrange(b,f);else break;this._trigger("change",b,this._uiHash());break}}return this._contactContainers(b),a.ui.ddmanager&&a.ui.ddmanager.drag(this,b),this._trigger("sort",b,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(b,c){if(!b)return;a.ui.ddmanager&&!this.options.dropBehaviour&&a.ui.ddmanager.drop(this,b);if(this.options.revert){var d=this,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(b)})}else this._clear(b,c);return!1},cancel:function(){var b=this;if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("deactivate",null,b._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger("out",null,b._uiHash(this)),this.containers[c].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),a.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];return b=b||{},a(c).each(function(){var c=(a(b.item||this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);c&&d.push((b.key||c[1]+"[]")+"="+(b.key&&b.expression?c[1]:c[2]))}),!d.length&&b.key&&d.push(b.key+"="),d.join("&")},toArray:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];return b=b||{},c.each(function(){d.push(a(b.item||this).attr(b.attribute||"id")||"")}),d},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j>h&&d+j<i&&b+k>f&&b+k<g;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?l:f<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<g&&h<d+this.helperProportions.height/2&&e-this.helperProportions.height/2<i},_intersectsWithPointer:function(b){var c=this.options.axis==="x"||a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height),d=this.options.axis==="y"||a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left,b.width),e=c&&d,f=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();return e?this.floating?g&&g=="right"||f=="down"?2:1:f&&(f=="down"?2:1):!1},_intersectsWithSides:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width),e=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();return this.floating&&f?f=="right"&&d||f=="left"&&!d:e&&(e=="down"&&c||e=="up"&&!c)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){return this._refreshItems(a),this.refreshPositions(),this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(b){var c=this,d=[],e=[],f=this._connectWith();if(f&&b)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),j])}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var g=e.length-1;g>=0;g--)e[g][0].each(function(){d.push(this)});return a(d)},_removeCurrentsFromItems:function(){var a=this.currentItem.find(":data("+this.widgetName+"-item)");for(var b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(b){this.items=[],this.containers=[this];var c=this.items,d=this,e=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:this.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}for(var g=e.length-1;g>=0;g--){var k=e[g][1],l=e[g][0];for(var i=0,m=l.length;i<m;i++){var n=a(l[i]);n.data(this.widgetName+"-item",k),c.push({item:n,instance:k,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var c=this.items.length-1;c>=0;c--){var d=this.items[c];if(d.instance!=this.currentContainer&&this.currentContainer&&d.item[0]!=this.currentItem[0])continue;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var c=this.containers.length-1;c>=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containers[c].element.outerHeight()}return this},_createPlaceholder:function(b){var c=b||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:function(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return e||(b.style.visibility="hidden"),b},update:function(a,b){if(e&&!d.forcePlaceholderSize)return;b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placeholder.update(c,c.placeholder)},_contactContainers:function(b){var c=null,d=null;for(var e=this.containers.length-1;e>=0;e--){if(a.ui.contains(this.currentItem[0],this.containers[e].element[0]))continue;if(this._intersectsWith(this.containers[e].containerCache)){if(c&&a.ui.contains(this.containers[e].element[0],c.element[0]))continue;c=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",b,this._uiHash(this)),this.containers[e].containerCache.over=0)}if(!c)return;if(this.containers.length===1)this.containers[d]._trigger("over",b,this._uiHash(this)),this.containers[d].containerCache.over=1;else if(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?"left":"top"];for(var i=this.items.length-1;i>=0;i--){if(!a.ui.contains(this.containers[d].element[0],this.items[i].item[0]))continue;var j=this.containers[d].floating?this.items[i].item.offset().left:this.items[i].item.offset().top;Math.abs(j-h)<f&&(f=Math.abs(j-h),g=this.items[i],this.direction=j-h>0?"down":"up")}if(!g&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[d],g?this._rearrange(b,g,null,!0):this._rearrange(b,null,this.containers[d].element,!0),this._trigger("change",b,this._uiHash()),this.containers[d]._trigger("change",b,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",b,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b,this.currentItem])):c.helper=="clone"?this.currentItem.clone():this.currentItem;return d.parents("body").length||a(c.appendTo!="parent"?c.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0]),d[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(d[0].style.width==""||c.forceHelperSize)&&d.width(this.currentItem.width()),(d[0].style.height==""||c.forceHelperSize)&&d.height(this.currentItem.height()),d},_adjustOffsetFromHelper:function(b){typeof b=="string"&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left"in b&&(this.offset.click.left=b.left+this.margins.left),"right"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top"in b&&(this.offset.click.top=b.top+this.margins.top),"bottom"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment=="parent"&&(b.containment=this.helper[0].parentNode);if(b.containment=="document"||b.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var c=a(b.containment)[0],d=a(b.containment).offset(),e=a(c).css("overflow")!="hidden";this.containment=[d.left+(parseInt(a(c).css("borderLeftWidth"),10)||0)+(parseInt(a(c).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css("borderTopWidth"),10)||0)+(parseInt(a(c).css("paddingTop"),10)||0)-this.margins.top,d.left+(e?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css("borderLeftWidth"),10)||0)-(parseInt(a(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(e?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css("borderTopWidth"),10)||0)-(parseInt(a(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,c){c||(c=this.position);var d=b=="absolute"?1:-1,e=this.options,f=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName);this.cssPosition=="relative"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var f=b.pageX,g=b.pageY;if(this.originalPosition){this.containment&&(b.pageX-this.offset.click.left<this.containment[0]&&(f=this.containment[0]+this.offset.click.left),b.pageY-this.offset.click.top<this.containment[1]&&(g=this.containment[1]+this.offset.click.top),b.pageX-this.offset.click.left>this.containment[2]&&(f=this.containment[2]+this.offset.click.left),b.pageY-this.offset.click.top>this.containment[3]&&(g=this.containment[3]+this.offset.click.top));if(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.top<this.containment[1]||h-this.offset.click.top>this.containment[3]?h-this.offset.click.top<this.containment[1]?h+c.grid[1]:h-c.grid[1]:h:h;var i=this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0];f=this.containment?i-this.offset.click.left<this.containment[0]||i-this.offset.click.left>this.containment[2]?i-this.offset.click.left<this.containment[0]?i+c.grid[0]:i-c.grid[0]:i:i}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_rearrange:function(a,b,c,d){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?b.item[0]:b.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var e=this,f=this.counter;window.setTimeout(function(){f==e.counter&&e.refreshPositions(!d)},0)},_clear:function(b,c){this.reverting=!1;var d=[],e=this;!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var f in this._storedCSS)if(this._storedCSS[f]=="auto"||this._storedCSS[f]=="static")this._storedCSS[f]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!c&&d.push(function(a){this._trigger("receive",a,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!c&&d.push(function(a){this._trigger("update",a,this._uiHash())});if(!a.ui.contains(this.element[0],this.currentItem[0])){c||d.push(function(a){this._trigger("remove",a,this._uiHash())});for(var f=this.containers.length-1;f>=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&&!c&&(d.push(function(a){return function(b){a._trigger("receive",b,this._uiHash(this))}}.call(this,this.containers[f])),d.push(function(a){return function(b){a._trigger("update",b,this._uiHash(this))}}.call(this,this.containers[f])))}for(var f=this.containers.length-1;f>=0;f--)c||d.push(function(a){return function(b){a._trigger("deactivate",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over&&(d.push(function(a){return function(b){a._trigger("out",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&&a("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!c){this._trigger("beforeStop",b,this._uiHash());for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger("stop",b,this._uiHash())}return!1}c||this._trigger("beforeStop",b,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null;if(!c){for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger("stop",b,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){a.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(b){var c=b||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:b?b.element:null}}}),a.extend(a.ui.sortable,{version:"1.8.21"})}(jQuery),jQuery.effects||function(a,b){function c(b){var c;return b&&b.constructor==Array&&b.length==3?b:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b))?[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))?[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:(c=/rgba\(0, 0, 0, 0\)/.exec(b))?e.transparent:e[a.trim(b).toLowerCase()]}function d(b,d){var e;do{e=a.curCSS(b,d);if(e!=""&&e!="transparent"||a.nodeName(b,"body"))break;d="backgroundColor"}while(b=b.parentNode);return c(e)}function h(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]]){var e=a.length;while(e--)c=a[e],typeof a[c]=="string"&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c])}else for(c in a)typeof a[c]=="string"&&(b[c]=a[c]);return b}function i(b){var c,d;for(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete b[c];return b}function j(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function k(b,c,d,e){typeof b=="object"&&(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&&(e=c,d=null,c={});if(typeof c=="number"||a.fx.speeds[c])e=d,d=c,c={};return a.isFunction(d)&&(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d=="number"?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete,[b,c,d,e]}function l(b){return!b||typeof b=="number"||a.fx.speeds[b]?!0:typeof b=="string"&&!a.effects[b]?!0:!1}a.effects={},a.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(b,e){a.fx.step[e]=function(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=["add","remove","toggle"],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,c,d,e){return a.isFunction(d)&&(e=d,d=null),this.queue(function(){var g=a(this),k=g.attr("style")||" ",l=i(h.call(this)),m,n=g.attr("class")||"";a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),m=i(h.call(this)),g.attr("class",n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:function(){a.each(f,function(a,c){b[c]&&g[c+"Class"](b[c])}),typeof g.attr("style")=="object"?(g.attr("style").cssText="",g.attr("style").cssText=k):g.attr("style",k),e&&e.apply(this,arguments),a.dequeue(this)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(c,d,e,f,g){return typeof d=="boolean"||d===b?e?a.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}}),a.extend(a.effects,{version:"1.8.21",save:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.data("ec.storage."+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.css(b[c],a.data("ec.storage."+b[c]))},setMode:function(a,b){return b=="toggle"&&(b=a.is(":hidden")?"show":"hide"),b},getBaseline:function(a,b){var c,d;switch(a[0]){case"top":c=0;break;case"middle":c=.5;break;case"bottom":c=1;break;default:c=a[0]/b.height}switch(a[1]){case"left":d=0;break;case"center":d=.5;break;case"right":d=1;break;default:d=a[1]/b.width}return{x:d,y:c}},createWrapper:function(b){if(b.parent().is(".ui-effects-wrapper"))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),"float":b.css("float")},d=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeElement;try{e.id}catch(f){e=document.body}return b.wrap(d),(b[0]===e||a.contains(b[0],e))&&a(e).focus(),d=b.parent(),b.css("position")=="static"?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),d.css(c).show()},removeWrapper:function(b){var c,d=document.activeElement;return b.parent().is(".ui-effects-wrapper")?(c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&&a(d).focus(),c):b},setTransition:function(b,c,d,e){return e=e||{},a.each(c,function(a,c){var f=b.cssUnit(c);f[0]>0&&(e[c]=f[0]*d+f[1])}),e}}),a.fn.extend({effect:function(b,c,d,e){var f=k.apply(this,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];return a.fx.off||!i?h?this[h](g.duration,g.callback):this.each(function(){g.callback&&g.callback.call(this)}):i.call(this,g)},_show:a.fn.show,show:function(a){if(l(a))return this._show.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode="show",this.effect.apply(this,b)},_hide:a.fn.hide,hide:function(a){if(l(a))return this._hide.apply(this,arguments);var b=k.apply(this,arguments);return b[1].mode="hide",this.effect.apply(this,b)},__toggle:a.fn.toggle,toggle:function(b){if(l(b)||typeof b=="boolean"||a.isFunction(b))return this.__toggle.apply(this,arguments);var c=k.apply(this,arguments);return c[1].mode="toggle",this.effect.apply(this,c)},cssUnit:function(b){var c=this.css(b),d=[];return a.each(["em","px","%","pt"],function(a,b){c.indexOf(b)>0&&(d=[parseFloat(c),b])}),d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:"easeOutQuad",swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return b==0?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;g||(g=e*.3*1.5);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return b<1?-0.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c:h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,c,d,e,f,g){return g==b&&(g=1.70158),e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(a,c,d,e,f,g){return g==b&&(g=1.70158),e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(a,c,d,e,f,g){return g==b&&(g=1.70158),(c/=f/2)<1?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(b,c,d,e,f){return e-a.easing.easeOutBounce(b,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(b,c,d,e,f){return c<f/2?a.easing.easeInBounce(b,c*2,0,e,f)*.5+d:a.easing.easeOutBounce(b,c*2-f,0,e,f)*.5+e*.5+d}})}(jQuery),function(a,b){a.effects.blind=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=f=="vertical"?"height":"width",i=f=="vertical"?g.height():g.width();e=="show"&&g.css(h,0);var j={};j[h]=e=="show"?i:0,g.animate(j,b.duration,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.effects.bounce=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"effect"),f=b.options.direction||"up",g=b.options.distance||20,h=b.options.times||5,i=b.duration||250;/show|hide/.test(e)&&d.push("opacity"),a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f=="up"||f=="down"?"top":"left",k=f=="up"||f=="left"?"pos":"neg",g=b.options.distance||(j=="top"?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/3);e=="show"&&c.css("opacity",0).css(j,k=="pos"?-g:g),e=="hide"&&(g=g/(h*2)),e!="hide"&&h--;if(e=="show"){var l={opacity:1};l[j]=(k=="pos"?"+=":"-=")+g,c.animate(l,i/2,b.options.easing),g=g/2,h--}for(var m=0;m<h;m++){var n={},p={};n[j]=(k=="pos"?"-=":"+=")+g,p[j]=(k=="pos"?"+=":"-=")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing),g=e=="hide"?g*2:g/2}if(e=="hide"){var l={opacity:0};l[j]=(k=="pos"?"-=":"+=")+g,c.animate(l,i/2,b.options.easing,function(){c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}else{var n={},p={};n[j]=(k=="pos"?"-=":"+=")+g,p[j]=(k=="pos"?"+=":"-=")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}c.queue("fx",function(){c.dequeue()}),c.dequeue()})}}(jQuery),function(a,b){a.effects.clip=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","height","width"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=c[0].tagName=="IMG"?g:c,i={size:f=="vertical"?"height":"width",position:f=="vertical"?"top":"left"},j=f=="vertical"?h.height():h.width();e=="show"&&(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e=="show"?j:0,k[i.position]=e=="show"?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.drop=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","opacity"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"left";a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var g=f=="up"||f=="down"?"top":"left",h=f=="up"||f=="left"?"pos":"neg",i=b.options.distance||(g=="top"?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);e=="show"&&c.css("opacity",0).css(g,h=="pos"?-i:i);var j={opacity:e=="show"?1:0};j[g]=(e=="show"?h=="pos"?"+=":"-=":h=="pos"?"-=":"+=")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.explode=function(b){return this.queue(function(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode=="toggle"?a(this).is(":visible")?"hide":"show":b.options.mode;var e=a(this).show().css("visibility","hidden"),f=e.offset();f.top-=parseInt(e.css("marginTop"),10)||0,f.left-=parseInt(e.css("marginLeft"),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);for(var i=0;i<c;i++)for(var j=0;j<d;j++)e.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*(g/d),top:-i*(h/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode=="show"?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode=="show"?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?e.css({visibility:"visible"}):e.css({visibility:"visible"}).hide(),b.callback&&b.callback.apply(e[0]),e.dequeue(),a("div.ui-effects-explode").remove()},b.duration||500)})}}(jQuery),function(a,b){a.effects.fade=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.fold=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:"hidden"}),j=e=="show"!=g,k=j?["width","height"]:["height","width"],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&&(f=parseInt(m[1],10)/100*l[e=="hide"?0:1]),e=="show"&&i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e=="show"?l[0]:f,p[k[1]]=e=="show"?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=["backgroundImage","backgroundColor","opacity"],e=a.effects.setMode(c,b.options.mode||"show"),f={backgroundColor:c.css("backgroundColor")};e=="hide"&&(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),e=="show"&&!a.support.opacity&&this.style.removeAttribute("filter"),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.pulsate=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"show"),e=(b.options.times||5)*2-1,f=b.duration?b.duration/2:a.fx.speeds._default/2,g=c.is(":visible"),h=0;g||(c.css("opacity",0).show(),h=1),(d=="hide"&&g||d=="show"&&!g)&&e--;for(var i=0;i<e;i++)c.animate({opacity:h},f,b.options.easing),h=(h+1)%2;c.animate({opacity:h},f,b.options.easing,function(){h==0&&c.hide(),b.callback&&b.callback.apply(this,arguments)}),c.queue("fx",function(){c.dequeue()}).dequeue()})}}(jQuery),function(a,b){a.effects.puff=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||"hide"),e=parseInt(b.options.percent,10)||150,f=e/100,g={height:c.height(),width:c.width()};a.extend(b.options,{fade:!0,mode:d,percent:d=="hide"?e:100,from:d=="hide"?g:{height:g.height*f,width:g.width*f}}),c.effect("scale",b.options,b.duration,b.callback),c.dequeue()})},a.effects.scale=function(b){return this.queue(function(){var c=a(this),d=a.extend(!0,{},b.options),e=a.effects.setMode(c,b.options.mode||"effect"),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:e=="hide"?0:100),g=b.options.direction||"both",h=b.options.origin;e!="effect"&&(d.origin=h||["middle","center"],d.restore=!0);var i={height:c.height(),width:c.width()};c.from=b.options.from||(e=="show"?{height:0,width:0}:i);var j={y:g!="horizontal"?f/100:1,x:g!="vertical"?f/100:1};c.to={height:i.height*j.y,width:i.width*j.x},b.options.fade&&(e=="show"&&(c.from.opacity=0,c.to.opacity=1),e=="hide"&&(c.from.opacity=1,c.to.opacity=0)),d.from=c.from,d.to=c.to,d.mode=e,c.effect("size",d,b.duration,b.callback),c.dequeue()})},a.effects.size=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","width","height","overflow","opacity"],e=["position","top","bottom","left","right","overflow","opacity"],f=["width","height","overflow"],g=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],i=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],j=a.effects.setMode(c,b.options.mode||"effect"),k=b.options.restore||!1,l=b.options.scale||"both",m=b.options.origin,n={height:c.height(),width:c.width()};c.from=b.options.from||n,c.to=b.options.to||n;if(m){var p=a.effects.getBaseline(m,n);c.from.top=(n.height-c.from.height)*p.y,c.from.left=(n.width-c.from.width)*p.x,c.to.top=(n.height-c.to.height)*p.y,c.to.left=(n.width-c.to.width)*p.x}var q={from:{y:c.from.height/n.height,x:c.from.width/n.width},to:{y:c.to.height/n.height,x:c.to.width/n.width}};if(l=="box"||l=="both")q.from.y!=q.to.y&&(d=d.concat(h),c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&&(d=d.concat(i),c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to));(l=="content"||l=="both")&&q.from.y!=q.to.y&&(d=d.concat(g),c.from=a.effects.setTransition(c,g,q.from.y,c.from),c.to=a.effects.setTransition(c,g,q.to.y,c.to)),a.effects.save(c,k?d:e),c.show(),a.effects.createWrapper(c),c.css("overflow","hidden").css(c.from);if(l=="content"||l=="both")h=h.concat(["marginTop","marginBottom"]).concat(g),i=i.concat(["marginLeft","marginRight"]),f=d.concat(h).concat(i),c.find("*[width]").each(function(){var c=a(this);k&&a.effects.save(c,f);var d={height:c.height(),width:c.width()};c.from={height:d.height*q.from.y,width:d.width*q.from.x},c.to={height:d.height*q.to.y,width:d.width*q.to.x},q.from.y!=q.to.y&&(c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&&(c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to)),c.css(c.from),c.animate(c.to,b.duration,b.options.easing,function(){k&&a.effects.restore(c,f)})});c.animate(c.to,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){c.to.opacity===0&&c.css("opacity",c.from.opacity),j=="hide"&&c.hide(),a.effects.restore(c,k?d:e),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.shake=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"effect"),f=b.options.direction||"left",g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f=="up"||f=="down"?"top":"left",k=f=="up"||f=="left"?"pos":"neg",l={},m={},n={};l[j]=(k=="pos"?"-=":"+=")+g,m[j]=(k=="pos"?"+=":"-=")+g*2,n[j]=(k=="pos"?"-=":"+=")+g*2,c.animate(l,i,b.options.easing);for(var p=1;p<h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)}),c.queue("fx",function(){c.dequeue()}),c.dequeue()})}}(jQuery),function(a,b){a.effects.slide=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"show"),f=b.options.direction||"left";a.effects.save(c,d),c.show(),a.effects.createWrapper(c).css({overflow:"hidden"});var g=f=="up"||f=="down"?"top":"left",h=f=="up"||f=="left"?"pos":"neg",i=b.options.distance||(g=="top"?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));e=="show"&&c.css(g,h=="pos"?isNaN(i)?"-"+i:-i:i);var j={};j[g]=(e=="show"?h=="pos"?"+=":"-=":h=="pos"?"-=":"+=")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:!0,clearStyle:!1,collapsible:!1,event:"click",fillSpace:!1,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var b=this,c=b.options;b.running=0,b.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"),b.headers=b.element.find(c.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){if(c.disabled)return;a(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){if(c.disabled)return;a(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){if(c.disabled)return;a(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){if(c.disabled)return;a(this).removeClass("ui-state-focus")}),b.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(c.navigation){var d=b.element.find("a").filter(c.navigationFilter).eq(0);if(d.length){var e=d.closest(".ui-accordion-header");e.length?b.active=e:b.active=d.closest(".ui-accordion-content").prev()}}b.active=b._findActive(b.active||c.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top"),b.active.next().addClass("ui-accordion-content-active"),b._createIcons(),b.resize(),b.element.attr("role","tablist"),b.headers.attr("role","tab").bind("keydown.accordion",function(a){return b._keydown(a)}).next().attr("role","tabpanel"),b.headers.not(b.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide(),b.active.length?b.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):b.headers.eq(0).attr("tabIndex",0),a.browser.safari||b.headers.find("a").attr("tabIndex",-1),c.event&&b.headers.bind(c.event.split(" ").join(".accordion ")+".accordion",function(a){b._clickHandler.call(b,a,this),a.preventDefault()})},_createIcons:function(){var b=this.options;b.icons&&(a("<span></span>").addClass("ui-icon "+b.icons.header).prependTo(this.headers),this.active.children(".ui-icon").toggleClass(b.icons.header).toggleClass(b.icons.headerSelected),this.element.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.children(".ui-icon").remove(),this.element.removeClass("ui-accordion-icons")},destroy:function(){var b=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex"),this.headers.find("a").removeAttr("tabIndex"),this._destroyIcons();var c=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");return(b.autoHeight||b.fillHeight)&&c.css("height",""),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b=="active"&&this.activate(c),b=="icons"&&(this._destroyIcons(),c&&this._createIcons()),b=="disabled"&&this.headers.add(this.headers.next())[c?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(b){if(this.options.disabled||b.altKey||b.ctrlKey)return;var c=a.ui.keyCode,d=this.headers.length,e=this.headers.index(b.target),f=!1;switch(b.keyCode){case c.RIGHT:case c.DOWN:f=this.headers[(e+1)%d];break;case c.LEFT:case c.UP:f=this.headers[(e-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:b.target},b.target),b.preventDefault()}return f?(a(b.target).attr("tabIndex",-1),a(f).attr("tabIndex",0),f.focus(),!1):!0},resize:function(){var b=this.options,c;if(b.fillSpace){if(a.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}c=this.element.parent().height(),a.browser.msie&&this.element.parent().css("overflow",d),this.headers.each(function(){c-=a(this).outerHeight(!0)}),this.headers.next().each(function(){a(this).height(Math.max(0,c-a(this).innerHeight()+a(this).height()))}).css("overflow","auto")}else b.autoHeight&&(c=0,this.headers.next().each(function(){c=Math.max(c,a(this).height("").height())}).height(c));return this},activate:function(a){this.options.active=a;var b=this._findActive(a)[0];return this._clickHandler({target:b},b),this},_findActive:function(b){return b?typeof b=="number"?this.headers.filter(":eq("+b+")"):this.headers.not(this.headers.not(b)):b===!1?a([]):this.headers.filter(":eq(0)")},_clickHandler:function(b,c){var d=this.options;if(d.disabled)return;if(!b.target){if(!d.collapsible)return;this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header),this.active.next().addClass("ui-accordion-content-active");var e=this.active.next(),f={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:e},g=this.active=a([]);this._toggle(g,e,f);return}var h=a(b.currentTarget||c),i=h[0]===this.active[0];d.active=d.collapsible&&i?!1:this.headers.index(h);if(this.running||!d.collapsible&&i)return;var j=this.active,g=h.next(),e=this.active.next(),f={options:d,newHeader:i&&d.collapsible?a([]):h,oldHeader:this.active,newContent:i&&d.collapsible?a([]):g,oldContent:e},k=this.headers.index(this.active[0])>this.headers.index(h[0]);this.active=i?a([]):h,this._toggle(g,e,f,i,k),j.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header),i||(h.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected),h.next().addClass("ui-accordion-content-active"));return},_toggle:function(b,c,d,e,f){var g=this,h=g.options;g.toShow=b,g.toHide=c,g.data=d;var i=function(){if(!g)return;return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data),g.running=c.size()===0?b.size():c.size();if(h.animated){var j={};h.collapsible&&e?j={toShow:a([]),toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace}:j={toShow:b,toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duration),h.animated=a.isFunction(h.proxied)?h.proxied(j):h.proxied,h.duration=a.isFunction(h.proxiedDuration)?h.proxiedDuration(j):h.proxiedDuration;var k=a.ui.accordion.animations,l=h.duration,m=h.animated;m&&!k[m]&&!a.easing[m]&&(m="slide"),k[m]||(k[m]=function(a){this.slide(a,{easing:m,duration:l||700})}),k[m](j)}else h.collapsible&&e?b.toggle():(c.hide(),b.show()),i(!0);c.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur(),b.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(this.running)return;this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""}),this.toHide.removeClass("ui-accordion-content-active"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger("change",null,this.data)}}),a.extend(a.ui.accordion,{version:"1.8.21",animations:{slide:function(b,c){b=a.extend({easing:"swing",duration:300},b,c);if(!b.toHide.size()){b.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},b);return}if(!b.toShow.size()){b.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},b);return}var d=b.toShow.css("overflow"),e=0,f={},g={},h=["height","paddingTop","paddingBottom"],i,j=b.toShow;i=j[0].style.width,j.width(j.parent().width()-parseFloat(j.css("paddingLeft"))-parseFloat(j.css("paddingRight"))-(parseFloat(j.css("borderLeftWidth"))||0)-(parseFloat(j.css("borderRightWidth"))||0)),a.each(h,function(c,d){g[d]="hide";var e=(""+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);f[d]={value:e[1],unit:e[2]||"px"}}),b.toShow.css({height:0,overflow:"hidden"}).show(),b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").animate(g,{step:function(a,c){c.prop=="height"&&(e=c.end-c.start===0?0:(c.now-c.start)/(c.end-c.start)),b.toShow[0].style[c.prop]=e*f[c.prop].value+f[c.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css("height",""),b.toShow.css({width:i,overflow:d}),b.complete()}})},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1e3:200})}}})}(jQuery),function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.isMultiLine=this.element.is("textarea"),this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(b.options.disabled||b.element.propAttr("readOnly"))return;d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move("previousPage",c);break;case e.PAGE_DOWN:b._move("nextPage",c);break;case e.UP:b._keyEvent("previous",c);break;case e.DOWN:b._keyEvent("next",c);break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}).bind("keypress.autocomplete",function(a){d&&(d=!1,a.preventDefault())}).bind("focus.autocomplete",function(){if(b.options.disabled)return;b.selectedItem=null,b.previous=b.element.val()}).bind("blur.autocomplete",function(a){if(b.options.disabled)return;clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150)}),this._initSource(),this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data("item.autocomplete");!1!==b._trigger("focus",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data("item.autocomplete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger("select",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(":visible")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr("autocomplete")},a(window).bind("beforeunload",b.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==="source"&&this._initSource(),b==="appendTo"&&this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0]),b==="disabled"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,c,d;a.isArray(this.options.source)?(c=this.options.source,this.source=function(b,d){d(a.ui.autocomplete.filter(c,b.term))}):typeof this.options.source=="string"?(d=this.options.source,this.source=function(c,e){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:d,data:c,dataType:"json",success:function(a,b){e(a)},error:function(){e([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)===!1)return;return this._search(a)},_search:function(a){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.source({term:a},this._response())},_response:function(){var a=this,b=++c;return function(d){b===c&&a.__response(d),a.pending--,a.pending||a.element.removeClass("ui-autocomplete-loading")}},__response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger("open")):this.close()},close:function(a){clearTimeout(this.closing),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(b){return b.length&&b[0].label&&b[0].value?b:a.map(b,function(b){return typeof b=="string"?{label:b,value:b}:a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(":visible")){this.search(null,b);return}if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)},widget:function(){return this.menu.element},_keyEvent:function(a,b){if(!this.isMultiLine||this.menu.element.is(":visible"))this._move(a,b),b.preventDefault()}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})}(jQuery),function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(!a(c.target).closest(".ui-menu-item a").length)return;c.preventDefault(),b.select(c)}),this.refresh()},refresh:function(){var b=this,c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",a,{item:b})},deactivate:function(){if(!this.active)return;this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(!this.active){this.activate(c,this.element.children(b));return}var d=this.active[a+"All"](".ui-menu-item").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(".ui-menu-item:first"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:last")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(".ui-menu-item:last"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:first")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})}(jQuery),function(a,b){var c,d,e,f,g="ui-button ui-widget ui-state-default ui-corner-all",h="ui-state-hover ui-state-active ",i="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",j=function(){var b=a(this).find(":ui-button");setTimeout(function(){b.button("refresh")},1)},k=function(b){var c=b.name,d=b.form,e=a([]);return c&&(d?e=a(d).find("[name='"+c+"']"):e=a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form})),e};a.widget("ui.button",{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",j),typeof this.options.disabled!="boolean"?this.options.disabled=!!this.element.propAttr("disabled"):this.element.propAttr("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var b=this,h=this.options,i=this.type==="checkbox"||this.type==="radio",l="ui-state-hover"+(i?"":" ui-state-active"),m="ui-state-focus";h.label===null&&(h.label=this.buttonElement.html()),this.buttonElement.addClass(g).attr("role","button").bind("mouseenter.button",function(){if(h.disabled)return;a(this).addClass("ui-state-hover"),this===c&&a(this).addClass("ui-state-active")}).bind("mouseleave.button",function(){if(h.disabled)return;a(this).removeClass(l)}).bind("click.button",function(a){h.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}),this.element.bind("focus.button",function(){b.buttonElement.addClass(m)}).bind("blur.button",function(){b.buttonElement.removeClass(m)}),i&&(this.element.bind("change.button",function(){if(f)return;b.refresh()}),this.buttonElement.bind("mousedown.button",function(a){if(h.disabled)return;f=!1,d=a.pageX,e=a.pageY}).bind("mouseup.button",function(a){if(h.disabled)return;if(d!==a.pageX||e!==a.pageY)f=!0})),this.type==="checkbox"?this.buttonElement.bind("click.button",function(){if(h.disabled||f)return!1;a(this).toggleClass("ui-state-active"),b.buttonElement.attr("aria-pressed",b.element[0].checked)}):this.type==="radio"?this.buttonElement.bind("click.button",function(){if(h.disabled||f)return!1;a(this).addClass("ui-state-active"),b.buttonElement.attr("aria-pressed","true");var c=b.element[0];k(c).not(c).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown.button",function(){if(h.disabled)return!1;a(this).addClass("ui-state-active"),c=this,a(document).one("mouseup",function(){c=null})}).bind("mouseup.button",function(){if(h.disabled)return!1;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(b){if(h.disabled)return!1;(b.keyCode==a.ui.keyCode.SPACE||b.keyCode==a.ui.keyCode.ENTER)&&a(this).addClass("ui-state-active")}).bind("keyup.button",function(){a(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(b){b.keyCode===a.ui.keyCode.SPACE&&a(this).click()})),this._setOption("disabled",h.disabled),this._resetButton()},_determineButtonType:function(){this.element.is(":checkbox")?this.type="checkbox":this.element.is(":radio")?this.type="radio":this.element.is("input")?this.type="input":this.type="button";if(this.type==="checkbox"||this.type==="radio"){var a=this.element.parents().filter(":last"),b="label[for='"+this.element.attr("id")+"']";this.buttonElement=a.find(b),this.buttonElement.length||(a=a.length?a.siblings():this.element.siblings(),this.buttonElement=a.filter(b),this.buttonElement.length||(this.buttonElement=a.find(b))),this.element.addClass("ui-helper-hidden-accessible");var c=this.element.is(":checked");c&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.attr("aria-pressed",c)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(g+" "+h+" "+i).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title"),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled"){c?this.element.propAttr("disabled",!0):this.element.propAttr("disabled",!1);return}this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b),this.type==="radio"?k(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):this.type==="checkbox"&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if(this.type==="input"){this.options.label&&this.element.val(this.options.label);return}var b=this.buttonElement.removeClass(i),c=a("<span></span>",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary,f=[];d.primary||d.secondary?(this.options.text&&f.push("ui-button-text-icon"+(e?"s":d.primary?"-primary":"-secondary")),d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>"),d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>"),this.options.text||(f.push(e?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||b.attr("title",c))):f.push("ui-button-text-only"),b.addClass(f.join(" "))}}),a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c),a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var b=this.element.css("direction")==="rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(b?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(b?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"),a.Widget.prototype.destroy.call(this)}})}(jQuery),function($,undefined){function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function bindHover(a){var b="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return a.bind("mouseout",function(a){var c=$(a.target).closest(b);if(!c.length)return;c.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(c){var d=$(c.target).closest(b);if($.datepicker._isDisabledDatepicker(instActive.inline?a.parent()[0]:instActive.input[0])||!d.length)return;d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),d.addClass("ui-state-hover"),d.hasClass("ui-datepicker-prev")&&d.addClass("ui-datepicker-prev-hover"),d.hasClass("ui-datepicker-next")&&d.addClass("ui-datepicker-next-hover")})}function extendRemove(a,b){$.extend(a,b);for(var c in b)if(b[c]==null||b[c]==undefined)a[c]=b[c];return a}function isArray(a){return a&&($.browser.safari&&typeof a=="object"&&a.length||a.constructor&&a.constructor.toString().match(/\Array\(\)/))}$.extend($.ui,{datepicker:{version:"1.8.21"}});var PROP_NAME="datepicker",dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){return extendRemove(this._defaults,a||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline=nodeName=="div"||nodeName=="span";target.id||(this.uuid+=1,target.id="dp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName=="input"?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:c,input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:b?bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')):this.dpDiv}},_connectDatepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]);if(c.hasClass(this.markerClassName))return;this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(a,c,d){b.settings[c]=d}).bind("getData.datepicker",function(a,c){return this._get(b,c)}),this._autoSize(b),$.data(a,PROP_NAME,b),b.settings.disabled&&this._disableDatepicker(a)},_attachments:function(a,b){var c=this._get(b,"appendText"),d=this._get(b,"isRTL");b.append&&b.append.remove(),c&&(b.append=$('<span class="'+this._appendClass+'">'+c+"</span>"),a[d?"before":"after"](b.append)),a.unbind("focus",this._showDatepicker),b.trigger&&b.trigger.remove();var e=this._get(b,"showOn");(e=="focus"||e=="both")&&a.focus(this._showDatepicker);if(e=="button"||e=="both"){var f=this._get(b,"buttonText"),g=this._get(b,"buttonImage");b.trigger=$(this._get(b,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:g,alt:f,title:f}):$('<button type="button"></button>').addClass(this._triggerClass).html(g==""?f:$("<img/>").attr({src:g,alt:f,title:f}))),a[d?"before":"after"](b.trigger),b.trigger.click(function(){return $.datepicker._datepickerShowing&&$.datepicker._lastInput==a[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&&$.datepicker._lastInput!=a[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(a[0])):$.datepicker._showDatepicker(a[0]),!1})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var d=function(a){var b=0,c=0;for(var d=0;d<a.length;d++)a[d].length>b&&(b=a[d].length,c=d);return c};b.setMonth(d(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort"))),b.setDate(d(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=$(a);if(c.hasClass(this.markerClassName))return;c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(a,c,d){b.settings[c]=d}).bind("getData.datepicker",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&&this._disableDatepicker(a),b.dpDiv.css("display","block")},_dialogDatepicker:function(a,b,c,d,e){var f=this._dialogInst;if(!f){this.uuid+=1;var g="dp"+this.uuid;this._dialogInput=$('<input type="text" id="'+g+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>'),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),f=this._dialogInst=this._newInst(this._dialogInput,!1),f.settings={},$.data(this._dialogInput[0],PROP_NAME,f)}extendRemove(f.settings,d||{}),b=b&&b.constructor==Date?this._formatDate(f,b):b,this._dialogInput.val(b),this._pos=e?e.length?e:[e.pageX,e.pageY]:null;if(!this._pos){var h=document.documentElement.clientWidth,i=document.documentElement.clientHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,k=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[h/2-100+j,i/2-150+k]}return this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),f.settings.onSelect=c,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,f),this},_destroyDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),d=="input"?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):(d=="div"||d=="span")&&b.removeClass(this.markerClassName).empty()},_enableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();if(d=="input")a.disabled=!1,c.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if(d=="div"||d=="span"){var e=b.children("."+this._inlineClass);e.children().removeClass("ui-state-disabled"),e.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b})},_disableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!b.hasClass(this.markerClassName))return;var d=a.nodeName.toLowerCase();if(d=="input")a.disabled=!0,c.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if(d=="div"||d=="span"){var e=b.children("."+this._inlineClass);e.children().addClass("ui-state-disabled"),e.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=a},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(a,b,c){var d=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?$.extend({},$.datepicker._defaults):d?b=="all"?$.extend({},d.settings):this._get(d,b):null;var e=b||{};typeof b=="string"&&(e={},e[b]=c);if(d){this._curInst==d&&this._hideDatepicker();var f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(d,"min"),h=this._getMinMaxDate(d,"max");extendRemove(d.settings,e),g!==null&&e.dateFormat!==undefined&&e.minDate===undefined&&(d.settings.minDate=this._formatDate(d,g)),h!==null&&e.dateFormat!==undefined&&e.maxDate===undefined&&(d.settings.maxDate=this._formatDate(d,h)),this._attachments($(a),d),this._autoSize(d),this._setDate(d,f),this._updateAlternate(d),this._updateDatepicker(d)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){var b=this._getInst(a);b&&this._updateDatepicker(b)},_setDateDatepicker:function(a,b){var c=this._getInst(a);c&&(this._setDate(c,b),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:function(a,b){var c=this._getInst(a);return c&&!c.inline&&this._setDateFromField(c,b),c?this._getDate(c):null},_doKeyDown:function(a){var b=$.datepicker._getInst(a.target),c=!0,d=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=!0;if($.datepicker._datepickerShowing)switch(a.keyCode){case 9:$.datepicker._hideDatepicker(),c=!1;break;case 13:var e=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",b.dpDiv);e[0]&&$.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,e[0]);var f=$.datepicker._get(b,"onSelect");if(f){var g=$.datepicker._formatDate(b);f.apply(b.input?b.input[0]:null,[g,b])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,"stepBigMonths"):-$.datepicker._get(b,"stepMonths"),"M");break;case 34:$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,"stepBigMonths"):+$.datepicker._get(b,"stepMonths"),"M");break;case 35:(a.ctrlKey||a.metaKey)&&$.datepicker._clearDate(a.target),c=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&$.datepicker._gotoToday(a.target),c=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?1:-1,"D"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,"stepBigMonths"):-$.datepicker._get(b,"stepMonths"),"M");break;case 38:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,-7,"D"),c=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?-1:1,"D"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,"stepBigMonths"):+$.datepicker._get(b,"stepMonths"),"M");break;case 40:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,7,"D"),c=a.ctrlKey||a.metaKey;break;default:c=!1}else a.keyCode==36&&a.ctrlKey?$.datepicker._showDatepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var b=$.datepicker._getInst(a.target);if($.datepicker._get(b,"constrainInput")){var c=$.datepicker._possibleChars($.datepicker._get(b,"dateFormat")),d=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||d<" "||!c||c.indexOf(d)>-1}},_doKeyUp:function(a){var b=$.datepicker._getInst(a.target);if(b.input.val()!=b.lastVal)try{var c=$.datepicker.parseDate($.datepicker._get(b,"dateFormat"),b.input?b.input.val():null,$.datepicker._getFormatConfig(b));c&&($.datepicker._setDateFromField(b),$.datepicker._updateAlternate(b),$.datepicker._updateDatepicker(b))}catch(d){$.datepicker.log(d)}return!0},_showDatepicker:function(a){a=a.target||a,a.nodeName.toLowerCase()!="input"&&(a=$("input",a.parentNode)[0]);if($.datepicker._isDisabledDatepicker(a)||$.datepicker._lastInput==a)return;var b=$.datepicker._getInst(a);$.datepicker._curInst&&$.datepicker._curInst!=b&&($.datepicker._curInst.dpDiv.stop(!0,!0),b&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var c=$.datepicker._get(b,"beforeShow"),d=c?c.apply(a,[a,b]):{};if(d===!1)return;extendRemove(b.settings,d),b.lastVal=null,$.datepicker._lastInput=a,$.datepicker._setDateFromField(b),$.datepicker._inDialog&&(a.value=""),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(a),$.datepicker._pos[1]+=a.offsetHeight);var e=!1;$(a).parents().each(function(){return e|=$(this).css("position")=="fixed",!e}),e&&$.browser.opera&&($.datepicker._pos[0]-=document.documentElement.scrollLeft,$.datepicker._pos[1]-=document.documentElement.scrollTop);var f={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,b.dpDiv.empty(),b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.datepicker._updateDatepicker(b),f=$.datepicker._checkOffset(b,f,e),b.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?"static":e?"fixed":"absolute",display:"none",left:f.left+"px",top:f.top+"px"});if(!b.inline){var g=$.datepicker._get(b,"showAnim"),h=$.datepicker._get(b,"duration"),i=function(){var a=b.dpDiv.find("iframe.ui-datepicker-cover");if(!!a.length){var c=$.datepicker._getBorders(b.dpDiv);a.css({left:-c[0],top:-c[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex($(a).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&$.effects[g]?b.dpDiv.show(g,$.datepicker._get(b,"showOptions"),h,i):b.dpDiv[g||"show"](g?h:null,i),(!g||!h)&&i(),b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus(),$.datepicker._curInst=b}},_updateDatepicker:function(a){var b=this;b.maxRows=4;var c=$.datepicker._getBorders(a.dpDiv);instActive=a,a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find("iframe.ui-datepicker-cover");!d.length||d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}),a.dpDiv.find("."+this._dayOverClass+" a").mouseover();var e=this._getNumberOfMonths(a),f=e[1],g=17;a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),f>1&&a.dpDiv.addClass("ui-datepicker-multi-"+f).css("width",g*f+"em"),a.dpDiv[(e[0]!=1||e[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi"),a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),a==$.datepicker._curInst&&$.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var h=a.yearshtml;setTimeout(function(){h===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml),h=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var d=a.dpDiv.outerWidth(),e=a.dpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();return b.left-=this._get(a,"isRTL")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0),b},_findPos:function(a){var b=this._getInst(a),c=this._get(b,"isRTL");while(a&&(a.type=="hidden"||a.nodeType!=1||$.expr.filters.hidden(a)))a=a[c?"previousSibling":"nextSibling"];var d=$(a).offset();return[d.left,d.top]},_hideDatepicker:function(a){var b=this._curInst;if(!b||a&&b!=$.data(a,PROP_NAME))return;if(this._datepickerShowing){var c=this._get(b,"showAnim"),d=this._get(b,"duration"),e=function(){$.datepicker._tidyDialog(b)};$.effects&&$.effects[c]?b.dpDiv.hide(c,$.datepicker._get(b,"showOptions"),d,e):b.dpDiv[c=="slideDown"?"slideUp":c=="fadeIn"?"fadeOut":"hide"](c?d:null,e),c||e(),this._datepickerShowing=!1;var f=this._get(b,"onClose");f&&f.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(!$.datepicker._curInst)return;var b=$(a.target),c=$.datepicker._getInst(b[0]);(b[0].id!=$.datepicker._mainDivId&&b.parents("#"+$.datepicker._mainDivId).length==0&&!b.hasClass($.datepicker.markerClassName)&&!b.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&(!$.datepicker._inDialog||!$.blockUI)||b.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=c)&&$.datepicker._hideDatepicker()},_adjustDate:function(a,b,c){var d=$(a),e=this._getInst(d[0]);if(this._isDisabledDatepicker(d[0]))return;this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):0),c),this._updateDatepicker(e)},_gotoToday:function(a){var b=$(a),c=this._getInst(b[0]);if(this._get(c,"gotoCurrent")&&c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c),this._adjustDate(b)},_selectMonthYear:function(a,b,c){var d=$(a),e=this._getInst(d[0]);e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(d)},_selectDay:function(a,b,c,d){var e=$(a);if($(d).hasClass(this._unselectableClass)||this._isDisabledDatepicker(e[0]))return;var f=this._getInst(e[0]);f.selectedDay=f.currentDay=$("a",d).html(),f.selectedMonth=f.currentMonth=b,f.selectedYear=f.currentYear=c,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))},_clearDate:function(a){var b=$(a),c=this._getInst(b[0]);this._selectDate(b,"")},_selectDate:function(a,b){var c=$(a),d=this._getInst(c[0]);b=b!=null?b:this._formatDate(d),d.input&&d.input.val(b),this._updateAlternate(d);var e=this._get(d,"onSelect");e?e.apply(d.input?d.input[0]:null,[b,d]):d.input&&d.input.trigger("change"),d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d.input[0],typeof d.input[0]!="object"&&d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:function(a){var b=a.getDay();return[b>0&&b<6,""]},iso8601Week:function(a){var b=new Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var d=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;d=typeof d!="string"?d:(new Date).getFullYear()%100+parseInt(d,10);var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,h=(c?c.monthNames:null)||this._defaults.monthNames,i=-1,j=-1,k=-1,l=-1,m=!1,n=function(b){var c=s+1<a.length&&a.charAt(s+1)==b;return c&&s++,c},o=function(a){var c=n(a),d=a=="@"?14:a=="!"?20:a=="y"&&c?4:a=="o"?3:2,e=new RegExp("^\\d{1,"+d+"}"),f=b.substring(r).match(e);if(!f)throw"Missing number at position "+r;return r+=f[0].length,parseInt(f[0],10)},p=function(a,c,d){var e=$.map(n(a)?d:c,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length-b[1].length)}),f=-1;$.each(e,function(a,c){var d=c[1];if(b.substr(r,d.length).toLowerCase()==d.toLowerCase())return f=c[0],r+=d.length,!1});if(f!=-1)return f+1;throw"Unknown name at position "+r},q=function(){if(b.charAt(r)!=a.charAt(s))throw"Unexpected literal at position "+r;r++},r=0;for(var s=0;s<a.length;s++)if(m)a.charAt(s)=="'"&&!n("'")?m=!1:q();else switch(a.charAt(s)){case"d":k=o("d");break;case"D":p("D",e,f);break;case"o":l=o("o");break;case"m":j=o("m");break;case"M":j=p("M",g,h);break;case"y":i=o("y");break;case"@":var t=new Date(o("@"));i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case"!":var t=new Date((o("!")-this._ticksTo1970)/1e4);i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case"'":n("'")?q():m=!0;break;default:q()}if(r<b.length)throw"Extra/unparsed characters found in date: "+b.substring(r);i==-1?i=(new Date).getFullYear():i<100&&(i+=(new Date).getFullYear()-(new Date).getFullYear()%100+(i<=d?0:-100));if(l>-1){j=1,k=l;do{var u=this._getDaysInMonth(i,j-1);if(k<=u)break;j++,k-=u}while(!0)}var t=this._daylightSavingAdjust(new Date(i,j-1,k));if(t.getFullYear()!=i||t.getMonth()+1!=j||t.getDate()!=k)throw"Invalid date";return t},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:function(a,b,c){if(!b)return"";var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:null)||this._defaults.dayNames,f=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,h=function(b){var c=m+1<a.length&&a.charAt(m+1)==b;return c&&m++,c},i=function(a,b,c){var d=""+b;if(h(a))while(d.length<c)d="0"+d;return d},j=function(a,b,c,d){return h(a)?d[b]:c[b]},k="",l=!1;if(b)for(var m=0;m<a.length;m++)if(l)a.charAt(m)=="'"&&!h("'")?l=!1:k+=a.charAt(m);else switch(a.charAt(m)){case"d":k+=i("d",b.getDate(),2);break;case"D":k+=j("D",b.getDay(),d,e);break;case"o":k+=i("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864e5),3);break;case"m":k+=i("m",b.getMonth()+1,2);break;case"M":k+=j("M",b.getMonth(),f,g);break;case"y":k+=h("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case"@":k+=b.getTime();break;case"!":k+=b.getTime()*1e4+this._ticksTo1970;break;case"'":h("'")?k+="'":l=!0;break;default:k+=a.charAt(m)}return k},_possibleChars:function(a){var b="",c=!1,d=function(b){var c=e+1<a.length&&a.charAt(e+1)==b;return c&&e++,c};for(var e=0;e<a.length;e++)if(c)a.charAt(e)=="'"&&!d("'")?c=!1:b+=a.charAt(e);else switch(a.charAt(e)){case"d":case"m":case"y":case"@":b+="0123456789";break;case"D":case"M":return null;case"'":d("'")?b+="'":c=!0;break;default:b+=a.charAt(e)}return b},_get:function(a,b){return a.settings[b]!==undefined?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()==a.lastVal)return;var c=this._get(a,"dateFormat"),d=a.lastVal=a.input?a.input.val():null,e,f;e=f=this._getDefaultDate(a);var g=this._getFormatConfig(a);try{e=this.parseDate(c,d,g)||f}catch(h){this.log(h),d=b?"":d}a.selectedDay=e.getDate(),a.drawMonth=a.selectedMonth=e.getMonth(),a.drawYear=a.selectedYear=e.getFullYear(),a.currentDay=d?e.getDate():0,a.currentMonth=d?e.getMonth():0,a.currentYear=d?e.getFullYear():0,this._adjustInstDate(a)},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var d=function(a){var b=new Date;return b.setDate(b.getDate()+a),b},e=function(b){try{return $.datepicker.parseDate($.datepicker._get(a,"dateFormat"),b,$.datepicker._getFormatConfig(a))}catch(c){}var d=(b.toLowerCase().match(/^c/)?$.datepicker._getDate(a):null)||new Date,e=d.getFullYear(),f=d.getMonth(),g=d.getDate(),h=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,i=h.exec(b);while(i){switch(i[2]||"d"){case"d":case"D":g+=parseInt(i[1],10);break;case"w":case"W":g+=parseInt(i[1],10)*7;break;case"m":case"M":f+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f));break;case"y":case"Y":e+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f))}i=h.exec(b)}return new Date(e,f,g)},f=b==null||b===""?c:typeof b=="string"?e(b):typeof b=="number"?isNaN(b)?c:d(b):new Date(b.getTime());return f=f&&f.toString()=="Invalid Date"?c:f,f&&(f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0)),this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){return a?(a.setHours(a.getHours()>12?a.getHours()+2:0),a):null},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,f=a.selectedYear,g=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=g.getDate(),a.drawMonth=a.selectedMonth=a.currentMonth=g.getMonth(),a.drawYear=a.selectedYear=a.currentYear=g.getFullYear(),(e!=a.selectedMonth||f!=a.selectedYear)&&!c&&this._notifyChange(a),this._adjustInstDate(a),a.input&&a.input.val(d?"":this._formatDate(a))},_getDate:function(a){var b=!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return b},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),d=this._get(a,"showButtonPanel"),e=this._get(a,"hideIfNoPrevNext"),f=this._get(a,"navigationAsDateFormat"),g=this._getNumberOfMonths(a),h=this._get(a,"showCurrentAtPos"),i=this._get(a,"stepMonths"),j=g[0]!=1||g[1]!=1,k=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),l=this._getMinMaxDate(a,"min"),m=this._getMinMaxDate(a,"max"),n=a.drawMonth-h,o=a.drawYear;n<0&&(n+=12,o--);if(m){var p=this._daylightSavingAdjust(new Date(m.getFullYear(),m.getMonth()-g[0]*g[1]+1,m.getDate()));p=l&&p<l?l:p;while(this._daylightSavingAdjust(new Date(o,n,1))>p)n--,n<0&&(n=11,o--)}a.drawMonth=n,a.drawYear=o;var q=this._get(a,"prevText");q=f?this.formatDate(q,this._daylightSavingAdjust(new Date(o,n-i,1)),this._getFormatConfig(a)):q;var r=this._canAdjustMonth(a,-1,o,n)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+a.id+"', -"+i+", 'M');\""+' title="'+q+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+q+"</span></a>":e?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+q+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+q+"</span></a>",s=this._get(a,"nextText");s=f?this.formatDate(s,this._daylightSavingAdjust(new Date(o,n+i,1)),this._getFormatConfig(a)):s;var t=this._canAdjustMonth(a,1,o,n)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+a.id+"', +"+i+", 'M');\""+' title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>":e?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>",u=this._get(a,"currentText"),v=this._get(a,"gotoCurrent")&&a.currentDay?k:b;u=f?this.formatDate(u,v,this._getFormatConfig(a)):u;var w=a.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+dpuuid+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>",x=d?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?w:"")+(this._isInRange(a,v)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._gotoToday('#"+a.id+"');\""+">"+u+"</button>":"")+(c?"":w)+"</div>":"",y=parseInt(this._get(a,"firstDay"),10);y=isNaN(y)?0:y;var z=this._get(a,"showWeek"),A=this._get(a,"dayNames"),B=this._get(a,"dayNamesShort"),C=this._get(a,"dayNamesMin"),D=this._get(a,"monthNames"),E=this._get(a,"monthNamesShort"),F=this._get(a,"beforeShowDay"),G=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths"),I=this._get(a,"calculateWeek")||this.iso8601Week,J=this._getDefaultDate(a),K="";for(var L=0;L<g[0];L++){var M="";this.maxRows=4;for(var N=0;N<g[1];N++){var O=this._daylightSavingAdjust(new Date(o,n,a.selectedDay)),P=" ui-corner-all",Q="";if(j){Q+='<div class="ui-datepicker-group';if(g[1]>1)switch(N){case 0:Q+=" ui-datepicker-group-first",P=" ui-corner-"+(c?"right":"left");break;case g[1]-1:Q+=" ui-datepicker-group-last",P=" ui-corner-"+(c?"left":"right");break;default:Q+=" ui-datepicker-group-middle",P=""}Q+='">'}Q+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+P+'">'+(/all|left/.test(P)&&L==0?c?t:r:"")+(/all|right/.test(P)&&L==0?c?r:t:"")+this._generateMonthYearHeader(a,n,o,l,m,L>0||N>0,D,E)+'</div><table class="ui-datepicker-calendar"><thead>'+"<tr>";var R=z?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(var S=0;S<7;S++){var T=(S+y)%7;R+="<th"+((S+y+6)%7>=5?' class="ui-datepicker-week-end"':"")+">"+'<span title="'+A[T]+'">'+C[T]+"</span></th>"}Q+=R+"</tr></thead><tbody>";var U=this._getDaysInMonth(o,n);o==a.selectedYear&&n==a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,U));var V=(this._getFirstDayOfMonth(o,n)-y+7)%7,W=Math.ceil((V+U)/7),X=j?this.maxRows>W?this.maxRows:W:W;this.maxRows=X;var Y=this._daylightSavingAdjust(new Date(o,n,1-V));for(var Z=0;Z<X;Z++){Q+="<tr>";var _=z?'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(Y)+"</td>":"";for(var S=0;S<7;S++){var ba=F?F.apply(a.input?a.input[0]:null,[Y]):[!0,""],bb=Y.getMonth()!=n,bc=bb&&!H||!ba[0]||l&&Y<l||m&&Y>m;_+='<td class="'+((S+y+6)%7>=5?" ui-datepicker-week-end":"")+(bb?" ui-datepicker-other-month":"")+(Y.getTime()==O.getTime()&&n==a.selectedMonth&&a._keyEvent||J.getTime()==Y.getTime()&&J.getTime()==O.getTime()?" "+this._dayOverClass:"")+(bc?" "+this._unselectableClass+" ui-state-disabled":"")+(bb&&!G?"":" "+ba[1]+(Y.getTime()==k.getTime()?" "+this._currentClass:"")+(Y.getTime()==b.getTime()?" ui-datepicker-today":""))+'"'+((!bb||G)&&ba[2]?' title="'+ba[2]+'"':"")+(bc?"":' onclick="DP_jQuery_'+dpuuid+".datepicker._selectDay('#"+a.id+"',"+Y.getMonth()+","+Y.getFullYear()+', this);return false;"')+">"+(bb&&!G?"&#xa0;":bc?'<span class="ui-state-default">'+Y.getDate()+"</span>":'<a class="ui-state-default'+(Y.getTime()==b.getTime()?" ui-state-highlight":"")+(Y.getTime()==k.getTime()?" ui-state-active":"")+(bb?" ui-priority-secondary":"")+'" href="#">'+Y.getDate()+"</a>")+"</td>",Y.setDate(Y.getDate()+1),Y=this._daylightSavingAdjust(Y)}Q+=_+"</tr>"}n++,n>11&&(n=0,o++),Q+="</tbody></table>"+(j?"</div>"+(g[0]>0&&N==g[1]-1?'<div class="ui-datepicker-row-break"></div>':""):""),M+=Q}K+=M}return K+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),a._keyEvent=!1,K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,"changeMonth"),j=this._get(a,"changeYear"),k=this._get(a,"showMonthAfterYear"),l='<div class="ui-datepicker-title">',m="";if(f||!i)m+='<span class="ui-datepicker-month">'+g[b]+"</span>";else{var n=d&&d.getFullYear()==c,o=e&&e.getFullYear()==c;m+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" "+">";for(var p=0;p<12;p++)(!n||p>=d.getMonth())&&(!o||p<=e.getMonth())&&(m+='<option value="'+p+'"'+(p==b?' selected="selected"':"")+">"+h[p]+"</option>");m+="</select>"}k||(l+=m+(f||!i||!j?"&#xa0;":""));if(!a.yearshtml){a.yearshtml="";if(f||!j)l+='<span class="ui-datepicker-year">'+c+"</span>";else{var q=this._get(a,"yearRange").split(":"),r=(new Date).getFullYear(),s=function(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);return isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||""));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" "+">";for(;t<=u;t++)a.yearshtml+='<option value="'+t+'"'+(t==c?' selected="selected"':"")+">"+t+"</option>";a.yearshtml+="</select>",l+=a.yearshtml,a.yearshtml=null}}return l+=this._get(a,"yearSuffix"),k&&(l+=(f||!i||!j?"&#xa0;":"")+m),l+="</div>",l},_adjustInstDate:function(a,b,c){var d=a.drawYear+(c=="Y"?b:0),e=a.drawMonth+(c=="M"?b:0),f=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+(c=="D"?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c=="M"||c=="Y")&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),e=c&&b<c?c:b;return e=d&&e>d?d:e,e},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){var b=this._get(a,"numberOfMonths");return b==null?[1,1]:typeof b=="number"?[1,b]:b},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(new Date(c,d+(b<0?b:e[0]*e[1]),1));return b<0&&f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth())),this._isInRange(a,f)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<=d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");return b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(d,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),e,this._getFormatConfig(a))}}),$.fn.datepicker=function(a){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);return typeof a!="string"||a!="isDisabled"&&a!="getDate"&&a!="widget"?a=="option"&&arguments.length==2&&typeof arguments[1]=="string"?$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b)):this.each(function(){typeof a=="string"?$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this].concat(b)):$.datepicker._attachDatepicker(this,a)}):$.datepicker["_"+a+"Datepicker"].apply($.datepicker,[this[0]].concat(b))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.8.21",window["DP_jQuery_"+dpuuid]=$}(jQuery),function(a,b){var c="ui-dialog ui-widget ui-widget-content ui-corner-all ",d={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},e={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},f=a.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};a.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(b){var c=a(this).css(b).offset().top;c<0&&a(this).css("top",b.top-c)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),typeof this.originalTitle!="string"&&(this.originalTitle=""),this.options.title=this.options.title||this.originalTitle;var b=this,d=b.options,e=d.title||"&#160;",f=a.ui.dialog.getTitleId(b.element),g=(b.uiDialog=a("<div></div>")).appendTo(document.body).hide().addClass(c+d.dialogClass).css({zIndex:d.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(c){d.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}).attr({role:"dialog","aria-labelledby":f}).mousedown(function(a){b.moveToTop(!1,a)}),h=b.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g),i=(b.uiDialogTitlebar=a("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),j=a('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){j.addClass("ui-state-hover")},function(){j.removeClass("ui-state-hover")}).focus(function(){j.addClass("ui-state-focus")}).blur(function(){j.removeClass("ui-state-focus")}).click(function(a){return b.close(a),!1}).appendTo(i),k=(b.uiDialogTitlebarCloseText=a("<span></span>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(j),l=a("<span></span>").addClass("ui-dialog-title").attr("id",f).html(e).prependTo(i);a.isFunction(d.beforeclose)&&!a.isFunction(d.beforeClose)&&(d.beforeClose=d.beforeclose),i.find("*").add(i).disableSelection(),d.draggable&&a.fn.draggable&&b._makeDraggable(),d.resizable&&a.fn.resizable&&b._makeResizable(),b._createButtons(d.buttons),b._isOpen=!1,a.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;return a.overlay&&a.overlay.destroy(),a.uiDialog.hide(),a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),a.uiDialog.remove(),a.originalTitle&&a.element.attr("title",a.originalTitle),a},widget:function(){return this.uiDialog},close:function(b){var c=this,d,e;if(!1===c._trigger("beforeClose",b))return;return c.overlay&&c.overlay.destroy(),c.uiDialog.unbind("keypress.ui-dialog"),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger("close",b)}):(c.uiDialog.hide(),c._trigger("close",b)),a.ui.dialog.overlay.resize(),c.options.modal&&(d=0,a(".ui-dialog").each(function(){this!==c.uiDialog[0]&&(e=a(this).css("z-index"),isNaN(e)||(d=Math.max(d,e)))}),a.ui.dialog.maxZ=d),c},isOpen:function(){return this._isOpen},moveToTop:function(b,c){var d=this,e=d.options,f;return e.modal&&!b||!e.stack&&!e.modal?d._trigger("focus",c):(e.zIndex>a.ui.dialog.maxZ&&(a.ui.dialog.maxZ=e.zIndex),d.overlay&&(a.ui.dialog.maxZ+=1,d.overlay.$el.css("z-index",a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)),f={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()},a.ui.dialog.maxZ+=1,d.uiDialog.css("z-index",a.ui.dialog.maxZ),d.element.attr(f),d._trigger("focus",c),d)},open:function(){if(this._isOpen)return;var b=this,c=b.options,d=b.uiDialog;return b.overlay=c.modal?new a.ui.dialog.overlay(b):null,b._size(),b._position(c.position),d.show(c.show),b.moveToTop(!0),c.modal&&d.bind("keydown.ui-dialog",function(b){if(b.keyCode!==a.ui.keyCode.TAB)return;var c=a(":tabbable",this),d=c.filter(":first"),e=c.filter(":last");if(b.target===e[0]&&!b.shiftKey)return d.focus(1),!1;if(b.target===d[0]&&b.shiftKey)return e.focus(1),!1}),a(b.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus(),b._isOpen=!0,b._trigger("open"),b},_createButtons:function(b){var c=this,d=!1,e=a("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=a("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);c.uiDialog.find(".ui-dialog-buttonpane").remove(),typeof b=="object"&&b!==null&&a.each(b,function(){return!(d=!0)}),d&&(a.each(b,function(b,d){d=a.isFunction(d)?{click:d,text:b}:d;var e=a('<button type="button"></button>').click(function(){d.click.apply(c.element[0],arguments)}).appendTo(g);a.each(d,function(a,b){if(a==="click")return;a in f?e[a](b):e.attr(a,b)}),a.fn.button&&e.button()}),e.appendTo(c.uiDialog))},_makeDraggable:function(){function f(a){return{position:a.position,offset:a.offset}}var b=this,c=b.options,d=a(document),e;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(d,g){e=c.height==="auto"?"auto":a(this).height(),a(this).height(a(this).height()).addClass("ui-dialog-dragging"),b._trigger("dragStart",d,f(g))},drag:function(a,c){b._trigger("drag",a,f(c))},stop:function(g,h){c.position=[h.position.left-d.scrollLeft(),h.position.top-d.scrollTop()],a(this).removeClass("ui-dialog-dragging").height(e),b._trigger("dragStop",g,f(h)),a.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function h(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}c=c===b?this.options.resizable:c;var d=this,e=d.options,f=d.uiDialog.css("position"),g=typeof c=="string"?c:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:g,start:function(b,c){a(this).addClass("ui-dialog-resizing"),d._trigger("resizeStart",b,h(c))},resize:function(a,b){d._trigger("resize",a,h(b))},stop:function(b,c){a(this).removeClass("ui-dialog-resizing"),e.height=a(this).height(),e.width=a(this).width(),d._trigger("resizeStop",b,h(c)),a.ui.dialog.overlay.resize()}}).css("position",f).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(b){var c=[],d=[0,0],e;if(b){if(typeof b=="string"||typeof b=="object"&&"0"in b)c=b.split?b.split(" "):[b[0],b[1]],c.length===1&&(c[1]=c[0]),a.each(["left","top"],function(a,b){+c[a]===c[a]&&(d[a]=c[a],c[a]=b)}),b={my:c.join(" "),at:c.join(" "),offset:d.join(" ")};b=a.extend({},a.ui.dialog.prototype.options.position,b)}else b=a.ui.dialog.prototype.options.position;e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},b)),e||this.uiDialog.hide()},_setOptions:function(b){var c=this,f={},g=!1;a.each(b,function(a,b){c._setOption(a,b),a in d&&(g=!0),a in e&&(f[a]=b)}),g&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",f)},_setOption:function(b,d){var e=this,f=e.uiDialog;switch(b){case"beforeclose":b="beforeClose";break;case"buttons":e._createButtons(d);break;case"closeText":e.uiDialogTitlebarCloseText.text(""+d);break;case"dialogClass":f.removeClass(e.options.dialogClass).addClass(c+d);break;case"disabled":d?f.addClass("ui-dialog-disabled"):f.removeClass("ui-dialog-disabled");break;case"draggable":var g=f.is(":data(draggable)");g&&!d&&f.draggable("destroy"),!g&&d&&e._makeDraggable();break;case"position":e._position(d);break;case"resizable":var h=f.is(":data(resizable)");h&&!d&&f.resizable("destroy"),h&&typeof d=="string"&&f.resizable("option","handles",d),!h&&d!==!1&&e._makeResizable(d);break;case"title":a(".ui-dialog-title",e.uiDialogTitlebar).html(""+(d||"&#160;"))}a.Widget.prototype._setOption.apply(e,arguments)},_size:function(){var b=this.options,c,d,e=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),b.minWidth>b.width&&(b.width=b.minWidth),c=this.uiDialog.css({height:"auto",width:b.width}).height(),d=Math.max(0,b.minHeight-c);if(b.height==="auto")if(a.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();var f=this.element.css("height","auto").height();e||this.uiDialog.hide(),this.element.height(Math.max(f,d))}else this.element.height(Math.max(b.height-c,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),a.extend(a.ui.dialog,{version:"1.8.21",uuid:0,maxZ:0,getTitleId:function(a){var b=a.attr("id");return b||(this.uuid+=1,b=this.uuid),"ui-dialog-title-"+b},overlay:function(b){this.$el=a.ui.dialog.overlay.create(b)}}),a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(b){this.instances.length===0&&(setTimeout(function(){a.ui.dialog.overlay.instances.length&&a(document).bind(a.ui.dialog.overlay.events,function(b){if(a(b.target).zIndex()<a.ui.dialog.overlay.maxZ)return!1})},1),a(document).bind("keydown.dialog-overlay",function(c){b.options.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}),a(window).bind("resize.dialog-overlay",a.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||a("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});return a.fn.bgiframe&&c.bgiframe(),this.instances.push(c),c},destroy:function(b){var c=a.inArray(b,this.instances);c!=-1&&this.oldInstances.push(this.instances.splice(c,1)[0]),this.instances.length===0&&a([document,window]).unbind(".dialog-overlay"),b.remove();var d=0;a.each(this.instances,function(){d=Math.max(d,this.css("z-index"))}),this.maxZ=d},height:function(){var b,c;return a.browser.msie&&a.browser.version<7?(b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),b<c?a(window).height()+"px":b+"px"):a(document).height()+"px"},width:function(){var b,c;return a.browser.msie?(b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),b<c?a(window).width()+"px":b+"px"):a(document).width()+"px"},resize:function(){var b=a([]);a.each(a.ui.dialog.overlay.instances,function(){b=b.add(this)}),b.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}}),a.extend(a.ui.dialog.overlay.prototype,{destroy:function(){a.ui.dialog.overlay.destroy(this.$el)}})}(jQuery),function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;return i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[