From d6f46dffbb9622799cb4bc87086d980cc95a7332 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 6 Feb 2015 16:35:34 +0000 Subject: [PATCH] New: DataTables intialisation options can now be specified using HTML `data-*` attributes on the HTML tag and on the cells of the column headers in the table. * A new example of this is included * Fixes DataTables/DataTablesSrc #9 --- .datatables-commit-sync | 2 +- examples/advanced_init/column_render.html | 3 +- examples/advanced_init/complex_header.html | 3 +- examples/advanced_init/defaults.html | 3 +- .../advanced_init/dom_multiple_elements.html | 3 +- examples/advanced_init/dom_toolbar.html | 3 +- examples/advanced_init/dt_events.html | 3 +- examples/advanced_init/events_live.html | 3 +- examples/advanced_init/footer_callback.html | 3 +- .../advanced_init/html5-data-attributes.html | 11 +- examples/advanced_init/index.html | 3 +- examples/advanced_init/language_file.html | 3 +- examples/advanced_init/length_menu.html | 3 +- examples/advanced_init/object_dom_read.html | 3 +- examples/advanced_init/row_callback.html | 3 +- examples/advanced_init/row_grouping.html | 3 +- .../advanced_init/sort_direction_control.html | 3 +- examples/ajax/custom_data_flat.html | 3 +- examples/ajax/custom_data_property.html | 3 +- examples/ajax/deep.html | 3 +- examples/ajax/defer_render.html | 3 +- examples/ajax/null_data_source.html | 3 +- examples/ajax/objects.html | 3 +- examples/ajax/objects_subarrays.html | 3 +- examples/ajax/orthogonal-data.html | 3 +- examples/ajax/simple.html | 3 +- examples/api/add_row.html | 3 +- examples/api/api_in_init.html | 3 +- examples/api/counter_columns.html | 3 +- examples/api/form.html | 3 +- examples/api/highlight.html | 3 +- examples/api/multi_filter.html | 3 +- examples/api/multi_filter_select.html | 3 +- examples/api/regex.html | 3 +- examples/api/row_details.html | 3 +- examples/api/select_row.html | 3 +- examples/api/select_single_row.html | 3 +- examples/api/show_hide.html | 3 +- examples/api/tabs_and_scrolling.html | 3 +- examples/basic_init/alt_pagination.html | 3 +- examples/basic_init/comma-decimal.html | 3 +- examples/basic_init/complex_header.html | 3 +- examples/basic_init/dom.html | 3 +- examples/basic_init/filter_only.html | 3 +- examples/basic_init/flexible_width.html | 3 +- examples/basic_init/hidden_columns.html | 3 +- examples/basic_init/language.html | 3 +- examples/basic_init/multi_col_sort.html | 3 +- examples/basic_init/multiple_tables.html | 3 +- examples/basic_init/scroll_x.html | 3 +- examples/basic_init/scroll_xy.html | 3 +- examples/basic_init/scroll_y.html | 3 +- examples/basic_init/scroll_y_theme.html | 3 +- examples/basic_init/state_save.html | 3 +- examples/basic_init/table_sorting.html | 3 +- examples/basic_init/zero_configuration.html | 3 +- examples/data_sources/ajax.html | 3 +- examples/data_sources/dom.html | 3 +- examples/data_sources/js_array.html | 3 +- examples/data_sources/server_side.html | 3 +- examples/index.html | 3 +- examples/plug-ins/api.html | 3 +- examples/plug-ins/dom_sort.html | 3 +- examples/plug-ins/range_filtering.html | 3 +- examples/plug-ins/sorting_auto.html | 3 +- examples/plug-ins/sorting_manual.html | 3 +- examples/server_side/custom_vars.html | 3 +- examples/server_side/defer_loading.html | 3 +- examples/server_side/ids.html | 3 +- examples/server_side/jsonp.html | 3 +- examples/server_side/object_data.html | 3 +- examples/server_side/pipeline.html | 3 +- examples/server_side/post.html | 3 +- examples/server_side/row_details.html | 3 +- examples/server_side/select_rows.html | 3 +- examples/server_side/simple.html | 3 +- examples/styling/bootstrap.html | 3 +- examples/styling/cell-border.html | 3 +- examples/styling/compact.html | 3 +- examples/styling/display.html | 3 +- examples/styling/foundation.html | 3 +- examples/styling/hover.html | 693 ------------------ examples/styling/jqueryUI.html | 3 +- examples/styling/no-classes.html | 3 +- examples/styling/order-column.html | 3 +- examples/styling/row-border.html | 3 +- examples/styling/stripe.html | 3 +- media/js/jquery.dataTables.js | 25 +- media/js/jquery.dataTables.min.js | 298 ++++---- 89 files changed, 338 insertions(+), 943 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 833918e5..aaefc02e 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -a6eba9ac580d1f9841f92eade3d4e4ddec8c4953 +20ad771c46bbdbba28f58f96c6f6ec6b49b54b25 diff --git a/examples/advanced_init/column_render.html b/examples/advanced_init/column_render.html index 721236c0..d6df6bd4 100644 --- a/examples/advanced_init/column_render.html +++ b/examples/advanced_init/column_render.html @@ -646,7 +646,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/complex_header.html b/examples/advanced_init/complex_header.html index 46af56fc..1e57061c 100644 --- a/examples/advanced_init/complex_header.html +++ b/examples/advanced_init/complex_header.html @@ -638,7 +638,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/defaults.html b/examples/advanced_init/defaults.html index 4850916f..c817e93a 100644 --- a/examples/advanced_init/defaults.html +++ b/examples/advanced_init/defaults.html @@ -630,7 +630,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/dom_multiple_elements.html b/examples/advanced_init/dom_multiple_elements.html index 35f3f1c1..f6906ba0 100644 --- a/examples/advanced_init/dom_multiple_elements.html +++ b/examples/advanced_init/dom_multiple_elements.html @@ -638,7 +638,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/dom_toolbar.html b/examples/advanced_init/dom_toolbar.html index 2ec2fc53..dade53b8 100644 --- a/examples/advanced_init/dom_toolbar.html +++ b/examples/advanced_init/dom_toolbar.html @@ -640,7 +640,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/dt_events.html b/examples/advanced_init/dt_events.html index 5f3a9904..182410e2 100644 --- a/examples/advanced_init/dt_events.html +++ b/examples/advanced_init/dt_events.html @@ -645,7 +645,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/events_live.html b/examples/advanced_init/events_live.html index abf1c833..3c5b99e8 100644 --- a/examples/advanced_init/events_live.html +++ b/examples/advanced_init/events_live.html @@ -627,7 +627,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/footer_callback.html b/examples/advanced_init/footer_callback.html index 1891e242..026362c0 100644 --- a/examples/advanced_init/footer_callback.html +++ b/examples/advanced_init/footer_callback.html @@ -627,7 +627,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/html5-data-attributes.html b/examples/advanced_init/html5-data-attributes.html index c304eb85..1529838e 100644 --- a/examples/advanced_init/html5-data-attributes.html +++ b/examples/advanced_init/html5-data-attributes.html @@ -5,7 +5,7 @@ - DataTables example - HTML5 data-* attributes + DataTables example - HTML5 data-* attributes - cell data @@ -20,7 +20,7 @@ $(document).ready(function() { - $('#example').dataTable(); + $('#example').DataTable(); } ); @@ -30,7 +30,7 @@ $(document).ready(function() {
    -

    DataTables example HTML5 data-* attributes

    +

    DataTables example HTML5 data-* attributes - cell data

    DataTables can use different data for different actions (display, ordering and searching) which can be immensely powerful for transforming data in the display @@ -547,7 +547,7 @@ $(document).ready(function() {

    The Javascript shown below is used to initialise the table shown in this example:

    $(document).ready(function() { - $('#example').dataTable(); + $('#example').DataTable(); } );

    In addition to the above code, the following Javascript library files are loaded for use in this example:

    @@ -630,7 +630,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/index.html b/examples/advanced_init/index.html index b40d79ac..2c6b5974 100644 --- a/examples/advanced_init/index.html +++ b/examples/advanced_init/index.html @@ -45,7 +45,8 @@
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/language_file.html b/examples/advanced_init/language_file.html index fa8fed7c..363d64fc 100644 --- a/examples/advanced_init/language_file.html +++ b/examples/advanced_init/language_file.html @@ -626,7 +626,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/length_menu.html b/examples/advanced_init/length_menu.html index 066defaf..e146fa3d 100644 --- a/examples/advanced_init/length_menu.html +++ b/examples/advanced_init/length_menu.html @@ -629,7 +629,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/object_dom_read.html b/examples/advanced_init/object_dom_read.html index 7bcdce27..bc7f73fb 100644 --- a/examples/advanced_init/object_dom_read.html +++ b/examples/advanced_init/object_dom_read.html @@ -655,7 +655,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/row_callback.html b/examples/advanced_init/row_callback.html index 57791198..0331c5b2 100644 --- a/examples/advanced_init/row_callback.html +++ b/examples/advanced_init/row_callback.html @@ -639,7 +639,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/row_grouping.html b/examples/advanced_init/row_grouping.html index 4d5c2cf9..64026860 100644 --- a/examples/advanced_init/row_grouping.html +++ b/examples/advanced_init/row_grouping.html @@ -692,7 +692,8 @@ tr.group:hover {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/advanced_init/sort_direction_control.html b/examples/advanced_init/sort_direction_control.html index 1ceb3a2b..065b50d8 100644 --- a/examples/advanced_init/sort_direction_control.html +++ b/examples/advanced_init/sort_direction_control.html @@ -648,7 +648,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/custom_data_flat.html b/examples/ajax/custom_data_flat.html index 4bd05dc1..87e89acd 100644 --- a/examples/ajax/custom_data_flat.html +++ b/examples/ajax/custom_data_flat.html @@ -194,7 +194,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/custom_data_property.html b/examples/ajax/custom_data_property.html index a7573629..17a270bd 100644 --- a/examples/ajax/custom_data_property.html +++ b/examples/ajax/custom_data_property.html @@ -178,7 +178,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/deep.html b/examples/ajax/deep.html index cb475d1c..bd15322e 100644 --- a/examples/ajax/deep.html +++ b/examples/ajax/deep.html @@ -199,7 +199,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/defer_render.html b/examples/ajax/defer_render.html index 68f872c2..cd4ed153 100644 --- a/examples/ajax/defer_render.html +++ b/examples/ajax/defer_render.html @@ -168,7 +168,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/null_data_source.html b/examples/ajax/null_data_source.html index 027e1c4f..11dcb3b8 100644 --- a/examples/ajax/null_data_source.html +++ b/examples/ajax/null_data_source.html @@ -193,7 +193,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/objects.html b/examples/ajax/objects.html index d82cc16e..81e555f3 100644 --- a/examples/ajax/objects.html +++ b/examples/ajax/objects.html @@ -192,7 +192,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/objects_subarrays.html b/examples/ajax/objects_subarrays.html index 4dde31b6..7497607b 100644 --- a/examples/ajax/objects_subarrays.html +++ b/examples/ajax/objects_subarrays.html @@ -209,7 +209,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/orthogonal-data.html b/examples/ajax/orthogonal-data.html index 62f714e3..dfeb5ddd 100644 --- a/examples/ajax/orthogonal-data.html +++ b/examples/ajax/orthogonal-data.html @@ -201,7 +201,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/ajax/simple.html b/examples/ajax/simple.html index 179b80ef..da121f6a 100644 --- a/examples/ajax/simple.html +++ b/examples/ajax/simple.html @@ -180,7 +180,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/add_row.html b/examples/api/add_row.html index 8b180714..3ad8231f 100644 --- a/examples/api/add_row.html +++ b/examples/api/add_row.html @@ -192,7 +192,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/api_in_init.html b/examples/api/api_in_init.html index 7d8168a5..52b8852f 100644 --- a/examples/api/api_in_init.html +++ b/examples/api/api_in_init.html @@ -640,7 +640,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/counter_columns.html b/examples/api/counter_columns.html index bcae1dfb..3c5d5b6a 100644 --- a/examples/api/counter_columns.html +++ b/examples/api/counter_columns.html @@ -649,7 +649,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/form.html b/examples/api/form.html index 77fbd389..758a3638 100644 --- a/examples/api/form.html +++ b/examples/api/form.html @@ -1662,7 +1662,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/highlight.html b/examples/api/highlight.html index f9032958..f47ee664 100644 --- a/examples/api/highlight.html +++ b/examples/api/highlight.html @@ -656,7 +656,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/multi_filter.html b/examples/api/multi_filter.html index a10669e2..ca7c4828 100644 --- a/examples/api/multi_filter.html +++ b/examples/api/multi_filter.html @@ -671,7 +671,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/multi_filter_select.html b/examples/api/multi_filter_select.html index 460fc44a..42d4f7fc 100644 --- a/examples/api/multi_filter_select.html +++ b/examples/api/multi_filter_select.html @@ -683,7 +683,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/regex.html b/examples/api/regex.html index d98e3086..cc686435 100644 --- a/examples/api/regex.html +++ b/examples/api/regex.html @@ -729,7 +729,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/row_details.html b/examples/api/row_details.html index f7d698aa..30ed9289 100644 --- a/examples/api/row_details.html +++ b/examples/api/row_details.html @@ -276,7 +276,8 @@ tr.shown td.details-control {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/select_row.html b/examples/api/select_row.html index 5ddcf418..136d726e 100644 --- a/examples/api/select_row.html +++ b/examples/api/select_row.html @@ -635,7 +635,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/select_single_row.html b/examples/api/select_single_row.html index cefd3b3f..1a537f14 100644 --- a/examples/api/select_single_row.html +++ b/examples/api/select_single_row.html @@ -651,7 +651,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/show_hide.html b/examples/api/show_hide.html index 51a81d87..caecbcb5 100644 --- a/examples/api/show_hide.html +++ b/examples/api/show_hide.html @@ -655,7 +655,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/api/tabs_and_scrolling.html b/examples/api/tabs_and_scrolling.html index f372bbc2..9b77afaf 100644 --- a/examples/api/tabs_and_scrolling.html +++ b/examples/api/tabs_and_scrolling.html @@ -650,7 +650,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/alt_pagination.html b/examples/basic_init/alt_pagination.html index 595685e7..6173f2e8 100644 --- a/examples/basic_init/alt_pagination.html +++ b/examples/basic_init/alt_pagination.html @@ -637,7 +637,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/comma-decimal.html b/examples/basic_init/comma-decimal.html index 594e30bd..a6fb425c 100644 --- a/examples/basic_init/comma-decimal.html +++ b/examples/basic_init/comma-decimal.html @@ -635,7 +635,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/complex_header.html b/examples/basic_init/complex_header.html index f6d13215..7bad53ac 100644 --- a/examples/basic_init/complex_header.html +++ b/examples/basic_init/complex_header.html @@ -622,7 +622,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/dom.html b/examples/basic_init/dom.html index 17a37b98..aac7d9f1 100644 --- a/examples/basic_init/dom.html +++ b/examples/basic_init/dom.html @@ -685,7 +685,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/filter_only.html b/examples/basic_init/filter_only.html index 70d0c53c..47edd39b 100644 --- a/examples/basic_init/filter_only.html +++ b/examples/basic_init/filter_only.html @@ -620,7 +620,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/flexible_width.html b/examples/basic_init/flexible_width.html index 491aa965..27b5a48a 100644 --- a/examples/basic_init/flexible_width.html +++ b/examples/basic_init/flexible_width.html @@ -622,7 +622,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/hidden_columns.html b/examples/basic_init/hidden_columns.html index 0cec97f2..21f56523 100644 --- a/examples/basic_init/hidden_columns.html +++ b/examples/basic_init/hidden_columns.html @@ -646,7 +646,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/language.html b/examples/basic_init/language.html index d85b288b..295d9c21 100644 --- a/examples/basic_init/language.html +++ b/examples/basic_init/language.html @@ -630,7 +630,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/multi_col_sort.html b/examples/basic_init/multi_col_sort.html index 6b05d630..5bdb843e 100644 --- a/examples/basic_init/multi_col_sort.html +++ b/examples/basic_init/multi_col_sort.html @@ -583,7 +583,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/multiple_tables.html b/examples/basic_init/multiple_tables.html index 41fe3037..6e6ab9d6 100644 --- a/examples/basic_init/multiple_tables.html +++ b/examples/basic_init/multiple_tables.html @@ -339,7 +339,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/scroll_x.html b/examples/basic_init/scroll_x.html index 3c378acd..9518c2ee 100644 --- a/examples/basic_init/scroll_x.html +++ b/examples/basic_init/scroll_x.html @@ -794,7 +794,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/scroll_xy.html b/examples/basic_init/scroll_xy.html index 6e62228a..b640e328 100644 --- a/examples/basic_init/scroll_xy.html +++ b/examples/basic_init/scroll_xy.html @@ -791,7 +791,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/scroll_y.html b/examples/basic_init/scroll_y.html index 6d6288a0..848e6dc2 100644 --- a/examples/basic_init/scroll_y.html +++ b/examples/basic_init/scroll_y.html @@ -630,7 +630,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/scroll_y_theme.html b/examples/basic_init/scroll_y_theme.html index f3dd4a5f..79135533 100644 --- a/examples/basic_init/scroll_y_theme.html +++ b/examples/basic_init/scroll_y_theme.html @@ -622,7 +622,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/state_save.html b/examples/basic_init/state_save.html index a3d522ab..e65d75c4 100644 --- a/examples/basic_init/state_save.html +++ b/examples/basic_init/state_save.html @@ -632,7 +632,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/table_sorting.html b/examples/basic_init/table_sorting.html index 7fc6903e..5a371664 100644 --- a/examples/basic_init/table_sorting.html +++ b/examples/basic_init/table_sorting.html @@ -625,7 +625,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/basic_init/zero_configuration.html b/examples/basic_init/zero_configuration.html index 19e585fa..4574fcfb 100644 --- a/examples/basic_init/zero_configuration.html +++ b/examples/basic_init/zero_configuration.html @@ -615,7 +615,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/data_sources/ajax.html b/examples/data_sources/ajax.html index 7ad25b48..00dae726 100644 --- a/examples/data_sources/ajax.html +++ b/examples/data_sources/ajax.html @@ -168,7 +168,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/data_sources/dom.html b/examples/data_sources/dom.html index e225cfad..bf08bfa8 100644 --- a/examples/data_sources/dom.html +++ b/examples/data_sources/dom.html @@ -617,7 +617,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/data_sources/js_array.html b/examples/data_sources/js_array.html index d96b8cdd..41918546 100644 --- a/examples/data_sources/js_array.html +++ b/examples/data_sources/js_array.html @@ -281,7 +281,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/data_sources/server_side.html b/examples/data_sources/server_side.html index c68f760b..5b7de483 100644 --- a/examples/data_sources/server_side.html +++ b/examples/data_sources/server_side.html @@ -170,7 +170,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/index.html b/examples/index.html index f617e954..496fcff3 100644 --- a/examples/index.html +++ b/examples/index.html @@ -65,7 +65,8 @@
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/plug-ins/api.html b/examples/plug-ins/api.html index a612d2a9..c9ef6643 100644 --- a/examples/plug-ins/api.html +++ b/examples/plug-ins/api.html @@ -665,7 +665,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/plug-ins/dom_sort.html b/examples/plug-ins/dom_sort.html index 4cedf594..8f10ac45 100644 --- a/examples/plug-ins/dom_sort.html +++ b/examples/plug-ins/dom_sort.html @@ -1726,7 +1726,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/plug-ins/range_filtering.html b/examples/plug-ins/range_filtering.html index 12a90ece..f0bad52a 100644 --- a/examples/plug-ins/range_filtering.html +++ b/examples/plug-ins/range_filtering.html @@ -674,7 +674,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/plug-ins/sorting_auto.html b/examples/plug-ins/sorting_auto.html index 7b9dd9c5..c43a24e5 100644 --- a/examples/plug-ins/sorting_auto.html +++ b/examples/plug-ins/sorting_auto.html @@ -658,7 +658,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/plug-ins/sorting_manual.html b/examples/plug-ins/sorting_manual.html index f8138ec1..4a4379b7 100644 --- a/examples/plug-ins/sorting_manual.html +++ b/examples/plug-ins/sorting_manual.html @@ -652,7 +652,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/custom_vars.html b/examples/server_side/custom_vars.html index fce903b8..d4766512 100644 --- a/examples/server_side/custom_vars.html +++ b/examples/server_side/custom_vars.html @@ -185,7 +185,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/defer_loading.html b/examples/server_side/defer_loading.html index b83f163e..a4b2d934 100644 --- a/examples/server_side/defer_loading.html +++ b/examples/server_side/defer_loading.html @@ -254,7 +254,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/ids.html b/examples/server_side/ids.html index f39cb061..4702023f 100644 --- a/examples/server_side/ids.html +++ b/examples/server_side/ids.html @@ -189,7 +189,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/jsonp.html b/examples/server_side/jsonp.html index 2747811b..1fbae8c8 100644 --- a/examples/server_side/jsonp.html +++ b/examples/server_side/jsonp.html @@ -178,7 +178,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/object_data.html b/examples/server_side/object_data.html index c6189963..e6dcb294 100644 --- a/examples/server_side/object_data.html +++ b/examples/server_side/object_data.html @@ -182,7 +182,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/pipeline.html b/examples/server_side/pipeline.html index efadfe6f..c7b69ffa 100644 --- a/examples/server_side/pipeline.html +++ b/examples/server_side/pipeline.html @@ -414,7 +414,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/post.html b/examples/server_side/post.html index f68150ae..b20dab27 100644 --- a/examples/server_side/post.html +++ b/examples/server_side/post.html @@ -194,7 +194,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/row_details.html b/examples/server_side/row_details.html index 33d82d6e..b0f5f46d 100644 --- a/examples/server_side/row_details.html +++ b/examples/server_side/row_details.html @@ -294,7 +294,8 @@ tr.details td.details-control {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/select_rows.html b/examples/server_side/select_rows.html index 8cac3105..8e455f91 100644 --- a/examples/server_side/select_rows.html +++ b/examples/server_side/select_rows.html @@ -207,7 +207,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/server_side/simple.html b/examples/server_side/simple.html index 3380590c..b757d89f 100644 --- a/examples/server_side/simple.html +++ b/examples/server_side/simple.html @@ -169,7 +169,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/bootstrap.html b/examples/styling/bootstrap.html index 9e1835ce..200df496 100644 --- a/examples/styling/bootstrap.html +++ b/examples/styling/bootstrap.html @@ -626,7 +626,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/cell-border.html b/examples/styling/cell-border.html index 27ae3eff..e0f8aeca 100644 --- a/examples/styling/cell-border.html +++ b/examples/styling/cell-border.html @@ -611,7 +611,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/compact.html b/examples/styling/compact.html index 7982e9fe..a677cd46 100644 --- a/examples/styling/compact.html +++ b/examples/styling/compact.html @@ -612,7 +612,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/display.html b/examples/styling/display.html index 88489ad8..6cde27b9 100644 --- a/examples/styling/display.html +++ b/examples/styling/display.html @@ -626,7 +626,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/foundation.html b/examples/styling/foundation.html index 0fa49323..09e87954 100644 --- a/examples/styling/foundation.html +++ b/examples/styling/foundation.html @@ -625,7 +625,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/hover.html b/examples/styling/hover.html index 7c0f49a0..e2d079dc 100644 --- a/examples/styling/hover.html +++ b/examples/styling/hover.html @@ -28,700 +28,7 @@ $(document).ready(function() {
    -

    DataTables example Base style - hover

    - -
    -

    This example shows DataTables with just the hover class specified. This class will instruct DataTables' styling to highlight a row when the mouse - is hovered over it.

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NamePositionOfficeAgeStart dateSalary
    NamePositionOfficeAgeStart dateSalary
    Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
    Garrett WintersAccountantTokyo632011/07/25$170,750
    Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
    Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
    Airi SatouAccountantTokyo332008/11/28$162,700
    Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
    Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
    Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
    Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
    Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
    Jena GainesOffice ManagerLondon302008/12/19$90,560
    Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
    Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
    Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
    Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
    Michael SilvaMarketing DesignerLondon662012/11/27$198,500
    Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
    Gloria LittleSystems AdministratorNew York592009/04/10$237,500
    Bradley GreerSoftware EngineerLondon412012/10/13$132,000
    Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
    Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
    Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
    Caesar VancePre-Sales SupportNew York212011/12/12$106,450
    Doris WilderSales AssistantSidney232010/09/20$85,600
    Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
    Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
    Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
    Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
    Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
    Shou ItouRegional MarketingTokyo202011/08/14$163,000
    Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
    Suki BurksDeveloperLondon532009/10/22$114,500
    Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
    Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
    Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
    Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
    Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
    Hope FuentesSecretarySan Francisco412010/02/12$109,850
    Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
    Timothy MooneyOffice ManagerLondon372008/12/11$136,200
    Jackson BradshawDirectorNew York652008/09/26$645,750
    Olivia LiangSupport EngineerSingapore642011/02/03$234,500
    Bruno NashSoftware EngineerLondon382011/05/03$163,500
    Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
    Thor WaltonDeveloperNew York612013/08/11$98,540
    Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
    Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
    Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
    Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
    Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
    Cara StevensSales AssistantNew York462011/12/06$145,600
    Hermione ButlerRegional DirectorLondon472011/03/21$356,250
    Lael GreerSystems AdministratorLondon212009/02/27$103,500
    Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
    Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
    Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
    Donna SniderCustomer SupportNew York272011/01/25$112,000
    - - - -
    -
    -

    The Javascript shown below is used to initialise the table shown in this example:

    $(document).ready(function() { - $('#example').dataTable(); -} ); - -

    In addition to the above code, the following Javascript library files are loaded for use in this example:

    - - -
    - -
    -

    The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:

    -
    - -
    -
    -

    This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The - additional CSS used is shown below:

    -
    - -

    The following CSS library files are loaded for use in this example to provide the styling of the table:

    - - -
    - -
    -

    This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is - loaded.

    -
    - -
    -

    The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side - processing scripts can be written in any language, using the protocol described in the DataTables - documentation.

    -
    -
    - -
    - -
    \ No newline at end of file diff --git a/examples/styling/jqueryUI.html b/examples/styling/jqueryUI.html index d1b987f7..8cb42a8b 100644 --- a/examples/styling/jqueryUI.html +++ b/examples/styling/jqueryUI.html @@ -627,7 +627,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/no-classes.html b/examples/styling/no-classes.html index b665477b..a663981f 100644 --- a/examples/styling/no-classes.html +++ b/examples/styling/no-classes.html @@ -611,7 +611,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/order-column.html b/examples/styling/order-column.html index aeafbd18..d0b3a2af 100644 --- a/examples/styling/order-column.html +++ b/examples/styling/order-column.html @@ -612,7 +612,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/row-border.html b/examples/styling/row-border.html index f51d9132..b168cb58 100644 --- a/examples/styling/row-border.html +++ b/examples/styling/row-border.html @@ -611,7 +611,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/examples/styling/stripe.html b/examples/styling/stripe.html index 9e16defc..d867e911 100644 --- a/examples/styling/stripe.html +++ b/examples/styling/stripe.html @@ -611,7 +611,8 @@ $(document).ready(function() {
  • Multiple table control elements
  • Complex headers (rowspan / colspan)
  • Read HTML to data objects
  • -
  • HTML5 data-* attributes
  • +
  • HTML5 data-* attributes - cell data
  • +
  • HTML5 data-* attributes - table options
  • Language file
  • Setting defaults
  • Row created callback
  • diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index f7965afc..e4e5c708 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -595,7 +595,7 @@ searchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch, searchCols[ iCol ] ); // Use the default column options function to initialise classes etc - _fnColumnOptions( oSettings, iCol, null ); + _fnColumnOptions( oSettings, iCol, $(nTh).data() ); } @@ -6057,6 +6057,7 @@ var sId = this.getAttribute( 'id' ); var bInitHandedOff = false; var defaults = DataTable.defaults; + var $this = $(this); /* Sanity check */ @@ -6075,7 +6076,9 @@ _fnCamelToHungarian( defaults.column, defaults.column, true ); /* Setting up the initialisation object */ - _fnCamelToHungarian( defaults, oInit ); + _fnCamelToHungarian( defaults, $.extend( oInit, $this.data() ) ); + + /* Check to see if we are re-initialising a table */ var allSettings = DataTable.settings; @@ -6129,7 +6132,7 @@ "nTable": this, "oApi": _that.internal, "oInit": oInit, - "sDestroyWidth": $(this)[0].style.width, + "sDestroyWidth": $this[0].style.width, "sInstance": sId, "sTableId": sId } ); @@ -6137,7 +6140,7 @@ // Need to add the instance after the instance after the settings object has been added // to the settings array, so we can self reference the table instance if more than one - oSettings.oInstance = (_that.length===1) ? _that : $(this).dataTable(); + oSettings.oInstance = (_that.length===1) ? _that : $this.dataTable(); // Backwards compatibility, before we apply all the defaults _fnCompatOpts( oInit ); @@ -6247,7 +6250,7 @@ { $.extend( oClasses, DataTable.ext.classes, oInit.oClasses ); } - $(this).addClass( oClasses.sTable ); + $this.addClass( oClasses.sTable ); /* Calculate the scroll bar width and cache it for use later on */ if ( oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "" ) @@ -6453,25 +6456,25 @@ _fnBrowserDetect( oSettings ); // Work around for Webkit bug 83867 - store the caption-side before removing from doc - var captions = $(this).children('caption').each( function () { - this._captionSide = $(this).css('caption-side'); + var captions = $this.children('caption').each( function () { + this._captionSide = $this.css('caption-side'); } ); - var thead = $(this).children('thead'); + var thead = $this.children('thead'); if ( thead.length === 0 ) { thead = $('').appendTo(this); } oSettings.nTHead = thead[0]; - var tbody = $(this).children('tbody'); + var tbody = $this.children('tbody'); if ( tbody.length === 0 ) { tbody = $('').appendTo(this); } oSettings.nTBody = tbody[0]; - var tfoot = $(this).children('tfoot'); + var tfoot = $this.children('tfoot'); if ( tfoot.length === 0 && captions.length > 0 && (oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "") ) { // If we are a scrolling table, and no footer has been given, then we need to create @@ -6480,7 +6483,7 @@ } if ( tfoot.length === 0 || tfoot.children().length === 0 ) { - $(this).addClass( oClasses.sNoFooter ); + $this.addClass( oClasses.sNoFooter ); } else if ( tfoot.length > 0 ) { oSettings.nTFoot = tfoot[0]; diff --git a/media/js/jquery.dataTables.min.js b/media/js/jquery.dataTables.min.js index 09d3059a..e9fe3a5b 100644 --- a/media/js/jquery.dataTables.min.js +++ b/media/js/jquery.dataTables.min.js @@ -1,158 +1,158 @@ /*! DataTables 1.10.5-dev * ©2008-2015 SpryMedia Ltd - datatables.net/license */ -(function(Ea,Q,n){var P=function(g){function W(a){var b,c,e={};g.each(a,function(d){if((b=d.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=d.replace(b[0],b[2].toLowerCase()),e[c]=d,"o"===b[1]&&W(a[d])});a._hungarianMap=e}function H(a,b,c){a._hungarianMap||W(a);var e;g.each(b,function(d){e=a._hungarianMap[d];if(e!==n&&(c||b[e]===n))"o"===e.charAt(0)?(b[e]||(b[e]={}),g.extend(!0,b[e],b[d]),H(a[e],b[e],c)):b[e]=b[d]})}function P(a){var b=p.defaults.oLanguage,c=a.sZeroRecords; +(function(Ea,P,k){var O=function(h){function V(a){var b,c,e={};h.each(a,function(d){if((b=d.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=d.replace(b[0],b[2].toLowerCase()),e[c]=d,"o"===b[1]&&V(a[d])});a._hungarianMap=e}function H(a,b,c){a._hungarianMap||V(a);var e;h.each(b,function(d){e=a._hungarianMap[d];if(e!==k&&(c||b[e]===k))"o"===e.charAt(0)?(b[e]||(b[e]={}),h.extend(!0,b[e],b[d]),H(a[e],b[e],c)):b[e]=b[d]})}function O(a){var b=o.defaults.oLanguage,c=a.sZeroRecords; !a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&E(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&E(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&db(a)}function eb(a){A(a,"ordering","bSort");A(a,"orderMulti","bSortMulti");A(a,"orderClasses","bSortClasses");A(a,"orderCellsTop","bSortCellsTop");A(a,"order","aaSorting");A(a,"orderFixed","aaSortingFixed");A(a,"paging","bPaginate"); -A(a,"pagingType","sPaginationType");A(a,"pageLength","iDisplayLength");A(a,"searching","bFilter");if(a=a.aoSearchCols)for(var b=0,c=a.length;b").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(g("
    ").css({position:"absolute",top:1,left:1,width:100, -overflow:"scroll"}).append(g('
    ').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==c.offset().left;b.remove()}function hb(a,b,c,e,d,f){var h,i=!1;c!==n&&(h=c,i=!0);for(;e!==d;)a.hasOwnProperty(e)&&(h=i?b(h,a[e],e,a):a[e],i=!0,e+=f);return h}function Fa(a,b){var c=p.defaults.column,e=a.aoColumns.length,c=g.extend({},p.models.oColumn,c,{nTh:b?b:Q.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML: -"",aDataSort:c.aDataSort?c.aDataSort:[e],mData:c.mData?c.mData:e,idx:e});a.aoColumns.push(c);c=a.aoPreSearchCols;c[e]=g.extend({},p.models.oSearch,c[e]);ka(a,e,null)}function ka(a,b,c){var b=a.aoColumns[b],e=a.oClasses,d=g(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=d.attr("width")||null;var f=(d.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==n&&null!==c&&(fb(c),H(p.defaults.column,c),c.mDataProp!==n&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&& -!c.sClass&&(c.sClass=c.className),g.extend(b,c),E(b,c,"sWidth","sWidthOrig"),"number"===typeof c.iDataSort&&(b.aDataSort=[c.iDataSort]),E(b,c,"aDataSort"));var h=b.mData,i=X(h),j=b.mRender?X(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=g.isPlainObject(h)&&(c(h.sort)||c(h.type)||c(h.filter));b.fnGetData=function(a,b,c){var e=i(a,b,n,c);return j&&b?j(e,b,a,c):e};b.fnSetData=function(a,b,c){return R(h)(a,b,c)};"number"!==typeof h&&(a._rowReadObject=!0);a.oFeatures.bSort|| -(b.bSortable=!1,d.addClass(e.sSortableNone));a=-1!==g.inArray("asc",b.asSorting);c=-1!==g.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=e.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=e.sSortableAsc,b.sSortingClassJUI=e.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=e.sSortableDesc,b.sSortingClassJUI=e.sSortJUIDescAllowed):(b.sSortingClass=e.sSortable,b.sSortingClassJUI=e.sSortJUI)}function Y(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ga(a);for(var c=0,e=b.length;c< -e;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&Z(a);v(a,null,"column-sizing",[a])}function la(a,b){var c=$(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function aa(a,b){var c=$(a,"bVisible"),c=g.inArray(b,c);return-1!==c?c:null}function ba(a){return $(a,"bVisible").length}function $(a,b){var c=[];g.map(a.aoColumns,function(a,d){a[b]&&c.push(d)});return c}function Ha(a){var b=a.aoColumns,c=a.aoData,e=p.ext.type.detect,d,f,h,i,j,g,k,q,o;d=0;for(f=b.length;dq[f])e(k.length+q[f],l);else if("string"===typeof q[f]){i=0;for(j=k.length;ib&&a[d]--; -1!=e&&c===n&& -a.splice(e,1)}function da(a,b,c,e){var d=a.aoData[b],f,h=function(c,f){for(;c.childNodes.length;)c.removeChild(c.firstChild);c.innerHTML=y(a,b,f,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===d.src)d._aData=na(a,d,e,e===n?n:d._aData).data;else{var i=d.anCells;if(i)if(e!==n)h(i[e],e);else{c=0;for(f=i.length;c").appendTo(h));b=0;for(c=k.length;btr").attr("role","row");g(h).find(">tr>th, >tr>td").addClass(l.sHeaderTH);g(i).find(">tr>th, >tr>td").addClass(l.sFooterTH);if(null!==i){a=a.aoFooter[0]; -b=0;for(c=a.length;b=a.fnRecordsDisplay()?0:h,a.iInitDisplayStart=-1);var h=a._iDisplayStart, -l=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,C(a,!1);else if(i){if(!a.bDestroying&&!kb(a))return}else a.iDraw++;if(0!==j.length){f=i?a.aoData.length:l;for(i=i?0:h;i",{"class":d?e[0]:""}).append(g("",{valign:"top",colSpan:ba(a),"class":a.oClasses.sRowEmpty}).html(c))[0];v(a,"aoHeaderCallback","header",[g(a.nTHead).children("tr")[0],La(a),h,l,j]);v(a,"aoFooterCallback","footer",[g(a.nTFoot).children("tr")[0],La(a),h,l,j]);e=g(a.nTBody);e.children().detach();e.append(g(b));v(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function N(a,b){var c=a.oFeatures,e=c.bFilter;c.bSort&&lb(a);e?ga(a,a.oPreviousSearch): -a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;M(a);a._drawHold=!1}function mb(a){var b=a.oClasses,c=g(a.nTable),c=g("
    ").insertBefore(c),e=a.oFeatures,d=g("
    ",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=d[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),h,i,j,l,k,q,o=0;o")[0];l=f[o+1];if("'"==l||'"'==l){k="";for(q= -2;f[o+q]!=l;)k+=f[o+q],q++;"H"==k?k=b.sJUIHeader:"F"==k&&(k=b.sJUIFooter);-1!=k.indexOf(".")?(l=k.split("."),j.id=l[0].substr(1,l[0].length-1),j.className=l[1]):"#"==k.charAt(0)?j.id=k.substr(1,k.length-1):j.className=k;o+=q}d.append(j);d=g(j)}else if(">"==i)d=d.parent();else if("l"==i&&e.bPaginate&&e.bLengthChange)h=nb(a);else if("f"==i&&e.bFilter)h=ob(a);else if("r"==i&&e.bProcessing)h=pb(a);else if("t"==i)h=qb(a);else if("i"==i&&e.bInfo)h=rb(a);else if("p"==i&&e.bPaginate)h=sb(a);else if(0!==p.ext.feature.length){j= -p.ext.feature;q=0;for(l=j.length;q',i=e.sSearch,i=i.match(/_INPUT_/)?i.replace("_INPUT_",h):i+h,b=g("
    ",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(g("
    ").addClass(b.sLength);a.aanFeatures.l||(j[0].id=c+"_length");j.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",d[0].outerHTML));g("select",j).val(a._iDisplayLength).bind("change.DT", -function(){Ra(a,g(this).val());M(a)});g(a.nTable).bind("length.dt.DT",function(b,c,f){a===c&&g("select",j).val(f)});return j[0]}function sb(a){var b=a.sPaginationType,c=p.ext.pager[b],e="function"===typeof c,d=function(a){M(a)},b=g("
    ").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;e||c.fnInit(a,b,d);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(e){var b=a._iDisplayStart,g=a._iDisplayLength,l=a.fnRecordsDisplay(),k=-1===g,b=k?0:Math.ceil(b/g),g=k?1:Math.ceil(l/ -g),l=c(b,g),q,k=0;for(q=f.p.length;kf&&(e=0)):"first"==b?e=0:"previous"==b?(e=0<=d?e-d:0,0>e&&(e=0)):"next"==b?e+d",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function C(a,b){a.oFeatures.bProcessing&&g(a.aanFeatures.r).css("display",b?"block":"none");v(a,null,"processing",[a,b])}function qb(a){var b=g(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var e=c.sX,d=c.sY,f=a.oClasses,h=b.children("caption"),i=h.length?h[0]._captionSide:null, -j=g(b[0].cloneNode(!1)),l=g(b[0].cloneNode(!1)),k=b.children("tfoot");c.sX&&"100%"===b.attr("width")&&b.removeAttr("width");k.length||(k=null);c=g("
    ",{"class":f.sScrollWrapper}).append(g("
    ",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:e?!e?null:t(e):"100%"}).append(g("
    ",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(j.removeAttr("id").css("margin-left",0).append("top"===i?h:null).append(b.children("thead"))))).append(g("
    ", -{"class":f.sScrollBody}).css({overflow:"auto",height:!d?null:t(d),width:!e?null:t(e)}).append(b));k&&c.append(g("
    ",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:e?!e?null:t(e):"100%"}).append(g("
    ",{"class":f.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===i?h:null).append(b.children("tfoot")))));var b=c.children(),q=b[0],f=b[1],o=k?b[2]:null;if(e)g(f).on("scroll.DT",function(){var a=this.scrollLeft;q.scrollLeft=a;k&&(o.scrollLeft=a)}); -a.nScrollHead=q;a.nScrollBody=f;a.nScrollFoot=o;a.aoDrawCallback.push({fn:Z,sName:"scrolling"});return c[0]}function Z(a){var b=a.oScroll,c=b.sX,e=b.sXInner,d=b.sY,f=b.iBarWidth,h=g(a.nScrollHead),i=h[0].style,j=h.children("div"),l=j[0].style,k=j.children("table"),j=a.nScrollBody,q=g(j),o=j.style,m=g(a.nScrollFoot).children("div"),n=m.children("table"),p=g(a.nTHead),r=g(a.nTable),s=r[0],O=s.style,K=a.nTFoot?g(a.nTFoot):null,u=a.oBrowser,v=u.bScrollOversize,x,w,y,L,z,A=[],B=[],C=[],D,E=function(a){a= -a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};r.children("thead, tfoot").remove();z=p.clone().prependTo(r);x=p.find("tr");y=z.find("tr");z.find("th, td").removeAttr("tabindex");K&&(L=K.clone().prependTo(r),w=K.find("tr"),L=L.find("tr"));c||(o.width="100%",h[0].style.width="100%");g.each(qa(a,z),function(b,c){D=la(a,b);c.style.width=a.aoColumns[D].sWidth});K&&G(function(a){a.style.width=""},L);b.bCollapse&&""!==d&&(o.height=q[0].offsetHeight+ -p[0].offsetHeight+"px");h=r.outerWidth();if(""===c){if(O.width="100%",v&&(r.find("tbody").height()>j.offsetHeight||"scroll"==q.css("overflow-y")))O.width=t(r.outerWidth()-f)}else""!==e?O.width=t(e):h==q.width()&&q.height()h-f&&(O.width=t(h))):O.width=t(h);h=r.outerWidth();G(E,y);G(function(a){C.push(a.innerHTML);A.push(t(g(a).css("width")))},y);G(function(a,b){a.style.width=A[b]},x);g(y).height(0);K&&(G(E,L),G(function(a){B.push(t(g(a).css("width")))},L), -G(function(a,b){a.style.width=B[b]},w),g(L).height(0));G(function(a,b){a.innerHTML='
    '+C[b]+"
    ";a.style.width=A[b]},y);K&&G(function(a,b){a.innerHTML="";a.style.width=B[b]},L);if(r.outerWidth()j.offsetHeight||"scroll"==q.css("overflow-y")?h+f:h;if(v&&(j.scrollHeight>j.offsetHeight||"scroll"==q.css("overflow-y")))O.width=t(w-f);(""===c||""!==e)&&S(a,1,"Possible column misalignment",6)}else w="100%";o.width=t(w); -i.width=t(w);K&&(a.nScrollFoot.style.width=t(w));!d&&v&&(o.height=t(s.offsetHeight+f));d&&b.bCollapse&&(o.height=t(d),b=c&&s.offsetWidth>j.offsetWidth?f:0,s.offsetHeightj.clientHeight||"scroll"==q.css("overflow-y");u="padding"+(u.bScrollbarLeft?"Left":"Right");l[u]=k?f+"px":"0px";K&&(n[0].style.width=t(b),m[0].style.width=t(b),m[0].style[u]=k?f+"px":"0px");q.scroll();if((a.bSorted||a.bFiltered)&& -!a._drawHold)j.scrollTop=0}function G(a,b,c){for(var e=0,d=0,f=b.length,h,g;d"));i.find("tfoot th, tfoot td").css("width","");var n=i.find("tbody tr"),j=qa(a,i.find("thead")[0]);for(o=0;o").css("width",t(a)).appendTo(b||Q.body),e=c[0].offsetWidth;c.remove();return e}function Fb(a,b){var c=a.oScroll;if(c.sX||c.sY)c=!c.sX?c.iBarWidth:0,b.style.width=t(g(b).outerWidth()- -c)}function Eb(a,b){var c=Gb(a,b);if(0>c)return null;var e=a.aoData[c];return!e.nTr?g("").html(y(a,c,b,"display"))[0]:e.anCells[b]}function Gb(a,b){for(var c,e=-1,d=-1,f=0,h=a.aoData.length;fe&&(e=c.length,d=f);return d}function t(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function Hb(){if(!p.__scrollbarWidth){var a=g("

    ").css({width:"100%",height:200,padding:0})[0],b=g("

    ").css({position:"absolute", -top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(a).appendTo("body"),c=a.offsetWidth;b.css("overflow","scroll");a=a.offsetWidth;c===a&&(a=b[0].clientWidth);b.remove();p.__scrollbarWidth=c-a}return p.__scrollbarWidth}function U(a){var b,c,e=[],d=a.aoColumns,f,h,i,j;b=a.aaSortingFixed;c=g.isPlainObject(b);var l=[];f=function(a){a.length&&!g.isArray(a[0])?l.push(a):l.push.apply(l,a)};g.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a= -0;ad?1:0,0!==c)return"asc"===g.dir?c:-c;c=e[a];d=e[b];return cd?1:0}):j.sort(function(a,b){var c,h,g,i,j=l.length,n=f[a]._aSortData,p=f[b]._aSortData;for(g=0;gh?1:0})}a.bSorted=!0}function Jb(a){for(var b,c,e=a.aoColumns,d= -U(a),a=a.oLanguage.oAria,f=0,h=e.length;f/g,"");var j=c.nTh;j.removeAttribute("aria-sort");c.bSortable&&(0d?d+1:3));d=0;for(f=e.length;dd?d+1:3))}a.aLastSort=e}function Ib(a,b){var c=a.aoColumns[b],e=p.ext.order[c.sSortDataType],d;e&&(d=e.call(a.oInstance,a,b,aa(a,b)));for(var f,h=p.ext.type.order[c.sType+ -"-pre"],g=0,j=a.aoData.length;g= -e.length?[0,c[1]]:c)});g.extend(a.oPreviousSearch,Ab(d.search));b=0;for(c=d.columns.length;b= -c&&(b=c-e);b-=b%e;if(-1===e||0>b)b=0;a._iDisplayStart=b}function Pa(a,b){var c=a.renderer,e=p.ext.renderer[b];return g.isPlainObject(c)&&c[b]?e[c[b]]||e._:"string"===typeof c?e[c]||e._:e._}function B(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Wa(a,b){var c=[],c=Mb.numbers_length,e=Math.floor(c/2);b<=c?c=V(0,b):a<=e?(c=V(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-e?c=V(b-(c-2),b):(c=V(a-1,a+2),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0, -0,0));c.DT_el="span";return c}function db(a){g.each({num:function(b){return Aa(b,a)},"num-fmt":function(b){return Aa(b,a,Xa)},"html-num":function(b){return Aa(b,a,Ba)},"html-num-fmt":function(b){return Aa(b,a,Ba,Xa)}},function(b,c){x.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(x.type.search[b+a]=x.type.search.html)})}function Nb(a){return function(){var b=[za(this[p.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return p.ext.internal[a].apply(this,b)}}var p,x,s,r,u,Ya={},Ob=/[\r\n]/g, -Ba=/<.*?>/g,ac=/^[\w\+\-]/,bc=/[\w\+\-]$/,Yb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$\u00a3\u20ac\u00a5%\u2009\u202F]/g,I=function(a){return!a||!0===a||"-"===a?!0:!1},Pb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Qb=function(a,b){Ya[b]||(Ya[b]=RegExp(va(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var e="string"===typeof a;b&&e&&(a=Qb(a,b));c&&e&&(a=a.replace(Xa, -""));return I(a)||!isNaN(parseFloat(a))&&isFinite(a)},Rb=function(a,b,c){return I(a)?!0:!(I(a)||"string"===typeof a)?null:Za(a.replace(Ba,""),b,c)?!0:null},D=function(a,b,c){var e=[],d=0,f=a.length;if(c!==n)for(;d")[0],Zb=wa.textContent!==n,$b=/<.*?>/g;p=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a,b).data()};this.api= -function(a){return a?new s(za(this[x.iApiIndex])):new s(this)};this.fnAddData=function(a,b){var c=this.api(!0),e=g.isArray(a)&&(g.isArray(a[0])||g.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===n||b)&&c.draw();return e.flatten().toArray()};this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],e=c.oScroll;a===n||a?b.draw(!1):(""!==e.sX||""!==e.sY)&&Z(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===n||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()}; -this.fnDeleteRow=function(a,b,c){var e=this.api(!0),a=e.rows(a),d=a.settings()[0],g=d.aoData[a[0][0]];a.remove();b&&b.call(this,d,g);(c===n||c)&&e.draw();return g};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(!a)};this.fnFilter=function(a,b,c,e,d,g){d=this.api(!0);null===b||b===n?d.search(a,c,e,g):d.column(b).search(a,c,e,g);d.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==n){var e=a.nodeName?a.nodeName.toLowerCase():"";return b!==n|| -"td"==e||"th"==e?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==n?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b, -c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===n||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===n||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return za(this[x.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,e,d){var g=this.api(!0);c===n||null===c?g.row(b).data(a):g.cell(b,c).data(a); -(d===n||d)&&g.columns.adjust();(e===n||e)&&g.draw();return 0};this.fnVersionCheck=x.fnVersionCheck;var b=this,c=a===n,e=this.length;c&&(a={});this.oApi=this.internal=x.internal;for(var d in p.ext.internal)d&&(this[d]=Nb(d));this.each(function(){var d={},d=1t<"F"ip>'),m.renderer)?g.isPlainObject(m.renderer)&&!m.renderer.header&&(m.renderer.header="jqueryui"):m.renderer="jqueryui":g.extend(j,p.ext.classes,d.oClasses);g(this).addClass(j.sTable);if(""!==m.oScroll.sX||""!==m.oScroll.sY)m.oScroll.iBarWidth=Hb();!0===m.oScroll.sX&&(m.oScroll.sX="100%");m.iInitDisplayStart===n&&(m.iInitDisplayStart= -d.iDisplayStart,m._iDisplayStart=d.iDisplayStart);null!==d.iDeferLoading&&(m.bDeferLoading=!0,h=g.isArray(d.iDeferLoading),m._iRecordsDisplay=h?d.iDeferLoading[0]:d.iDeferLoading,m._iRecordsTotal=h?d.iDeferLoading[1]:d.iDeferLoading);var r=m.oLanguage;g.extend(!0,r,d.oLanguage);""!==r.sUrl&&(g.ajax({dataType:"json",url:r.sUrl,success:function(a){P(a);H(k.oLanguage,a);g.extend(true,r,a);ha(m)},error:function(){ha(m)}}),l=!0);null===d.asStripeClasses&&(m.asStripeClasses=[j.sStripeOdd,j.sStripeEven]); -var h=m.asStripeClasses,s=g("tbody tr",this).eq(0);-1!==g.inArray(!0,g.map(h,function(a){return s.hasClass(a)}))&&(g("tbody tr",this).removeClass(h.join(" ")),m.asDestroyStripes=h.slice());q=[];h=this.getElementsByTagName("thead");0!==h.length&&(ea(m.aoHeader,h[0]),q=qa(m));if(null===d.aoColumns){o=[];h=0;for(i=q.length;h").appendTo(this));m.nTHead=i[0];i=g(this).children("tbody");0===i.length&&(i=g("").appendTo(this));m.nTBody= -i[0];i=g(this).children("tfoot");if(0===i.length&&0").appendTo(this);0===i.length||0===i.children().length?g(this).addClass(j.sNoFooter):0a?new s(b[a],this[a]):null},filter:function(a){var b=[]; -if(w.filter)b=w.filter.call(this,a,this);else for(var c=0,e=this.length;c").addClass(b);g("td",c).addClass(b).html(a)[0].colSpan=ba(e);d.push(c[0])}};if(g.isArray(a)||a instanceof g)for(var h=0,i=a.length;h=0?b:h.length+b];if(typeof a==="function"){var d=Ca(c,f);return g.map(h,function(b,f){return a(f,Wb(c,f,0,0,d),j[f])?f:null})}var o=typeof a==="string"?a.match(dc):"";if(o)switch(o[2]){case "visIdx":case "visible":b=parseInt(o[1],10);if(b<0){var m=g.map(h,function(a,b){return a.bVisible?b:null});return[m[m.length+b]]}return[la(c,b)];case "name":return g.map(i,function(a,b){return a===o[1]?b:null})}else return g(j).filter(a).map(function(){return g.inArray(this, -j)}).toArray()})},1);c.selector.cols=a;c.selector.opts=b;return c});u("columns().header()","column().header()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh},1)});u("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf},1)});u("columns().data()","column().data()",function(){return this.iterator("column-rows",Wb,1)});u("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column", -function(a,b){return a.aoColumns[b].mData},1)});u("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,e,d,f){return ia(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});u("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,e,d){return ia(a.aoData,d,"anCells",b)},1)});u("columns().visible()","column().visible()",function(a,b){return this.iterator("column",function(c,e){if(a===n)return c.aoColumns[e].bVisible; -var d=c.aoColumns,f=d[e],h=c.aoData,i,j,l;if(a!==n&&f.bVisible!==a){if(a){var k=g.inArray(!0,D(d,"bVisible"),e+1);i=0;for(j=h.length;ie;return!0};p.isDataTable=p.fnIsDataTable=function(a){var b=g(a).get(0),c=!1;g.each(p.settings, -function(a,d){if(d.nTable===b||g("table",d.nScrollHead)[0]===b||g("table",d.nScrollFoot)[0]===b)c=!0});return c};p.tables=p.fnTables=function(a){return g.map(p.settings,function(b){if(!a||a&&g(b.nTable).is(":visible"))return b.nTable})};p.util={throttle:ua,escapeRegex:va};p.camelToHungarian=H;r("$()",function(a,b){var c=this.rows(b).nodes(),c=g(c);return g([].concat(c.filter(a).toArray(),c.find(a).toArray()))});g.each(["on","one","off"],function(a,b){r(b+"()",function(){var a=Array.prototype.slice.call(arguments); -a[0].match(/\.dt\b/)||(a[0]+=".dt");var e=g(this.tables().nodes());e[b].apply(e,a);return this})});r("clear()",function(){return this.iterator("table",function(a){oa(a)})});r("settings()",function(){return new s(this.context,this.context)});r("data()",function(){return this.iterator("table",function(a){return D(a.aoData,"_aData")}).flatten()});r("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,e=b.oClasses,d=b.nTable,f=b.nTBody,h=b.nTHead,i= -b.nTFoot,j=g(d),f=g(f),l=g(b.nTableWrapper),k=g.map(b.aoData,function(a){return a.nTr}),n;b.bDestroying=!0;v(b,"aoDestroyCallback","destroy",[b]);a||(new s(b)).columns().visible(!0);l.unbind(".DT").find(":not(tbody *)").unbind(".DT");g(Ea).unbind(".DT-"+b.sInstance);d!=h.parentNode&&(j.children("thead").detach(),j.append(h));i&&d!=i.parentNode&&(j.children("tfoot").detach(),j.append(i));j.detach();l.detach();b.aaSorting=[];b.aaSortingFixed=[];xa(b);g(k).removeClass(b.asStripeClasses.join(" "));g("th, td", -h).removeClass(e.sSortable+" "+e.sSortableAsc+" "+e.sSortableDesc+" "+e.sSortableNone);b.bJUI&&(g("th span."+e.sSortIcon+", td span."+e.sSortIcon,h).detach(),g("th, td",h).each(function(){var a=g("div."+e.sSortJUIWrapper,this);g(this).append(a.contents());a.detach()}));!a&&c&&c.insertBefore(d,b.nTableReinsertBefore);f.children().detach();f.append(k);j.css("width",b.sDestroyWidth).removeClass(e.sTable);(n=b.asDestroyStripes.length)&&f.children().each(function(a){g(this).addClass(b.asDestroyStripes[a% -n])});c=g.inArray(b,p.settings);-1!==c&&p.settings.splice(c,1)})});p.version="1.10.5-dev";p.settings=[];p.models={};p.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};p.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null};p.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null, -mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};p.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1, +A(a,"pagingType","sPaginationType");A(a,"pageLength","iDisplayLength");A(a,"searching","bFilter");if(a=a.aoSearchCols)for(var b=0,c=a.length;b").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("
    ").css({position:"absolute",top:1,left:1,width:100, +overflow:"scroll"}).append(h('
    ').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==c.offset().left;b.remove()}function hb(a,b,c,e,d,f){var g,j=!1;c!==k&&(g=c,j=!0);for(;e!==d;)a.hasOwnProperty(e)&&(g=j?b(g,a[e],e,a):a[e],j=!0,e+=f);return g}function Fa(a,b){var c=o.defaults.column,e=a.aoColumns.length,c=h.extend({},o.models.oColumn,c,{nTh:b?b:P.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML: +"",aDataSort:c.aDataSort?c.aDataSort:[e],mData:c.mData?c.mData:e,idx:e});a.aoColumns.push(c);c=a.aoPreSearchCols;c[e]=h.extend({},o.models.oSearch,c[e]);ka(a,e,h(b).data())}function ka(a,b,c){var b=a.aoColumns[b],e=a.oClasses,d=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=d.attr("width")||null;var f=(d.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==k&&null!==c&&(fb(c),H(o.defaults.column,c),c.mDataProp!==k&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType), +c.className&&!c.sClass&&(c.sClass=c.className),h.extend(b,c),E(b,c,"sWidth","sWidthOrig"),"number"===typeof c.iDataSort&&(b.aDataSort=[c.iDataSort]),E(b,c,"aDataSort"));var g=b.mData,j=W(g),i=b.mRender?W(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b.fnGetData=function(a,b,c){var e=j(a,b,k,c);return i&&b?i(e,b,a,c):e};b.fnSetData=function(a,b,c){return Q(g)(a,b,c)};"number"!==typeof g&&(a._rowReadObject= +!0);a.oFeatures.bSort||(b.bSortable=!1,d.addClass(e.sSortableNone));a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=e.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=e.sSortableAsc,b.sSortingClassJUI=e.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=e.sSortableDesc,b.sSortingClassJUI=e.sSortJUIDescAllowed):(b.sSortingClass=e.sSortable,b.sSortingClassJUI=e.sSortJUI)}function X(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns; +Ga(a);for(var c=0,e=b.length;cp[f])e(l.length+p[f],m);else if("string"===typeof p[f]){j=0;for(i=l.length;jb&&a[d]--; -1!=e&&c===k&&a.splice(e,1)}function ca(a,b,c,e){var d=a.aoData[b],f,g=function(c,f){for(;c.childNodes.length;)c.removeChild(c.firstChild);c.innerHTML=y(a,b,f,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===d.src)d._aData=na(a,d,e,e===k?k:d._aData).data;else{var j=d.anCells;if(j)if(e!==k)g(j[e],e);else{c=0;for(f=j.length;c").appendTo(g));b=0;for(c=l.length;btr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(m.sHeaderTH); +h(j).find(">tr>th, >tr>td").addClass(m.sFooterTH);if(null!==j){a=a.aoFooter[0];b=0;for(c=a.length;b=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=-1);var g=a._iDisplayStart,m=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,C(a,!1);else if(j){if(!a.bDestroying&&!kb(a))return}else a.iDraw++;if(0!==i.length){f=j?a.aoData.length:m;for(j=j?0:g;j",{"class":d?e[0]:""}).append(h("",{valign:"top",colSpan:aa(a),"class":a.oClasses.sRowEmpty}).html(c))[0];w(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],La(a),g,m,i]);w(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],La(a),g,m,i]);e=h(a.nTBody);e.children().detach();e.append(h(b));w(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing= +!1}}function N(a,b){var c=a.oFeatures,e=c.bFilter;c.bSort&&lb(a);e?fa(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;M(a);a._drawHold=!1}function mb(a){var b=a.oClasses,c=h(a.nTable),c=h("
    ").insertBefore(c),e=a.oFeatures,d=h("
    ",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=d[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,j,i,m,l,p,n=0;n")[0];m=f[n+1];if("'"==m||'"'==m){l="";for(p=2;f[n+p]!=m;)l+=f[n+p],p++;"H"==l?l=b.sJUIHeader:"F"==l&&(l=b.sJUIFooter);-1!=l.indexOf(".")?(m=l.split("."),i.id=m[0].substr(1,m[0].length-1),i.className=m[1]):"#"==l.charAt(0)?i.id=l.substr(1,l.length-1):i.className=l;n+=p}d.append(i);d=h(i)}else if(">"==j)d=d.parent();else if("l"==j&&e.bPaginate&&e.bLengthChange)g=nb(a);else if("f"==j&&e.bFilter)g=ob(a);else if("r"==j&&e.bProcessing)g=pb(a);else if("t"==j)g=qb(a);else if("i"== +j&&e.bInfo)g=rb(a);else if("p"==j&&e.bPaginate)g=sb(a);else if(0!==o.ext.feature.length){i=o.ext.feature;p=0;for(m=i.length;p',j=e.sSearch,j=j.match(/_INPUT_/)?j.replace("_INPUT_",g):j+g,b=h("
    ",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("
    ").addClass(b.sLength); +a.aanFeatures.l||(i[0].id=c+"_length");i.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",d[0].outerHTML));h("select",i).val(a._iDisplayLength).bind("change.DT",function(){Ra(a,h(this).val());M(a)});h(a.nTable).bind("length.dt.DT",function(b,c,f){a===c&&h("select",i).val(f)});return i[0]}function sb(a){var b=a.sPaginationType,c=o.ext.pager[b],e="function"===typeof c,d=function(a){M(a)},b=h("
    ").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;e||c.fnInit(a,b,d);f.p||(b.id=a.sTableId+ +"_paginate",a.aoDrawCallback.push({fn:function(a){if(e){var b=a._iDisplayStart,h=a._iDisplayLength,m=a.fnRecordsDisplay(),l=-1===h,b=l?0:Math.ceil(b/h),h=l?1:Math.ceil(m/h),m=c(b,h),p,l=0;for(p=f.p.length;lf&&(e=0)):"first"==b?e=0:"previous"==b?(e=0<=d?e-d:0,0>e&&(e=0)):"next"== +b?e+d",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function C(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",b?"block":"none");w(a,null,"processing",[a,b])}function qb(a){var b=h(a.nTable);b.attr("role", +"grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var e=c.sX,d=c.sY,f=a.oClasses,g=b.children("caption"),j=g.length?g[0]._captionSide:null,i=h(b[0].cloneNode(!1)),m=h(b[0].cloneNode(!1)),l=b.children("tfoot");c.sX&&"100%"===b.attr("width")&&b.removeAttr("width");l.length||(l=null);c=h("
    ",{"class":f.sScrollWrapper}).append(h("
    ",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:e?!e?null:s(e):"100%"}).append(h("
    ",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box", +width:c.sXInner||"100%"}).append(i.removeAttr("id").css("margin-left",0).append("top"===j?g:null).append(b.children("thead"))))).append(h("
    ",{"class":f.sScrollBody}).css({overflow:"auto",height:!d?null:s(d),width:!e?null:s(e)}).append(b));l&&c.append(h("
    ",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:e?!e?null:s(e):"100%"}).append(h("
    ",{"class":f.sScrollFootInner}).append(m.removeAttr("id").css("margin-left",0).append("bottom"===j?g:null).append(b.children("tfoot"))))); +var b=c.children(),p=b[0],f=b[1],n=l?b[2]:null;if(e)h(f).on("scroll.DT",function(){var a=this.scrollLeft;p.scrollLeft=a;l&&(n.scrollLeft=a)});a.nScrollHead=p;a.nScrollBody=f;a.nScrollFoot=n;a.aoDrawCallback.push({fn:Y,sName:"scrolling"});return c[0]}function Y(a){var b=a.oScroll,c=b.sX,e=b.sXInner,d=b.sY,f=b.iBarWidth,g=h(a.nScrollHead),j=g[0].style,i=g.children("div"),m=i[0].style,l=i.children("table"),i=a.nScrollBody,p=h(i),n=i.style,k=h(a.nScrollFoot).children("div"),q=k.children("table"),o=h(a.nTHead), +r=h(a.nTable),t=r[0],u=t.style,K=a.nTFoot?h(a.nTFoot):null,ha=a.oBrowser,w=ha.bScrollOversize,x,v,y,L,z,A=[],B=[],C=[],D,E=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};r.children("thead, tfoot").remove();z=o.clone().prependTo(r);x=o.find("tr");y=z.find("tr");z.find("th, td").removeAttr("tabindex");K&&(L=K.clone().prependTo(r),v=K.find("tr"),L=L.find("tr"));c||(n.width="100%",g[0].style.width="100%");h.each(qa(a,z),function(b,c){D= +la(a,b);c.style.width=a.aoColumns[D].sWidth});K&&G(function(a){a.style.width=""},L);b.bCollapse&&""!==d&&(n.height=p[0].offsetHeight+o[0].offsetHeight+"px");g=r.outerWidth();if(""===c){if(u.width="100%",w&&(r.find("tbody").height()>i.offsetHeight||"scroll"==p.css("overflow-y")))u.width=s(r.outerWidth()-f)}else""!==e?u.width=s(e):g==p.width()&&p.height()g-f&&(u.width=s(g))):u.width=s(g);g=r.outerWidth();G(E,y);G(function(a){C.push(a.innerHTML);A.push(s(h(a).css("width")))}, +y);G(function(a,b){a.style.width=A[b]},x);h(y).height(0);K&&(G(E,L),G(function(a){B.push(s(h(a).css("width")))},L),G(function(a,b){a.style.width=B[b]},v),h(L).height(0));G(function(a,b){a.innerHTML='
    '+C[b]+"
    ";a.style.width=A[b]},y);K&&G(function(a,b){a.innerHTML="";a.style.width=B[b]},L);if(r.outerWidth()i.offsetHeight||"scroll"==p.css("overflow-y")?g+f:g;if(w&&(i.scrollHeight>i.offsetHeight||"scroll"==p.css("overflow-y")))u.width= +s(v-f);(""===c||""!==e)&&R(a,1,"Possible column misalignment",6)}else v="100%";n.width=s(v);j.width=s(v);K&&(a.nScrollFoot.style.width=s(v));!d&&w&&(n.height=s(t.offsetHeight+f));d&&b.bCollapse&&(n.height=s(d),b=c&&t.offsetWidth>i.offsetWidth?f:0,t.offsetHeighti.clientHeight||"scroll"==p.css("overflow-y");ha="padding"+(ha.bScrollbarLeft?"Left":"Right");m[ha]=l?f+"px":"0px";K&&(q[0].style.width= +s(b),k[0].style.width=s(b),k[0].style[ha]=l?f+"px":"0px");p.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)i.scrollTop=0}function G(a,b,c){for(var e=0,d=0,f=b.length,g,j;d"));j.find("tfoot th, tfoot td").css("width","");var q=j.find("tbody tr"),i=qa(a,j.find("thead")[0]);for(n=0;n").css("width",s(a)).appendTo(b||P.body),e=c[0].offsetWidth;c.remove();return e} +function Fb(a,b){var c=a.oScroll;if(c.sX||c.sY)c=!c.sX?c.iBarWidth:0,b.style.width=s(h(b).outerWidth()-c)}function Eb(a,b){var c=Gb(a,b);if(0>c)return null;var e=a.aoData[c];return!e.nTr?h("").html(y(a,c,b,"display"))[0]:e.anCells[b]}function Gb(a,b){for(var c,e=-1,d=-1,f=0,g=a.aoData.length;fe&&(e=c.length,d=f);return d}function s(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function Hb(){if(!o.__scrollbarWidth){var a= +h("

    ").css({width:"100%",height:200,padding:0})[0],b=h("

    ").css({position:"absolute",top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(a).appendTo("body"),c=a.offsetWidth;b.css("overflow","scroll");a=a.offsetWidth;c===a&&(a=b[0].clientWidth);b.remove();o.__scrollbarWidth=c-a}return o.__scrollbarWidth}function T(a){var b,c,e=[],d=a.aoColumns,f,g,j,i;b=a.aaSortingFixed;c=h.isPlainObject(b);var m=[];f=function(a){a.length&&!h.isArray(a[0])?m.push(a):m.push.apply(m, +a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;ad?1:0,0!==c)return"asc"===h.dir?c:-c;c=e[a];d=e[b];return cd?1:0}):h.sort(function(a,b){var c,g,h,j,i=m.length,k=f[a]._aSortData,o=f[b]._aSortData;for(h=0;hg?1:0})}a.bSorted=!0}function Jb(a){for(var b,c,e=a.aoColumns,d=T(a),a=a.oLanguage.oAria,f=0,g=e.length;f/g,"");var i=c.nTh;i.removeAttribute("aria-sort");c.bSortable&&(0d?d+1:3));d=0;for(f=e.length;dd?d+1:3))}a.aLastSort=e}function Ib(a,b){var c=a.aoColumns[b],e=o.ext.order[c.sSortDataType], +d;e&&(d=e.call(a.oInstance,a,b,$(a,b)));for(var f,g=o.ext.type.order[c.sType+"-pre"],h=0,i=a.aoData.length;h=e.length?[0,c[1]]:c)});h.extend(a.oPreviousSearch,Ab(d.search));b=0;for(c=d.columns.length;b=c&&(b=c-e);b-=b%e;if(-1===e||0>b)b=0;a._iDisplayStart=b}function Pa(a,b){var c=a.renderer,e=o.ext.renderer[b];return h.isPlainObject(c)&&c[b]?e[c[b]]||e._:"string"===typeof c?e[c]||e._:e._}function B(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Wa(a,b){var c=[],c=Mb.numbers_length,e=Math.floor(c/2);b<=c?c=U(0,b):a<=e?(c=U(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-e?c=U(b-(c-2),b):(c=U(a-1,a+2),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"), +c.splice(0,0,0));c.DT_el="span";return c}function db(a){h.each({num:function(b){return Aa(b,a)},"num-fmt":function(b){return Aa(b,a,Xa)},"html-num":function(b){return Aa(b,a,Ba)},"html-num-fmt":function(b){return Aa(b,a,Ba,Xa)}},function(b,c){x.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(x.type.search[b+a]=x.type.search.html)})}function Nb(a){return function(){var b=[za(this[o.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return o.ext.internal[a].apply(this,b)}}var o,x,t,r,u,Ya= +{},Ob=/[\r\n]/g,Ba=/<.*?>/g,ac=/^[\w\+\-]/,bc=/[\w\+\-]$/,Yb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$\u00a3\u20ac\u00a5%\u2009\u202F]/g,I=function(a){return!a||!0===a||"-"===a?!0:!1},Pb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Qb=function(a,b){Ya[b]||(Ya[b]=RegExp(va(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var e="string"===typeof a;b&&e&&(a=Qb(a,b));c&&e&& +(a=a.replace(Xa,""));return I(a)||!isNaN(parseFloat(a))&&isFinite(a)},Rb=function(a,b,c){return I(a)?!0:!(I(a)||"string"===typeof a)?null:Za(a.replace(Ba,""),b,c)?!0:null},D=function(a,b,c){var e=[],d=0,f=a.length;if(c!==k)for(;d")[0],Zb=wa.textContent!==k,$b=/<.*?>/g;o=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a, +b).data()};this.api=function(a){return a?new t(za(this[x.iApiIndex])):new t(this)};this.fnAddData=function(a,b){var c=this.api(!0),e=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===k||b)&&c.draw();return e.flatten().toArray()};this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],e=c.oScroll;a===k||a?b.draw(!1):(""!==e.sX||""!==e.sY)&&Y(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===k||a)&&b.draw()};this.fnClose= +function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var e=this.api(!0),a=e.rows(a),d=a.settings()[0],h=d.aoData[a[0][0]];a.remove();b&&b.call(this,d,h);(c===k||c)&&e.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(!a)};this.fnFilter=function(a,b,c,e,d,h){d=this.api(!0);null===b||b===k?d.search(a,c,e,h):d.column(b).search(a,c,e,h);d.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==k){var e=a.nodeName? +a.nodeName.toLowerCase():"";return b!==k||"td"==e||"th"==e?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==k?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen= +function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===k||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===k||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return za(this[x.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,e,d){var h=this.api(!0); +c===k||null===c?h.row(b).data(a):h.cell(b,c).data(a);(d===k||d)&&h.columns.adjust();(e===k||e)&&h.draw();return 0};this.fnVersionCheck=x.fnVersionCheck;var b=this,c=a===k,e=this.length;c&&(a={});this.oApi=this.internal=x.internal;for(var d in o.ext.internal)d&&(this[d]=Nb(d));this.each(function(){var d={},d=1t<"F"ip>'),q.renderer)?h.isPlainObject(q.renderer)&&!q.renderer.header&&(q.renderer.header="jqueryui"):q.renderer="jqueryui":h.extend(i,o.ext.classes,d.oClasses);p.addClass(i.sTable);if(""!==q.oScroll.sX||""!==q.oScroll.sY)q.oScroll.iBarWidth=Hb();!0===q.oScroll.sX&& +(q.oScroll.sX="100%");q.iInitDisplayStart===k&&(q.iInitDisplayStart=d.iDisplayStart,q._iDisplayStart=d.iDisplayStart);null!==d.iDeferLoading&&(q.bDeferLoading=!0,g=h.isArray(d.iDeferLoading),q._iRecordsDisplay=g?d.iDeferLoading[0]:d.iDeferLoading,q._iRecordsTotal=g?d.iDeferLoading[1]:d.iDeferLoading);var t=q.oLanguage;h.extend(!0,t,d.oLanguage);""!==t.sUrl&&(h.ajax({dataType:"json",url:t.sUrl,success:function(a){O(a);H(l.oLanguage,a);h.extend(true,t,a);ga(q)},error:function(){ga(q)}}),m=!0);null=== +d.asStripeClasses&&(q.asStripeClasses=[i.sStripeOdd,i.sStripeEven]);var g=q.asStripeClasses,s=h("tbody tr",this).eq(0);-1!==h.inArray(!0,h.map(g,function(a){return s.hasClass(a)}))&&(h("tbody tr",this).removeClass(g.join(" ")),q.asDestroyStripes=g.slice());n=[];g=this.getElementsByTagName("thead");0!==g.length&&(da(q.aoHeader,g[0]),n=qa(q));if(null===d.aoColumns){r=[];g=0;for(j=n.length;g").appendTo(this));q.nTHead=j[0];j=p.children("tbody"); +0===j.length&&(j=h("").appendTo(this));q.nTBody=j[0];j=p.children("tfoot");if(0===j.length&&0").appendTo(this);0===j.length||0===j.children().length?p.addClass(i.sNoFooter):0a?new t(b[a],this[a]):null},filter:function(a){var b=[]; +if(v.filter)b=v.filter.call(this,a,this);else for(var c=0,e=this.length;c").addClass(b);h("td",c).addClass(b).html(a)[0].colSpan=aa(e);d.push(c[0])}};if(h.isArray(a)||a instanceof h)for(var g=0,j=a.length;g=0?b:g.length+b];if(typeof a==="function"){var d=Ca(c,f);return h.map(g,function(b,f){return a(f,Wb(c,f,0,0,d),i[f])?f:null})}var k=typeof a==="string"?a.match(dc):"";if(k)switch(k[2]){case "visIdx":case "visible":b=parseInt(k[1],10);if(b<0){var o=h.map(g,function(a,b){return a.bVisible?b:null});return[o[o.length+b]]}return[la(c,b)];case "name":return h.map(j,function(a,b){return a===k[1]?b:null})}else return h(i).filter(a).map(function(){return h.inArray(this, +i)}).toArray()})},1);c.selector.cols=a;c.selector.opts=b;return c});u("columns().header()","column().header()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh},1)});u("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf},1)});u("columns().data()","column().data()",function(){return this.iterator("column-rows",Wb,1)});u("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column", +function(a,b){return a.aoColumns[b].mData},1)});u("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,e,d,f){return ia(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});u("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,e,d){return ia(a.aoData,d,"anCells",b)},1)});u("columns().visible()","column().visible()",function(a,b){return this.iterator("column",function(c,e){if(a===k)return c.aoColumns[e].bVisible; +var d=c.aoColumns,f=d[e],g=c.aoData,j,i,m;if(a!==k&&f.bVisible!==a){if(a){var l=h.inArray(!0,D(d,"bVisible"),e+1);j=0;for(i=g.length;je;return!0};o.isDataTable=o.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;h.each(o.settings, +function(a,d){if(d.nTable===b||h("table",d.nScrollHead)[0]===b||h("table",d.nScrollFoot)[0]===b)c=!0});return c};o.tables=o.fnTables=function(a){return h.map(o.settings,function(b){if(!a||a&&h(b.nTable).is(":visible"))return b.nTable})};o.util={throttle:ua,escapeRegex:va};o.camelToHungarian=H;r("$()",function(a,b){var c=this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){r(b+"()",function(){var a=Array.prototype.slice.call(arguments); +a[0].match(/\.dt\b/)||(a[0]+=".dt");var e=h(this.tables().nodes());e[b].apply(e,a);return this})});r("clear()",function(){return this.iterator("table",function(a){oa(a)})});r("settings()",function(){return new t(this.context,this.context)});r("data()",function(){return this.iterator("table",function(a){return D(a.aoData,"_aData")}).flatten()});r("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,e=b.oClasses,d=b.nTable,f=b.nTBody,g=b.nTHead,j= +b.nTFoot,i=h(d),f=h(f),k=h(b.nTableWrapper),l=h.map(b.aoData,function(a){return a.nTr}),p;b.bDestroying=!0;w(b,"aoDestroyCallback","destroy",[b]);a||(new t(b)).columns().visible(!0);k.unbind(".DT").find(":not(tbody *)").unbind(".DT");h(Ea).unbind(".DT-"+b.sInstance);d!=g.parentNode&&(i.children("thead").detach(),i.append(g));j&&d!=j.parentNode&&(i.children("tfoot").detach(),i.append(j));i.detach();k.detach();b.aaSorting=[];b.aaSortingFixed=[];xa(b);h(l).removeClass(b.asStripeClasses.join(" "));h("th, td", +g).removeClass(e.sSortable+" "+e.sSortableAsc+" "+e.sSortableDesc+" "+e.sSortableNone);b.bJUI&&(h("th span."+e.sSortIcon+", td span."+e.sSortIcon,g).detach(),h("th, td",g).each(function(){var a=h("div."+e.sSortJUIWrapper,this);h(this).append(a.contents());a.detach()}));!a&&c&&c.insertBefore(d,b.nTableReinsertBefore);f.children().detach();f.append(l);i.css("width",b.sDestroyWidth).removeClass(e.sTable);(p=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a% +p])});c=h.inArray(b,o.settings);-1!==c&&o.settings.splice(c,1)})});o.version="1.10.5-dev";o.settings=[];o.models={};o.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};o.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null};o.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null, +mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};o.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1, bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage: localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"}, -oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:g.extend({}, -p.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null};W(p.defaults);p.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};W(p.defaults.column); -p.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[], +oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({}, +o.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null};V(o.defaults);o.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};V(o.defaults.column); +o.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[], aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[], -aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:n,oAjaxData:n,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==B(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length}, -fnRecordsDisplay:function(){return"ssp"==B(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,e=this.aiDisplay.length,d=this.oFeatures,f=d.bPaginate;return d.bServerSide?!1===f||-1===a?b+e:Math.min(b+a,this._iRecordsDisplay):!f||c>e||-1===a?e:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}};p.ext=x={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null}, -pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:p.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:p.version};g.extend(x,{afnFiltering:x.search,aTypes:x.type.detect,ofnSearch:x.type.search,oSort:x.type.order,afnSortData:x.order,aoFeatures:x.feature,oApi:x.internal,oStdClasses:x.classes,oPagination:x.pager});g.extend(p.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled", +aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:k,oAjaxData:k,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==B(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length}, +fnRecordsDisplay:function(){return"ssp"==B(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,e=this.aiDisplay.length,d=this.oFeatures,f=d.bPaginate;return d.bServerSide?!1===f||-1===a?b+e:Math.min(b+a,this._iRecordsDisplay):!f||c>e||-1===a?e:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}};o.ext=x={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null}, +pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:o.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:o.version};h.extend(x,{afnFiltering:x.search,aTypes:x.type.detect,ofnSearch:x.type.search,oSort:x.type.order,afnSortData:x.order,aoFeatures:x.feature,oApi:x.internal,oStdClasses:x.classes,oPagination:x.pager});h.extend(o.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled", sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll", sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Da="",Da="",F=Da+"ui-state-default",ja=Da+"css_right ui-icon ui-icon-",Xb=Da+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix"; -g.extend(p.ext.oJUIClasses,p.ext.classes,{sPageButton:"fg-button ui-button "+F,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:F+" sorting_asc",sSortDesc:F+" sorting_desc",sSortable:F+" sorting",sSortableAsc:F+" sorting_asc_disabled",sSortableDesc:F+" sorting_desc_disabled",sSortableNone:F+" sorting_disabled",sSortJUIAsc:ja+"triangle-1-n",sSortJUIDesc:ja+"triangle-1-s", -sSortJUI:ja+"carat-2-n-s",sSortJUIAscAllowed:ja+"carat-1-n",sSortJUIDescAllowed:ja+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+F,sScrollFoot:"dataTables_scrollFoot "+F,sHeaderTH:F,sFooterTH:F,sJUIHeader:Xb+" ui-corner-tl ui-corner-tr",sJUIFooter:Xb+" ui-corner-bl ui-corner-br"});var Mb=p.ext.pager;g.extend(Mb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},simple_numbers:function(a, -b){return["previous",Wa(a,b),"next"]},full_numbers:function(a,b){return["first","previous",Wa(a,b),"next","last"]},_numbers:Wa,numbers_length:7});g.extend(!0,p.ext.renderer,{pageButton:{_:function(a,b,c,e,d,f){var h=a.oClasses,i=a.oLanguage.oPaginate,j,l,k=0,n=function(b,e){var m,o,p,r,s=function(b){Ta(a,b.data.action,true)};m=0;for(o=e.length;m").appendTo(b);n(p,r)}else{l=j="";switch(r){case "ellipsis":b.append(""); -break;case "first":j=i.sFirst;l=r+(d>0?"":" "+h.sPageButtonDisabled);break;case "previous":j=i.sPrevious;l=r+(d>0?"":" "+h.sPageButtonDisabled);break;case "next":j=i.sNext;l=r+(d",{"class":h.sPageButton+" "+l,"aria-controls":a.sTableId,"data-dt-idx":k,tabindex:a.iTabIndex,id:c===0&&typeof r==="string"?a.sTableId+"_"+r:null}).html(j).appendTo(b); -Va(p,{action:r},s);k++}}}},o;try{o=g(Q.activeElement).data("dt-idx")}catch(m){}n(g(b).empty(),e);o&&g(b).find("[data-dt-idx="+o+"]").focus()}}});g.extend(p.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&(!ac.test(a)||!bc.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||I(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal; -return Rb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Rb(a,c,!0)?"html-num-fmt"+c:null},function(a){return I(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);g.extend(p.ext.type.search,{html:function(a){return I(a)?a:"string"===typeof a?a.replace(Ob," ").replace(Ba,""):""},string:function(a){return I(a)?a:"string"===typeof a?a.replace(Ob," "):a}});var Aa=function(a,b,c,e){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Qb(a,b));a.replace&&(c&&(a=a.replace(c,"")), -e&&(a=a.replace(e,"")));return 1*a};g.extend(x.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return I(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return I(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return ab?1:0},"string-desc":function(a,b){return ab?-1:0}});db("");g.extend(!0,p.ext.renderer,{header:{_:function(a,b,c,e){g(a.nTable).on("order.dt.DT",function(d, -f,g,i){if(a===f){d=c.idx;b.removeClass(c.sSortingClass+" "+e.sSortAsc+" "+e.sSortDesc).addClass(i[d]=="asc"?e.sSortAsc:i[d]=="desc"?e.sSortDesc:c.sSortingClass)}})},jqueryui:function(a,b,c,e){g("
    ").addClass(e.sSortJUIWrapper).append(b.contents()).append(g("").addClass(e.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);g(a.nTable).on("order.dt.DT",function(d,f,g,i){if(a===f){d=c.idx;b.removeClass(e.sSortAsc+" "+e.sSortDesc).addClass(i[d]=="asc"?e.sSortAsc:i[d]=="desc"?e.sSortDesc:c.sSortingClass); -b.find("span."+e.sSortIcon).removeClass(e.sSortJUIAsc+" "+e.sSortJUIDesc+" "+e.sSortJUI+" "+e.sSortJUIAscAllowed+" "+e.sSortJUIDescAllowed).addClass(i[d]=="asc"?e.sSortJUIAsc:i[d]=="desc"?e.sSortJUIDesc:c.sSortingClassJUI)}})}}});p.render={number:function(a,b,c,e){return{display:function(d){var f=0>d?"-":"",d=Math.abs(parseFloat(d)),g=parseInt(d,10),d=c?b+(d-g).toFixed(c).substring(2):"";return f+(e||"")+g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+d}}}};g.extend(p.ext.internal,{_fnExternApiFunc:Nb, -_fnBuildAjax:ra,_fnAjaxUpdate:kb,_fnAjaxParameters:tb,_fnAjaxUpdateDraw:ub,_fnAjaxDataSrc:sa,_fnAddColumn:Fa,_fnColumnOptions:ka,_fnAdjustColumnSizing:Y,_fnVisibleToColumnIndex:la,_fnColumnIndexToVisible:aa,_fnVisbleColumns:ba,_fnGetColumns:$,_fnColumnTypes:Ha,_fnApplyColumnDefs:ib,_fnHungarianMap:W,_fnCamelToHungarian:H,_fnLanguageCompat:P,_fnBrowserDetect:gb,_fnAddData:J,_fnAddTr:ma,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==n?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b, -c){return g.inArray(c,a.aoData[b].anCells)},_fnGetCellData:y,_fnSetCellData:Ia,_fnSplitObjNotation:Ka,_fnGetObjectDataFn:X,_fnSetObjectDataFn:R,_fnGetDataMaster:La,_fnClearTable:oa,_fnDeleteIndex:pa,_fnInvalidate:da,_fnGetRowElements:na,_fnCreateTr:Ja,_fnBuildHead:jb,_fnDrawHead:fa,_fnDraw:M,_fnReDraw:N,_fnAddOptionsHtml:mb,_fnDetectHeader:ea,_fnGetUniqueThs:qa,_fnFeatureHtmlFilter:ob,_fnFilterComplete:ga,_fnFilterCustom:xb,_fnFilterColumn:wb,_fnFilter:vb,_fnFilterCreateSearch:Qa,_fnEscapeRegex:va, -_fnFilterData:yb,_fnFeatureHtmlInfo:rb,_fnUpdateInfo:Bb,_fnInfoMacros:Cb,_fnInitialise:ha,_fnInitComplete:ta,_fnLengthChange:Ra,_fnFeatureHtmlLength:nb,_fnFeatureHtmlPaginate:sb,_fnPageChange:Ta,_fnFeatureHtmlProcessing:pb,_fnProcessingDisplay:C,_fnFeatureHtmlTable:qb,_fnScrollDraw:Z,_fnApplyToChildren:G,_fnCalculateColumnWidths:Ga,_fnThrottle:ua,_fnConvertToWidth:Db,_fnScrollingWidthAdjust:Fb,_fnGetWidestNode:Eb,_fnGetMaxLenString:Gb,_fnStringToCss:t,_fnScrollBarWidth:Hb,_fnSortFlatten:U,_fnSort:lb, -_fnSortAria:Jb,_fnSortListener:Ua,_fnSortAttachListener:Oa,_fnSortingClasses:xa,_fnSortData:Ib,_fnSaveState:ya,_fnLoadState:Kb,_fnSettingsFromNode:za,_fnLog:S,_fnMap:E,_fnBindAction:Va,_fnCallbackReg:z,_fnCallbackFire:v,_fnLengthOverflow:Sa,_fnRenderer:Pa,_fnDataSource:B,_fnRowAttributes:Ma,_fnCalculateEnd:function(){}});g.fn.dataTable=p;g.fn.dataTableSettings=p.settings;g.fn.dataTableExt=p.ext;g.fn.DataTable=function(a){return g(this).dataTable(a).api()};g.each(p,function(a,b){g.fn.DataTable[a]= -b});return g.fn.dataTable};"function"===typeof define&&define.amd?define("datatables",["jquery"],P):"object"===typeof exports?module.exports=P(require("jquery")):jQuery&&!jQuery.fn.dataTable&&P(jQuery)})(window,document); +h.extend(o.ext.oJUIClasses,o.ext.classes,{sPageButton:"fg-button ui-button "+F,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:F+" sorting_asc",sSortDesc:F+" sorting_desc",sSortable:F+" sorting",sSortableAsc:F+" sorting_asc_disabled",sSortableDesc:F+" sorting_desc_disabled",sSortableNone:F+" sorting_disabled",sSortJUIAsc:ja+"triangle-1-n",sSortJUIDesc:ja+"triangle-1-s", +sSortJUI:ja+"carat-2-n-s",sSortJUIAscAllowed:ja+"carat-1-n",sSortJUIDescAllowed:ja+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+F,sScrollFoot:"dataTables_scrollFoot "+F,sHeaderTH:F,sFooterTH:F,sJUIHeader:Xb+" ui-corner-tl ui-corner-tr",sJUIFooter:Xb+" ui-corner-bl ui-corner-br"});var Mb=o.ext.pager;h.extend(Mb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},simple_numbers:function(a, +b){return["previous",Wa(a,b),"next"]},full_numbers:function(a,b){return["first","previous",Wa(a,b),"next","last"]},_numbers:Wa,numbers_length:7});h.extend(!0,o.ext.renderer,{pageButton:{_:function(a,b,c,e,d,f){var g=a.oClasses,j=a.oLanguage.oPaginate,i,k,l=0,o=function(b,e){var n,r,t,s,u=function(b){Ta(a,b.data.action,true)};n=0;for(r=e.length;n").appendTo(b);o(t,s)}else{k=i="";switch(s){case "ellipsis":b.append(""); +break;case "first":i=j.sFirst;k=s+(d>0?"":" "+g.sPageButtonDisabled);break;case "previous":i=j.sPrevious;k=s+(d>0?"":" "+g.sPageButtonDisabled);break;case "next":i=j.sNext;k=s+(d",{"class":g.sPageButton+" "+k,"aria-controls":a.sTableId,"data-dt-idx":l,tabindex:a.iTabIndex,id:c===0&&typeof s==="string"?a.sTableId+"_"+s:null}).html(i).appendTo(b); +Va(t,{action:s},u);l++}}}},n;try{n=h(P.activeElement).data("dt-idx")}catch(r){}o(h(b).empty(),e);n&&h(b).find("[data-dt-idx="+n+"]").focus()}}});h.extend(o.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&(!ac.test(a)||!bc.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||I(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal; +return Rb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Rb(a,c,!0)?"html-num-fmt"+c:null},function(a){return I(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(o.ext.type.search,{html:function(a){return I(a)?a:"string"===typeof a?a.replace(Ob," ").replace(Ba,""):""},string:function(a){return I(a)?a:"string"===typeof a?a.replace(Ob," "):a}});var Aa=function(a,b,c,e){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Qb(a,b));a.replace&&(c&&(a=a.replace(c,"")), +e&&(a=a.replace(e,"")));return 1*a};h.extend(x.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return I(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return I(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return ab?1:0},"string-desc":function(a,b){return ab?-1:0}});db("");h.extend(!0,o.ext.renderer,{header:{_:function(a,b,c,e){h(a.nTable).on("order.dt.DT",function(d, +f,g,h){if(a===f){d=c.idx;b.removeClass(c.sSortingClass+" "+e.sSortAsc+" "+e.sSortDesc).addClass(h[d]=="asc"?e.sSortAsc:h[d]=="desc"?e.sSortDesc:c.sSortingClass)}})},jqueryui:function(a,b,c,e){h("
    ").addClass(e.sSortJUIWrapper).append(b.contents()).append(h("").addClass(e.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(d,f,g,h){if(a===f){d=c.idx;b.removeClass(e.sSortAsc+" "+e.sSortDesc).addClass(h[d]=="asc"?e.sSortAsc:h[d]=="desc"?e.sSortDesc:c.sSortingClass); +b.find("span."+e.sSortIcon).removeClass(e.sSortJUIAsc+" "+e.sSortJUIDesc+" "+e.sSortJUI+" "+e.sSortJUIAscAllowed+" "+e.sSortJUIDescAllowed).addClass(h[d]=="asc"?e.sSortJUIAsc:h[d]=="desc"?e.sSortJUIDesc:c.sSortingClassJUI)}})}}});o.render={number:function(a,b,c,e){return{display:function(d){var f=0>d?"-":"",d=Math.abs(parseFloat(d)),g=parseInt(d,10),d=c?b+(d-g).toFixed(c).substring(2):"";return f+(e||"")+g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+d}}}};h.extend(o.ext.internal,{_fnExternApiFunc:Nb, +_fnBuildAjax:ra,_fnAjaxUpdate:kb,_fnAjaxParameters:tb,_fnAjaxUpdateDraw:ub,_fnAjaxDataSrc:sa,_fnAddColumn:Fa,_fnColumnOptions:ka,_fnAdjustColumnSizing:X,_fnVisibleToColumnIndex:la,_fnColumnIndexToVisible:$,_fnVisbleColumns:aa,_fnGetColumns:Z,_fnColumnTypes:Ha,_fnApplyColumnDefs:ib,_fnHungarianMap:V,_fnCamelToHungarian:H,_fnLanguageCompat:O,_fnBrowserDetect:gb,_fnAddData:J,_fnAddTr:ma,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==k?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b, +c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:y,_fnSetCellData:Ia,_fnSplitObjNotation:Ka,_fnGetObjectDataFn:W,_fnSetObjectDataFn:Q,_fnGetDataMaster:La,_fnClearTable:oa,_fnDeleteIndex:pa,_fnInvalidate:ca,_fnGetRowElements:na,_fnCreateTr:Ja,_fnBuildHead:jb,_fnDrawHead:ea,_fnDraw:M,_fnReDraw:N,_fnAddOptionsHtml:mb,_fnDetectHeader:da,_fnGetUniqueThs:qa,_fnFeatureHtmlFilter:ob,_fnFilterComplete:fa,_fnFilterCustom:xb,_fnFilterColumn:wb,_fnFilter:vb,_fnFilterCreateSearch:Qa,_fnEscapeRegex:va, +_fnFilterData:yb,_fnFeatureHtmlInfo:rb,_fnUpdateInfo:Bb,_fnInfoMacros:Cb,_fnInitialise:ga,_fnInitComplete:ta,_fnLengthChange:Ra,_fnFeatureHtmlLength:nb,_fnFeatureHtmlPaginate:sb,_fnPageChange:Ta,_fnFeatureHtmlProcessing:pb,_fnProcessingDisplay:C,_fnFeatureHtmlTable:qb,_fnScrollDraw:Y,_fnApplyToChildren:G,_fnCalculateColumnWidths:Ga,_fnThrottle:ua,_fnConvertToWidth:Db,_fnScrollingWidthAdjust:Fb,_fnGetWidestNode:Eb,_fnGetMaxLenString:Gb,_fnStringToCss:s,_fnScrollBarWidth:Hb,_fnSortFlatten:T,_fnSort:lb, +_fnSortAria:Jb,_fnSortListener:Ua,_fnSortAttachListener:Oa,_fnSortingClasses:xa,_fnSortData:Ib,_fnSaveState:ya,_fnLoadState:Kb,_fnSettingsFromNode:za,_fnLog:R,_fnMap:E,_fnBindAction:Va,_fnCallbackReg:z,_fnCallbackFire:w,_fnLengthOverflow:Sa,_fnRenderer:Pa,_fnDataSource:B,_fnRowAttributes:Ma,_fnCalculateEnd:function(){}});h.fn.dataTable=o;h.fn.dataTableSettings=o.settings;h.fn.dataTableExt=o.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};h.each(o,function(a,b){h.fn.DataTable[a]= +b});return h.fn.dataTable};"function"===typeof define&&define.amd?define("datatables",["jquery"],O):"object"===typeof exports?module.exports=O(require("jquery")):jQuery&&!jQuery.fn.dataTable&&O(jQuery)})(window,document);