lolita 3.4.3 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +37 -36
- data/Gemfile +31 -29
- data/README.md +147 -147
- data/Rakefile +17 -7
- data/app/assets/javascripts/lolita/application.js +5 -6
- data/app/assets/javascripts/lolita/tab.js +98 -100
- data/app/assets/stylesheets/lolita/PIE-custom.htc +87 -87
- data/app/assets/stylesheets/lolita/PIE.htc +81 -81
- data/app/assets/stylesheets/lolita/application.css +7 -6
- data/app/assets/stylesheets/lolita/default.css.erb +169 -169
- data/app/assets/stylesheets/lolita/jquery-ui-1.8.16.lolita.css.erb +567 -567
- data/app/assets/stylesheets/lolita/style.css.erb +554 -553
- data/app/assets/stylesheets/tinymce/skins/lolita/content.inline.min.css +1 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/content.min.css +1 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/readme.md +1 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce-small.eot +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce-small.svg +175 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce-small.ttf +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce-small.woff +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce.eot +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce.svg +153 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce.ttf +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/fonts/tinymce.woff +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/img/anchor.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/img/loader.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/img/object.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/img/trans.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/img/wline.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/skin.ie7.min.css +1 -0
- data/app/assets/stylesheets/tinymce/skins/lolita/skin.min.css +2 -0
- data/app/helpers/components/lolita/configuration/list_component.rb +10 -10
- data/app/helpers/components/lolita/configuration_component.rb +21 -21
- data/app/views/components/lolita/configuration/column/_first.html.haml +1 -1
- data/app/views/components/lolita/configuration/column/header/_first.html.haml +1 -1
- data/app/views/components/lolita/configuration/column/header/_sort.html.haml +6 -6
- data/app/views/components/lolita/configuration/columns/body/_display.html.haml +1 -1
- data/app/views/components/lolita/configuration/columns/header/_display.html.haml +5 -5
- data/app/views/components/lolita/configuration/field/array/checkbox/_display.html.haml +7 -7
- data/app/views/components/lolita/configuration/field/string/text/_display.html.haml +4 -7
- data/app/views/components/lolita/configuration/search/_display.html.haml +2 -2
- data/app/views/components/lolita/configuration/tab/_display.html.haml +4 -4
- data/app/views/components/lolita/configuration/tabs/_form.html.haml +7 -6
- data/app/views/components/lolita/configuration/tabs/yo.html +1 -0
- data/app/views/kaminari/lolita/_first_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_gap.html.erb +8 -8
- data/app/views/kaminari/lolita/_last_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_next_page.html.erb +11 -11
- data/app/views/kaminari/lolita/_page.html.erb +12 -12
- data/app/views/kaminari/lolita/_paginator.html.erb +23 -23
- data/app/views/kaminari/lolita/_prev_page.html.erb +11 -11
- data/app/views/lolita/info/index.html.erb +232 -232
- data/author +1 -1
- data/config/locales/sv_SE.yml +37 -0
- data/config/routes.rb +6 -6
- data/lib/generators/lolita/install_generator.rb +22 -19
- data/lib/generators/lolita/uninstall_generator.rb +76 -71
- data/lib/generators/templates/lolita.rb +17 -14
- data/lib/generators/templates/tinymce.yml +22 -0
- data/lib/lolita.rb +142 -141
- data/lib/lolita/adapter/abstract_adapter.rb +17 -16
- data/lib/lolita/adapter/active_record.rb +229 -227
- data/lib/lolita/adapter/common_helper.rb +220 -221
- data/lib/lolita/adapter/field_helper.rb +18 -18
- data/lib/lolita/adapter/mongoid.rb +244 -241
- data/lib/lolita/components/base.rb +10 -12
- data/lib/lolita/configuration.rb +61 -61
- data/lib/lolita/configuration/column.rb +170 -181
- data/lib/lolita/configuration/field/big_decimal.rb +12 -12
- data/lib/lolita/configuration/field/boolean.rb +12 -12
- data/lib/lolita/configuration/field/date.rb +12 -12
- data/lib/lolita/configuration/field/hidden.rb +12 -12
- data/lib/lolita/configuration/field/integer.rb +11 -11
- data/lib/lolita/configuration/field/string.rb +16 -16
- data/lib/lolita/configuration/field/time.rb +13 -13
- data/lib/lolita/configuration/field_set.rb +25 -25
- data/lib/lolita/configuration/filter.rb +130 -116
- data/lib/lolita/configuration/list.rb +201 -201
- data/lib/lolita/configuration/search.rb +105 -105
- data/lib/lolita/controllers/component_helpers.rb +156 -156
- data/lib/lolita/controllers/internal_helpers.rb +74 -71
- data/lib/lolita/dbi/base.rb +56 -56
- data/lib/lolita/hooks/named_hook.rb +125 -125
- data/lib/lolita/lazy_loader.rb +54 -54
- data/lib/lolita/navigation/tree.rb +132 -132
- data/lib/lolita/rails/engine.rb +29 -24
- data/lib/lolita/rails/routes.rb +133 -129
- data/lib/lolita/ruby_ext/accessors.rb +26 -26
- data/lib/lolita/search/simple.rb +75 -75
- data/lib/lolita/support/formatter.rb +62 -62
- data/lib/lolita/support/formatter/rails.rb +56 -56
- data/lib/lolita/system_configuration/base.rb +182 -178
- data/lib/lolita/test/matchers.rb +77 -77
- data/lib/lolita/version.rb +30 -30
- data/lolita.gemspec +35 -34
- data/spec/adapter/common_helper_spec.rb +96 -96
- data/spec/builder_spec.rb +120 -120
- data/spec/configuration/base_spec.rb +23 -23
- data/spec/configuration/field_spec.rb +117 -118
- data/spec/configuration/filter_spec.rb +145 -131
- data/spec/configuration/tab_spec.rb +184 -187
- data/spec/configuration/tabs_spec.rb +116 -120
- data/spec/generators/lolita/install_generator_spec.rb +70 -55
- data/spec/generators/lolita/uninstall_generator_spec.rb +65 -49
- data/spec/helpers/url_for_spec.rb +8 -0
- data/spec/orm/active_record.rb +53 -0
- data/spec/orm/mongoid.rb +2 -13
- data/spec/orm/mongoid.yml +6 -0
- data/spec/rails_app/app/controllers/application_controller.rb +3 -3
- data/spec/rails_app/app/helpers/application_helper.rb +3 -3
- data/spec/rails_app/app/orm/active_record/address.rb +3 -0
- data/spec/rails_app/app/orm/active_record/category.rb +16 -0
- data/spec/rails_app/app/orm/active_record/comment.rb +4 -0
- data/spec/rails_app/app/orm/active_record/post.rb +24 -0
- data/spec/rails_app/app/orm/active_record/preference.rb +4 -0
- data/spec/rails_app/app/orm/active_record/profile.rb +9 -0
- data/spec/rails_app/app/orm/active_record/tag.rb +2 -0
- data/spec/rails_app/app/{mongoid → orm/mongoid}/address.rb +7 -7
- data/spec/rails_app/app/{mongoid → orm/mongoid}/category.rb +18 -19
- data/spec/rails_app/app/{mongoid → orm/mongoid}/comment.rb +5 -5
- data/spec/rails_app/app/{mongoid → orm/mongoid}/post.rb +30 -30
- data/spec/rails_app/app/{mongoid → orm/mongoid}/preference.rb +5 -5
- data/spec/rails_app/app/{mongoid → orm/mongoid}/profile.rb +13 -14
- data/spec/rails_app/app/{mongoid → orm/mongoid}/tag.rb +3 -3
- data/spec/rails_app/app/views/components/lolita/configuration/list/_body_cell.html.erb +1 -1
- data/spec/rails_app/config/application.rb +34 -33
- data/spec/rails_app/config/boot.rb +7 -8
- data/spec/rails_app/config/environment.rb +5 -5
- data/spec/rails_app/config/environments/development.rb +22 -23
- data/spec/rails_app/config/environments/production.rb +37 -37
- data/spec/rails_app/config/environments/test.rb +36 -37
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/rails_app/config/initializers/inflections.rb +2 -2
- data/spec/rails_app/config/initializers/secret_token.rb +1 -1
- data/spec/rails_app/config/routes.rb +4 -3
- data/spec/rails_app/lib/lolita/configuration/field/my_custom_collection.rb +13 -13
- data/spec/rails_app/public/javascripts/jquery-1.5.1.min.js +15 -15
- data/spec/rails_app/public/javascripts/lolita/main.js +6 -6
- data/spec/rails_app/public/javascripts/modernizr-1.7.min.js +1 -1
- data/spec/rails_app/public/javascripts/rails.js +137 -137
- data/spec/rails_app/public/javascripts/tinymce/langs/en.js +221 -221
- data/spec/rails_app/public/javascripts/tinymce/license.txt +504 -504
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/about.htm +52 -52
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/anchor.htm +26 -26
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/charmap.htm +51 -51
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/color_picker.htm +74 -74
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/editor_template_src.js +1328 -1328
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/image.htm +80 -80
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/about.js +73 -73
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/anchor.js +42 -42
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/charmap.js +354 -354
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/color_picker.js +329 -329
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/image.js +247 -247
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/link.js +153 -153
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -56
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en.js +68 -68
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +53 -53
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/link.htm +57 -57
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -47
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +66 -66
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +117 -117
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +988 -988
- data/spec/rails_app/public/javascripts/tinymce/themes/advanced/source_editor.htm +25 -25
- data/spec/rails_app/public/javascripts/tinymce/tiny_mce_popup.js +4 -4
- data/spec/rails_app/public/stylesheets/lolita/default.css +169 -169
- data/spec/rails_app/public/stylesheets/lolita/style.css +214 -214
- data/spec/spec_helper.rb +44 -51
- data/spec/support/cleaner.rb +12 -0
- data/vendor/assets/javascripts/application_vendor_lolita.js +5 -4
- data/vendor/assets/javascripts/jquery-numeric.js +279 -279
- data/vendor/assets/javascripts/modernizr_1_7_min.js +1 -1
- data/vendor/assets/stylesheets/jquery-ui-1.8.16.custom.css +567 -567
- metadata +105 -72
- data/lib/tasks/tinymce-assets.rake +0 -7
- data/spec/adapter_helper.rb +0 -43
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css +0 -66
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css +0 -117
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/butt2.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/button-bg.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/buttons.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/down_arrow.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/fade-butt.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/icons.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/items.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/menu-arrow.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/menu-check.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/progress.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/tabs.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/toolbarbg.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css +0 -988
@@ -1,6 +1,5 @@
|
|
1
|
-
//= require jquery
|
2
|
-
//= require
|
3
|
-
//= require
|
4
|
-
//= require application_vendor_lolita
|
5
|
-
//=
|
6
|
-
//= require_tree .
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery-ui
|
3
|
+
//= require jquery_ujs
|
4
|
+
//= require application_vendor_lolita
|
5
|
+
//= require_tree .
|
@@ -1,100 +1,98 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
$(function(){
|
4
|
-
|
5
|
-
|
6
|
-
$form
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
$(
|
13
|
-
$(this).
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
$(
|
20
|
-
|
21
|
-
|
22
|
-
var
|
23
|
-
var
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
return
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
$(
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
})
|
1
|
+
$(function(){
|
2
|
+
// Submit all forms through Ajax when Save All button clicked.
|
3
|
+
$(document).on('click',"button.save-all",function(){
|
4
|
+
$form = $(".tabs form.associated")
|
5
|
+
$form.append("<input type='hidden' name='button_pressed' value='"+$(this).data("type")+"' />")
|
6
|
+
$form.submit()
|
7
|
+
})
|
8
|
+
|
9
|
+
$(document).on("click",".tabs .tab-title h2",function(){
|
10
|
+
$(this).parents(".tab-title").find("h2").removeClass("active light").addClass("semi-dark");
|
11
|
+
$(this).removeClass("semi-dark").addClass("active light");
|
12
|
+
$(".tabs .tab.active").removeClass("active")
|
13
|
+
$("#"+$(this).data("tab")).addClass("active")
|
14
|
+
resize_all_tinymce_editors()
|
15
|
+
})
|
16
|
+
// Integer field validator
|
17
|
+
$(".integer").numeric()
|
18
|
+
|
19
|
+
$(document).on("change","select[data-polymorphic-url]",function(){
|
20
|
+
var url = $(this).attr("data-polymorphic-url")
|
21
|
+
var select = $(this)[0]
|
22
|
+
var jselect = $(this)
|
23
|
+
var id = jselect.attr("id").replace(/_type$/,"_id")
|
24
|
+
jselect.find('option').each(function(i){
|
25
|
+
var option = $(this);
|
26
|
+
if(i==select.selectedIndex){
|
27
|
+
var val = option.val()
|
28
|
+
if(val.length > 1){
|
29
|
+
url = url.replace(/\/klass\//,"/"+val+"/")
|
30
|
+
var klass = option.val()
|
31
|
+
$.ajax({
|
32
|
+
url: url,
|
33
|
+
type: "get",
|
34
|
+
success:function(html){
|
35
|
+
$("#"+id).html(html)
|
36
|
+
}
|
37
|
+
})
|
38
|
+
}else{
|
39
|
+
$("#"+id).html("")
|
40
|
+
}
|
41
|
+
|
42
|
+
}
|
43
|
+
})
|
44
|
+
})
|
45
|
+
|
46
|
+
$(document).on("keyup.autocomplete","input[data-autocomplete-url]",function(){
|
47
|
+
var $input = $(this)
|
48
|
+
$(this).autocomplete({
|
49
|
+
source: function(request, response){
|
50
|
+
var term_arr = request.term.toString().split(",")
|
51
|
+
var term = term_arr[term_arr.length - 1]
|
52
|
+
term = term ? $.trim(term) : ""
|
53
|
+
$input.data("term",term)
|
54
|
+
$.getJSON(this.element.data("autocomplete-url"), {
|
55
|
+
term: term
|
56
|
+
}, response)
|
57
|
+
},
|
58
|
+
focus: function(even,ui){
|
59
|
+
if($(this).data("cached")=="yes"){
|
60
|
+
var term = new RegExp($(this).data("term") + "$")
|
61
|
+
var start_val = $(this).val().toString().replace(term,"")
|
62
|
+
$(this).val(start_val+ui.item.value)
|
63
|
+
return false
|
64
|
+
}else{
|
65
|
+
if($(this).data("macro") == "one"){
|
66
|
+
return true
|
67
|
+
}else{
|
68
|
+
return false
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
select: function(event, ui){
|
73
|
+
if($(this).data("macro") == "one"){
|
74
|
+
var $id_holder = $(this).parents(".autocomplete-container").eq(0).find("input[type=hidden]").eq(0);
|
75
|
+
if($id_holder){
|
76
|
+
$id_holder.val(ui.item.id);
|
77
|
+
$id_holder.trigger('change')
|
78
|
+
}
|
79
|
+
} else {
|
80
|
+
var li = $("<li></li>").appendTo($(this).parents(".autocomplete-container").eq(0).find("ul"));
|
81
|
+
li.text(ui.item.value);
|
82
|
+
$("<a href=''></a>").text(ui.item.delete_link).appendTo(li);
|
83
|
+
$("<input type='hidden'>").attr("name", ui.item.name).val(ui.item.id).appendTo(li);
|
84
|
+
if($(this).data("cached")=="no"){
|
85
|
+
this.value = "";
|
86
|
+
}
|
87
|
+
return false;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
});
|
91
|
+
});
|
92
|
+
|
93
|
+
$(document).on("click",".autocomplete-container ul li a",function(){
|
94
|
+
$(this).closest("li").remove();
|
95
|
+
return false;
|
96
|
+
})
|
97
|
+
|
98
|
+
})
|
@@ -1,87 +1,87 @@
|
|
1
|
-
<!--
|
2
|
-
PIE: CSS3 rendering for IE
|
3
|
-
Version 1.0beta5-SNAPSHOT
|
4
|
-
http://css3pie.com
|
5
|
-
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
|
6
|
-
-->
|
7
|
-
<PUBLIC:COMPONENT lightWeight="true">
|
8
|
-
<!-- saved from url=(0014)about:internet -->
|
9
|
-
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
|
10
|
-
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
|
11
|
-
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
|
12
|
-
|
13
|
-
<script type="text/javascript">
|
14
|
-
var doc = element.document;var h=window.PIE;
|
15
|
-
if(!h){h=window.PIE={G:"-pie-",Ya:"Pie",Va:"pie_",Vb:{TD:1,TH:1},Bb:{TABLE:1,THEAD:1,TBODY:1,TFOOT:1,TR:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,IMG:1,HR:1}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(L){}for(var M=4,N=doc.createElement("div"),O=N.getElementsByTagName("i"),P;N.innerHTML="<!--[if gt IE "+ ++M+"]><i></i><![endif]--\>",O[0];);h.T=M;if(M===6)h.G=h.G.replace(/^-/,"");h.ib=doc.documentMode||h.T;N.innerHTML='<v:shape adj="1"/>';P=N.firstChild;P.style.behavior="url(#default#VML)";
|
16
|
-
h.Ub=typeof P.adj==="object";(function(){var a,b=0,c={};h.p={Ja:function(d){if(!a){a=doc.createDocumentFragment();a.namespaces.add("css3vml","urn:schemas-microsoft-com:vml")}return a.createElement("css3vml:"+d)},va:function(d){return d&&d._pieId||(d._pieId=++b)},mb:function(d){var f,i,j,e,g=arguments;f=1;for(i=g.length;f<i;f++){e=g[f];for(j in e)if(e.hasOwnProperty(j))d[j]=e[j]}return d},ac:function(d,f,i){var j=c[d],e,g;if(j)Object.prototype.toString.call(j)==="[object Array]"?j.push([f,i]):f.call(i,
|
17
|
-
j);else{g=c[d]=[[f,i]];e=new Image;e.onload=function(){j=c[d]={g:e.width,f:e.height};for(var k=0,m=g.length;k<m;k++)g[k][0].call(g[k][1],j);e.onload=null};e.src=d}}}})();h.Aa={Db:function(a,b,c,d){function f(){k=j>=90&&j<270?b:0;m=j<180?c:0;l=b-k;n=c-m}function i(){for(;j<0;)j+=360;j%=360}var j=d.ma;d=d.hb;var e,g,k,m,l,n,q,r;if(d){d=d.coords(a,b,c);e=d.x;g=d.y}if(j){j=j.Jc();i();f();if(!d){e=k;g=m}d=h.Aa.Ob(e,g,j,l,n);a=d[0];d=d[1]}else if(d){a=b-e;d=c-g}else{e=g=a=0;d=c}q=a-e;r=d-g;if(j===void 0){j=
|
18
|
-
!q?r<0?90:270:!r?q<0?180:0:-Math.atan2(r,q)/Math.PI*180;i();f()}return{ma:j,Sb:e,Tb:g,Tc:a,Uc:d,ud:k,vd:m,Rc:l,Sc:n,Kc:q,Lc:r,Nb:h.Aa.Cb(e,g,a,d)}},Ob:function(a,b,c,d,f){if(c===0||c===180)return[d,b];else if(c===90||c===270)return[a,f];else{c=Math.tan(-c*Math.PI/180);a=c*a-b;b=-1/c;d=b*d-f;f=b-c;return[(d-a)/f,(c*d-b*a)/f]}},Cb:function(a,b,c,d){a=c-a;b=d-b;return Math.abs(a===0?b:b===0?a:Math.sqrt(a*a+b*b))}};h.ja=function(){this.ob=[];this.Lb={}};h.ja.prototype={ca:function(a){var b=h.p.va(a),
|
19
|
-
c=this.Lb,d=this.ob;if(!(b in c)){c[b]=d.length;d.push(a)}},Ra:function(a){a=h.p.va(a);var b=this.Lb;if(a&&a in b){delete this.ob[b[a]];delete b[a]}},La:function(){for(var a=this.ob,b=a.length;b--;)a[b]&&a[b]()}};h.Ba=new h.ja;h.Ba.pd=function(){var a=this;if(!a.qd){setInterval(function(){a.La()},250);a.qd=1}};h.H=new h.ja;window.attachEvent("onbeforeunload",function(){h.H.La()});h.H.Ha=function(a,b,c){a.attachEvent(b,c);this.ca(function(){a.detachEvent(b,c)})};(function(){function a(){h.Ca.La()}
|
20
|
-
h.Ca=new h.ja;h.H.Ha(window,"onresize",a)})();(function(){function a(){h.Xa.La()}h.Xa=new h.ja;h.H.Ha(window,"onscroll",a);h.Ca.ca(a)})();(function(){function a(){c=h.Wa.Mc()}function b(){if(c){for(var d=0,f=c.length;d<f;d++)h.attach(c[d]);c=0}}var c;h.H.Ha(window,"onbeforeprint",a);h.H.Ha(window,"onafterprint",b)})();h.Gd=function(){function a(g){this.O=g}var b=doc.createElement("length-calc"),c=doc.documentElement,d=b.style,f={},i=["mm","cm","in","pt","pc"],j=i.length,e={};d.position="absolute";
|
21
|
-
d.top=d.left="-9999px";for(c.appendChild(b);j--;){b.style.width="100"+i[j];f[i[j]]=b.offsetWidth/100}c.removeChild(b);b.style.width="1em";a.prototype={pb:/(px|em|ex|mm|cm|in|pt|pc|%)$/,Fb:function(){var g=this.fd;if(g===void 0)g=this.fd=parseFloat(this.O);return g},gb:function(){var g=this.zd;if(!g)g=this.zd=(g=this.O.match(this.pb))&&g[0]||"px";return g},a:function(g,k){var m=this.Fb(),l=this.gb();switch(l){case "px":return m;case "%":return m*(typeof k==="function"?k():k)/100;case "em":return m*
|
22
|
-
this.fb(g);case "ex":return m*this.fb(g)/2;default:return m*f[l]}},fb:function(g){var k=g.currentStyle.fontSize,m,l;if(k.indexOf("px")>0)return parseFloat(k);else if(g.tagName in h.Bb){l=this;m=g.parentNode;return h.k(k).a(m,function(){return l.fb(m)})}else{g.appendChild(b);k=b.offsetWidth;b.parentNode===g&&g.removeChild(b);return k}}};h.k=function(g){return e[g]||(e[g]=new a(g))};return a}();h.Sa=function(){function a(f){this.N=f}var b=h.k("50%"),c={top:1,center:1,bottom:1},d={left:1,center:1,right:1};
|
23
|
-
a.prototype={Yc:function(){if(!this.Ab){var f=this.N,i=f.length,j=h.w,e=j.ka,g=h.k("0");e=e.ga;g=["left",g,"top",g];if(i===1){f.push(new j.Za(e,"center"));i++}if(i===2){e&(f[0].j|f[1].j)&&f[0].d in c&&f[1].d in d&&f.push(f.shift());if(f[0].j&e)if(f[0].d==="center")g[1]=b;else g[0]=f[0].d;else if(f[0].aa())g[1]=h.k(f[0].d);if(f[1].j&e)if(f[1].d==="center")g[3]=b;else g[2]=f[1].d;else if(f[1].aa())g[3]=h.k(f[1].d)}this.Ab=g}return this.Ab},coords:function(f,i,j){var e=this.Yc(),g=e[1].a(f,i);f=e[3].a(f,
|
24
|
-
j);return{x:e[0]==="right"?i-g:g,y:e[2]==="bottom"?j-f:f}}};return a}();h.Ta=function(){function a(b,c){this.g=b;this.f=c}a.prototype={a:function(b,c,d,f,i){var j=this.g,e=this.f,g=c/d;f=f/i;if(j==="contain"){j=f>g?c:d*f;e=f>g?c/f:d}else if(j==="cover"){j=f<g?c:d*f;e=f<g?c/f:d}else if(j==="auto"){e=e==="auto"?i:e.a(b,d);j=e*f}else{j=j.a(b,c);e=e==="auto"?j/f:e.a(b,d)}return{g:j,f:e}}};a.lc=new a("auto","auto");return a}();h.cc=function(){function a(b){this.O=b}a.prototype={pb:/[a-z]+$/i,gb:function(){return this.zc||
|
25
|
-
(this.zc=this.O.match(this.pb)[0].toLowerCase())},Jc:function(){var b=this.tc,c;if(b===undefined){b=this.gb();c=parseFloat(this.O,10);b=this.tc=b==="deg"?c:b==="rad"?c/Math.PI*180:b==="grad"?c/400*360:b==="turn"?c*360:0}return b}};return a}();h.kc=function(){function a(c){this.O=c}var b={};a.od=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;a.nb={aliceblue:"F0F8FF",antiquewhite:"FAEBD7",aqua:"0FF",aquamarine:"7FFFD4",azure:"F0FFFF",beige:"F5F5DC",bisque:"FFE4C4",
|
26
|
-
black:"000",blanchedalmond:"FFEBCD",blue:"00F",blueviolet:"8A2BE2",brown:"A52A2A",burlywood:"DEB887",cadetblue:"5F9EA0",chartreuse:"7FFF00",chocolate:"D2691E",coral:"FF7F50",cornflowerblue:"6495ED",cornsilk:"FFF8DC",crimson:"DC143C",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgoldenrod:"B8860B",darkgray:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkseagreen:"8FBC8F",
|
27
|
-
darkslateblue:"483D8B",darkslategray:"2F4F4F",darkturquoise:"00CED1",darkviolet:"9400D3",deeppink:"FF1493",deepskyblue:"00BFFF",dimgray:"696969",dodgerblue:"1E90FF",firebrick:"B22222",floralwhite:"FFFAF0",forestgreen:"228B22",fuchsia:"F0F",gainsboro:"DCDCDC",ghostwhite:"F8F8FF",gold:"FFD700",goldenrod:"DAA520",gray:"808080",green:"008000",greenyellow:"ADFF2F",honeydew:"F0FFF0",hotpink:"FF69B4",indianred:"CD5C5C",indigo:"4B0082",ivory:"FFFFF0",khaki:"F0E68C",lavender:"E6E6FA",lavenderblush:"FFF0F5",
|
28
|
-
lawngreen:"7CFC00",lemonchiffon:"FFFACD",lightblue:"ADD8E6",lightcoral:"F08080",lightcyan:"E0FFFF",lightgoldenrodyellow:"FAFAD2",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightsalmon:"FFA07A",lightseagreen:"20B2AA",lightskyblue:"87CEFA",lightslategray:"789",lightsteelblue:"B0C4DE",lightyellow:"FFFFE0",lime:"0F0",limegreen:"32CD32",linen:"FAF0E6",magenta:"F0F",maroon:"800000",mediumauqamarine:"66CDAA",mediumblue:"0000CD",mediumorchid:"BA55D3",mediumpurple:"9370D8",mediumseagreen:"3CB371",
|
29
|
-
mediumslateblue:"7B68EE",mediumspringgreen:"00FA9A",mediumturquoise:"48D1CC",mediumvioletred:"C71585",midnightblue:"191970",mintcream:"F5FFFA",mistyrose:"FFE4E1",moccasin:"FFE4B5",navajowhite:"FFDEAD",navy:"000080",oldlace:"FDF5E6",olive:"808000",olivedrab:"688E23",orange:"FFA500",orangered:"FF4500",orchid:"DA70D6",palegoldenrod:"EEE8AA",palegreen:"98FB98",paleturquoise:"AFEEEE",palevioletred:"D87093",papayawhip:"FFEFD5",peachpuff:"FFDAB9",peru:"CD853F",pink:"FFC0CB",plum:"DDA0DD",powderblue:"B0E0E6",
|
30
|
-
purple:"800080",red:"F00",rosybrown:"BC8F8F",royalblue:"4169E1",saddlebrown:"8B4513",salmon:"FA8072",sandybrown:"F4A460",seagreen:"2E8B57",seashell:"FFF5EE",sienna:"A0522D",silver:"C0C0C0",skyblue:"87CEEB",slateblue:"6A5ACD",slategray:"708090",snow:"FFFAFA",springgreen:"00FF7F",steelblue:"4682B4",tan:"D2B48C",teal:"008080",thistle:"D8BFD8",tomato:"FF6347",turquoise:"40E0D0",violet:"EE82EE",wheat:"F5DEB3",white:"FFF",whitesmoke:"F5F5F5",yellow:"FF0",yellowgreen:"9ACD32"};a.prototype={parse:function(){if(!this.Fa){var c=
|
31
|
-
this.O,d;if(d=c.match(a.od)){this.Fa="rgb("+d[1]+","+d[2]+","+d[3]+")";this.yb=parseFloat(d[4])}else{if((d=c.toLowerCase())in a.nb)c="#"+a.nb[d];this.Fa=c;this.yb=c==="transparent"?0:1}}},K:function(c){this.parse();return this.Fa==="currentColor"?c.currentStyle.color:this.Fa},Z:function(){this.parse();return this.yb}};h.ra=function(c){return b[c]||(b[c]=new a(c))};return a}();h.w=function(){function a(c){this.Ka=c;this.ch=0;this.N=[];this.ya=0}var b=a.ka={za:1,wb:2,fa:4,mc:8,xb:16,ga:32,C:64,ha:128,
|
32
|
-
ia:256,Da:512,rc:1024,URL:2048};a.Za=function(c,d){this.j=c;this.d=d};a.Za.prototype={kb:function(){return this.j&b.C||this.j&b.ha&&this.d==="0"},aa:function(){return this.kb()||this.j&b.Da}};a.prototype={Cd:/\s/,gd:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,Jb:/^\-?[_a-z][\w-]*/i,wd:/^("([^"]*)"|'([^']*)')/,$c:/^#([\da-f]{6}|[\da-f]{3})/i,Ad:{px:b.C,em:b.C,ex:b.C,mm:b.C,cm:b.C,"in":b.C,pt:b.C,pc:b.C,deg:b.za,rad:b.za,grad:b.za},Gc:{rgb:1,rgba:1,hsl:1,hsla:1},next:function(c){function d(n,
|
33
|
-
q){n=new a.Za(n,q);if(!c){k.N.push(n);k.ya++}return n}function f(){k.ya++;return null}var i,j,e,g,k=this;if(this.ya<this.N.length)return this.N[this.ya++];for(;this.Cd.test(this.Ka.charAt(this.ch));)this.ch++;if(this.ch>=this.Ka.length)return f();j=this.ch;i=this.Ka.substring(this.ch);e=i.charAt(0);switch(e){case "#":if(g=i.match(this.$c)){this.ch+=g[0].length;return d(b.fa,g[0])}break;case '"':case "'":if(g=i.match(this.wd)){this.ch+=g[0].length;return d(b.rc,g[2]||g[3]||"")}break;case "/":case ",":this.ch++;
|
34
|
-
return d(b.ia,e);case "u":if(g=i.match(this.url)){this.ch+=g[0].length;return d(b.URL,g[2]||g[3]||g[4]||"")}}if(g=i.match(this.gd)){e=g[0];this.ch+=e.length;if(i.charAt(e.length)==="%"){this.ch++;return d(b.Da,e+"%")}if(g=i.substring(e.length).match(this.Jb)){e+=g[0];this.ch+=g[0].length;return d(this.Ad[g[0].toLowerCase()]||b.mc,e)}return d(b.ha,e)}if(g=i.match(this.Jb)){e=g[0];this.ch+=e.length;if(e.toLowerCase()in h.kc.nb||e==="currentColor"||e==="transparent")return d(b.fa,e);if(i.charAt(e.length)===
|
35
|
-
"("){this.ch++;if(e.toLowerCase()in this.Gc){i=function(n){return n&&n.j&b.ha};g=function(n){return n&&n.j&(b.ha|b.Da)};var m=function(n,q){return n&&n.d===q},l=function(){return k.next(1)};if((e.charAt(0)==="r"?g(l()):i(l()))&&m(l(),",")&&g(l())&&m(l(),",")&&g(l())&&(e==="rgb"||e==="hsa"||m(l(),",")&&i(l()))&&m(l(),")"))return d(b.fa,this.Ka.substring(j,this.ch));return f()}return d(b.xb,e)}return d(b.ga,e)}this.ch++;return d(b.wb,e)},B:function(){return this.N[this.ya-- -2]},all:function(){for(;this.next(););
|
36
|
-
return this.N},ea:function(c,d){for(var f=[],i,j;i=this.next();){if(c(i)){j=true;this.B();break}f.push(i)}return d&&!j?null:f}};return a}();var Q=function(a){this.e=a};Q.prototype={P:0,md:function(){var a=this.$a,b;return!a||(b=this.o())&&(a.x!==b.x||a.y!==b.y)},rd:function(){var a=this.$a,b;return!a||(b=this.o())&&(a.g!==b.g||a.f!==b.f)},Eb:function(){var a=this.e,b=a.getBoundingClientRect(),c=h.ib===9;return{x:b.left,y:b.top,g:c?a.offsetWidth:b.right-b.left,f:c?a.offsetHeight:b.bottom-b.top}},o:function(){return this.P?
|
37
|
-
this.Ga||(this.Ga=this.Eb()):this.Eb()},Zc:function(){return!!this.$a},Na:function(){++this.P},Qa:function(){if(!--this.P){if(this.Ga)this.$a=this.Ga;this.Ga=null}}};(function(){function a(b){var c=h.p.va(b);return function(){if(this.P){var d=this.zb||(this.zb={});return c in d?d[c]:(d[c]=b.call(this))}else return b.call(this)}}h.u={P:0,ba:function(b){function c(d){this.e=d}h.p.mb(c.prototype,h.u,b);c.yc={};return c},m:function(){var b=this.sa(),c=this.constructor.yc;return b?b in c?c[b]:(c[b]=this.da(b)):
|
38
|
-
null},sa:a(function(){var b=this.e,c=this.constructor,d=b.style;b=b.currentStyle;var f=this.pa,i=this.xa,j=c.wc||(c.wc=h.G+f);c=c.xc||(c.xc=h.Ya+i.charAt(0).toUpperCase()+i.substring(1));return d[c]||b.getAttribute(j)||d[i]||b.getAttribute(f)}),h:a(function(){return!!this.m()}),D:a(function(){var b=this.sa(),c=b!==this.uc;this.uc=b;return c}),oa:a,Na:function(){++this.P},Qa:function(){--this.P||delete this.zb}}})();h.vb=h.u.ba({pa:h.G+"background",xa:h.Ya+"Background",Bc:{scroll:1,fixed:1,local:1},
|
39
|
-
Pa:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},jd:{"padding-box":1,"border-box":1,"content-box":1},Fc:{"padding-box":1,"border-box":1},nd:{top:1,right:1,bottom:1,left:1,center:1},sd:{contain:1,cover:1},da:function(a){function b(p){return p&&p.aa()||p.j&k&&p.d in r}function c(p){return p&&(p.aa()&&h.k(p.d)||p.d==="auto"&&"auto")}var d=this.e.currentStyle,f,i,j,e=h.w.ka,g=e.ia,k=e.ga,m=e.fa,l,n,q=0,r=this.nd,s,w,t=null;if(this.eb()){f=new h.w(a);t={I:[]};for(j={};i=f.next();){l=i.j;n=i.d;if(!j.L&&
|
40
|
-
l&e.xb&&n==="linear-gradient"){s={X:[],L:n};for(w={};i=f.next();){l=i.j;n=i.d;if(l&e.wb&&n===")"){w.color&&s.X.push(w);s.X.length>1&&h.p.mb(j,s);break}if(l&m){if(s.ma||s.hb){i=f.B();if(i.j!==g)break;f.next()}w={color:h.ra(n)};i=f.next();if(i.aa())w.Oa=h.k(i.d);else f.B()}else if(l&e.za&&!s.ma&&!w.color&&!s.X.length)s.ma=new h.cc(i.d);else if(b(i)&&!s.hb&&!w.color&&!s.X.length){f.B();s.hb=new h.Sa(f.ea(function(p){return!b(p)},false))}else if(l&g&&n===","){if(w.color){s.X.push(w);w={}}}else break}}else if(!j.L&&
|
41
|
-
l&e.URL){j.Kb=n;j.L="image"}else if(b(i)&&!j.na){f.B();j.na=new h.Sa(f.ea(function(p){return!b(p)},false))}else if(l&k)if(n in this.Pa&&!j.Ma)j.Ma=n;else if(n in this.jd){j.Id=n;if(n in this.Fc)j.Hd=n}else if(n in this.Bc&&!j.Cc)j.Cc=n;else return null;else if(l&m&&!t.color)t.color=h.ra(n);else if(l&g&&n==="/"&&!j.cb){i=f.next();if(i.j&k&&i.d in this.sd)j.cb=new h.Ta(i.d);else if(i=c(i)){l=c(f.next());if(!l){l=i;f.B()}j.cb=new h.Ta(i,l)}else return null}else if(l&g&&n===","&&j.L){j.hd=a.substring(q,
|
42
|
-
f.ch-1);q=f.ch;t.I.push(j);j={}}else return null}j.L&&t.I.push(j)}else this.Zb(function(){var p=d.backgroundPositionX,o=d.backgroundPositionY,v=d.backgroundImage,x=d.backgroundColor;t={};if(x!=="transparent")t.color=h.ra(x);if(v!=="none")t.I=[{L:"image",Kb:(new h.w(v)).next().d,Ma:d.backgroundRepeat,na:new h.Sa((new h.w(p+" "+o)).all())}]});return t&&(t.color||t.I&&t.I[0])?t:null},Zb:function(a){var b=this.e.runtimeStyle,c=b.backgroundImage,d=b.backgroundColor;if(c)b.backgroundImage="";if(d)b.backgroundColor=
|
43
|
-
"";a=a.call(this);if(c)b.backgroundImage=c;if(d)b.backgroundColor=d;return a},sa:h.u.oa(function(){return this.eb()||this.Zb(function(){var a=this.e.currentStyle;return a.backgroundColor+" "+a.backgroundImage+" "+a.backgroundRepeat+" "+a.backgroundPositionX+" "+a.backgroundPositionY})}),eb:h.u.oa(function(){var a=this.e;return a.style[this.xa]||a.currentStyle.getAttribute(this.pa)}),Mb:function(){var a=0;if(h.T<7){a=this.e;a=""+(a.style[h.Ya+"PngFix"]||a.currentStyle.getAttribute(h.G+"png-fix"))===
|
44
|
-
"true"}return a},h:h.u.oa(function(){return(this.eb()||this.Mb())&&!!this.m()})});h.hc=h.u.ba({Rb:["Top","Right","Bottom","Left"],ed:{thin:"1px",medium:"3px",thick:"5px"},da:function(){var a={},b={},c={},d=false,f=true,i=true,j=true;this.$b(function(){for(var e=this.e.currentStyle,g=0,k,m,l,n,q,r,s;g<4;g++){l=this.Rb[g];s=l.charAt(0).toLowerCase();k=b[s]=e["border"+l+"Style"];m=e["border"+l+"Color"];l=e["border"+l+"Width"];if(g>0){if(k!==n)i=false;if(m!==q)f=false;if(l!==r)j=false}n=k;q=m;r=l;c[s]=
|
45
|
-
h.ra(m);l=a[s]=h.k(b[s]==="none"?"0":this.ed[l]||l);if(l.a(this.e)>0)d=true}});return d?{ub:a,xd:b,Hc:c,Dd:j,Ic:f,yd:i}:null},sa:h.u.oa(function(){var a=this.e,b=a.currentStyle,c;a.tagName in h.Vb&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.$b(function(){c=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return c}),$b:function(a){var b=this.e.runtimeStyle,c=b.borderWidth,d=b.borderColor;if(c)b.borderWidth="";if(d)b.borderColor="";a=a.call(this);if(c)b.borderWidth=c;if(d)b.borderColor=
|
46
|
-
d;return a}});(function(){h.Ua=h.u.ba({pa:"border-radius",xa:"borderRadius",da:function(b){var c=null,d,f,i,j,e=false;if(b){f=new h.w(b);var g=function(){for(var k=[],m;(i=f.next())&&i.aa();){j=h.k(i.d);m=j.Fb();if(m<0)return null;if(m>0)e=true;k.push(j)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=g()){if(i){if(i.j&h.w.ka.ia&&i.d==="/")d=g()}else d=b;if(e&&b&&d)c={x:b,y:d}}}return c}});var a=h.k("0");a={tl:a,tr:a,br:a,bl:a};h.Ua.bc={x:a,y:a}})();
|
47
|
-
h.fc=h.u.ba({pa:"border-image",xa:"borderImage",Pa:{stretch:1,round:1,repeat:1,space:1},da:function(a){var b=null,c,d,f,i,j,e,g=0,k,m=h.w.ka,l=m.ga,n=m.ha,q=m.C,r=m.Da;if(a){c=new h.w(a);b={};for(var s=function(p){return p&&p.j&m.ia&&p.d==="/"},w=function(p){return p&&p.j&l&&p.d==="fill"},t=function(){i=c.ea(function(p){return!(p.j&(n|r))});if(w(c.next())&&!b.fill)b.fill=true;else c.B();if(s(c.next())){g++;j=c.ea(function(){return!(d.j&(n|r|q))&&!(d.j&l&&d.d==="auto")});if(s(c.next())){g++;e=c.ea(function(){return!(d.j&
|
48
|
-
(n|q))})}}else c.B()};d=c.next();){a=d.j;f=d.d;if(a&(n|r)&&!i){c.B();t()}else if(w(d)&&!b.fill){b.fill=true;t()}else if(a&l&&this.Pa[f]&&!b.repeat){b.repeat={f:f};if(d=c.next())if(d.j&l&&this.Pa[d.d])b.repeat.rb=d.d;else c.B()}else if(a&m.URL&&!b.src)b.src=f;else return null}if(!b.src||!i||i.length<1||i.length>4||j&&j.length>4||g===1&&j.length<1||e&&e.length>4||g===2&&e.length<1)return null;if(!b.repeat)b.repeat={f:"stretch"};if(!b.repeat.rb)b.repeat.rb=b.repeat.f;a=function(p,o){return{Y:o(p[0]),
|
49
|
-
W:o(p[1]||p[0]),Q:o(p[2]||p[0]),U:o(p[3]||p[1]||p[0])}};b.slice=a(i,function(p){return h.k(p.j&n?p.d+"px":p.d)});b.width=j&&j.length>0?a(j,function(p){return p.j&(q|r)?h.k(p.d):p.d}):(k=this.e.currentStyle)&&{Y:h.k(k.borderTopWidth),W:h.k(k.borderRightWidth),Q:h.k(k.borderBottomWidth),U:h.k(k.borderLeftWidth)};b.wa=a(e||[0],function(p){return p.j&q?h.k(p.d):p.d})}return b}});h.jc=h.u.ba({pa:"box-shadow",xa:"boxShadow",da:function(a){var b,c=h.k,d=h.w.ka,f;if(a){f=new h.w(a);b={wa:[],jb:[]};for(a=
|
50
|
-
function(){for(var i,j,e,g,k,m;i=f.next();){e=i.d;j=i.j;if(j&d.ia&&e===",")break;else if(i.kb()&&!k){f.B();k=f.ea(function(l){return!l.kb()})}else if(j&d.fa&&!g)g=e;else if(j&d.ga&&e==="inset"&&!m)m=true;else return false}i=k&&k.length;if(i>1&&i<5){(m?b.jb:b.wa).push({Ed:c(k[0].d),Fd:c(k[1].d),blur:c(k[2]?k[2].d:"0"),td:c(k[3]?k[3].d:"0"),color:h.ra(g||"currentColor")});return true}return false};a(););}return b&&(b.jb.length||b.wa.length)?b:null}});h.sc=h.u.ba({sa:h.u.oa(function(){var a=this.e.currentStyle;
|
51
|
-
return a.visibility+"|"+a.display}),da:function(){var a=this.e,b=a.runtimeStyle;a=a.currentStyle;var c=b.visibility,d;b.visibility="";d=a.visibility;b.visibility=c;return{Bd:d!=="hidden",Nc:a.display!=="none"}},h:function(){return false}});h.v={V:function(a){function b(c,d,f,i){this.e=c;this.q=d;this.i=f;this.parent=i}h.p.mb(b.prototype,h.v,a);return b},lb:false,M:function(){return false},Wb:function(){this.n();this.h()&&this.S()},qb:function(){this.lb=true},Xb:function(){this.h()?this.S():this.n()},
|
52
|
-
bb:function(a,b){this.Qb(a);for(var c=this.la||(this.la=[]),d=a+1,f=c.length,i;d<f;d++)if(i=c[d])break;c[a]=b;this.A().insertBefore(b,i||null)},ta:function(a){var b=this.la;return b&&b[a]||null},Qb:function(a){var b=this.ta(a),c=this.Ea;if(b&&c){c.removeChild(b);this.la[a]=null}},ua:function(a,b,c,d){var f=this.ab||(this.ab={}),i=f[a];if(!i){i=f[a]=h.p.Ja("shape");if(b)i.appendChild(i[b]=h.p.Ja(b));if(d){c=this.ta(d);if(!c){this.bb(d,doc.createElement("group"+d));c=this.ta(d)}}c.appendChild(i);a=
|
53
|
-
i.style;a.position="absolute";a.left=a.top=0;a.behavior="url(#default#VML)"}return i},db:function(a){var b=this.ab,c=b&&b[a];if(c){c.parentNode.removeChild(c);delete b[a]}return!!c},Hb:function(a){var b=this.e,c=this.q.o(),d=c.g,f=c.f,i,j,e,g,k,m;c=a.x.tl.a(b,d);i=a.y.tl.a(b,f);j=a.x.tr.a(b,d);e=a.y.tr.a(b,f);g=a.x.br.a(b,d);k=a.y.br.a(b,f);m=a.x.bl.a(b,d);a=a.y.bl.a(b,f);d=Math.min(d/(c+j),f/(e+k),d/(m+g),f/(i+a));if(d<1){c*=d;i*=d;j*=d;e*=d;g*=d;k*=d;m*=d;a*=d}return{x:{tl:c,tr:j,br:g,bl:m},y:{tl:i,
|
54
|
-
tr:e,br:k,bl:a}}},qa:function(a,b,c){b=b||1;var d,f,i=this.q.o();f=i.g*b;i=i.f*b;var j=this.i.z,e=Math.floor,g=Math.ceil,k=a?a.Y*b:0,m=a?a.W*b:0,l=a?a.Q*b:0;a=a?a.U*b:0;var n,q,r,s,w;if(c||j.h()){d=this.Hb(c||j.m());c=d.x.tl*b;j=d.y.tl*b;n=d.x.tr*b;q=d.y.tr*b;r=d.x.br*b;s=d.y.br*b;w=d.x.bl*b;b=d.y.bl*b;f="m"+e(a)+","+e(j)+"qy"+e(c)+","+e(k)+"l"+g(f-n)+","+e(k)+"qx"+g(f-m)+","+e(q)+"l"+g(f-m)+","+g(i-s)+"qy"+g(f-r)+","+g(i-l)+"l"+e(w)+","+g(i-l)+"qx"+e(a)+","+g(i-b)+" x e"}else f="m"+e(a)+","+e(k)+
|
55
|
-
"l"+g(f-m)+","+e(k)+"l"+g(f-m)+","+g(i-l)+"l"+e(a)+","+g(i-l)+"xe";return f},A:function(){var a=this.parent.ta(this.F),b;if(!a){a=doc.createElement(this.Ia);b=a.style;b.position="absolute";b.top=b.left=0;this.parent.bb(this.F,a)}return a},n:function(){this.parent.Qb(this.F);delete this.ab;delete this.la}};h.qc=h.v.V({h:function(){var a=this.Ec;for(var b in a)if(a.hasOwnProperty(b)&&a[b].h())return true;return false},M:function(){return this.i.sb.D()},qb:function(){if(this.h()){var a=this.Gb(),b=a,
|
56
|
-
c;a=a.currentStyle;var d=a.position,f=this.A().style,i=0,j=0;j=this.q.o();if(d==="fixed"&&h.T>6){i=j.x;j=j.y;b=d}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){c=b.getBoundingClientRect();b=b.currentStyle;i=j.x-c.left-(parseFloat(b.borderLeftWidth)||0);j=j.y-c.top-(parseFloat(b.borderTopWidth)||0)}else{b=doc.documentElement;i=j.x+b.scrollLeft-b.clientLeft;j=j.y+b.scrollTop-b.clientTop}b="absolute"}f.position=b;f.left=i;f.top=j;f.zIndex=d==="static"?-1:a.zIndex;this.lb=
|
57
|
-
true}},Xb:function(){},Yb:function(){var a=this.i.sb.m();this.A().style.display=a.Bd&&a.Nc?"":"none"},Wb:function(){this.h()?this.Yb():this.n()},Gb:function(){var a=this.e;return a.tagName in h.Vb?a.offsetParent:a},A:function(){var a=this.Ea,b;if(!a){b=this.Gb();a=this.Ea=doc.createElement("css3-container");a.style.direction="ltr";this.Yb();b.parentNode.insertBefore(a,b)}return a},n:function(){var a=this.Ea,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.Ea;delete this.la}});h.dc=h.v.V({F:2,
|
58
|
-
Ia:"background",M:function(){var a=this.i;return a.s.D()||a.z.D()},h:function(){var a=this.i;return a.R.h()||a.z.h()||a.s.h()||a.$.h()&&a.$.m().jb},S:function(){var a=this.q.o();if(a.g&&a.f){this.Oc();this.Pc()}},Oc:function(){var a=this.i.s.m(),b=this.q.o(),c=this.e,d=a&&a.color,f,i;if(d&&d.Z()>0){this.Ib();a=this.ua("bgColor","fill",this.A(),1);f=b.g;b=b.f;a.stroked=false;a.coordsize=f*2+","+b*2;a.coordorigin="1,1";a.path=this.qa(null,2);i=a.style;i.width=f;i.height=b;a.fill.color=d.K(c);c=d.Z();
|
59
|
-
if(c<1)a.fill.opacity=c}else this.db("bgColor")},Pc:function(){var a=this.i.s.m(),b=this.q.o();a=a&&a.I;var c,d,f,i,j;if(a){this.Ib();d=b.g;f=b.f;for(j=a.length;j--;){b=a[j];c=this.ua("bgImage"+j,"fill",this.A(),2);c.stroked=false;c.fill.type="tile";c.fillcolor="none";c.coordsize=d*2+","+f*2;c.coordorigin="1,1";c.path=this.qa(0,2);i=c.style;i.width=d;i.height=f;if(b.L==="linear-gradient")this.Ac(c,b);else{c.fill.src=b.Kb;this.ld(c,j)}}}for(j=a?a.length:0;this.db("bgImage"+j++););},ld:function(a,b){h.p.ac(a.fill.src,
|
60
|
-
function(c){var d=a.fill,f=this.e,i=this.q.o(),j=i.g;i=i.f;var e=this.i,g=e.J.m(),k=g&&g.ub;g=k?k.t.a(f):0;var m=k?k.r.a(f):0,l=k?k.b.a(f):0;k=k?k.l.a(f):0;e=e.s.m().I[b];f=e.na?e.na.coords(f,j-c.g-k-m,i-c.f-g-l):{x:0,y:0};e=e.Ma;l=m=0;var n=j+1,q=i+1,r=h.T===8?0:1;k=Math.round(f.x)+k+0.5;g=Math.round(f.y)+g+0.5;d.position=j>0&&i>0?k/j+","+g/i:"0,0";if(e&&e!=="repeat"){if(e==="repeat-x"||e==="no-repeat"){m=g+1;q=g+c.f+r}if(e==="repeat-y"||e==="no-repeat"){l=k+1;n=k+c.g+r}a.style.clip="rect("+m+"px,"+
|
61
|
-
n+"px,"+q+"px,"+l+"px)"}},this)},Ac:function(a,b){var c=this.e,d=this.q.o(),f=d.g,i=d.f;a=a.fill;d=b.X;var j=d.length,e=Math.PI,g=h.Aa,k=g.Ob,m=g.Cb;b=g.Db(c,f,i,b);g=b.ma;var l=b.Sb,n=b.Tb,q=b.ud,r=b.vd,s=b.Rc,w=b.Sc,t=b.Kc,p=b.Lc;b=b.Nb;f=g%90?Math.atan2(t*f/i,p)/e*180:g+90;f+=180;f%=360;s=k(q,r,g,s,w);i=m(q,r,s[0],s[1]);e=[];s=k(l,n,g,q,r);m=m(l,n,s[0],s[1])/i*100;k=[];for(g=0;g<j;g++)k.push(d[g].Oa?d[g].Oa.a(c,b):g===0?0:g===j-1?b:null);for(g=1;g<j;g++){if(k[g]===null){l=k[g-1];b=g;do n=k[++b];
|
62
|
-
while(n===null);k[g]=l+(n-l)/(b-g+1)}k[g]=Math.max(k[g],k[g-1])}for(g=0;g<j;g++)e.push(m+k[g]/i*100+"% "+d[g].color.K(c));a.angle=f;a.type="gradient";a.method="sigma";a.color=d[0].color.K(c);a.color2=d[j-1].color.K(c);a.colors.value=e.join(",")},Ib:function(){var a=this.e.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},n:function(){h.v.n.call(this);var a=this.e.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});h.gc=h.v.V({F:4,Ia:"border",dd:{submit:1,button:1,
|
63
|
-
reset:1},M:function(){var a=this.i;return a.J.D()||a.z.D()},h:function(){var a=this.i;return(a.R.h()||a.z.h()||a.s.h())&&a.J.h()},S:function(){var a=this.e,b=this.i.J.m(),c=this.q.o(),d=c.g;c=c.f;var f,i,j,e,g;if(b){this.bd();b=this.Vc(2);e=0;for(g=b.length;e<g;e++){j=b[e];f=this.ua("borderPiece"+e,j.stroke?"stroke":"fill",this.A());f.coordsize=d*2+","+c*2;f.coordorigin="1,1";f.path=j.path;i=f.style;i.width=d;i.height=c;f.filled=!!j.fill;f.stroked=!!j.stroke;if(j.stroke){f=f.stroke;f.weight=j.tb+
|
64
|
-
"px";f.color=j.color.K(a);f.dashstyle=j.stroke==="dashed"?"2 2":j.stroke==="dotted"?"1 1":"solid";f.linestyle=j.stroke==="double"&&j.tb>2?"ThinThin":"Single"}else f.fill.color=j.fill.K(a)}for(;this.db("borderPiece"+e++););}},bd:function(){var a=this.e,b=a.currentStyle,c=a.runtimeStyle,d=a.tagName,f=h.T===6,i;if(f&&(d in h.Bb||d==="FIELDSET")||d==="BUTTON"||d==="INPUT"&&a.type in this.dd){c.borderWidth="";d=this.i.J.Rb;for(i=d.length;i--;){f=d[i];c["padding"+f]="";c["padding"+f]=h.k(b["padding"+f]).a(a)+
|
65
|
-
h.k(b["border"+f+"Width"]).a(a)+(!h.T===8&&i%2?1:0)}c.borderWidth=0}else if(f){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=doc.createElement("ie6-mask");d=b.style;d.visibility="visible";for(d.zoom=1;d=a.firstChild;)b.appendChild(d);a.appendChild(b);c.visibility="hidden"}}else c.borderColor="transparent"},Vc:function(a){var b=this.e,c,d,f,i=this.i.J,j=[],e,g,k,m,l=Math.round,n,q,r;if(i.h()){c=i.m();i=c.ub;q=c.xd;r=c.Hc;if(c.Dd&&c.yd&&c.Ic){if(r.t.Z()>0){c=i.t.a(b);k=c/2;j.push({path:this.qa({Y:k,
|
66
|
-
W:k,Q:k,U:k},a),stroke:q.t,color:r.t,tb:c})}}else{a=a||1;c=this.q.o();d=c.g;f=c.f;c=l(i.t.a(b));k=l(i.r.a(b));m=l(i.b.a(b));b=l(i.l.a(b));var s={t:c,r:k,b:m,l:b};b=this.i.z;if(b.h())n=this.Hb(b.m());e=Math.floor;g=Math.ceil;var w=function(o,v){return n?n[o][v]:0},t=function(o,v,x,y,z,B){var F=w("x",o),E=w("y",o),C=o.charAt(1)==="r";o=o.charAt(0)==="b";return F>0&&E>0?(B?"al":"ae")+(C?g(d-F):e(F))*a+","+(o?g(f-E):e(E))*a+","+(e(F)-v)*a+","+(e(E)-x)*a+","+y*65535+","+2949075*(z?1:-1):(B?"m":"l")+(C?
|
67
|
-
d-v:v)*a+","+(o?f-x:x)*a},p=function(o,v,x,y){var z=o==="t"?e(w("x","tl"))*a+","+g(v)*a:o==="r"?g(d-v)*a+","+e(w("y","tr"))*a:o==="b"?g(d-w("x","br"))*a+","+e(f-v)*a:e(v)*a+","+g(f-w("y","bl"))*a;o=o==="t"?g(d-w("x","tr"))*a+","+g(v)*a:o==="r"?g(d-v)*a+","+g(f-w("y","br"))*a:o==="b"?e(w("x","bl"))*a+","+e(f-v)*a:e(v)*a+","+e(w("y","tl"))*a;return x?(y?"m"+o:"")+"l"+z:(y?"m"+z:"")+"l"+o};b=function(o,v,x,y,z,B){var F=o==="l"||o==="r",E=s[o],C,G;if(E>0&&q[o]!=="none"&&r[o].Z()>0){C=s[F?o:v];v=s[F?v:
|
68
|
-
o];G=s[F?o:x];x=s[F?x:o];if(q[o]==="dashed"||q[o]==="dotted"){j.push({path:t(y,C,v,B+45,0,1)+t(y,0,0,B,1,0),fill:r[o]});j.push({path:p(o,E/2,0,1),stroke:q[o],tb:E,color:r[o]});j.push({path:t(z,G,x,B,0,1)+t(z,0,0,B-45,1,0),fill:r[o]})}else j.push({path:t(y,C,v,B+45,0,1)+p(o,E,0,0)+t(z,G,x,B,0,0)+(q[o]==="double"&&E>2?t(z,G-e(G/3),x-e(x/3),B-45,1,0)+p(o,g(E/3*2),1,0)+t(y,C-e(C/3),v-e(v/3),B,1,0)+"x "+t(y,e(C/3),e(v/3),B+45,0,1)+p(o,e(E/3),1,0)+t(z,e(G/3),e(x/3),B,0,0):"")+t(z,0,0,B-45,1,0)+p(o,0,1,
|
69
|
-
0)+t(y,0,0,B,1,0),fill:r[o]})}};b("t","l","r","tl","tr",90);b("r","t","b","tr","br",0);b("b","r","l","br","bl",-90);b("l","b","t","bl","tl",-180)}}return j},n:function(){h.v.n.call(this);this.e.runtimeStyle.borderColor=""}});h.ec=h.v.V({F:5,kd:["t","tr","r","br","b","bl","l","tl","c"],M:function(){return this.i.R.D()},h:function(){return this.i.R.h()},S:function(){this.A();var a=this.i.R.m(),b=this.q.o(),c=this.e,d=this.Pb;h.p.ac(a.src,function(f){function i(t,p,o,v,x){t=d[t].style;var y=Math.max;
|
70
|
-
t.width=y(p,0);t.height=y(o,0);t.left=v;t.top=x}function j(t,p,o){for(var v=0,x=t.length;v<x;v++)d[t[v]].imagedata[p]=o}var e=b.g,g=b.f,k=a.width,m=k.Y.a(c),l=k.W.a(c),n=k.Q.a(c);k=k.U.a(c);var q=a.slice,r=q.Y.a(c),s=q.W.a(c),w=q.Q.a(c);q=q.U.a(c);i("tl",k,m,0,0);i("t",e-k-l,m,k,0);i("tr",l,m,e-l,0);i("r",l,g-m-n,e-l,m);i("br",l,n,e-l,g-n);i("b",e-k-l,n,k,g-n);i("bl",k,n,0,g-n);i("l",k,g-m-n,0,m);i("c",e-k-l,g-m-n,k,m);j(["tl","t","tr"],"cropBottom",(f.f-r)/f.f);j(["tl","l","bl"],"cropRight",(f.g-
|
71
|
-
q)/f.g);j(["bl","b","br"],"cropTop",(f.f-w)/f.f);j(["tr","r","br"],"cropLeft",(f.g-s)/f.g);if(a.repeat.rb==="stretch"){j(["l","r","c"],"cropTop",r/f.f);j(["l","r","c"],"cropBottom",w/f.f)}if(a.repeat.f==="stretch"){j(["t","b","c"],"cropLeft",q/f.g);j(["t","b","c"],"cropRight",s/f.g)}d.c.style.display=a.fill?"":"none"},this)},A:function(){var a=this.parent.ta(this.F),b,c,d,f=this.kd,i=f.length;if(!a){a=doc.createElement("border-image");b=a.style;b.position="absolute";this.Pb={};for(d=0;d<i;d++){c=
|
72
|
-
this.Pb[f[d]]=h.p.Ja("rect");c.appendChild(h.p.Ja("imagedata"));b=c.style;b.behavior="url(#default#VML)";b.position="absolute";b.top=b.left=0;c.imagedata.src=this.i.R.m().src;c.stroked=false;c.filled=false;a.appendChild(c)}this.parent.bb(this.F,a)}return a}});h.ic=h.v.V({F:1,Ia:"outset-box-shadow",M:function(){var a=this.i;return a.$.D()||a.z.D()},h:function(){var a=this.i.$;return a.h()&&a.m().wa[0]},S:function(){function a(C,G,K,I,H,u,A){C=b.ua("shadow"+C+G,"fill",d,j-C);G=C.fill;C.coordsize=m*
|
73
|
-
2+","+l*2;C.coordorigin="1,1";C.stroked=false;C.filled=true;G.color=H.K(c);if(u){G.type="gradienttitle";G.color2=G.color;G.opacity=0}C.path=A;w=C.style;w.left=K;w.top=I;w.width=m;w.height=l;return C}var b=this,c=this.e,d=this.A(),f=this.i,i=f.$.m().wa;f=f.z.m();var j=i.length,e=j,g,k=this.q.o(),m=k.g,l=k.f;k=h.T===8?1:0;for(var n=["tl","tr","br","bl"],q,r,s,w,t,p,o,v,x,y,z,B,F,E;e--;){r=i[e];t=r.Ed.a(c);p=r.Fd.a(c);g=r.td.a(c);o=r.blur.a(c);r=r.color;v=-g-o;if(!f&&o)f=h.Ua.bc;v=this.qa({Y:v,W:v,Q:v,
|
74
|
-
U:v},2,f);if(o){x=(g+o)*2+m;y=(g+o)*2+l;z=o*2/x;B=o*2/y;if(o-g>m/2||o-g>l/2)for(g=4;g--;){q=n[g];F=q.charAt(0)==="b";E=q.charAt(1)==="r";q=a(e,q,t,p,r,o,v);s=q.fill;s.focusposition=(E?1-z:z)+","+(F?1-B:B);s.focussize="0,0";q.style.clip="rect("+((F?y/2:0)+k)+"px,"+(E?x:x/2)+"px,"+(F?y:y/2)+"px,"+((E?x/2:0)+k)+"px)"}else{q=a(e,"",t,p,r,o,v);s=q.fill;s.focusposition=z+","+B;s.focussize=1-z*2+","+(1-B*2)}}else{q=a(e,"",t,p,r,o,v);t=r.Z();if(t<1)q.fill.opacity=t}}}});h.oc=h.v.V({F:6,Ia:"imgEl",M:function(){var a=
|
75
|
-
this.i;return this.e.src!==this.vc||a.z.D()},h:function(){var a=this.i;return a.z.h()||a.s.Mb()},S:function(){this.vc=j;this.ad();var a=this.ua("img","fill",this.A()),b=a.fill,c=this.q.o(),d=c.g;c=c.f;var f=this.i.J.m();f=f&&f.ub;var i=this.e,j=i.src,e=Math.round;a.stroked=false;b.type="frame";b.src=j;b.position=(d?0.5/d:0)+","+(c?0.5/c:0);a.coordsize=d*2+","+c*2;a.coordorigin="1,1";a.path=this.qa(f?{Y:e(f.t.a(i)),W:e(f.r.a(i)),Q:e(f.b.a(i)),U:e(f.l.a(i))}:0,2);a=a.style;a.width=d;a.height=c},ad:function(){this.e.runtimeStyle.filter=
|
76
|
-
"alpha(opacity=0)"},n:function(){h.v.n.call(this);this.e.runtimeStyle.filter=""}});h.nc=h.v.V({M:function(){return this.i.s.D()},h:function(){return this.i.s.h()},S:function(){var a=this.i.s.m(),b,c,d=0,f;if(a){b=[];if(c=a.I)for(;f=c[d++];)b.push(f.L==="linear-gradient"?"url(data:image/svg+xml,"+escape(this.Wc(f))+") "+(f.Ma||"")+" "+this.Dc(f.na):f.hd);a.color&&b.push(a.color.O);this.e.runtimeStyle.background=b.join(", ")}},Dc:function(a){return a?a.N.map(function(b){return b.d}).join(" "):""},Wc:function(a){var b=
|
77
|
-
this.e,c=this.q.o(),d=a.X,f=d.length,i=(a.cb||h.Ta.lc).a(b,c.g,c.f,c.g,c.f);c=i.g;i=i.f;var j=h.Aa.Db(b,c,i,a);a=j.Sb;var e=j.Tb,g=j.Tc,k=j.Uc;j=j.Nb;var m,l,n,q,r;m=[];for(l=0;l<f;l++)m.push(d[l].Oa?d[l].Oa.a(b,j):l===0?0:l===f-1?j:null);for(l=1;l<f;l++)if(m[l]===null){q=m[l-1];n=l;do r=m[++n];while(r===null);m[l]=q+(r-q)/(n-l+1)}c=['<svg width="'+c+'" height="'+i+'" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="'+a/c*100+'%" y1="'+e/i*100+'%" x2="'+
|
78
|
-
g/c*100+'%" y2="'+k/i*100+'%">'];for(l=0;l<f;l++)c.push('<stop offset="'+m[l]/j+'" stop-color="'+d[l].color.K(b)+'" stop-opacity="'+d[l].color.Z()+'"/>');c.push('</linearGradient></defs><rect width="100%" height="100%" fill="url(#g)"/></svg>');return c.join("")},n:function(){this.e.runtimeStyle.background=""}});h.Wa=function(){function a(e){function g(){if(!C){var u,A,D=h.ib,J=e.currentStyle,T=J.getAttribute(c)==="true";H=J.getAttribute(d);H=D>7?H!=="false":H==="true";if(!E){E=1;e.runtimeStyle.zoom=
|
79
|
-
1;J=e;for(var R=1;J=J.previousSibling;)if(J.nodeType===1){R=0;break}if(R)e.className+=" "+h.Va+"first-child"}y.Na();if(T&&(A=y.o())&&(u=doc.documentElement||doc.body)&&(A.y>u.clientHeight||A.x>u.clientWidth||A.y+A.f<0||A.x+A.g<0)){if(!K){K=1;h.Xa.ca(g)}}else{C=1;K=E=0;h.Xa.Ra(g);if(D===9){z={s:new h.vb(e)};B=[z.s];x=[new h.nc(e,y,z)]}else{z={s:new h.vb(e),J:new h.hc(e),R:new h.fc(e),z:new h.Ua(e),$:new h.jc(e),sb:new h.sc(e)};B=[z.s,z.J,z.R,z.z,z.$,z.sb];u=new h.qc(e,y,z);A=[new h.ic(e,y,z,u),new h.dc(e,
|
80
|
-
y,z,u),new h.gc(e,y,z,u),new h.ec(e,y,z,u)];e.tagName==="IMG"&&A.push(new h.oc(e,y,z,u));u.Ec=A;x=[u].concat(A)}if(u=e.currentStyle.getAttribute(h.G+"watch-ancestors")){F=[];u=parseInt(u,10);A=0;for(D=e.parentNode;D&&(u==="NaN"||A++<u);){F.push(D);D.attachEvent("onpropertychange",w);D.attachEvent("onmouseenter",r);D.attachEvent("onmouseleave",s);D=D.parentNode}}if(H){h.Ba.ca(m);h.Ba.pd()}m(1)}if(!G){G=1;e.attachEvent("onmove",k);e.attachEvent("onresize",k);e.attachEvent("onpropertychange",l);e.attachEvent("onmouseenter",
|
81
|
-
r);e.attachEvent("onmouseleave",s);h.Ca.ca(k);h.H.ca(o)}y.Qa()}}function k(){y&&y.Zc()&&m()}function m(u){if(!I)if(C){var A,D;t();if(u||y.md()){A=0;for(D=x.length;A<D;A++)x[A].qb()}if(u||y.rd()){A=0;for(D=x.length;A<D;A++)x[A].Xb()}p()}else E||g()}function l(){var u,A,D;u=event;if(!I&&!(u&&u.propertyName in j))if(C){t();u=0;for(A=x.length;u<A;u++){D=x[u];D.lb||D.qb();D.M()&&D.Wb()}p()}else E||g()}function n(){if(e)e.className+=f}function q(){if(e)e.className=e.className.replace(i,"")}function r(){setTimeout(n,
|
82
|
-
0)}function s(){setTimeout(q,0)}function w(){var u=event.propertyName;if(u==="className"||u==="id")l()}function t(){y.Na();for(var u=B.length;u--;)B[u].Na()}function p(){for(var u=B.length;u--;)B[u].Qa();y.Qa()}function o(){if(G){if(F)for(var u=0,A=F.length,D;u<A;u++){D=F[u];D.detachEvent("onpropertychange",w);D.detachEvent("onmouseenter",r);D.detachEvent("onmouseleave",s)}e.detachEvent("onmove",m);e.detachEvent("onresize",m);e.detachEvent("onpropertychange",l);e.detachEvent("onmouseenter",r);e.detachEvent("onmouseleave",
|
83
|
-
s);h.H.Ra(o);G=0}}function v(){if(!I){var u,A;o();I=1;if(x){u=0;for(A=x.length;u<A;u++)x[u].n()}H&&h.Ba.Ra(m);h.Ca.Ra(m);x=y=z=B=F=e=null}}var x,y=new Q(e),z,B,F,E,C,G,K,I,H;this.cd=g;this.update=m;this.n=v;this.Qc=e}var b={},c=h.G+"lazy-init",d=h.G+"poll",f=" "+h.Va+"hover",i=new RegExp("\\b"+h.Va+"hover\\b","g"),j={background:1,bgColor:1,display:1};a.Xc=function(e){var g=h.p.va(e);return b[g]||(b[g]=new a(e))};a.n=function(e){e=h.p.va(e);var g=b[e];if(g){g.n();delete b[e]}};a.Mc=function(){var e=
|
84
|
-
[],g;if(b){for(var k in b)if(b.hasOwnProperty(k)){g=b[k];e.push(g.Qc);g.n()}b={}}return e};return a}();h.supportsVML=h.Ub;h.attach=function(a){h.ib<10&&h.Ub&&h.Wa.Xc(a).cd()};h.detach=function(a){h.Wa.n(a)}};
|
85
|
-
var S=window.PIE,U=element;function init(){S&&doc.media!=="print"&&S.attach(U)}function cleanup(){if(S){S.detach(U);S=U=0}}U.readyState==="complete"&&init();
|
86
|
-
</script>
|
87
|
-
</PUBLIC:COMPONENT>
|
1
|
+
<!--
|
2
|
+
PIE: CSS3 rendering for IE
|
3
|
+
Version 1.0beta5-SNAPSHOT
|
4
|
+
http://css3pie.com
|
5
|
+
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
|
6
|
+
-->
|
7
|
+
<PUBLIC:COMPONENT lightWeight="true">
|
8
|
+
<!-- saved from url=(0014)about:internet -->
|
9
|
+
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
|
10
|
+
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
|
11
|
+
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
|
12
|
+
|
13
|
+
<script type="text/javascript">
|
14
|
+
var doc = element.document;var h=window.PIE;
|
15
|
+
if(!h){h=window.PIE={G:"-pie-",Ya:"Pie",Va:"pie_",Vb:{TD:1,TH:1},Bb:{TABLE:1,THEAD:1,TBODY:1,TFOOT:1,TR:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,IMG:1,HR:1}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(L){}for(var M=4,N=doc.createElement("div"),O=N.getElementsByTagName("i"),P;N.innerHTML="<!--[if gt IE "+ ++M+"]><i></i><![endif]--\>",O[0];);h.T=M;if(M===6)h.G=h.G.replace(/^-/,"");h.ib=doc.documentMode||h.T;N.innerHTML='<v:shape adj="1"/>';P=N.firstChild;P.style.behavior="url(#default#VML)";
|
16
|
+
h.Ub=typeof P.adj==="object";(function(){var a,b=0,c={};h.p={Ja:function(d){if(!a){a=doc.createDocumentFragment();a.namespaces.add("css3vml","urn:schemas-microsoft-com:vml")}return a.createElement("css3vml:"+d)},va:function(d){return d&&d._pieId||(d._pieId=++b)},mb:function(d){var f,i,j,e,g=arguments;f=1;for(i=g.length;f<i;f++){e=g[f];for(j in e)if(e.hasOwnProperty(j))d[j]=e[j]}return d},ac:function(d,f,i){var j=c[d],e,g;if(j)Object.prototype.toString.call(j)==="[object Array]"?j.push([f,i]):f.call(i,
|
17
|
+
j);else{g=c[d]=[[f,i]];e=new Image;e.onload=function(){j=c[d]={g:e.width,f:e.height};for(var k=0,m=g.length;k<m;k++)g[k][0].call(g[k][1],j);e.onload=null};e.src=d}}}})();h.Aa={Db:function(a,b,c,d){function f(){k=j>=90&&j<270?b:0;m=j<180?c:0;l=b-k;n=c-m}function i(){for(;j<0;)j+=360;j%=360}var j=d.ma;d=d.hb;var e,g,k,m,l,n,q,r;if(d){d=d.coords(a,b,c);e=d.x;g=d.y}if(j){j=j.Jc();i();f();if(!d){e=k;g=m}d=h.Aa.Ob(e,g,j,l,n);a=d[0];d=d[1]}else if(d){a=b-e;d=c-g}else{e=g=a=0;d=c}q=a-e;r=d-g;if(j===void 0){j=
|
18
|
+
!q?r<0?90:270:!r?q<0?180:0:-Math.atan2(r,q)/Math.PI*180;i();f()}return{ma:j,Sb:e,Tb:g,Tc:a,Uc:d,ud:k,vd:m,Rc:l,Sc:n,Kc:q,Lc:r,Nb:h.Aa.Cb(e,g,a,d)}},Ob:function(a,b,c,d,f){if(c===0||c===180)return[d,b];else if(c===90||c===270)return[a,f];else{c=Math.tan(-c*Math.PI/180);a=c*a-b;b=-1/c;d=b*d-f;f=b-c;return[(d-a)/f,(c*d-b*a)/f]}},Cb:function(a,b,c,d){a=c-a;b=d-b;return Math.abs(a===0?b:b===0?a:Math.sqrt(a*a+b*b))}};h.ja=function(){this.ob=[];this.Lb={}};h.ja.prototype={ca:function(a){var b=h.p.va(a),
|
19
|
+
c=this.Lb,d=this.ob;if(!(b in c)){c[b]=d.length;d.push(a)}},Ra:function(a){a=h.p.va(a);var b=this.Lb;if(a&&a in b){delete this.ob[b[a]];delete b[a]}},La:function(){for(var a=this.ob,b=a.length;b--;)a[b]&&a[b]()}};h.Ba=new h.ja;h.Ba.pd=function(){var a=this;if(!a.qd){setInterval(function(){a.La()},250);a.qd=1}};h.H=new h.ja;window.attachEvent("onbeforeunload",function(){h.H.La()});h.H.Ha=function(a,b,c){a.attachEvent(b,c);this.ca(function(){a.detachEvent(b,c)})};(function(){function a(){h.Ca.La()}
|
20
|
+
h.Ca=new h.ja;h.H.Ha(window,"onresize",a)})();(function(){function a(){h.Xa.La()}h.Xa=new h.ja;h.H.Ha(window,"onscroll",a);h.Ca.ca(a)})();(function(){function a(){c=h.Wa.Mc()}function b(){if(c){for(var d=0,f=c.length;d<f;d++)h.attach(c[d]);c=0}}var c;h.H.Ha(window,"onbeforeprint",a);h.H.Ha(window,"onafterprint",b)})();h.Gd=function(){function a(g){this.O=g}var b=doc.createElement("length-calc"),c=doc.documentElement,d=b.style,f={},i=["mm","cm","in","pt","pc"],j=i.length,e={};d.position="absolute";
|
21
|
+
d.top=d.left="-9999px";for(c.appendChild(b);j--;){b.style.width="100"+i[j];f[i[j]]=b.offsetWidth/100}c.removeChild(b);b.style.width="1em";a.prototype={pb:/(px|em|ex|mm|cm|in|pt|pc|%)$/,Fb:function(){var g=this.fd;if(g===void 0)g=this.fd=parseFloat(this.O);return g},gb:function(){var g=this.zd;if(!g)g=this.zd=(g=this.O.match(this.pb))&&g[0]||"px";return g},a:function(g,k){var m=this.Fb(),l=this.gb();switch(l){case "px":return m;case "%":return m*(typeof k==="function"?k():k)/100;case "em":return m*
|
22
|
+
this.fb(g);case "ex":return m*this.fb(g)/2;default:return m*f[l]}},fb:function(g){var k=g.currentStyle.fontSize,m,l;if(k.indexOf("px")>0)return parseFloat(k);else if(g.tagName in h.Bb){l=this;m=g.parentNode;return h.k(k).a(m,function(){return l.fb(m)})}else{g.appendChild(b);k=b.offsetWidth;b.parentNode===g&&g.removeChild(b);return k}}};h.k=function(g){return e[g]||(e[g]=new a(g))};return a}();h.Sa=function(){function a(f){this.N=f}var b=h.k("50%"),c={top:1,center:1,bottom:1},d={left:1,center:1,right:1};
|
23
|
+
a.prototype={Yc:function(){if(!this.Ab){var f=this.N,i=f.length,j=h.w,e=j.ka,g=h.k("0");e=e.ga;g=["left",g,"top",g];if(i===1){f.push(new j.Za(e,"center"));i++}if(i===2){e&(f[0].j|f[1].j)&&f[0].d in c&&f[1].d in d&&f.push(f.shift());if(f[0].j&e)if(f[0].d==="center")g[1]=b;else g[0]=f[0].d;else if(f[0].aa())g[1]=h.k(f[0].d);if(f[1].j&e)if(f[1].d==="center")g[3]=b;else g[2]=f[1].d;else if(f[1].aa())g[3]=h.k(f[1].d)}this.Ab=g}return this.Ab},coords:function(f,i,j){var e=this.Yc(),g=e[1].a(f,i);f=e[3].a(f,
|
24
|
+
j);return{x:e[0]==="right"?i-g:g,y:e[2]==="bottom"?j-f:f}}};return a}();h.Ta=function(){function a(b,c){this.g=b;this.f=c}a.prototype={a:function(b,c,d,f,i){var j=this.g,e=this.f,g=c/d;f=f/i;if(j==="contain"){j=f>g?c:d*f;e=f>g?c/f:d}else if(j==="cover"){j=f<g?c:d*f;e=f<g?c/f:d}else if(j==="auto"){e=e==="auto"?i:e.a(b,d);j=e*f}else{j=j.a(b,c);e=e==="auto"?j/f:e.a(b,d)}return{g:j,f:e}}};a.lc=new a("auto","auto");return a}();h.cc=function(){function a(b){this.O=b}a.prototype={pb:/[a-z]+$/i,gb:function(){return this.zc||
|
25
|
+
(this.zc=this.O.match(this.pb)[0].toLowerCase())},Jc:function(){var b=this.tc,c;if(b===undefined){b=this.gb();c=parseFloat(this.O,10);b=this.tc=b==="deg"?c:b==="rad"?c/Math.PI*180:b==="grad"?c/400*360:b==="turn"?c*360:0}return b}};return a}();h.kc=function(){function a(c){this.O=c}var b={};a.od=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;a.nb={aliceblue:"F0F8FF",antiquewhite:"FAEBD7",aqua:"0FF",aquamarine:"7FFFD4",azure:"F0FFFF",beige:"F5F5DC",bisque:"FFE4C4",
|
26
|
+
black:"000",blanchedalmond:"FFEBCD",blue:"00F",blueviolet:"8A2BE2",brown:"A52A2A",burlywood:"DEB887",cadetblue:"5F9EA0",chartreuse:"7FFF00",chocolate:"D2691E",coral:"FF7F50",cornflowerblue:"6495ED",cornsilk:"FFF8DC",crimson:"DC143C",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgoldenrod:"B8860B",darkgray:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkseagreen:"8FBC8F",
|
27
|
+
darkslateblue:"483D8B",darkslategray:"2F4F4F",darkturquoise:"00CED1",darkviolet:"9400D3",deeppink:"FF1493",deepskyblue:"00BFFF",dimgray:"696969",dodgerblue:"1E90FF",firebrick:"B22222",floralwhite:"FFFAF0",forestgreen:"228B22",fuchsia:"F0F",gainsboro:"DCDCDC",ghostwhite:"F8F8FF",gold:"FFD700",goldenrod:"DAA520",gray:"808080",green:"008000",greenyellow:"ADFF2F",honeydew:"F0FFF0",hotpink:"FF69B4",indianred:"CD5C5C",indigo:"4B0082",ivory:"FFFFF0",khaki:"F0E68C",lavender:"E6E6FA",lavenderblush:"FFF0F5",
|
28
|
+
lawngreen:"7CFC00",lemonchiffon:"FFFACD",lightblue:"ADD8E6",lightcoral:"F08080",lightcyan:"E0FFFF",lightgoldenrodyellow:"FAFAD2",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightsalmon:"FFA07A",lightseagreen:"20B2AA",lightskyblue:"87CEFA",lightslategray:"789",lightsteelblue:"B0C4DE",lightyellow:"FFFFE0",lime:"0F0",limegreen:"32CD32",linen:"FAF0E6",magenta:"F0F",maroon:"800000",mediumauqamarine:"66CDAA",mediumblue:"0000CD",mediumorchid:"BA55D3",mediumpurple:"9370D8",mediumseagreen:"3CB371",
|
29
|
+
mediumslateblue:"7B68EE",mediumspringgreen:"00FA9A",mediumturquoise:"48D1CC",mediumvioletred:"C71585",midnightblue:"191970",mintcream:"F5FFFA",mistyrose:"FFE4E1",moccasin:"FFE4B5",navajowhite:"FFDEAD",navy:"000080",oldlace:"FDF5E6",olive:"808000",olivedrab:"688E23",orange:"FFA500",orangered:"FF4500",orchid:"DA70D6",palegoldenrod:"EEE8AA",palegreen:"98FB98",paleturquoise:"AFEEEE",palevioletred:"D87093",papayawhip:"FFEFD5",peachpuff:"FFDAB9",peru:"CD853F",pink:"FFC0CB",plum:"DDA0DD",powderblue:"B0E0E6",
|
30
|
+
purple:"800080",red:"F00",rosybrown:"BC8F8F",royalblue:"4169E1",saddlebrown:"8B4513",salmon:"FA8072",sandybrown:"F4A460",seagreen:"2E8B57",seashell:"FFF5EE",sienna:"A0522D",silver:"C0C0C0",skyblue:"87CEEB",slateblue:"6A5ACD",slategray:"708090",snow:"FFFAFA",springgreen:"00FF7F",steelblue:"4682B4",tan:"D2B48C",teal:"008080",thistle:"D8BFD8",tomato:"FF6347",turquoise:"40E0D0",violet:"EE82EE",wheat:"F5DEB3",white:"FFF",whitesmoke:"F5F5F5",yellow:"FF0",yellowgreen:"9ACD32"};a.prototype={parse:function(){if(!this.Fa){var c=
|
31
|
+
this.O,d;if(d=c.match(a.od)){this.Fa="rgb("+d[1]+","+d[2]+","+d[3]+")";this.yb=parseFloat(d[4])}else{if((d=c.toLowerCase())in a.nb)c="#"+a.nb[d];this.Fa=c;this.yb=c==="transparent"?0:1}}},K:function(c){this.parse();return this.Fa==="currentColor"?c.currentStyle.color:this.Fa},Z:function(){this.parse();return this.yb}};h.ra=function(c){return b[c]||(b[c]=new a(c))};return a}();h.w=function(){function a(c){this.Ka=c;this.ch=0;this.N=[];this.ya=0}var b=a.ka={za:1,wb:2,fa:4,mc:8,xb:16,ga:32,C:64,ha:128,
|
32
|
+
ia:256,Da:512,rc:1024,URL:2048};a.Za=function(c,d){this.j=c;this.d=d};a.Za.prototype={kb:function(){return this.j&b.C||this.j&b.ha&&this.d==="0"},aa:function(){return this.kb()||this.j&b.Da}};a.prototype={Cd:/\s/,gd:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,Jb:/^\-?[_a-z][\w-]*/i,wd:/^("([^"]*)"|'([^']*)')/,$c:/^#([\da-f]{6}|[\da-f]{3})/i,Ad:{px:b.C,em:b.C,ex:b.C,mm:b.C,cm:b.C,"in":b.C,pt:b.C,pc:b.C,deg:b.za,rad:b.za,grad:b.za},Gc:{rgb:1,rgba:1,hsl:1,hsla:1},next:function(c){function d(n,
|
33
|
+
q){n=new a.Za(n,q);if(!c){k.N.push(n);k.ya++}return n}function f(){k.ya++;return null}var i,j,e,g,k=this;if(this.ya<this.N.length)return this.N[this.ya++];for(;this.Cd.test(this.Ka.charAt(this.ch));)this.ch++;if(this.ch>=this.Ka.length)return f();j=this.ch;i=this.Ka.substring(this.ch);e=i.charAt(0);switch(e){case "#":if(g=i.match(this.$c)){this.ch+=g[0].length;return d(b.fa,g[0])}break;case '"':case "'":if(g=i.match(this.wd)){this.ch+=g[0].length;return d(b.rc,g[2]||g[3]||"")}break;case "/":case ",":this.ch++;
|
34
|
+
return d(b.ia,e);case "u":if(g=i.match(this.url)){this.ch+=g[0].length;return d(b.URL,g[2]||g[3]||g[4]||"")}}if(g=i.match(this.gd)){e=g[0];this.ch+=e.length;if(i.charAt(e.length)==="%"){this.ch++;return d(b.Da,e+"%")}if(g=i.substring(e.length).match(this.Jb)){e+=g[0];this.ch+=g[0].length;return d(this.Ad[g[0].toLowerCase()]||b.mc,e)}return d(b.ha,e)}if(g=i.match(this.Jb)){e=g[0];this.ch+=e.length;if(e.toLowerCase()in h.kc.nb||e==="currentColor"||e==="transparent")return d(b.fa,e);if(i.charAt(e.length)===
|
35
|
+
"("){this.ch++;if(e.toLowerCase()in this.Gc){i=function(n){return n&&n.j&b.ha};g=function(n){return n&&n.j&(b.ha|b.Da)};var m=function(n,q){return n&&n.d===q},l=function(){return k.next(1)};if((e.charAt(0)==="r"?g(l()):i(l()))&&m(l(),",")&&g(l())&&m(l(),",")&&g(l())&&(e==="rgb"||e==="hsa"||m(l(),",")&&i(l()))&&m(l(),")"))return d(b.fa,this.Ka.substring(j,this.ch));return f()}return d(b.xb,e)}return d(b.ga,e)}this.ch++;return d(b.wb,e)},B:function(){return this.N[this.ya-- -2]},all:function(){for(;this.next(););
|
36
|
+
return this.N},ea:function(c,d){for(var f=[],i,j;i=this.next();){if(c(i)){j=true;this.B();break}f.push(i)}return d&&!j?null:f}};return a}();var Q=function(a){this.e=a};Q.prototype={P:0,md:function(){var a=this.$a,b;return!a||(b=this.o())&&(a.x!==b.x||a.y!==b.y)},rd:function(){var a=this.$a,b;return!a||(b=this.o())&&(a.g!==b.g||a.f!==b.f)},Eb:function(){var a=this.e,b=a.getBoundingClientRect(),c=h.ib===9;return{x:b.left,y:b.top,g:c?a.offsetWidth:b.right-b.left,f:c?a.offsetHeight:b.bottom-b.top}},o:function(){return this.P?
|
37
|
+
this.Ga||(this.Ga=this.Eb()):this.Eb()},Zc:function(){return!!this.$a},Na:function(){++this.P},Qa:function(){if(!--this.P){if(this.Ga)this.$a=this.Ga;this.Ga=null}}};(function(){function a(b){var c=h.p.va(b);return function(){if(this.P){var d=this.zb||(this.zb={});return c in d?d[c]:(d[c]=b.call(this))}else return b.call(this)}}h.u={P:0,ba:function(b){function c(d){this.e=d}h.p.mb(c.prototype,h.u,b);c.yc={};return c},m:function(){var b=this.sa(),c=this.constructor.yc;return b?b in c?c[b]:(c[b]=this.da(b)):
|
38
|
+
null},sa:a(function(){var b=this.e,c=this.constructor,d=b.style;b=b.currentStyle;var f=this.pa,i=this.xa,j=c.wc||(c.wc=h.G+f);c=c.xc||(c.xc=h.Ya+i.charAt(0).toUpperCase()+i.substring(1));return d[c]||b.getAttribute(j)||d[i]||b.getAttribute(f)}),h:a(function(){return!!this.m()}),D:a(function(){var b=this.sa(),c=b!==this.uc;this.uc=b;return c}),oa:a,Na:function(){++this.P},Qa:function(){--this.P||delete this.zb}}})();h.vb=h.u.ba({pa:h.G+"background",xa:h.Ya+"Background",Bc:{scroll:1,fixed:1,local:1},
|
39
|
+
Pa:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},jd:{"padding-box":1,"border-box":1,"content-box":1},Fc:{"padding-box":1,"border-box":1},nd:{top:1,right:1,bottom:1,left:1,center:1},sd:{contain:1,cover:1},da:function(a){function b(p){return p&&p.aa()||p.j&k&&p.d in r}function c(p){return p&&(p.aa()&&h.k(p.d)||p.d==="auto"&&"auto")}var d=this.e.currentStyle,f,i,j,e=h.w.ka,g=e.ia,k=e.ga,m=e.fa,l,n,q=0,r=this.nd,s,w,t=null;if(this.eb()){f=new h.w(a);t={I:[]};for(j={};i=f.next();){l=i.j;n=i.d;if(!j.L&&
|
40
|
+
l&e.xb&&n==="linear-gradient"){s={X:[],L:n};for(w={};i=f.next();){l=i.j;n=i.d;if(l&e.wb&&n===")"){w.color&&s.X.push(w);s.X.length>1&&h.p.mb(j,s);break}if(l&m){if(s.ma||s.hb){i=f.B();if(i.j!==g)break;f.next()}w={color:h.ra(n)};i=f.next();if(i.aa())w.Oa=h.k(i.d);else f.B()}else if(l&e.za&&!s.ma&&!w.color&&!s.X.length)s.ma=new h.cc(i.d);else if(b(i)&&!s.hb&&!w.color&&!s.X.length){f.B();s.hb=new h.Sa(f.ea(function(p){return!b(p)},false))}else if(l&g&&n===","){if(w.color){s.X.push(w);w={}}}else break}}else if(!j.L&&
|
41
|
+
l&e.URL){j.Kb=n;j.L="image"}else if(b(i)&&!j.na){f.B();j.na=new h.Sa(f.ea(function(p){return!b(p)},false))}else if(l&k)if(n in this.Pa&&!j.Ma)j.Ma=n;else if(n in this.jd){j.Id=n;if(n in this.Fc)j.Hd=n}else if(n in this.Bc&&!j.Cc)j.Cc=n;else return null;else if(l&m&&!t.color)t.color=h.ra(n);else if(l&g&&n==="/"&&!j.cb){i=f.next();if(i.j&k&&i.d in this.sd)j.cb=new h.Ta(i.d);else if(i=c(i)){l=c(f.next());if(!l){l=i;f.B()}j.cb=new h.Ta(i,l)}else return null}else if(l&g&&n===","&&j.L){j.hd=a.substring(q,
|
42
|
+
f.ch-1);q=f.ch;t.I.push(j);j={}}else return null}j.L&&t.I.push(j)}else this.Zb(function(){var p=d.backgroundPositionX,o=d.backgroundPositionY,v=d.backgroundImage,x=d.backgroundColor;t={};if(x!=="transparent")t.color=h.ra(x);if(v!=="none")t.I=[{L:"image",Kb:(new h.w(v)).next().d,Ma:d.backgroundRepeat,na:new h.Sa((new h.w(p+" "+o)).all())}]});return t&&(t.color||t.I&&t.I[0])?t:null},Zb:function(a){var b=this.e.runtimeStyle,c=b.backgroundImage,d=b.backgroundColor;if(c)b.backgroundImage="";if(d)b.backgroundColor=
|
43
|
+
"";a=a.call(this);if(c)b.backgroundImage=c;if(d)b.backgroundColor=d;return a},sa:h.u.oa(function(){return this.eb()||this.Zb(function(){var a=this.e.currentStyle;return a.backgroundColor+" "+a.backgroundImage+" "+a.backgroundRepeat+" "+a.backgroundPositionX+" "+a.backgroundPositionY})}),eb:h.u.oa(function(){var a=this.e;return a.style[this.xa]||a.currentStyle.getAttribute(this.pa)}),Mb:function(){var a=0;if(h.T<7){a=this.e;a=""+(a.style[h.Ya+"PngFix"]||a.currentStyle.getAttribute(h.G+"png-fix"))===
|
44
|
+
"true"}return a},h:h.u.oa(function(){return(this.eb()||this.Mb())&&!!this.m()})});h.hc=h.u.ba({Rb:["Top","Right","Bottom","Left"],ed:{thin:"1px",medium:"3px",thick:"5px"},da:function(){var a={},b={},c={},d=false,f=true,i=true,j=true;this.$b(function(){for(var e=this.e.currentStyle,g=0,k,m,l,n,q,r,s;g<4;g++){l=this.Rb[g];s=l.charAt(0).toLowerCase();k=b[s]=e["border"+l+"Style"];m=e["border"+l+"Color"];l=e["border"+l+"Width"];if(g>0){if(k!==n)i=false;if(m!==q)f=false;if(l!==r)j=false}n=k;q=m;r=l;c[s]=
|
45
|
+
h.ra(m);l=a[s]=h.k(b[s]==="none"?"0":this.ed[l]||l);if(l.a(this.e)>0)d=true}});return d?{ub:a,xd:b,Hc:c,Dd:j,Ic:f,yd:i}:null},sa:h.u.oa(function(){var a=this.e,b=a.currentStyle,c;a.tagName in h.Vb&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.$b(function(){c=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return c}),$b:function(a){var b=this.e.runtimeStyle,c=b.borderWidth,d=b.borderColor;if(c)b.borderWidth="";if(d)b.borderColor="";a=a.call(this);if(c)b.borderWidth=c;if(d)b.borderColor=
|
46
|
+
d;return a}});(function(){h.Ua=h.u.ba({pa:"border-radius",xa:"borderRadius",da:function(b){var c=null,d,f,i,j,e=false;if(b){f=new h.w(b);var g=function(){for(var k=[],m;(i=f.next())&&i.aa();){j=h.k(i.d);m=j.Fb();if(m<0)return null;if(m>0)e=true;k.push(j)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=g()){if(i){if(i.j&h.w.ka.ia&&i.d==="/")d=g()}else d=b;if(e&&b&&d)c={x:b,y:d}}}return c}});var a=h.k("0");a={tl:a,tr:a,br:a,bl:a};h.Ua.bc={x:a,y:a}})();
|
47
|
+
h.fc=h.u.ba({pa:"border-image",xa:"borderImage",Pa:{stretch:1,round:1,repeat:1,space:1},da:function(a){var b=null,c,d,f,i,j,e,g=0,k,m=h.w.ka,l=m.ga,n=m.ha,q=m.C,r=m.Da;if(a){c=new h.w(a);b={};for(var s=function(p){return p&&p.j&m.ia&&p.d==="/"},w=function(p){return p&&p.j&l&&p.d==="fill"},t=function(){i=c.ea(function(p){return!(p.j&(n|r))});if(w(c.next())&&!b.fill)b.fill=true;else c.B();if(s(c.next())){g++;j=c.ea(function(){return!(d.j&(n|r|q))&&!(d.j&l&&d.d==="auto")});if(s(c.next())){g++;e=c.ea(function(){return!(d.j&
|
48
|
+
(n|q))})}}else c.B()};d=c.next();){a=d.j;f=d.d;if(a&(n|r)&&!i){c.B();t()}else if(w(d)&&!b.fill){b.fill=true;t()}else if(a&l&&this.Pa[f]&&!b.repeat){b.repeat={f:f};if(d=c.next())if(d.j&l&&this.Pa[d.d])b.repeat.rb=d.d;else c.B()}else if(a&m.URL&&!b.src)b.src=f;else return null}if(!b.src||!i||i.length<1||i.length>4||j&&j.length>4||g===1&&j.length<1||e&&e.length>4||g===2&&e.length<1)return null;if(!b.repeat)b.repeat={f:"stretch"};if(!b.repeat.rb)b.repeat.rb=b.repeat.f;a=function(p,o){return{Y:o(p[0]),
|
49
|
+
W:o(p[1]||p[0]),Q:o(p[2]||p[0]),U:o(p[3]||p[1]||p[0])}};b.slice=a(i,function(p){return h.k(p.j&n?p.d+"px":p.d)});b.width=j&&j.length>0?a(j,function(p){return p.j&(q|r)?h.k(p.d):p.d}):(k=this.e.currentStyle)&&{Y:h.k(k.borderTopWidth),W:h.k(k.borderRightWidth),Q:h.k(k.borderBottomWidth),U:h.k(k.borderLeftWidth)};b.wa=a(e||[0],function(p){return p.j&q?h.k(p.d):p.d})}return b}});h.jc=h.u.ba({pa:"box-shadow",xa:"boxShadow",da:function(a){var b,c=h.k,d=h.w.ka,f;if(a){f=new h.w(a);b={wa:[],jb:[]};for(a=
|
50
|
+
function(){for(var i,j,e,g,k,m;i=f.next();){e=i.d;j=i.j;if(j&d.ia&&e===",")break;else if(i.kb()&&!k){f.B();k=f.ea(function(l){return!l.kb()})}else if(j&d.fa&&!g)g=e;else if(j&d.ga&&e==="inset"&&!m)m=true;else return false}i=k&&k.length;if(i>1&&i<5){(m?b.jb:b.wa).push({Ed:c(k[0].d),Fd:c(k[1].d),blur:c(k[2]?k[2].d:"0"),td:c(k[3]?k[3].d:"0"),color:h.ra(g||"currentColor")});return true}return false};a(););}return b&&(b.jb.length||b.wa.length)?b:null}});h.sc=h.u.ba({sa:h.u.oa(function(){var a=this.e.currentStyle;
|
51
|
+
return a.visibility+"|"+a.display}),da:function(){var a=this.e,b=a.runtimeStyle;a=a.currentStyle;var c=b.visibility,d;b.visibility="";d=a.visibility;b.visibility=c;return{Bd:d!=="hidden",Nc:a.display!=="none"}},h:function(){return false}});h.v={V:function(a){function b(c,d,f,i){this.e=c;this.q=d;this.i=f;this.parent=i}h.p.mb(b.prototype,h.v,a);return b},lb:false,M:function(){return false},Wb:function(){this.n();this.h()&&this.S()},qb:function(){this.lb=true},Xb:function(){this.h()?this.S():this.n()},
|
52
|
+
bb:function(a,b){this.Qb(a);for(var c=this.la||(this.la=[]),d=a+1,f=c.length,i;d<f;d++)if(i=c[d])break;c[a]=b;this.A().insertBefore(b,i||null)},ta:function(a){var b=this.la;return b&&b[a]||null},Qb:function(a){var b=this.ta(a),c=this.Ea;if(b&&c){c.removeChild(b);this.la[a]=null}},ua:function(a,b,c,d){var f=this.ab||(this.ab={}),i=f[a];if(!i){i=f[a]=h.p.Ja("shape");if(b)i.appendChild(i[b]=h.p.Ja(b));if(d){c=this.ta(d);if(!c){this.bb(d,doc.createElement("group"+d));c=this.ta(d)}}c.appendChild(i);a=
|
53
|
+
i.style;a.position="absolute";a.left=a.top=0;a.behavior="url(#default#VML)"}return i},db:function(a){var b=this.ab,c=b&&b[a];if(c){c.parentNode.removeChild(c);delete b[a]}return!!c},Hb:function(a){var b=this.e,c=this.q.o(),d=c.g,f=c.f,i,j,e,g,k,m;c=a.x.tl.a(b,d);i=a.y.tl.a(b,f);j=a.x.tr.a(b,d);e=a.y.tr.a(b,f);g=a.x.br.a(b,d);k=a.y.br.a(b,f);m=a.x.bl.a(b,d);a=a.y.bl.a(b,f);d=Math.min(d/(c+j),f/(e+k),d/(m+g),f/(i+a));if(d<1){c*=d;i*=d;j*=d;e*=d;g*=d;k*=d;m*=d;a*=d}return{x:{tl:c,tr:j,br:g,bl:m},y:{tl:i,
|
54
|
+
tr:e,br:k,bl:a}}},qa:function(a,b,c){b=b||1;var d,f,i=this.q.o();f=i.g*b;i=i.f*b;var j=this.i.z,e=Math.floor,g=Math.ceil,k=a?a.Y*b:0,m=a?a.W*b:0,l=a?a.Q*b:0;a=a?a.U*b:0;var n,q,r,s,w;if(c||j.h()){d=this.Hb(c||j.m());c=d.x.tl*b;j=d.y.tl*b;n=d.x.tr*b;q=d.y.tr*b;r=d.x.br*b;s=d.y.br*b;w=d.x.bl*b;b=d.y.bl*b;f="m"+e(a)+","+e(j)+"qy"+e(c)+","+e(k)+"l"+g(f-n)+","+e(k)+"qx"+g(f-m)+","+e(q)+"l"+g(f-m)+","+g(i-s)+"qy"+g(f-r)+","+g(i-l)+"l"+e(w)+","+g(i-l)+"qx"+e(a)+","+g(i-b)+" x e"}else f="m"+e(a)+","+e(k)+
|
55
|
+
"l"+g(f-m)+","+e(k)+"l"+g(f-m)+","+g(i-l)+"l"+e(a)+","+g(i-l)+"xe";return f},A:function(){var a=this.parent.ta(this.F),b;if(!a){a=doc.createElement(this.Ia);b=a.style;b.position="absolute";b.top=b.left=0;this.parent.bb(this.F,a)}return a},n:function(){this.parent.Qb(this.F);delete this.ab;delete this.la}};h.qc=h.v.V({h:function(){var a=this.Ec;for(var b in a)if(a.hasOwnProperty(b)&&a[b].h())return true;return false},M:function(){return this.i.sb.D()},qb:function(){if(this.h()){var a=this.Gb(),b=a,
|
56
|
+
c;a=a.currentStyle;var d=a.position,f=this.A().style,i=0,j=0;j=this.q.o();if(d==="fixed"&&h.T>6){i=j.x;j=j.y;b=d}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){c=b.getBoundingClientRect();b=b.currentStyle;i=j.x-c.left-(parseFloat(b.borderLeftWidth)||0);j=j.y-c.top-(parseFloat(b.borderTopWidth)||0)}else{b=doc.documentElement;i=j.x+b.scrollLeft-b.clientLeft;j=j.y+b.scrollTop-b.clientTop}b="absolute"}f.position=b;f.left=i;f.top=j;f.zIndex=d==="static"?-1:a.zIndex;this.lb=
|
57
|
+
true}},Xb:function(){},Yb:function(){var a=this.i.sb.m();this.A().style.display=a.Bd&&a.Nc?"":"none"},Wb:function(){this.h()?this.Yb():this.n()},Gb:function(){var a=this.e;return a.tagName in h.Vb?a.offsetParent:a},A:function(){var a=this.Ea,b;if(!a){b=this.Gb();a=this.Ea=doc.createElement("css3-container");a.style.direction="ltr";this.Yb();b.parentNode.insertBefore(a,b)}return a},n:function(){var a=this.Ea,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.Ea;delete this.la}});h.dc=h.v.V({F:2,
|
58
|
+
Ia:"background",M:function(){var a=this.i;return a.s.D()||a.z.D()},h:function(){var a=this.i;return a.R.h()||a.z.h()||a.s.h()||a.$.h()&&a.$.m().jb},S:function(){var a=this.q.o();if(a.g&&a.f){this.Oc();this.Pc()}},Oc:function(){var a=this.i.s.m(),b=this.q.o(),c=this.e,d=a&&a.color,f,i;if(d&&d.Z()>0){this.Ib();a=this.ua("bgColor","fill",this.A(),1);f=b.g;b=b.f;a.stroked=false;a.coordsize=f*2+","+b*2;a.coordorigin="1,1";a.path=this.qa(null,2);i=a.style;i.width=f;i.height=b;a.fill.color=d.K(c);c=d.Z();
|
59
|
+
if(c<1)a.fill.opacity=c}else this.db("bgColor")},Pc:function(){var a=this.i.s.m(),b=this.q.o();a=a&&a.I;var c,d,f,i,j;if(a){this.Ib();d=b.g;f=b.f;for(j=a.length;j--;){b=a[j];c=this.ua("bgImage"+j,"fill",this.A(),2);c.stroked=false;c.fill.type="tile";c.fillcolor="none";c.coordsize=d*2+","+f*2;c.coordorigin="1,1";c.path=this.qa(0,2);i=c.style;i.width=d;i.height=f;if(b.L==="linear-gradient")this.Ac(c,b);else{c.fill.src=b.Kb;this.ld(c,j)}}}for(j=a?a.length:0;this.db("bgImage"+j++););},ld:function(a,b){h.p.ac(a.fill.src,
|
60
|
+
function(c){var d=a.fill,f=this.e,i=this.q.o(),j=i.g;i=i.f;var e=this.i,g=e.J.m(),k=g&&g.ub;g=k?k.t.a(f):0;var m=k?k.r.a(f):0,l=k?k.b.a(f):0;k=k?k.l.a(f):0;e=e.s.m().I[b];f=e.na?e.na.coords(f,j-c.g-k-m,i-c.f-g-l):{x:0,y:0};e=e.Ma;l=m=0;var n=j+1,q=i+1,r=h.T===8?0:1;k=Math.round(f.x)+k+0.5;g=Math.round(f.y)+g+0.5;d.position=j>0&&i>0?k/j+","+g/i:"0,0";if(e&&e!=="repeat"){if(e==="repeat-x"||e==="no-repeat"){m=g+1;q=g+c.f+r}if(e==="repeat-y"||e==="no-repeat"){l=k+1;n=k+c.g+r}a.style.clip="rect("+m+"px,"+
|
61
|
+
n+"px,"+q+"px,"+l+"px)"}},this)},Ac:function(a,b){var c=this.e,d=this.q.o(),f=d.g,i=d.f;a=a.fill;d=b.X;var j=d.length,e=Math.PI,g=h.Aa,k=g.Ob,m=g.Cb;b=g.Db(c,f,i,b);g=b.ma;var l=b.Sb,n=b.Tb,q=b.ud,r=b.vd,s=b.Rc,w=b.Sc,t=b.Kc,p=b.Lc;b=b.Nb;f=g%90?Math.atan2(t*f/i,p)/e*180:g+90;f+=180;f%=360;s=k(q,r,g,s,w);i=m(q,r,s[0],s[1]);e=[];s=k(l,n,g,q,r);m=m(l,n,s[0],s[1])/i*100;k=[];for(g=0;g<j;g++)k.push(d[g].Oa?d[g].Oa.a(c,b):g===0?0:g===j-1?b:null);for(g=1;g<j;g++){if(k[g]===null){l=k[g-1];b=g;do n=k[++b];
|
62
|
+
while(n===null);k[g]=l+(n-l)/(b-g+1)}k[g]=Math.max(k[g],k[g-1])}for(g=0;g<j;g++)e.push(m+k[g]/i*100+"% "+d[g].color.K(c));a.angle=f;a.type="gradient";a.method="sigma";a.color=d[0].color.K(c);a.color2=d[j-1].color.K(c);a.colors.value=e.join(",")},Ib:function(){var a=this.e.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},n:function(){h.v.n.call(this);var a=this.e.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});h.gc=h.v.V({F:4,Ia:"border",dd:{submit:1,button:1,
|
63
|
+
reset:1},M:function(){var a=this.i;return a.J.D()||a.z.D()},h:function(){var a=this.i;return(a.R.h()||a.z.h()||a.s.h())&&a.J.h()},S:function(){var a=this.e,b=this.i.J.m(),c=this.q.o(),d=c.g;c=c.f;var f,i,j,e,g;if(b){this.bd();b=this.Vc(2);e=0;for(g=b.length;e<g;e++){j=b[e];f=this.ua("borderPiece"+e,j.stroke?"stroke":"fill",this.A());f.coordsize=d*2+","+c*2;f.coordorigin="1,1";f.path=j.path;i=f.style;i.width=d;i.height=c;f.filled=!!j.fill;f.stroked=!!j.stroke;if(j.stroke){f=f.stroke;f.weight=j.tb+
|
64
|
+
"px";f.color=j.color.K(a);f.dashstyle=j.stroke==="dashed"?"2 2":j.stroke==="dotted"?"1 1":"solid";f.linestyle=j.stroke==="double"&&j.tb>2?"ThinThin":"Single"}else f.fill.color=j.fill.K(a)}for(;this.db("borderPiece"+e++););}},bd:function(){var a=this.e,b=a.currentStyle,c=a.runtimeStyle,d=a.tagName,f=h.T===6,i;if(f&&(d in h.Bb||d==="FIELDSET")||d==="BUTTON"||d==="INPUT"&&a.type in this.dd){c.borderWidth="";d=this.i.J.Rb;for(i=d.length;i--;){f=d[i];c["padding"+f]="";c["padding"+f]=h.k(b["padding"+f]).a(a)+
|
65
|
+
h.k(b["border"+f+"Width"]).a(a)+(!h.T===8&&i%2?1:0)}c.borderWidth=0}else if(f){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=doc.createElement("ie6-mask");d=b.style;d.visibility="visible";for(d.zoom=1;d=a.firstChild;)b.appendChild(d);a.appendChild(b);c.visibility="hidden"}}else c.borderColor="transparent"},Vc:function(a){var b=this.e,c,d,f,i=this.i.J,j=[],e,g,k,m,l=Math.round,n,q,r;if(i.h()){c=i.m();i=c.ub;q=c.xd;r=c.Hc;if(c.Dd&&c.yd&&c.Ic){if(r.t.Z()>0){c=i.t.a(b);k=c/2;j.push({path:this.qa({Y:k,
|
66
|
+
W:k,Q:k,U:k},a),stroke:q.t,color:r.t,tb:c})}}else{a=a||1;c=this.q.o();d=c.g;f=c.f;c=l(i.t.a(b));k=l(i.r.a(b));m=l(i.b.a(b));b=l(i.l.a(b));var s={t:c,r:k,b:m,l:b};b=this.i.z;if(b.h())n=this.Hb(b.m());e=Math.floor;g=Math.ceil;var w=function(o,v){return n?n[o][v]:0},t=function(o,v,x,y,z,B){var F=w("x",o),E=w("y",o),C=o.charAt(1)==="r";o=o.charAt(0)==="b";return F>0&&E>0?(B?"al":"ae")+(C?g(d-F):e(F))*a+","+(o?g(f-E):e(E))*a+","+(e(F)-v)*a+","+(e(E)-x)*a+","+y*65535+","+2949075*(z?1:-1):(B?"m":"l")+(C?
|
67
|
+
d-v:v)*a+","+(o?f-x:x)*a},p=function(o,v,x,y){var z=o==="t"?e(w("x","tl"))*a+","+g(v)*a:o==="r"?g(d-v)*a+","+e(w("y","tr"))*a:o==="b"?g(d-w("x","br"))*a+","+e(f-v)*a:e(v)*a+","+g(f-w("y","bl"))*a;o=o==="t"?g(d-w("x","tr"))*a+","+g(v)*a:o==="r"?g(d-v)*a+","+g(f-w("y","br"))*a:o==="b"?e(w("x","bl"))*a+","+e(f-v)*a:e(v)*a+","+e(w("y","tl"))*a;return x?(y?"m"+o:"")+"l"+z:(y?"m"+z:"")+"l"+o};b=function(o,v,x,y,z,B){var F=o==="l"||o==="r",E=s[o],C,G;if(E>0&&q[o]!=="none"&&r[o].Z()>0){C=s[F?o:v];v=s[F?v:
|
68
|
+
o];G=s[F?o:x];x=s[F?x:o];if(q[o]==="dashed"||q[o]==="dotted"){j.push({path:t(y,C,v,B+45,0,1)+t(y,0,0,B,1,0),fill:r[o]});j.push({path:p(o,E/2,0,1),stroke:q[o],tb:E,color:r[o]});j.push({path:t(z,G,x,B,0,1)+t(z,0,0,B-45,1,0),fill:r[o]})}else j.push({path:t(y,C,v,B+45,0,1)+p(o,E,0,0)+t(z,G,x,B,0,0)+(q[o]==="double"&&E>2?t(z,G-e(G/3),x-e(x/3),B-45,1,0)+p(o,g(E/3*2),1,0)+t(y,C-e(C/3),v-e(v/3),B,1,0)+"x "+t(y,e(C/3),e(v/3),B+45,0,1)+p(o,e(E/3),1,0)+t(z,e(G/3),e(x/3),B,0,0):"")+t(z,0,0,B-45,1,0)+p(o,0,1,
|
69
|
+
0)+t(y,0,0,B,1,0),fill:r[o]})}};b("t","l","r","tl","tr",90);b("r","t","b","tr","br",0);b("b","r","l","br","bl",-90);b("l","b","t","bl","tl",-180)}}return j},n:function(){h.v.n.call(this);this.e.runtimeStyle.borderColor=""}});h.ec=h.v.V({F:5,kd:["t","tr","r","br","b","bl","l","tl","c"],M:function(){return this.i.R.D()},h:function(){return this.i.R.h()},S:function(){this.A();var a=this.i.R.m(),b=this.q.o(),c=this.e,d=this.Pb;h.p.ac(a.src,function(f){function i(t,p,o,v,x){t=d[t].style;var y=Math.max;
|
70
|
+
t.width=y(p,0);t.height=y(o,0);t.left=v;t.top=x}function j(t,p,o){for(var v=0,x=t.length;v<x;v++)d[t[v]].imagedata[p]=o}var e=b.g,g=b.f,k=a.width,m=k.Y.a(c),l=k.W.a(c),n=k.Q.a(c);k=k.U.a(c);var q=a.slice,r=q.Y.a(c),s=q.W.a(c),w=q.Q.a(c);q=q.U.a(c);i("tl",k,m,0,0);i("t",e-k-l,m,k,0);i("tr",l,m,e-l,0);i("r",l,g-m-n,e-l,m);i("br",l,n,e-l,g-n);i("b",e-k-l,n,k,g-n);i("bl",k,n,0,g-n);i("l",k,g-m-n,0,m);i("c",e-k-l,g-m-n,k,m);j(["tl","t","tr"],"cropBottom",(f.f-r)/f.f);j(["tl","l","bl"],"cropRight",(f.g-
|
71
|
+
q)/f.g);j(["bl","b","br"],"cropTop",(f.f-w)/f.f);j(["tr","r","br"],"cropLeft",(f.g-s)/f.g);if(a.repeat.rb==="stretch"){j(["l","r","c"],"cropTop",r/f.f);j(["l","r","c"],"cropBottom",w/f.f)}if(a.repeat.f==="stretch"){j(["t","b","c"],"cropLeft",q/f.g);j(["t","b","c"],"cropRight",s/f.g)}d.c.style.display=a.fill?"":"none"},this)},A:function(){var a=this.parent.ta(this.F),b,c,d,f=this.kd,i=f.length;if(!a){a=doc.createElement("border-image");b=a.style;b.position="absolute";this.Pb={};for(d=0;d<i;d++){c=
|
72
|
+
this.Pb[f[d]]=h.p.Ja("rect");c.appendChild(h.p.Ja("imagedata"));b=c.style;b.behavior="url(#default#VML)";b.position="absolute";b.top=b.left=0;c.imagedata.src=this.i.R.m().src;c.stroked=false;c.filled=false;a.appendChild(c)}this.parent.bb(this.F,a)}return a}});h.ic=h.v.V({F:1,Ia:"outset-box-shadow",M:function(){var a=this.i;return a.$.D()||a.z.D()},h:function(){var a=this.i.$;return a.h()&&a.m().wa[0]},S:function(){function a(C,G,K,I,H,u,A){C=b.ua("shadow"+C+G,"fill",d,j-C);G=C.fill;C.coordsize=m*
|
73
|
+
2+","+l*2;C.coordorigin="1,1";C.stroked=false;C.filled=true;G.color=H.K(c);if(u){G.type="gradienttitle";G.color2=G.color;G.opacity=0}C.path=A;w=C.style;w.left=K;w.top=I;w.width=m;w.height=l;return C}var b=this,c=this.e,d=this.A(),f=this.i,i=f.$.m().wa;f=f.z.m();var j=i.length,e=j,g,k=this.q.o(),m=k.g,l=k.f;k=h.T===8?1:0;for(var n=["tl","tr","br","bl"],q,r,s,w,t,p,o,v,x,y,z,B,F,E;e--;){r=i[e];t=r.Ed.a(c);p=r.Fd.a(c);g=r.td.a(c);o=r.blur.a(c);r=r.color;v=-g-o;if(!f&&o)f=h.Ua.bc;v=this.qa({Y:v,W:v,Q:v,
|
74
|
+
U:v},2,f);if(o){x=(g+o)*2+m;y=(g+o)*2+l;z=o*2/x;B=o*2/y;if(o-g>m/2||o-g>l/2)for(g=4;g--;){q=n[g];F=q.charAt(0)==="b";E=q.charAt(1)==="r";q=a(e,q,t,p,r,o,v);s=q.fill;s.focusposition=(E?1-z:z)+","+(F?1-B:B);s.focussize="0,0";q.style.clip="rect("+((F?y/2:0)+k)+"px,"+(E?x:x/2)+"px,"+(F?y:y/2)+"px,"+((E?x/2:0)+k)+"px)"}else{q=a(e,"",t,p,r,o,v);s=q.fill;s.focusposition=z+","+B;s.focussize=1-z*2+","+(1-B*2)}}else{q=a(e,"",t,p,r,o,v);t=r.Z();if(t<1)q.fill.opacity=t}}}});h.oc=h.v.V({F:6,Ia:"imgEl",M:function(){var a=
|
75
|
+
this.i;return this.e.src!==this.vc||a.z.D()},h:function(){var a=this.i;return a.z.h()||a.s.Mb()},S:function(){this.vc=j;this.ad();var a=this.ua("img","fill",this.A()),b=a.fill,c=this.q.o(),d=c.g;c=c.f;var f=this.i.J.m();f=f&&f.ub;var i=this.e,j=i.src,e=Math.round;a.stroked=false;b.type="frame";b.src=j;b.position=(d?0.5/d:0)+","+(c?0.5/c:0);a.coordsize=d*2+","+c*2;a.coordorigin="1,1";a.path=this.qa(f?{Y:e(f.t.a(i)),W:e(f.r.a(i)),Q:e(f.b.a(i)),U:e(f.l.a(i))}:0,2);a=a.style;a.width=d;a.height=c},ad:function(){this.e.runtimeStyle.filter=
|
76
|
+
"alpha(opacity=0)"},n:function(){h.v.n.call(this);this.e.runtimeStyle.filter=""}});h.nc=h.v.V({M:function(){return this.i.s.D()},h:function(){return this.i.s.h()},S:function(){var a=this.i.s.m(),b,c,d=0,f;if(a){b=[];if(c=a.I)for(;f=c[d++];)b.push(f.L==="linear-gradient"?"url(data:image/svg+xml,"+escape(this.Wc(f))+") "+(f.Ma||"")+" "+this.Dc(f.na):f.hd);a.color&&b.push(a.color.O);this.e.runtimeStyle.background=b.join(", ")}},Dc:function(a){return a?a.N.map(function(b){return b.d}).join(" "):""},Wc:function(a){var b=
|
77
|
+
this.e,c=this.q.o(),d=a.X,f=d.length,i=(a.cb||h.Ta.lc).a(b,c.g,c.f,c.g,c.f);c=i.g;i=i.f;var j=h.Aa.Db(b,c,i,a);a=j.Sb;var e=j.Tb,g=j.Tc,k=j.Uc;j=j.Nb;var m,l,n,q,r;m=[];for(l=0;l<f;l++)m.push(d[l].Oa?d[l].Oa.a(b,j):l===0?0:l===f-1?j:null);for(l=1;l<f;l++)if(m[l]===null){q=m[l-1];n=l;do r=m[++n];while(r===null);m[l]=q+(r-q)/(n-l+1)}c=['<svg width="'+c+'" height="'+i+'" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="'+a/c*100+'%" y1="'+e/i*100+'%" x2="'+
|
78
|
+
g/c*100+'%" y2="'+k/i*100+'%">'];for(l=0;l<f;l++)c.push('<stop offset="'+m[l]/j+'" stop-color="'+d[l].color.K(b)+'" stop-opacity="'+d[l].color.Z()+'"/>');c.push('</linearGradient></defs><rect width="100%" height="100%" fill="url(#g)"/></svg>');return c.join("")},n:function(){this.e.runtimeStyle.background=""}});h.Wa=function(){function a(e){function g(){if(!C){var u,A,D=h.ib,J=e.currentStyle,T=J.getAttribute(c)==="true";H=J.getAttribute(d);H=D>7?H!=="false":H==="true";if(!E){E=1;e.runtimeStyle.zoom=
|
79
|
+
1;J=e;for(var R=1;J=J.previousSibling;)if(J.nodeType===1){R=0;break}if(R)e.className+=" "+h.Va+"first-child"}y.Na();if(T&&(A=y.o())&&(u=doc.documentElement||doc.body)&&(A.y>u.clientHeight||A.x>u.clientWidth||A.y+A.f<0||A.x+A.g<0)){if(!K){K=1;h.Xa.ca(g)}}else{C=1;K=E=0;h.Xa.Ra(g);if(D===9){z={s:new h.vb(e)};B=[z.s];x=[new h.nc(e,y,z)]}else{z={s:new h.vb(e),J:new h.hc(e),R:new h.fc(e),z:new h.Ua(e),$:new h.jc(e),sb:new h.sc(e)};B=[z.s,z.J,z.R,z.z,z.$,z.sb];u=new h.qc(e,y,z);A=[new h.ic(e,y,z,u),new h.dc(e,
|
80
|
+
y,z,u),new h.gc(e,y,z,u),new h.ec(e,y,z,u)];e.tagName==="IMG"&&A.push(new h.oc(e,y,z,u));u.Ec=A;x=[u].concat(A)}if(u=e.currentStyle.getAttribute(h.G+"watch-ancestors")){F=[];u=parseInt(u,10);A=0;for(D=e.parentNode;D&&(u==="NaN"||A++<u);){F.push(D);D.attachEvent("onpropertychange",w);D.attachEvent("onmouseenter",r);D.attachEvent("onmouseleave",s);D=D.parentNode}}if(H){h.Ba.ca(m);h.Ba.pd()}m(1)}if(!G){G=1;e.attachEvent("onmove",k);e.attachEvent("onresize",k);e.attachEvent("onpropertychange",l);e.attachEvent("onmouseenter",
|
81
|
+
r);e.attachEvent("onmouseleave",s);h.Ca.ca(k);h.H.ca(o)}y.Qa()}}function k(){y&&y.Zc()&&m()}function m(u){if(!I)if(C){var A,D;t();if(u||y.md()){A=0;for(D=x.length;A<D;A++)x[A].qb()}if(u||y.rd()){A=0;for(D=x.length;A<D;A++)x[A].Xb()}p()}else E||g()}function l(){var u,A,D;u=event;if(!I&&!(u&&u.propertyName in j))if(C){t();u=0;for(A=x.length;u<A;u++){D=x[u];D.lb||D.qb();D.M()&&D.Wb()}p()}else E||g()}function n(){if(e)e.className+=f}function q(){if(e)e.className=e.className.replace(i,"")}function r(){setTimeout(n,
|
82
|
+
0)}function s(){setTimeout(q,0)}function w(){var u=event.propertyName;if(u==="className"||u==="id")l()}function t(){y.Na();for(var u=B.length;u--;)B[u].Na()}function p(){for(var u=B.length;u--;)B[u].Qa();y.Qa()}function o(){if(G){if(F)for(var u=0,A=F.length,D;u<A;u++){D=F[u];D.detachEvent("onpropertychange",w);D.detachEvent("onmouseenter",r);D.detachEvent("onmouseleave",s)}e.detachEvent("onmove",m);e.detachEvent("onresize",m);e.detachEvent("onpropertychange",l);e.detachEvent("onmouseenter",r);e.detachEvent("onmouseleave",
|
83
|
+
s);h.H.Ra(o);G=0}}function v(){if(!I){var u,A;o();I=1;if(x){u=0;for(A=x.length;u<A;u++)x[u].n()}H&&h.Ba.Ra(m);h.Ca.Ra(m);x=y=z=B=F=e=null}}var x,y=new Q(e),z,B,F,E,C,G,K,I,H;this.cd=g;this.update=m;this.n=v;this.Qc=e}var b={},c=h.G+"lazy-init",d=h.G+"poll",f=" "+h.Va+"hover",i=new RegExp("\\b"+h.Va+"hover\\b","g"),j={background:1,bgColor:1,display:1};a.Xc=function(e){var g=h.p.va(e);return b[g]||(b[g]=new a(e))};a.n=function(e){e=h.p.va(e);var g=b[e];if(g){g.n();delete b[e]}};a.Mc=function(){var e=
|
84
|
+
[],g;if(b){for(var k in b)if(b.hasOwnProperty(k)){g=b[k];e.push(g.Qc);g.n()}b={}}return e};return a}();h.supportsVML=h.Ub;h.attach=function(a){h.ib<10&&h.Ub&&h.Wa.Xc(a).cd()};h.detach=function(a){h.Wa.n(a)}};
|
85
|
+
var S=window.PIE,U=element;function init(){S&&doc.media!=="print"&&S.attach(U)}function cleanup(){if(S){S.detach(U);S=U=0}}U.readyState==="complete"&&init();
|
86
|
+
</script>
|
87
|
+
</PUBLIC:COMPONENT>
|
@@ -1,81 +1,81 @@
|
|
1
|
-
<!--
|
2
|
-
PIE: CSS3 rendering for IE
|
3
|
-
Version 1.0beta4
|
4
|
-
http://css3pie.com
|
5
|
-
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
|
6
|
-
-->
|
7
|
-
<PUBLIC:COMPONENT lightWeight="true">
|
8
|
-
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
|
9
|
-
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
|
10
|
-
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
|
11
|
-
|
12
|
-
<script type="text/javascript">
|
13
|
-
var doc = element.document;var g=window.PIE;
|
14
|
-
if(!g){g=window.PIE={F:"-pie-",Sa:"Pie",Pa:"pie_",Jb:{TD:1,TH:1}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(L){}g.J=function(){for(var a=4,b=doc.createElement("div"),c=b.getElementsByTagName("i");b.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]--\>",c[0];);return a}();if(g.J===6)g.F=g.F.replace(/^-/,"");g.Ab=doc.documentMode||g.J;(function(){var a,b=0,c={};g.p={Ga:function(e){if(!a){a=doc.createDocumentFragment();a.namespaces.add("css3vml","urn:schemas-microsoft-com:vml")}return a.createElement("css3vml:"+e)},
|
15
|
-
ta:function(e){return e&&e._pieId||(e._pieId=++b)},fb:function(e){var f,h,j,d,i=arguments;f=1;for(h=i.length;f<h;f++){d=i[f];for(j in d)if(d.hasOwnProperty(j))e[j]=d[j]}return e},Pb:function(e,f,h){var j=c[e],d,i;if(j)Object.prototype.toString.call(j)==="[object Array]"?j.push([f,h]):f.call(h,j);else{i=c[e]=[[f,h]];d=new Image;d.onload=function(){j=c[e]={i:d.width,f:d.height};for(var k=0,m=i.length;k<m;k++)i[k][0].call(i[k][1],j);d.onload=null};d.src=e}}}})();g.ia=function(){this.hb=[];this.Db={}};
|
16
|
-
g.ia.prototype={aa:function(a){var b=g.p.ta(a),c=this.Db,e=this.hb;if(!(b in c)){c[b]=e.length;e.push(a)}},Ma:function(a){a=g.p.ta(a);var b=this.Db;if(a&&a in b){delete this.hb[b[a]];delete b[a]}},Ia:function(){for(var a=this.hb,b=a.length;b--;)a[b]&&a[b]()}};g.ya=new g.ia;g.ya.Tc=function(){var a=this;if(!a.Uc){setInterval(function(){a.Ia()},250);a.Uc=1}};g.G=new g.ia;window.attachEvent("onbeforeunload",function(){g.G.Ia()});g.G.Ea=function(a,b,c){a.attachEvent(b,c);this.aa(function(){a.detachEvent(b,
|
17
|
-
c)})};(function(){function a(){g.za.Ia()}g.za=new g.ia;g.G.Ea(window,"onresize",a)})();(function(){function a(){g.Ra.Ia()}g.Ra=new g.ia;g.G.Ea(window,"onscroll",a);g.za.aa(a)})();(function(){function a(){c=g.Qa.wc()}function b(){if(c){for(var e=0,f=c.length;e<f;e++)g.attach(c[e]);c=0}}var c;g.G.Ea(window,"onbeforeprint",a);g.G.Ea(window,"onafterprint",b)})();g.hd=function(){function a(i){this.V=i}var b=doc.createElement("length-calc"),c=doc.documentElement,e=b.style,f={},h=["mm","cm","in","pt","pc"],
|
18
|
-
j=h.length,d={};e.position="absolute";e.top=e.left="-9999px";for(c.appendChild(b);j--;){b.style.width="100"+h[j];f[h[j]]=b.offsetWidth/100}c.removeChild(b);a.prototype={ib:/(px|em|ex|mm|cm|in|pt|pc|%)$/,vb:function(){var i=this.Lc;if(i===void 0)i=this.Lc=parseFloat(this.V);return i},ab:function(){var i=this.ad;if(!i)i=this.ad=(i=this.V.match(this.ib))&&i[0]||"px";return i},a:function(i,k){var m=this.vb(),l=this.ab();switch(l){case "px":return m;case "%":return m*(typeof k==="function"?k():k)/100;
|
19
|
-
case "em":return m*this.tb(i);case "ex":return m*this.tb(i)/2;default:return m*f[l]}},tb:function(i){var k=i.currentStyle.fontSize;if(k.indexOf("px")>0)return parseFloat(k);else{b.style.width="1em";i.appendChild(b);k=b.offsetWidth;b.parentNode===i&&i.removeChild(b);return k}}};g.k=function(i){return d[i]||(d[i]=new a(i))};return a}();g.Na=function(){function a(f){this.U=f}var b=g.k("50%"),c={top:1,center:1,bottom:1},e={left:1,center:1,right:1};a.prototype={Dc:function(){if(!this.sb){var f=this.U,
|
20
|
-
h=f.length,j=g.u,d=j.ja,i=g.k("0");d=d.fa;i=["left",i,"top",i];if(h===1){f.push(new j.Ta(d,"center"));h++}if(h===2){d&(f[0].h|f[1].h)&&f[0].d in c&&f[1].d in e&&f.push(f.shift());if(f[0].h&d)if(f[0].d==="center")i[1]=b;else i[0]=f[0].d;else if(f[0].Y())i[1]=g.k(f[0].d);if(f[1].h&d)if(f[1].d==="center")i[3]=b;else i[2]=f[1].d;else if(f[1].Y())i[3]=g.k(f[1].d)}this.sb=i}return this.sb},coords:function(f,h,j){var d=this.Dc(),i=d[1].a(f,h);f=d[3].a(f,j);return{x:d[0]==="right"?h-i:i,y:d[2]==="bottom"?
|
21
|
-
j-f:f}}};return a}();g.Rb=function(){function a(b){this.V=b}a.prototype={ib:/[a-z]+$/i,ab:function(){return this.lc||(this.lc=this.V.match(this.ib)[0].toLowerCase())},vc:function(){var b=this.fc,c;if(b===undefined){b=this.ab();c=parseFloat(this.V,10);b=this.fc=b==="deg"?c:b==="rad"?c/Math.PI*180:b==="grad"?c/400*360:b==="turn"?c*360:0}return b}};return a}();g.$b=function(){function a(c){this.V=c}var b={};a.Sc=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;a.gb=
|
22
|
-
{aliceblue:"F0F8FF",antiquewhite:"FAEBD7",aqua:"0FF",aquamarine:"7FFFD4",azure:"F0FFFF",beige:"F5F5DC",bisque:"FFE4C4",black:"000",blanchedalmond:"FFEBCD",blue:"00F",blueviolet:"8A2BE2",brown:"A52A2A",burlywood:"DEB887",cadetblue:"5F9EA0",chartreuse:"7FFF00",chocolate:"D2691E",coral:"FF7F50",cornflowerblue:"6495ED",cornsilk:"FFF8DC",crimson:"DC143C",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgoldenrod:"B8860B",darkgray:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",
|
23
|
-
darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkseagreen:"8FBC8F",darkslateblue:"483D8B",darkslategray:"2F4F4F",darkturquoise:"00CED1",darkviolet:"9400D3",deeppink:"FF1493",deepskyblue:"00BFFF",dimgray:"696969",dodgerblue:"1E90FF",firebrick:"B22222",floralwhite:"FFFAF0",forestgreen:"228B22",fuchsia:"F0F",gainsboro:"DCDCDC",ghostwhite:"F8F8FF",gold:"FFD700",goldenrod:"DAA520",gray:"808080",green:"008000",greenyellow:"ADFF2F",honeydew:"F0FFF0",hotpink:"FF69B4",indianred:"CD5C5C",
|
24
|
-
indigo:"4B0082",ivory:"FFFFF0",khaki:"F0E68C",lavender:"E6E6FA",lavenderblush:"FFF0F5",lawngreen:"7CFC00",lemonchiffon:"FFFACD",lightblue:"ADD8E6",lightcoral:"F08080",lightcyan:"E0FFFF",lightgoldenrodyellow:"FAFAD2",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightsalmon:"FFA07A",lightseagreen:"20B2AA",lightskyblue:"87CEFA",lightslategray:"789",lightsteelblue:"B0C4DE",lightyellow:"FFFFE0",lime:"0F0",limegreen:"32CD32",linen:"FAF0E6",magenta:"F0F",maroon:"800000",mediumauqamarine:"66CDAA",
|
25
|
-
mediumblue:"0000CD",mediumorchid:"BA55D3",mediumpurple:"9370D8",mediumseagreen:"3CB371",mediumslateblue:"7B68EE",mediumspringgreen:"00FA9A",mediumturquoise:"48D1CC",mediumvioletred:"C71585",midnightblue:"191970",mintcream:"F5FFFA",mistyrose:"FFE4E1",moccasin:"FFE4B5",navajowhite:"FFDEAD",navy:"000080",oldlace:"FDF5E6",olive:"808000",olivedrab:"688E23",orange:"FFA500",orangered:"FF4500",orchid:"DA70D6",palegoldenrod:"EEE8AA",palegreen:"98FB98",paleturquoise:"AFEEEE",palevioletred:"D87093",papayawhip:"FFEFD5",
|
26
|
-
peachpuff:"FFDAB9",peru:"CD853F",pink:"FFC0CB",plum:"DDA0DD",powderblue:"B0E0E6",purple:"800080",red:"F00",rosybrown:"BC8F8F",royalblue:"4169E1",saddlebrown:"8B4513",salmon:"FA8072",sandybrown:"F4A460",seagreen:"2E8B57",seashell:"FFF5EE",sienna:"A0522D",silver:"C0C0C0",skyblue:"87CEEB",slateblue:"6A5ACD",slategray:"708090",snow:"FFFAFA",springgreen:"00FF7F",steelblue:"4682B4",tan:"D2B48C",teal:"008080",thistle:"D8BFD8",tomato:"FF6347",turquoise:"40E0D0",violet:"EE82EE",wheat:"F5DEB3",white:"FFF",
|
27
|
-
whitesmoke:"F5F5F5",yellow:"FF0",yellowgreen:"9ACD32"};a.prototype={parse:function(){if(!this.Ca){var c=this.V,e;if(e=c.match(a.Sc)){this.Ca="rgb("+e[1]+","+e[2]+","+e[3]+")";this.qb=parseFloat(e[4])}else{if((e=c.toLowerCase())in a.gb)c="#"+a.gb[e];this.Ca=c;this.qb=c==="transparent"?0:1}}},O:function(c){this.parse();return this.Ca==="currentColor"?c.currentStyle.color:this.Ca},la:function(){this.parse();return this.qb}};g.pa=function(c){return b[c]||(b[c]=new a(c))};return a}();g.u=function(){function a(c){this.Ha=
|
28
|
-
c;this.ch=0;this.U=[];this.wa=0}var b=a.ja={xa:1,ob:2,ea:4,ac:8,pb:16,fa:32,A:64,ga:128,ha:256,Aa:512,dc:1024,URL:2048};a.Ta=function(c,e){this.h=c;this.d=e};a.Ta.prototype={db:function(){return this.h&b.A||this.h&b.ga&&this.d==="0"},Y:function(){return this.db()||this.h&b.Aa}};a.prototype={dd:/\s/,Mc:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,zb:/^\-?[_a-z][\w-]*/i,Yc:/^("([^"]*)"|'([^']*)')/,Fc:/^#([\da-f]{6}|[\da-f]{3})/i,bd:{px:b.A,em:b.A,ex:b.A,mm:b.A,cm:b.A,
|
29
|
-
"in":b.A,pt:b.A,pc:b.A,deg:b.xa,rad:b.xa,grad:b.xa},sc:{rgb:1,rgba:1,hsl:1,hsla:1},next:function(c){function e(t,n){t=new a.Ta(t,n);if(!c){k.U.push(t);k.wa++}return t}function f(){k.wa++;return null}var h,j,d,i,k=this;if(this.wa<this.U.length)return this.U[this.wa++];for(;this.dd.test(this.Ha.charAt(this.ch));)this.ch++;if(this.ch>=this.Ha.length)return f();j=this.ch;h=this.Ha.substring(this.ch);d=h.charAt(0);switch(d){case "#":if(i=h.match(this.Fc)){this.ch+=i[0].length;return e(b.ea,i[0])}break;
|
30
|
-
case '"':case "'":if(i=h.match(this.Yc)){this.ch+=i[0].length;return e(b.dc,i[2]||i[3]||"")}break;case "/":case ",":this.ch++;return e(b.ha,d);case "u":if(i=h.match(this.url)){this.ch+=i[0].length;return e(b.URL,i[2]||i[3]||i[4]||"")}}if(i=h.match(this.Mc)){d=i[0];this.ch+=d.length;if(h.charAt(d.length)==="%"){this.ch++;return e(b.Aa,d+"%")}if(i=h.substring(d.length).match(this.zb)){d+=i[0];this.ch+=i[0].length;return e(this.bd[i[0].toLowerCase()]||b.ac,d)}return e(b.ga,d)}if(i=h.match(this.zb)){d=
|
31
|
-
i[0];this.ch+=d.length;if(d.toLowerCase()in g.$b.gb||d==="currentColor")return e(b.ea,d);if(h.charAt(d.length)==="("){this.ch++;if(d.toLowerCase()in this.sc){h=function(t){return t&&t.h&b.ga};i=function(t){return t&&t.h&(b.ga|b.Aa)};var m=function(t,n){return t&&t.d===n},l=function(){return k.next(1)};if((d.charAt(0)==="r"?i(l()):h(l()))&&m(l(),",")&&i(l())&&m(l(),",")&&i(l())&&(d==="rgb"||d==="hsa"||m(l(),",")&&h(l()))&&m(l(),")"))return e(b.ea,this.Ha.substring(j,this.ch));return f()}return e(b.pb,
|
32
|
-
d)}return e(b.fa,d)}this.ch++;return e(b.ob,d)},z:function(){return this.U[this.wa-- -2]},all:function(){for(;this.next(););return this.U},da:function(c,e){for(var f=[],h,j;h=this.next();){if(c(h)){j=true;this.z();break}f.push(h)}return e&&!j?null:f}};return a}();var M=function(a){this.e=a};M.prototype={K:0,Qc:function(){var a=this.Ua,b;return!a||(b=this.o())&&(a.x!==b.x||a.y!==b.y)},Vc:function(){var a=this.Ua,b;return!a||(b=this.o())&&(a.i!==b.i||a.f!==b.f)},ub:function(){var a=this.e.getBoundingClientRect();
|
33
|
-
return{x:a.left,y:a.top,i:a.right-a.left,f:a.bottom-a.top}},o:function(){return this.K?this.Da||(this.Da=this.ub()):this.ub()},Ec:function(){return!!this.Ua},Ja:function(){++this.K},La:function(){if(!--this.K){if(this.Da)this.Ua=this.Da;this.Da=null}}};(function(){function a(b){var c=g.p.ta(b);return function(){if(this.K){var e=this.rb||(this.rb={});return c in e?e[c]:(e[c]=b.call(this))}else return b.call(this)}}g.s={K:0,$:function(b){function c(e){this.e=e}g.p.fb(c.prototype,g.s,b);c.kc={};return c},
|
34
|
-
m:function(){var b=this.qa(),c=this.constructor.kc;return b?b in c?c[b]:(c[b]=this.ba(b)):null},qa:a(function(){var b=this.e,c=this.constructor,e=b.style;b=b.currentStyle;var f=this.na,h=this.va,j=c.ic||(c.ic=g.F+f);c=c.jc||(c.jc=g.Sa+h.charAt(0).toUpperCase()+h.substring(1));return e[c]||b.getAttribute(j)||e[h]||b.getAttribute(f)}),g:a(function(){return!!this.m()}),D:a(function(){var b=this.qa(),c=b!==this.gc;this.gc=b;return c}),ma:a,Ja:function(){++this.K},La:function(){--this.K||delete this.rb}}})();
|
35
|
-
g.Tb=g.s.$({na:g.F+"background",va:g.Sa+"Background",nc:{scroll:1,fixed:1,local:1},Ka:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},Nc:{"padding-box":1,"border-box":1,"content-box":1},rc:{"padding-box":1,"border-box":1},Rc:{top:1,right:1,bottom:1,left:1,center:1},Wc:{contain:1,cover:1},ba:function(a){function b(u){return u.Y()||u.h&i&&u.d in t}function c(u){return u.Y()&&g.k(u.d)||u.d==="auto"&&"auto"}var e=this.e.currentStyle,f,h,j=g.u.ja,d=j.ha,i=j.fa,k=j.ea,m,l,t=this.Rc,n,p,s=null;if(this.$a()){a=
|
36
|
-
new g.u(a);s={M:[]};for(h={};f=a.next();){m=f.h;l=f.d;if(!h.P&&m&j.pb&&l==="linear-gradient"){n={ca:[],P:l};for(p={};f=a.next();){m=f.h;l=f.d;if(m&j.ob&&l===")"){p.color&&n.ca.push(p);n.ca.length>1&&g.p.fb(h,n);break}if(m&k){if(n.Xa||n.bb){f=a.z();if(f.h!==d)break;a.next()}p={color:g.pa(l)};f=a.next();if(f.Y())p.Fb=g.k(f.d);else a.z()}else if(m&j.xa&&!n.Xa&&!p.color&&!n.ca.length)n.Xa=new g.Rb(f.d);else if(b(f)&&!n.bb&&!p.color&&!n.ca.length){a.z();n.bb=new g.Na(a.da(function(u){return!b(u)},false))}else if(m&
|
37
|
-
d&&l===","){if(p.color){n.ca.push(p);p={}}}else break}}else if(!h.P&&m&j.URL){h.Cb=l;h.P="image"}else if(b(f)&&!h.size){a.z();h.Ya=new g.Na(a.da(function(u){return!b(u)},false))}else if(m&i)if(l in this.Ka)h.Bb=l;else if(l in this.Nc){h.kd=l;if(l in this.rc)h.clip=l}else{if(l in this.nc)h.jd=l}else if(m&k&&!s.color)s.color=g.pa(l);else if(m&d)if(l==="/"){f=a.next();m=f.h;l=f.d;if(m&i&&l in this.Wc)h.size=l;else if(l=c(f))h.size={i:l,f:c(a.next())||a.z()&&l}}else{if(l===","&&h.P){s.M.push(h);h={}}}else return null}h.P&&
|
38
|
-
s.M.push(h)}else this.Nb(function(){var u=e.backgroundPositionX,w=e.backgroundPositionY,r=e.backgroundImage,o=e.backgroundColor;s={};if(o!=="transparent")s.color=g.pa(o);if(r!=="none")s.M=[{P:"image",Cb:(new g.u(r)).next().d,Bb:e.backgroundRepeat,Ya:new g.Na((new g.u(u+" "+w)).all())}]});return s&&(s.color||s.M&&s.M[0])?s:null},Nb:function(a){var b=this.e.runtimeStyle,c=b.backgroundImage,e=b.backgroundColor;if(c)b.backgroundImage="";if(e)b.backgroundColor="";a=a.call(this);if(c)b.backgroundImage=
|
39
|
-
c;if(e)b.backgroundColor=e;return a},qa:g.s.ma(function(){return this.$a()||this.Nb(function(){var a=this.e.currentStyle;return a.backgroundColor+" "+a.backgroundImage+" "+a.backgroundRepeat+" "+a.backgroundPositionX+" "+a.backgroundPositionY})}),$a:g.s.ma(function(){var a=this.e;return a.style[this.va]||a.currentStyle.getAttribute(this.na)}),Eb:function(){var a=0;if(g.J<7){a=this.e;a=""+(a.style[g.Sa+"PngFix"]||a.currentStyle.getAttribute(g.F+"png-fix"))==="true"}return a},g:g.s.ma(function(){return(this.$a()||
|
40
|
-
this.Eb())&&!!this.m()})});g.Xb=g.s.$({Ib:["Top","Right","Bottom","Left"],Kc:{thin:"1px",medium:"3px",thick:"5px"},ba:function(){var a={},b={},c={},e=false,f=true,h=true,j=true;this.Ob(function(){for(var d=this.e.currentStyle,i=0,k,m,l,t,n,p,s;i<4;i++){l=this.Ib[i];s=l.charAt(0).toLowerCase();k=b[s]=d["border"+l+"Style"];m=d["border"+l+"Color"];l=d["border"+l+"Width"];if(i>0){if(k!==t)h=false;if(m!==n)f=false;if(l!==p)j=false}t=k;n=m;p=l;c[s]=g.pa(m);l=a[s]=g.k(b[s]==="none"?"0":this.Kc[l]||l);if(l.a(this.e)>
|
41
|
-
0)e=true}});return e?{nb:a,Zc:b,tc:c,ed:j,uc:f,$c:h}:null},qa:g.s.ma(function(){var a=this.e,b=a.currentStyle,c;a.tagName in g.Jb&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.Ob(function(){c=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return c}),Ob:function(a){var b=this.e.runtimeStyle,c=b.borderWidth,e=b.borderColor;if(c)b.borderWidth="";if(e)b.borderColor="";a=a.call(this);if(c)b.borderWidth=c;if(e)b.borderColor=e;return a}});(function(){g.Oa=g.s.$({na:"border-radius",
|
42
|
-
va:"borderRadius",ba:function(b){var c=null,e,f,h,j,d=false;if(b){f=new g.u(b);var i=function(){for(var k=[],m;(h=f.next())&&h.Y();){j=g.k(h.d);m=j.vb();if(m<0)return null;if(m>0)d=true;k.push(j)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=i()){if(h){if(h.h&g.u.ja.ha&&h.d==="/")e=i()}else e=b;if(d&&b&&e)c={x:b,y:e}}}return c}});var a=g.k("0");a={tl:a,tr:a,br:a,bl:a};g.Oa.Qb={x:a,y:a}})();g.Vb=g.s.$({na:"border-image",va:"borderImage",Ka:{stretch:1,
|
43
|
-
round:1,repeat:1,space:1},ba:function(a){var b=null,c,e,f,h,j,d,i=0,k,m=g.u.ja,l=m.fa,t=m.ga,n=m.A,p=m.Aa;if(a){c=new g.u(a);b={};for(var s=function(r){return r&&r.h&m.ha&&r.d==="/"},u=function(r){return r&&r.h&l&&r.d==="fill"},w=function(){h=c.da(function(r){return!(r.h&(t|p))});if(u(c.next())&&!b.fill)b.fill=true;else c.z();if(s(c.next())){i++;j=c.da(function(){return!(e.h&(t|p|n))&&!(e.h&l&&e.d==="auto")});if(s(c.next())){i++;d=c.da(function(){return!(e.h&(t|n))})}}else c.z()};e=c.next();){a=e.h;
|
44
|
-
f=e.d;if(a&(t|p)&&!h){c.z();w()}else if(u(e)&&!b.fill){b.fill=true;w()}else if(a&l&&this.Ka[f]&&!b.repeat){b.repeat={f:f};if(e=c.next())if(e.h&l&&this.Ka[e.d])b.repeat.kb=e.d;else c.z()}else if(a&m.URL&&!b.src)b.src=f;else return null}if(!b.src||!h||h.length<1||h.length>4||j&&j.length>4||i===1&&j.length<1||d&&d.length>4||i===2&&d.length<1)return null;if(!b.repeat)b.repeat={f:"stretch"};if(!b.repeat.kb)b.repeat.kb=b.repeat.f;a=function(r,o){return{T:o(r[0]),S:o(r[1]||r[0]),L:o(r[2]||r[0]),Q:o(r[3]||
|
45
|
-
r[1]||r[0])}};b.slice=a(h,function(r){return g.k(r.h&t?r.d+"px":r.d)});b.width=j&&j.length>0?a(j,function(r){return r.h&(n|p)?g.k(r.d):r.d}):(k=this.e.currentStyle)&&{T:g.k(k.borderTopWidth),S:g.k(k.borderRightWidth),L:g.k(k.borderBottomWidth),Q:g.k(k.borderLeftWidth)};b.ua=a(d||[0],function(r){return r.h&n?g.k(r.d):r.d})}return b}});g.Zb=g.s.$({na:"box-shadow",va:"boxShadow",ba:function(a){var b,c=g.k,e=g.u.ja,f;if(a){f=new g.u(a);b={ua:[],cb:[]};for(a=function(){for(var h,j,d,i,k,m;h=f.next();){d=
|
46
|
-
h.d;j=h.h;if(j&e.ha&&d===",")break;else if(h.db()&&!k){f.z();k=f.da(function(l){return!l.db()})}else if(j&e.ea&&!i)i=d;else if(j&e.fa&&d==="inset"&&!m)m=true;else return false}h=k&&k.length;if(h>1&&h<5){(m?b.cb:b.ua).push({fd:c(k[0].d),gd:c(k[1].d),blur:c(k[2]?k[2].d:"0"),Xc:c(k[3]?k[3].d:"0"),color:g.pa(i||"currentColor")});return true}return false};a(););}return b&&(b.cb.length||b.ua.length)?b:null}});g.ec=g.s.$({qa:g.s.ma(function(){var a=this.e.currentStyle;return a.visibility+"|"+a.display}),
|
47
|
-
ba:function(){var a=this.e,b=a.runtimeStyle;a=a.currentStyle;var c=b.visibility,e;b.visibility="";e=a.visibility;b.visibility=c;return{cd:e!=="hidden",xc:a.display!=="none"}},g:function(){return false}});g.B={Z:function(a){function b(c,e,f,h){this.e=c;this.q=e;this.j=f;this.parent=h}g.p.fb(b.prototype,g.B,a);return b},eb:false,R:function(){return false},Kb:function(){this.n();this.g()&&this.X()},jb:function(){this.eb=true},Lb:function(){this.g()?this.X():this.n()},Wa:function(a,b){this.Hb(a);for(var c=
|
48
|
-
this.ka||(this.ka=[]),e=a+1,f=c.length,h;e<f;e++)if(h=c[e])break;c[a]=b;this.w().insertBefore(b,h||null)},ra:function(a){var b=this.ka;return b&&b[a]||null},Hb:function(a){var b=this.ra(a),c=this.Ba;if(b&&c){c.removeChild(b);this.ka[a]=null}},sa:function(a,b,c,e){var f=this.Va||(this.Va={}),h=f[a];if(!h){h=f[a]=g.p.Ga("shape");if(b)h.appendChild(h[b]=g.p.Ga(b));if(e){c=this.ra(e);if(!c){this.Wa(e,doc.createElement("group"+e));c=this.ra(e)}}c.appendChild(h);a=h.style;a.position="absolute";a.left=a.top=
|
49
|
-
0;a.behavior="url(#default#VML)"}return h},Za:function(a){var b=this.Va,c=b&&b[a];if(c){c.parentNode.removeChild(c);delete b[a]}return!!c},xb:function(a){var b=this.e,c=this.q.o(),e=c.i,f=c.f,h,j,d,i,k,m;c=a.x.tl.a(b,e);h=a.y.tl.a(b,f);j=a.x.tr.a(b,e);d=a.y.tr.a(b,f);i=a.x.br.a(b,e);k=a.y.br.a(b,f);m=a.x.bl.a(b,e);a=a.y.bl.a(b,f);e=Math.min(e/(c+j),f/(d+k),e/(m+i),f/(h+a));if(e<1){c*=e;h*=e;j*=e;d*=e;i*=e;k*=e;m*=e;a*=e}return{x:{tl:c,tr:j,br:i,bl:m},y:{tl:h,tr:d,br:k,bl:a}}},oa:function(a,b,c){b=
|
50
|
-
b||1;var e,f,h=this.q.o();f=h.i*b;h=h.f*b;var j=this.j.v,d=Math.floor,i=Math.ceil,k=a?a.T*b:0,m=a?a.S*b:0,l=a?a.L*b:0;a=a?a.Q*b:0;var t,n,p,s,u;if(c||j.g()){e=this.xb(c||j.m());c=e.x.tl*b;j=e.y.tl*b;t=e.x.tr*b;n=e.y.tr*b;p=e.x.br*b;s=e.y.br*b;u=e.x.bl*b;b=e.y.bl*b;f="m"+d(a)+","+d(j)+"qy"+d(c)+","+d(k)+"l"+i(f-t)+","+d(k)+"qx"+i(f-m)+","+d(n)+"l"+i(f-m)+","+i(h-s)+"qy"+i(f-p)+","+i(h-l)+"l"+d(u)+","+i(h-l)+"qx"+d(a)+","+i(h-b)+" x e"}else f="m"+d(a)+","+d(k)+"l"+i(f-m)+","+d(k)+"l"+i(f-m)+","+i(h-
|
51
|
-
l)+"l"+d(a)+","+i(h-l)+"xe";return f},w:function(){var a=this.parent.ra(this.C),b;if(!a){a=doc.createElement(this.Fa);b=a.style;b.position="absolute";b.top=b.left=0;this.parent.Wa(this.C,a)}return a},n:function(){this.parent.Hb(this.C);delete this.Va;delete this.ka}};g.cc=g.B.Z({g:function(){var a=this.oc;for(var b in a)if(a.hasOwnProperty(b)&&a[b].g())return true;return false},R:function(){return this.j.lb.D()},jb:function(){if(this.g()){var a=this.wb(),b=a,c;a=a.currentStyle;var e=a.position,f=
|
52
|
-
this.w().style,h=0,j=0;j=this.q.o();if(e==="fixed"&&g.J>6){h=j.x;j=j.y;b=e}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){c=b.getBoundingClientRect();b=b.currentStyle;h=j.x-c.left-(parseFloat(b.borderLeftWidth)||0);j=j.y-c.top-(parseFloat(b.borderTopWidth)||0)}else{b=doc.documentElement;h=j.x+b.scrollLeft-b.clientLeft;j=j.y+b.scrollTop-b.clientTop}b="absolute"}f.position=b;f.left=h;f.top=j;f.zIndex=e==="static"?-1:a.zIndex;this.eb=true}},Lb:function(){},Mb:function(){var a=
|
53
|
-
this.j.lb.m();this.w().style.display=a.cd&&a.xc?"":"none"},Kb:function(){this.g()?this.Mb():this.n()},wb:function(){var a=this.e;return a.tagName in g.Jb?a.offsetParent:a},w:function(){var a=this.Ba,b;if(!a){b=this.wb();a=this.Ba=doc.createElement("css3-container");a.style.direction="ltr";this.Mb();b.parentNode.insertBefore(a,b)}return a},n:function(){var a=this.Ba,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.Ba;delete this.ka}});g.Sb=g.B.Z({C:2,Fa:"background",R:function(){var a=this.j;
|
54
|
-
return a.H.D()||a.v.D()},g:function(){var a=this.j;return a.N.g()||a.v.g()||a.H.g()||a.W.g()&&a.W.m().cb},X:function(){var a=this.q.o();if(a.i&&a.f){this.yc();this.zc()}},yc:function(){var a=this.j.H.m(),b=this.q.o(),c=this.e,e=a&&a.color,f,h;if(e&&e.la()>0){this.yb();a=this.sa("bgColor","fill",this.w(),1);f=b.i;b=b.f;a.stroked=false;a.coordsize=f*2+","+b*2;a.coordorigin="1,1";a.path=this.oa(null,2);h=a.style;h.width=f;h.height=b;a.fill.color=e.O(c);c=e.la();if(c<1)a.fill.opacity=c}else this.Za("bgColor")},
|
55
|
-
zc:function(){var a=this.j.H.m(),b=this.q.o();a=a&&a.M;var c,e,f,h,j;if(a){this.yb();e=b.i;f=b.f;for(j=a.length;j--;){b=a[j];c=this.sa("bgImage"+j,"fill",this.w(),2);c.stroked=false;c.fill.type="tile";c.fillcolor="none";c.coordsize=e*2+","+f*2;c.coordorigin="1,1";c.path=this.oa(0,2);h=c.style;h.width=e;h.height=f;if(b.P==="linear-gradient")this.mc(c,b);else{c.fill.src=b.Cb;this.Pc(c,j)}}}for(j=a?a.length:0;this.Za("bgImage"+j++););},Pc:function(a,b){g.p.Pb(a.fill.src,function(c){var e=a.fill,f=this.e,
|
56
|
-
h=this.q.o(),j=h.i;h=h.f;var d=this.j,i=d.I.m(),k=i&&i.nb;i=k?k.t.a(f):0;var m=k?k.r.a(f):0,l=k?k.b.a(f):0;k=k?k.l.a(f):0;d=d.H.m().M[b];f=d.Ya?d.Ya.coords(f,j-c.i-k-m,h-c.f-i-l):{x:0,y:0};d=d.Bb;l=m=0;var t=j+1,n=h+1,p=g.J===8?0:1;k=Math.round(f.x)+k+0.5;i=Math.round(f.y)+i+0.5;e.position=k/j+","+i/h;if(d&&d!=="repeat"){if(d==="repeat-x"||d==="no-repeat"){m=i+1;n=i+c.f+p}if(d==="repeat-y"||d==="no-repeat"){l=k+1;t=k+c.i+p}a.style.clip="rect("+m+"px,"+t+"px,"+n+"px,"+l+"px)"}},this)},mc:function(a,
|
57
|
-
b){function c(B,C,z,F,H){if(z===0||z===180)return[F,C];else if(z===90||z===270)return[B,H];else{z=Math.tan(-z*t/180);B=z*B-C;C=-1/z;F=C*F-H;H=C-z;return[(F-B)/H,(z*F-C*B)/H]}}function e(){w=m>=90&&m<270?i:0;r=m<180?k:0;o=i-w;x=k-r}function f(){for(;m<0;)m+=360;m%=360}function h(B,C){var z=C[0]-B[0];B=C[1]-B[1];return Math.abs(z===0?B:B===0?z:Math.sqrt(z*z+B*B))}var j=this.e,d=this.q.o(),i=d.i,k=d.f;a=a.fill;var m=b.Xa,l=b.bb;b=b.ca;d=b.length;var t=Math.PI,n,p,s,u,w,r,o,x,q,y,A,D;if(l){l=l.coords(j,
|
58
|
-
i,k);n=l.x;p=l.y}if(m){m=m.vc();f();e();if(!l){n=w;p=r}l=c(n,p,m,o,x);s=l[0];u=l[1]}else if(l){s=i-n;u=k-p}else{n=p=s=0;u=k}l=s-n;q=u-p;if(m===void 0){m=!l?q<0?90:270:!q?l<0?180:0:-Math.atan2(q,l)/t*180;f();e()}l=m%90?Math.atan2(l*i/k,q)/t*180:m+90;l+=180;l%=360;y=h([n,p],[s,u]);s=h([w,r],c(w,r,m,o,x));u=[];p=h([n,p],c(n,p,m,w,r))/s*100;n=[];for(q=0;q<d;q++)n.push(b[q].Fb?b[q].Fb.a(j,y):q===0?0:q===d-1?y:null);for(q=1;q<d;q++){if(n[q]===null){A=n[q-1];y=q;do D=n[++y];while(D===null);n[q]=A+(D-A)/
|
59
|
-
(y-q+1)}n[q]=Math.max(n[q],n[q-1])}for(q=0;q<d;q++)u.push(p+n[q]/s*100+"% "+b[q].color.O(j));a.angle=l;a.type="gradient";a.method="sigma";a.color=b[0].color.O(j);a.color2=b[d-1].color.O(j);a.colors.value=u.join(",")},yb:function(){var a=this.e.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},n:function(){g.B.n.call(this);var a=this.e.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});g.Wb=g.B.Z({C:4,Fa:"border",qc:{TABLE:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,
|
60
|
-
IMG:1,HR:1,FIELDSET:1},Jc:{submit:1,button:1,reset:1},R:function(){var a=this.j;return a.I.D()||a.v.D()},g:function(){var a=this.j;return(a.N.g()||a.v.g()||a.H.g())&&a.I.g()},X:function(){var a=this.e,b=this.j.I.m(),c=this.q.o(),e=c.i;c=c.f;var f,h,j,d,i;if(b){this.Hc();b=this.Bc(2);d=0;for(i=b.length;d<i;d++){j=b[d];f=this.sa("borderPiece"+d,j.stroke?"stroke":"fill",this.w());f.coordsize=e*2+","+c*2;f.coordorigin="1,1";f.path=j.path;h=f.style;h.width=e;h.height=c;f.filled=!!j.fill;f.stroked=!!j.stroke;
|
61
|
-
if(j.stroke){f=f.stroke;f.weight=j.mb+"px";f.color=j.color.O(a);f.dashstyle=j.stroke==="dashed"?"2 2":j.stroke==="dotted"?"1 1":"solid";f.linestyle=j.stroke==="double"&&j.mb>2?"ThinThin":"Single"}else f.fill.color=j.fill.O(a)}for(;this.Za("borderPiece"+d++););}},Hc:function(){var a=this.e,b=a.currentStyle,c=a.runtimeStyle,e=a.tagName,f=g.J===6,h;if(f&&e in this.qc||e==="BUTTON"||e==="INPUT"&&a.type in this.Jc){c.borderWidth="";e=this.j.I.Ib;for(h=e.length;h--;){f=e[h];c["padding"+f]="";c["padding"+
|
62
|
-
f]=g.k(b["padding"+f]).a(a)+g.k(b["border"+f+"Width"]).a(a)+(!g.J===8&&h%2?1:0)}c.borderWidth=0}else if(f){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=doc.createElement("ie6-mask");e=b.style;e.visibility="visible";for(e.zoom=1;e=a.firstChild;)b.appendChild(e);a.appendChild(b);c.visibility="hidden"}}else c.borderColor="transparent"},Bc:function(a){var b=this.e,c,e,f,h=this.j.I,j=[],d,i,k,m,l=Math.round,t,n,p;if(h.g()){c=h.m();h=c.nb;n=c.Zc;p=c.tc;if(c.ed&&c.$c&&c.uc){if(p.t.la()>
|
63
|
-
0){c=h.t.a(b);k=c/2;j.push({path:this.oa({T:k,S:k,L:k,Q:k},a),stroke:n.t,color:p.t,mb:c})}}else{a=a||1;c=this.q.o();e=c.i;f=c.f;c=l(h.t.a(b));k=l(h.r.a(b));m=l(h.b.a(b));b=l(h.l.a(b));var s={t:c,r:k,b:m,l:b};b=this.j.v;if(b.g())t=this.xb(b.m());d=Math.floor;i=Math.ceil;var u=function(o,x){return t?t[o][x]:0},w=function(o,x,q,y,A,D){var B=u("x",o),C=u("y",o),z=o.charAt(1)==="r";o=o.charAt(0)==="b";return B>0&&C>0?(D?"al":"ae")+(z?i(e-B):d(B))*a+","+(o?i(f-C):d(C))*a+","+(d(B)-x)*a+","+(d(C)-q)*a+","+
|
64
|
-
y*65535+","+2949075*(A?1:-1):(D?"m":"l")+(z?e-x:x)*a+","+(o?f-q:q)*a},r=function(o,x,q,y){var A=o==="t"?d(u("x","tl"))*a+","+i(x)*a:o==="r"?i(e-x)*a+","+d(u("y","tr"))*a:o==="b"?i(e-u("x","br"))*a+","+d(f-x)*a:d(x)*a+","+i(f-u("y","bl"))*a;o=o==="t"?i(e-u("x","tr"))*a+","+i(x)*a:o==="r"?i(e-x)*a+","+i(f-u("y","br"))*a:o==="b"?d(u("x","bl"))*a+","+d(f-x)*a:d(x)*a+","+d(u("y","tl"))*a;return q?(y?"m"+o:"")+"l"+A:(y?"m"+A:"")+"l"+o};b=function(o,x,q,y,A,D){var B=o==="l"||o==="r",C=s[o],z,F;if(C>0&&n[o]!==
|
65
|
-
"none"&&p[o].la()>0){z=s[B?o:x];x=s[B?x:o];F=s[B?o:q];q=s[B?q:o];if(n[o]==="dashed"||n[o]==="dotted"){j.push({path:w(y,z,x,D+45,0,1)+w(y,0,0,D,1,0),fill:p[o]});j.push({path:r(o,C/2,0,1),stroke:n[o],mb:C,color:p[o]});j.push({path:w(A,F,q,D,0,1)+w(A,0,0,D-45,1,0),fill:p[o]})}else j.push({path:w(y,z,x,D+45,0,1)+r(o,C,0,0)+w(A,F,q,D,0,0)+(n[o]==="double"&&C>2?w(A,F-d(F/3),q-d(q/3),D-45,1,0)+r(o,i(C/3*2),1,0)+w(y,z-d(z/3),x-d(x/3),D,1,0)+"x "+w(y,d(z/3),d(x/3),D+45,0,1)+r(o,d(C/3),1,0)+w(A,d(F/3),d(q/
|
66
|
-
3),D,0,0):"")+w(A,0,0,D-45,1,0)+r(o,0,1,0)+w(y,0,0,D,1,0),fill:p[o]})}};b("t","l","r","tl","tr",90);b("r","t","b","tr","br",0);b("b","r","l","br","bl",-90);b("l","b","t","bl","tl",-180)}}return j},n:function(){g.B.n.call(this);this.e.runtimeStyle.borderColor=""}});g.Ub=g.B.Z({C:5,Oc:["t","tr","r","br","b","bl","l","tl","c"],R:function(){return this.j.N.D()},g:function(){return this.j.N.g()},X:function(){this.w();var a=this.j.N.m(),b=this.q.o(),c=this.e,e=this.Gb;g.p.Pb(a.src,function(f){function h(w,
|
67
|
-
r,o,x,q){w=e[w].style;var y=Math.max;w.width=y(r,0);w.height=y(o,0);w.left=x;w.top=q}function j(w,r,o){for(var x=0,q=w.length;x<q;x++)e[w[x]].imagedata[r]=o}var d=b.i,i=b.f,k=a.width,m=k.T.a(c),l=k.S.a(c),t=k.L.a(c);k=k.Q.a(c);var n=a.slice,p=n.T.a(c),s=n.S.a(c),u=n.L.a(c);n=n.Q.a(c);h("tl",k,m,0,0);h("t",d-k-l,m,k,0);h("tr",l,m,d-l,0);h("r",l,i-m-t,d-l,m);h("br",l,t,d-l,i-t);h("b",d-k-l,t,k,i-t);h("bl",k,t,0,i-t);h("l",k,i-m-t,0,m);h("c",d-k-l,i-m-t,k,m);j(["tl","t","tr"],"cropBottom",(f.f-p)/f.f);
|
68
|
-
j(["tl","l","bl"],"cropRight",(f.i-n)/f.i);j(["bl","b","br"],"cropTop",(f.f-u)/f.f);j(["tr","r","br"],"cropLeft",(f.i-s)/f.i);if(a.repeat.kb==="stretch"){j(["l","r","c"],"cropTop",p/f.f);j(["l","r","c"],"cropBottom",u/f.f)}if(a.repeat.f==="stretch"){j(["t","b","c"],"cropLeft",n/f.i);j(["t","b","c"],"cropRight",s/f.i)}e.c.style.display=a.fill?"":"none"},this)},w:function(){var a=this.parent.ra(this.C),b,c,e,f=this.Oc,h=f.length;if(!a){a=doc.createElement("border-image");b=a.style;b.position="absolute";
|
69
|
-
this.Gb={};for(e=0;e<h;e++){c=this.Gb[f[e]]=g.p.Ga("rect");c.appendChild(g.p.Ga("imagedata"));b=c.style;b.behavior="url(#default#VML)";b.position="absolute";b.top=b.left=0;c.imagedata.src=this.j.N.m().src;c.stroked=false;c.filled=false;a.appendChild(c)}this.parent.Wa(this.C,a)}return a}});g.Yb=g.B.Z({C:1,Fa:"outset-box-shadow",R:function(){var a=this.j;return a.W.D()||a.v.D()},g:function(){var a=this.j.W;return a.g()&&a.m().ua[0]},X:function(){function a(z,F,H,K,J,v,E){z=b.sa("shadow"+z+F,"fill",
|
70
|
-
e,j-z);F=z.fill;z.coordsize=m*2+","+l*2;z.coordorigin="1,1";z.stroked=false;z.filled=true;F.color=J.O(c);if(v){F.type="gradienttitle";F.color2=F.color;F.opacity=0}z.path=E;u=z.style;u.left=H;u.top=K;u.width=m;u.height=l;return z}var b=this,c=this.e,e=this.w(),f=this.j,h=f.W.m().ua;f=f.v.m();var j=h.length,d=j,i,k=this.q.o(),m=k.i,l=k.f;k=g.J===8?1:0;for(var t=["tl","tr","br","bl"],n,p,s,u,w,r,o,x,q,y,A,D,B,C;d--;){p=h[d];w=p.fd.a(c);r=p.gd.a(c);i=p.Xc.a(c);o=p.blur.a(c);p=p.color;x=-i-o;if(!f&&o)f=
|
71
|
-
g.Oa.Qb;x=this.oa({T:x,S:x,L:x,Q:x},2,f);if(o){q=(i+o)*2+m;y=(i+o)*2+l;A=o*2/q;D=o*2/y;if(o-i>m/2||o-i>l/2)for(i=4;i--;){n=t[i];B=n.charAt(0)==="b";C=n.charAt(1)==="r";n=a(d,n,w,r,p,o,x);s=n.fill;s.focusposition=(C?1-A:A)+","+(B?1-D:D);s.focussize="0,0";n.style.clip="rect("+((B?y/2:0)+k)+"px,"+(C?q:q/2)+"px,"+(B?y:y/2)+"px,"+((C?q/2:0)+k)+"px)"}else{n=a(d,"",w,r,p,o,x);s=n.fill;s.focusposition=A+","+D;s.focussize=1-A*2+","+(1-D*2)}}else{n=a(d,"",w,r,p,o,x);w=p.la();if(w<1)n.fill.opacity=w}}}});g.bc=
|
72
|
-
g.B.Z({C:6,Fa:"imgEl",R:function(){var a=this.j;return this.e.src!==this.hc||a.v.D()},g:function(){var a=this.j;return a.v.g()||a.H.Eb()},X:function(){this.hc=j;this.Gc();var a=this.sa("img","fill",this.w()),b=a.fill,c=this.q.o(),e=c.i;c=c.f;var f=this.j.I.m();f=f&&f.nb;var h=this.e,j=h.src,d=Math.round;a.stroked=false;b.type="frame";b.src=j;b.position=(e?0.5/e:0)+","+(c?0.5/c:0);a.coordsize=e*2+","+c*2;a.coordorigin="1,1";a.path=this.oa(f?{T:d(f.t.a(h)),S:d(f.r.a(h)),L:d(f.b.a(h)),Q:d(f.l.a(h))}:
|
73
|
-
0,2);a=a.style;a.width=e;a.height=c},Gc:function(){this.e.runtimeStyle.filter="alpha(opacity=0)"},n:function(){g.B.n.call(this);this.e.runtimeStyle.filter=""}});g.Qa=function(){function a(d){function i(){if(!z){var v,E,G=d.currentStyle,I=G.getAttribute(c)==="true";J=G.getAttribute(e);J=g.Ab===8?J!=="false":J==="true";if(!C){C=1;d.runtimeStyle.zoom=1;G=d;for(var O=1;G=G.previousSibling;)if(G.nodeType===1){O=0;break}if(O)d.className+=" "+g.Pa+"first-child"}y.Ja();if(I&&(E=y.o())&&(v=doc.documentElement||
|
74
|
-
doc.body)&&(E.y>v.clientHeight||E.x>v.clientWidth||E.y+E.f<0||E.x+E.i<0)){if(!H){H=1;g.Ra.aa(i)}}else{z=1;H=C=0;g.Ra.Ma(i);A={H:new g.Tb(d),I:new g.Xb(d),N:new g.Vb(d),v:new g.Oa(d),W:new g.Zb(d),lb:new g.ec(d)};D=[A.H,A.I,A.N,A.v,A.W,A.lb];v=new g.cc(d,y,A);E=[new g.Yb(d,y,A,v),new g.Sb(d,y,A,v),new g.Wb(d,y,A,v),new g.Ub(d,y,A,v)];d.tagName==="IMG"&&E.push(new g.bc(d,y,A,v));v.oc=E;q=[v].concat(E);if(v=d.currentStyle.getAttribute(g.F+"watch-ancestors")){B=[];v=parseInt(v,10);E=0;for(I=d.parentNode;I&&
|
75
|
-
(v==="NaN"||E++<v);){B.push(I);I.attachEvent("onpropertychange",u);I.attachEvent("onmouseenter",p);I.attachEvent("onmouseleave",s);I=I.parentNode}}if(J){g.ya.aa(m);g.ya.Tc()}m(1)}if(!F){F=1;d.attachEvent("onmove",k);d.attachEvent("onresize",k);d.attachEvent("onpropertychange",l);d.attachEvent("onmouseenter",p);d.attachEvent("onmouseleave",s);g.za.aa(k);g.G.aa(o)}y.La()}}function k(){y&&y.Ec()&&m()}function m(v){if(!K)if(z){var E,G;w();if(v||y.Qc()){E=0;for(G=q.length;E<G;E++)q[E].jb()}if(v||y.Vc()){E=
|
76
|
-
0;for(G=q.length;E<G;E++)q[E].Lb()}r()}else C||i()}function l(){var v,E,G;v=event;if(!K&&!(v&&v.propertyName in j))if(z){w();v=0;for(E=q.length;v<E;v++){G=q[v];G.eb||G.jb();G.R()&&G.Kb()}r()}else C||i()}function t(){if(d)d.className+=f}function n(){if(d)d.className=d.className.replace(h,"")}function p(){setTimeout(t,0)}function s(){setTimeout(n,0)}function u(){var v=event.propertyName;if(v==="className"||v==="id")l()}function w(){y.Ja();for(var v=D.length;v--;)D[v].Ja()}function r(){for(var v=D.length;v--;)D[v].La();
|
77
|
-
y.La()}function o(){if(F){if(B)for(var v=0,E=B.length,G;v<E;v++){G=B[v];G.detachEvent("onpropertychange",u);G.detachEvent("onmouseenter",p);G.detachEvent("onmouseleave",s)}d.detachEvent("onmove",m);d.detachEvent("onresize",m);d.detachEvent("onpropertychange",l);d.detachEvent("onmouseenter",p);d.detachEvent("onmouseleave",s);g.G.Ma(o);F=0}}function x(){if(!K){var v,E;o();K=1;if(q){v=0;for(E=q.length;v<E;v++)q[v].n()}J&&g.ya.Ma(m);g.za.Ma(m);q=y=A=D=B=d=null}}var q,y=new M(d),A,D,B,C,z,F,H,K,J;this.Ic=
|
78
|
-
i;this.update=m;this.n=x;this.Ac=d}var b={},c=g.F+"lazy-init",e=g.F+"poll",f=" "+g.Pa+"hover",h=new RegExp("\\b"+g.Pa+"hover\\b","g"),j={background:1,bgColor:1,display:1};a.Cc=function(d){var i=g.p.ta(d);return b[i]||(b[i]=new a(d))};a.n=function(d){d=g.p.ta(d);var i=b[d];if(i){i.n();delete b[d]}};a.wc=function(){var d=[],i;if(b){for(var k in b)if(b.hasOwnProperty(k)){i=b[k];d.push(i.Ac);i.n()}b={}}return d};return a}();g.attach=function(a){g.Ab<9&&g.Qa.Cc(a).Ic()};g.detach=function(a){g.Qa.n(a)}};
|
79
|
-
var N=window.PIE,P=element;function init(){N&&doc.media!=="print"&&N.attach(P)}function cleanup(){if(N){N.detach(P);N=P=0}}P.readyState==="complete"&&init();
|
80
|
-
</script>
|
81
|
-
</PUBLIC:COMPONENT>
|
1
|
+
<!--
|
2
|
+
PIE: CSS3 rendering for IE
|
3
|
+
Version 1.0beta4
|
4
|
+
http://css3pie.com
|
5
|
+
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
|
6
|
+
-->
|
7
|
+
<PUBLIC:COMPONENT lightWeight="true">
|
8
|
+
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
|
9
|
+
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
|
10
|
+
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var doc = element.document;var g=window.PIE;
|
14
|
+
if(!g){g=window.PIE={F:"-pie-",Sa:"Pie",Pa:"pie_",Jb:{TD:1,TH:1}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(L){}g.J=function(){for(var a=4,b=doc.createElement("div"),c=b.getElementsByTagName("i");b.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]--\>",c[0];);return a}();if(g.J===6)g.F=g.F.replace(/^-/,"");g.Ab=doc.documentMode||g.J;(function(){var a,b=0,c={};g.p={Ga:function(e){if(!a){a=doc.createDocumentFragment();a.namespaces.add("css3vml","urn:schemas-microsoft-com:vml")}return a.createElement("css3vml:"+e)},
|
15
|
+
ta:function(e){return e&&e._pieId||(e._pieId=++b)},fb:function(e){var f,h,j,d,i=arguments;f=1;for(h=i.length;f<h;f++){d=i[f];for(j in d)if(d.hasOwnProperty(j))e[j]=d[j]}return e},Pb:function(e,f,h){var j=c[e],d,i;if(j)Object.prototype.toString.call(j)==="[object Array]"?j.push([f,h]):f.call(h,j);else{i=c[e]=[[f,h]];d=new Image;d.onload=function(){j=c[e]={i:d.width,f:d.height};for(var k=0,m=i.length;k<m;k++)i[k][0].call(i[k][1],j);d.onload=null};d.src=e}}}})();g.ia=function(){this.hb=[];this.Db={}};
|
16
|
+
g.ia.prototype={aa:function(a){var b=g.p.ta(a),c=this.Db,e=this.hb;if(!(b in c)){c[b]=e.length;e.push(a)}},Ma:function(a){a=g.p.ta(a);var b=this.Db;if(a&&a in b){delete this.hb[b[a]];delete b[a]}},Ia:function(){for(var a=this.hb,b=a.length;b--;)a[b]&&a[b]()}};g.ya=new g.ia;g.ya.Tc=function(){var a=this;if(!a.Uc){setInterval(function(){a.Ia()},250);a.Uc=1}};g.G=new g.ia;window.attachEvent("onbeforeunload",function(){g.G.Ia()});g.G.Ea=function(a,b,c){a.attachEvent(b,c);this.aa(function(){a.detachEvent(b,
|
17
|
+
c)})};(function(){function a(){g.za.Ia()}g.za=new g.ia;g.G.Ea(window,"onresize",a)})();(function(){function a(){g.Ra.Ia()}g.Ra=new g.ia;g.G.Ea(window,"onscroll",a);g.za.aa(a)})();(function(){function a(){c=g.Qa.wc()}function b(){if(c){for(var e=0,f=c.length;e<f;e++)g.attach(c[e]);c=0}}var c;g.G.Ea(window,"onbeforeprint",a);g.G.Ea(window,"onafterprint",b)})();g.hd=function(){function a(i){this.V=i}var b=doc.createElement("length-calc"),c=doc.documentElement,e=b.style,f={},h=["mm","cm","in","pt","pc"],
|
18
|
+
j=h.length,d={};e.position="absolute";e.top=e.left="-9999px";for(c.appendChild(b);j--;){b.style.width="100"+h[j];f[h[j]]=b.offsetWidth/100}c.removeChild(b);a.prototype={ib:/(px|em|ex|mm|cm|in|pt|pc|%)$/,vb:function(){var i=this.Lc;if(i===void 0)i=this.Lc=parseFloat(this.V);return i},ab:function(){var i=this.ad;if(!i)i=this.ad=(i=this.V.match(this.ib))&&i[0]||"px";return i},a:function(i,k){var m=this.vb(),l=this.ab();switch(l){case "px":return m;case "%":return m*(typeof k==="function"?k():k)/100;
|
19
|
+
case "em":return m*this.tb(i);case "ex":return m*this.tb(i)/2;default:return m*f[l]}},tb:function(i){var k=i.currentStyle.fontSize;if(k.indexOf("px")>0)return parseFloat(k);else{b.style.width="1em";i.appendChild(b);k=b.offsetWidth;b.parentNode===i&&i.removeChild(b);return k}}};g.k=function(i){return d[i]||(d[i]=new a(i))};return a}();g.Na=function(){function a(f){this.U=f}var b=g.k("50%"),c={top:1,center:1,bottom:1},e={left:1,center:1,right:1};a.prototype={Dc:function(){if(!this.sb){var f=this.U,
|
20
|
+
h=f.length,j=g.u,d=j.ja,i=g.k("0");d=d.fa;i=["left",i,"top",i];if(h===1){f.push(new j.Ta(d,"center"));h++}if(h===2){d&(f[0].h|f[1].h)&&f[0].d in c&&f[1].d in e&&f.push(f.shift());if(f[0].h&d)if(f[0].d==="center")i[1]=b;else i[0]=f[0].d;else if(f[0].Y())i[1]=g.k(f[0].d);if(f[1].h&d)if(f[1].d==="center")i[3]=b;else i[2]=f[1].d;else if(f[1].Y())i[3]=g.k(f[1].d)}this.sb=i}return this.sb},coords:function(f,h,j){var d=this.Dc(),i=d[1].a(f,h);f=d[3].a(f,j);return{x:d[0]==="right"?h-i:i,y:d[2]==="bottom"?
|
21
|
+
j-f:f}}};return a}();g.Rb=function(){function a(b){this.V=b}a.prototype={ib:/[a-z]+$/i,ab:function(){return this.lc||(this.lc=this.V.match(this.ib)[0].toLowerCase())},vc:function(){var b=this.fc,c;if(b===undefined){b=this.ab();c=parseFloat(this.V,10);b=this.fc=b==="deg"?c:b==="rad"?c/Math.PI*180:b==="grad"?c/400*360:b==="turn"?c*360:0}return b}};return a}();g.$b=function(){function a(c){this.V=c}var b={};a.Sc=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;a.gb=
|
22
|
+
{aliceblue:"F0F8FF",antiquewhite:"FAEBD7",aqua:"0FF",aquamarine:"7FFFD4",azure:"F0FFFF",beige:"F5F5DC",bisque:"FFE4C4",black:"000",blanchedalmond:"FFEBCD",blue:"00F",blueviolet:"8A2BE2",brown:"A52A2A",burlywood:"DEB887",cadetblue:"5F9EA0",chartreuse:"7FFF00",chocolate:"D2691E",coral:"FF7F50",cornflowerblue:"6495ED",cornsilk:"FFF8DC",crimson:"DC143C",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgoldenrod:"B8860B",darkgray:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",
|
23
|
+
darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkseagreen:"8FBC8F",darkslateblue:"483D8B",darkslategray:"2F4F4F",darkturquoise:"00CED1",darkviolet:"9400D3",deeppink:"FF1493",deepskyblue:"00BFFF",dimgray:"696969",dodgerblue:"1E90FF",firebrick:"B22222",floralwhite:"FFFAF0",forestgreen:"228B22",fuchsia:"F0F",gainsboro:"DCDCDC",ghostwhite:"F8F8FF",gold:"FFD700",goldenrod:"DAA520",gray:"808080",green:"008000",greenyellow:"ADFF2F",honeydew:"F0FFF0",hotpink:"FF69B4",indianred:"CD5C5C",
|
24
|
+
indigo:"4B0082",ivory:"FFFFF0",khaki:"F0E68C",lavender:"E6E6FA",lavenderblush:"FFF0F5",lawngreen:"7CFC00",lemonchiffon:"FFFACD",lightblue:"ADD8E6",lightcoral:"F08080",lightcyan:"E0FFFF",lightgoldenrodyellow:"FAFAD2",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightsalmon:"FFA07A",lightseagreen:"20B2AA",lightskyblue:"87CEFA",lightslategray:"789",lightsteelblue:"B0C4DE",lightyellow:"FFFFE0",lime:"0F0",limegreen:"32CD32",linen:"FAF0E6",magenta:"F0F",maroon:"800000",mediumauqamarine:"66CDAA",
|
25
|
+
mediumblue:"0000CD",mediumorchid:"BA55D3",mediumpurple:"9370D8",mediumseagreen:"3CB371",mediumslateblue:"7B68EE",mediumspringgreen:"00FA9A",mediumturquoise:"48D1CC",mediumvioletred:"C71585",midnightblue:"191970",mintcream:"F5FFFA",mistyrose:"FFE4E1",moccasin:"FFE4B5",navajowhite:"FFDEAD",navy:"000080",oldlace:"FDF5E6",olive:"808000",olivedrab:"688E23",orange:"FFA500",orangered:"FF4500",orchid:"DA70D6",palegoldenrod:"EEE8AA",palegreen:"98FB98",paleturquoise:"AFEEEE",palevioletred:"D87093",papayawhip:"FFEFD5",
|
26
|
+
peachpuff:"FFDAB9",peru:"CD853F",pink:"FFC0CB",plum:"DDA0DD",powderblue:"B0E0E6",purple:"800080",red:"F00",rosybrown:"BC8F8F",royalblue:"4169E1",saddlebrown:"8B4513",salmon:"FA8072",sandybrown:"F4A460",seagreen:"2E8B57",seashell:"FFF5EE",sienna:"A0522D",silver:"C0C0C0",skyblue:"87CEEB",slateblue:"6A5ACD",slategray:"708090",snow:"FFFAFA",springgreen:"00FF7F",steelblue:"4682B4",tan:"D2B48C",teal:"008080",thistle:"D8BFD8",tomato:"FF6347",turquoise:"40E0D0",violet:"EE82EE",wheat:"F5DEB3",white:"FFF",
|
27
|
+
whitesmoke:"F5F5F5",yellow:"FF0",yellowgreen:"9ACD32"};a.prototype={parse:function(){if(!this.Ca){var c=this.V,e;if(e=c.match(a.Sc)){this.Ca="rgb("+e[1]+","+e[2]+","+e[3]+")";this.qb=parseFloat(e[4])}else{if((e=c.toLowerCase())in a.gb)c="#"+a.gb[e];this.Ca=c;this.qb=c==="transparent"?0:1}}},O:function(c){this.parse();return this.Ca==="currentColor"?c.currentStyle.color:this.Ca},la:function(){this.parse();return this.qb}};g.pa=function(c){return b[c]||(b[c]=new a(c))};return a}();g.u=function(){function a(c){this.Ha=
|
28
|
+
c;this.ch=0;this.U=[];this.wa=0}var b=a.ja={xa:1,ob:2,ea:4,ac:8,pb:16,fa:32,A:64,ga:128,ha:256,Aa:512,dc:1024,URL:2048};a.Ta=function(c,e){this.h=c;this.d=e};a.Ta.prototype={db:function(){return this.h&b.A||this.h&b.ga&&this.d==="0"},Y:function(){return this.db()||this.h&b.Aa}};a.prototype={dd:/\s/,Mc:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,zb:/^\-?[_a-z][\w-]*/i,Yc:/^("([^"]*)"|'([^']*)')/,Fc:/^#([\da-f]{6}|[\da-f]{3})/i,bd:{px:b.A,em:b.A,ex:b.A,mm:b.A,cm:b.A,
|
29
|
+
"in":b.A,pt:b.A,pc:b.A,deg:b.xa,rad:b.xa,grad:b.xa},sc:{rgb:1,rgba:1,hsl:1,hsla:1},next:function(c){function e(t,n){t=new a.Ta(t,n);if(!c){k.U.push(t);k.wa++}return t}function f(){k.wa++;return null}var h,j,d,i,k=this;if(this.wa<this.U.length)return this.U[this.wa++];for(;this.dd.test(this.Ha.charAt(this.ch));)this.ch++;if(this.ch>=this.Ha.length)return f();j=this.ch;h=this.Ha.substring(this.ch);d=h.charAt(0);switch(d){case "#":if(i=h.match(this.Fc)){this.ch+=i[0].length;return e(b.ea,i[0])}break;
|
30
|
+
case '"':case "'":if(i=h.match(this.Yc)){this.ch+=i[0].length;return e(b.dc,i[2]||i[3]||"")}break;case "/":case ",":this.ch++;return e(b.ha,d);case "u":if(i=h.match(this.url)){this.ch+=i[0].length;return e(b.URL,i[2]||i[3]||i[4]||"")}}if(i=h.match(this.Mc)){d=i[0];this.ch+=d.length;if(h.charAt(d.length)==="%"){this.ch++;return e(b.Aa,d+"%")}if(i=h.substring(d.length).match(this.zb)){d+=i[0];this.ch+=i[0].length;return e(this.bd[i[0].toLowerCase()]||b.ac,d)}return e(b.ga,d)}if(i=h.match(this.zb)){d=
|
31
|
+
i[0];this.ch+=d.length;if(d.toLowerCase()in g.$b.gb||d==="currentColor")return e(b.ea,d);if(h.charAt(d.length)==="("){this.ch++;if(d.toLowerCase()in this.sc){h=function(t){return t&&t.h&b.ga};i=function(t){return t&&t.h&(b.ga|b.Aa)};var m=function(t,n){return t&&t.d===n},l=function(){return k.next(1)};if((d.charAt(0)==="r"?i(l()):h(l()))&&m(l(),",")&&i(l())&&m(l(),",")&&i(l())&&(d==="rgb"||d==="hsa"||m(l(),",")&&h(l()))&&m(l(),")"))return e(b.ea,this.Ha.substring(j,this.ch));return f()}return e(b.pb,
|
32
|
+
d)}return e(b.fa,d)}this.ch++;return e(b.ob,d)},z:function(){return this.U[this.wa-- -2]},all:function(){for(;this.next(););return this.U},da:function(c,e){for(var f=[],h,j;h=this.next();){if(c(h)){j=true;this.z();break}f.push(h)}return e&&!j?null:f}};return a}();var M=function(a){this.e=a};M.prototype={K:0,Qc:function(){var a=this.Ua,b;return!a||(b=this.o())&&(a.x!==b.x||a.y!==b.y)},Vc:function(){var a=this.Ua,b;return!a||(b=this.o())&&(a.i!==b.i||a.f!==b.f)},ub:function(){var a=this.e.getBoundingClientRect();
|
33
|
+
return{x:a.left,y:a.top,i:a.right-a.left,f:a.bottom-a.top}},o:function(){return this.K?this.Da||(this.Da=this.ub()):this.ub()},Ec:function(){return!!this.Ua},Ja:function(){++this.K},La:function(){if(!--this.K){if(this.Da)this.Ua=this.Da;this.Da=null}}};(function(){function a(b){var c=g.p.ta(b);return function(){if(this.K){var e=this.rb||(this.rb={});return c in e?e[c]:(e[c]=b.call(this))}else return b.call(this)}}g.s={K:0,$:function(b){function c(e){this.e=e}g.p.fb(c.prototype,g.s,b);c.kc={};return c},
|
34
|
+
m:function(){var b=this.qa(),c=this.constructor.kc;return b?b in c?c[b]:(c[b]=this.ba(b)):null},qa:a(function(){var b=this.e,c=this.constructor,e=b.style;b=b.currentStyle;var f=this.na,h=this.va,j=c.ic||(c.ic=g.F+f);c=c.jc||(c.jc=g.Sa+h.charAt(0).toUpperCase()+h.substring(1));return e[c]||b.getAttribute(j)||e[h]||b.getAttribute(f)}),g:a(function(){return!!this.m()}),D:a(function(){var b=this.qa(),c=b!==this.gc;this.gc=b;return c}),ma:a,Ja:function(){++this.K},La:function(){--this.K||delete this.rb}}})();
|
35
|
+
g.Tb=g.s.$({na:g.F+"background",va:g.Sa+"Background",nc:{scroll:1,fixed:1,local:1},Ka:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},Nc:{"padding-box":1,"border-box":1,"content-box":1},rc:{"padding-box":1,"border-box":1},Rc:{top:1,right:1,bottom:1,left:1,center:1},Wc:{contain:1,cover:1},ba:function(a){function b(u){return u.Y()||u.h&i&&u.d in t}function c(u){return u.Y()&&g.k(u.d)||u.d==="auto"&&"auto"}var e=this.e.currentStyle,f,h,j=g.u.ja,d=j.ha,i=j.fa,k=j.ea,m,l,t=this.Rc,n,p,s=null;if(this.$a()){a=
|
36
|
+
new g.u(a);s={M:[]};for(h={};f=a.next();){m=f.h;l=f.d;if(!h.P&&m&j.pb&&l==="linear-gradient"){n={ca:[],P:l};for(p={};f=a.next();){m=f.h;l=f.d;if(m&j.ob&&l===")"){p.color&&n.ca.push(p);n.ca.length>1&&g.p.fb(h,n);break}if(m&k){if(n.Xa||n.bb){f=a.z();if(f.h!==d)break;a.next()}p={color:g.pa(l)};f=a.next();if(f.Y())p.Fb=g.k(f.d);else a.z()}else if(m&j.xa&&!n.Xa&&!p.color&&!n.ca.length)n.Xa=new g.Rb(f.d);else if(b(f)&&!n.bb&&!p.color&&!n.ca.length){a.z();n.bb=new g.Na(a.da(function(u){return!b(u)},false))}else if(m&
|
37
|
+
d&&l===","){if(p.color){n.ca.push(p);p={}}}else break}}else if(!h.P&&m&j.URL){h.Cb=l;h.P="image"}else if(b(f)&&!h.size){a.z();h.Ya=new g.Na(a.da(function(u){return!b(u)},false))}else if(m&i)if(l in this.Ka)h.Bb=l;else if(l in this.Nc){h.kd=l;if(l in this.rc)h.clip=l}else{if(l in this.nc)h.jd=l}else if(m&k&&!s.color)s.color=g.pa(l);else if(m&d)if(l==="/"){f=a.next();m=f.h;l=f.d;if(m&i&&l in this.Wc)h.size=l;else if(l=c(f))h.size={i:l,f:c(a.next())||a.z()&&l}}else{if(l===","&&h.P){s.M.push(h);h={}}}else return null}h.P&&
|
38
|
+
s.M.push(h)}else this.Nb(function(){var u=e.backgroundPositionX,w=e.backgroundPositionY,r=e.backgroundImage,o=e.backgroundColor;s={};if(o!=="transparent")s.color=g.pa(o);if(r!=="none")s.M=[{P:"image",Cb:(new g.u(r)).next().d,Bb:e.backgroundRepeat,Ya:new g.Na((new g.u(u+" "+w)).all())}]});return s&&(s.color||s.M&&s.M[0])?s:null},Nb:function(a){var b=this.e.runtimeStyle,c=b.backgroundImage,e=b.backgroundColor;if(c)b.backgroundImage="";if(e)b.backgroundColor="";a=a.call(this);if(c)b.backgroundImage=
|
39
|
+
c;if(e)b.backgroundColor=e;return a},qa:g.s.ma(function(){return this.$a()||this.Nb(function(){var a=this.e.currentStyle;return a.backgroundColor+" "+a.backgroundImage+" "+a.backgroundRepeat+" "+a.backgroundPositionX+" "+a.backgroundPositionY})}),$a:g.s.ma(function(){var a=this.e;return a.style[this.va]||a.currentStyle.getAttribute(this.na)}),Eb:function(){var a=0;if(g.J<7){a=this.e;a=""+(a.style[g.Sa+"PngFix"]||a.currentStyle.getAttribute(g.F+"png-fix"))==="true"}return a},g:g.s.ma(function(){return(this.$a()||
|
40
|
+
this.Eb())&&!!this.m()})});g.Xb=g.s.$({Ib:["Top","Right","Bottom","Left"],Kc:{thin:"1px",medium:"3px",thick:"5px"},ba:function(){var a={},b={},c={},e=false,f=true,h=true,j=true;this.Ob(function(){for(var d=this.e.currentStyle,i=0,k,m,l,t,n,p,s;i<4;i++){l=this.Ib[i];s=l.charAt(0).toLowerCase();k=b[s]=d["border"+l+"Style"];m=d["border"+l+"Color"];l=d["border"+l+"Width"];if(i>0){if(k!==t)h=false;if(m!==n)f=false;if(l!==p)j=false}t=k;n=m;p=l;c[s]=g.pa(m);l=a[s]=g.k(b[s]==="none"?"0":this.Kc[l]||l);if(l.a(this.e)>
|
41
|
+
0)e=true}});return e?{nb:a,Zc:b,tc:c,ed:j,uc:f,$c:h}:null},qa:g.s.ma(function(){var a=this.e,b=a.currentStyle,c;a.tagName in g.Jb&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.Ob(function(){c=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return c}),Ob:function(a){var b=this.e.runtimeStyle,c=b.borderWidth,e=b.borderColor;if(c)b.borderWidth="";if(e)b.borderColor="";a=a.call(this);if(c)b.borderWidth=c;if(e)b.borderColor=e;return a}});(function(){g.Oa=g.s.$({na:"border-radius",
|
42
|
+
va:"borderRadius",ba:function(b){var c=null,e,f,h,j,d=false;if(b){f=new g.u(b);var i=function(){for(var k=[],m;(h=f.next())&&h.Y();){j=g.k(h.d);m=j.vb();if(m<0)return null;if(m>0)d=true;k.push(j)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=i()){if(h){if(h.h&g.u.ja.ha&&h.d==="/")e=i()}else e=b;if(d&&b&&e)c={x:b,y:e}}}return c}});var a=g.k("0");a={tl:a,tr:a,br:a,bl:a};g.Oa.Qb={x:a,y:a}})();g.Vb=g.s.$({na:"border-image",va:"borderImage",Ka:{stretch:1,
|
43
|
+
round:1,repeat:1,space:1},ba:function(a){var b=null,c,e,f,h,j,d,i=0,k,m=g.u.ja,l=m.fa,t=m.ga,n=m.A,p=m.Aa;if(a){c=new g.u(a);b={};for(var s=function(r){return r&&r.h&m.ha&&r.d==="/"},u=function(r){return r&&r.h&l&&r.d==="fill"},w=function(){h=c.da(function(r){return!(r.h&(t|p))});if(u(c.next())&&!b.fill)b.fill=true;else c.z();if(s(c.next())){i++;j=c.da(function(){return!(e.h&(t|p|n))&&!(e.h&l&&e.d==="auto")});if(s(c.next())){i++;d=c.da(function(){return!(e.h&(t|n))})}}else c.z()};e=c.next();){a=e.h;
|
44
|
+
f=e.d;if(a&(t|p)&&!h){c.z();w()}else if(u(e)&&!b.fill){b.fill=true;w()}else if(a&l&&this.Ka[f]&&!b.repeat){b.repeat={f:f};if(e=c.next())if(e.h&l&&this.Ka[e.d])b.repeat.kb=e.d;else c.z()}else if(a&m.URL&&!b.src)b.src=f;else return null}if(!b.src||!h||h.length<1||h.length>4||j&&j.length>4||i===1&&j.length<1||d&&d.length>4||i===2&&d.length<1)return null;if(!b.repeat)b.repeat={f:"stretch"};if(!b.repeat.kb)b.repeat.kb=b.repeat.f;a=function(r,o){return{T:o(r[0]),S:o(r[1]||r[0]),L:o(r[2]||r[0]),Q:o(r[3]||
|
45
|
+
r[1]||r[0])}};b.slice=a(h,function(r){return g.k(r.h&t?r.d+"px":r.d)});b.width=j&&j.length>0?a(j,function(r){return r.h&(n|p)?g.k(r.d):r.d}):(k=this.e.currentStyle)&&{T:g.k(k.borderTopWidth),S:g.k(k.borderRightWidth),L:g.k(k.borderBottomWidth),Q:g.k(k.borderLeftWidth)};b.ua=a(d||[0],function(r){return r.h&n?g.k(r.d):r.d})}return b}});g.Zb=g.s.$({na:"box-shadow",va:"boxShadow",ba:function(a){var b,c=g.k,e=g.u.ja,f;if(a){f=new g.u(a);b={ua:[],cb:[]};for(a=function(){for(var h,j,d,i,k,m;h=f.next();){d=
|
46
|
+
h.d;j=h.h;if(j&e.ha&&d===",")break;else if(h.db()&&!k){f.z();k=f.da(function(l){return!l.db()})}else if(j&e.ea&&!i)i=d;else if(j&e.fa&&d==="inset"&&!m)m=true;else return false}h=k&&k.length;if(h>1&&h<5){(m?b.cb:b.ua).push({fd:c(k[0].d),gd:c(k[1].d),blur:c(k[2]?k[2].d:"0"),Xc:c(k[3]?k[3].d:"0"),color:g.pa(i||"currentColor")});return true}return false};a(););}return b&&(b.cb.length||b.ua.length)?b:null}});g.ec=g.s.$({qa:g.s.ma(function(){var a=this.e.currentStyle;return a.visibility+"|"+a.display}),
|
47
|
+
ba:function(){var a=this.e,b=a.runtimeStyle;a=a.currentStyle;var c=b.visibility,e;b.visibility="";e=a.visibility;b.visibility=c;return{cd:e!=="hidden",xc:a.display!=="none"}},g:function(){return false}});g.B={Z:function(a){function b(c,e,f,h){this.e=c;this.q=e;this.j=f;this.parent=h}g.p.fb(b.prototype,g.B,a);return b},eb:false,R:function(){return false},Kb:function(){this.n();this.g()&&this.X()},jb:function(){this.eb=true},Lb:function(){this.g()?this.X():this.n()},Wa:function(a,b){this.Hb(a);for(var c=
|
48
|
+
this.ka||(this.ka=[]),e=a+1,f=c.length,h;e<f;e++)if(h=c[e])break;c[a]=b;this.w().insertBefore(b,h||null)},ra:function(a){var b=this.ka;return b&&b[a]||null},Hb:function(a){var b=this.ra(a),c=this.Ba;if(b&&c){c.removeChild(b);this.ka[a]=null}},sa:function(a,b,c,e){var f=this.Va||(this.Va={}),h=f[a];if(!h){h=f[a]=g.p.Ga("shape");if(b)h.appendChild(h[b]=g.p.Ga(b));if(e){c=this.ra(e);if(!c){this.Wa(e,doc.createElement("group"+e));c=this.ra(e)}}c.appendChild(h);a=h.style;a.position="absolute";a.left=a.top=
|
49
|
+
0;a.behavior="url(#default#VML)"}return h},Za:function(a){var b=this.Va,c=b&&b[a];if(c){c.parentNode.removeChild(c);delete b[a]}return!!c},xb:function(a){var b=this.e,c=this.q.o(),e=c.i,f=c.f,h,j,d,i,k,m;c=a.x.tl.a(b,e);h=a.y.tl.a(b,f);j=a.x.tr.a(b,e);d=a.y.tr.a(b,f);i=a.x.br.a(b,e);k=a.y.br.a(b,f);m=a.x.bl.a(b,e);a=a.y.bl.a(b,f);e=Math.min(e/(c+j),f/(d+k),e/(m+i),f/(h+a));if(e<1){c*=e;h*=e;j*=e;d*=e;i*=e;k*=e;m*=e;a*=e}return{x:{tl:c,tr:j,br:i,bl:m},y:{tl:h,tr:d,br:k,bl:a}}},oa:function(a,b,c){b=
|
50
|
+
b||1;var e,f,h=this.q.o();f=h.i*b;h=h.f*b;var j=this.j.v,d=Math.floor,i=Math.ceil,k=a?a.T*b:0,m=a?a.S*b:0,l=a?a.L*b:0;a=a?a.Q*b:0;var t,n,p,s,u;if(c||j.g()){e=this.xb(c||j.m());c=e.x.tl*b;j=e.y.tl*b;t=e.x.tr*b;n=e.y.tr*b;p=e.x.br*b;s=e.y.br*b;u=e.x.bl*b;b=e.y.bl*b;f="m"+d(a)+","+d(j)+"qy"+d(c)+","+d(k)+"l"+i(f-t)+","+d(k)+"qx"+i(f-m)+","+d(n)+"l"+i(f-m)+","+i(h-s)+"qy"+i(f-p)+","+i(h-l)+"l"+d(u)+","+i(h-l)+"qx"+d(a)+","+i(h-b)+" x e"}else f="m"+d(a)+","+d(k)+"l"+i(f-m)+","+d(k)+"l"+i(f-m)+","+i(h-
|
51
|
+
l)+"l"+d(a)+","+i(h-l)+"xe";return f},w:function(){var a=this.parent.ra(this.C),b;if(!a){a=doc.createElement(this.Fa);b=a.style;b.position="absolute";b.top=b.left=0;this.parent.Wa(this.C,a)}return a},n:function(){this.parent.Hb(this.C);delete this.Va;delete this.ka}};g.cc=g.B.Z({g:function(){var a=this.oc;for(var b in a)if(a.hasOwnProperty(b)&&a[b].g())return true;return false},R:function(){return this.j.lb.D()},jb:function(){if(this.g()){var a=this.wb(),b=a,c;a=a.currentStyle;var e=a.position,f=
|
52
|
+
this.w().style,h=0,j=0;j=this.q.o();if(e==="fixed"&&g.J>6){h=j.x;j=j.y;b=e}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){c=b.getBoundingClientRect();b=b.currentStyle;h=j.x-c.left-(parseFloat(b.borderLeftWidth)||0);j=j.y-c.top-(parseFloat(b.borderTopWidth)||0)}else{b=doc.documentElement;h=j.x+b.scrollLeft-b.clientLeft;j=j.y+b.scrollTop-b.clientTop}b="absolute"}f.position=b;f.left=h;f.top=j;f.zIndex=e==="static"?-1:a.zIndex;this.eb=true}},Lb:function(){},Mb:function(){var a=
|
53
|
+
this.j.lb.m();this.w().style.display=a.cd&&a.xc?"":"none"},Kb:function(){this.g()?this.Mb():this.n()},wb:function(){var a=this.e;return a.tagName in g.Jb?a.offsetParent:a},w:function(){var a=this.Ba,b;if(!a){b=this.wb();a=this.Ba=doc.createElement("css3-container");a.style.direction="ltr";this.Mb();b.parentNode.insertBefore(a,b)}return a},n:function(){var a=this.Ba,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.Ba;delete this.ka}});g.Sb=g.B.Z({C:2,Fa:"background",R:function(){var a=this.j;
|
54
|
+
return a.H.D()||a.v.D()},g:function(){var a=this.j;return a.N.g()||a.v.g()||a.H.g()||a.W.g()&&a.W.m().cb},X:function(){var a=this.q.o();if(a.i&&a.f){this.yc();this.zc()}},yc:function(){var a=this.j.H.m(),b=this.q.o(),c=this.e,e=a&&a.color,f,h;if(e&&e.la()>0){this.yb();a=this.sa("bgColor","fill",this.w(),1);f=b.i;b=b.f;a.stroked=false;a.coordsize=f*2+","+b*2;a.coordorigin="1,1";a.path=this.oa(null,2);h=a.style;h.width=f;h.height=b;a.fill.color=e.O(c);c=e.la();if(c<1)a.fill.opacity=c}else this.Za("bgColor")},
|
55
|
+
zc:function(){var a=this.j.H.m(),b=this.q.o();a=a&&a.M;var c,e,f,h,j;if(a){this.yb();e=b.i;f=b.f;for(j=a.length;j--;){b=a[j];c=this.sa("bgImage"+j,"fill",this.w(),2);c.stroked=false;c.fill.type="tile";c.fillcolor="none";c.coordsize=e*2+","+f*2;c.coordorigin="1,1";c.path=this.oa(0,2);h=c.style;h.width=e;h.height=f;if(b.P==="linear-gradient")this.mc(c,b);else{c.fill.src=b.Cb;this.Pc(c,j)}}}for(j=a?a.length:0;this.Za("bgImage"+j++););},Pc:function(a,b){g.p.Pb(a.fill.src,function(c){var e=a.fill,f=this.e,
|
56
|
+
h=this.q.o(),j=h.i;h=h.f;var d=this.j,i=d.I.m(),k=i&&i.nb;i=k?k.t.a(f):0;var m=k?k.r.a(f):0,l=k?k.b.a(f):0;k=k?k.l.a(f):0;d=d.H.m().M[b];f=d.Ya?d.Ya.coords(f,j-c.i-k-m,h-c.f-i-l):{x:0,y:0};d=d.Bb;l=m=0;var t=j+1,n=h+1,p=g.J===8?0:1;k=Math.round(f.x)+k+0.5;i=Math.round(f.y)+i+0.5;e.position=k/j+","+i/h;if(d&&d!=="repeat"){if(d==="repeat-x"||d==="no-repeat"){m=i+1;n=i+c.f+p}if(d==="repeat-y"||d==="no-repeat"){l=k+1;t=k+c.i+p}a.style.clip="rect("+m+"px,"+t+"px,"+n+"px,"+l+"px)"}},this)},mc:function(a,
|
57
|
+
b){function c(B,C,z,F,H){if(z===0||z===180)return[F,C];else if(z===90||z===270)return[B,H];else{z=Math.tan(-z*t/180);B=z*B-C;C=-1/z;F=C*F-H;H=C-z;return[(F-B)/H,(z*F-C*B)/H]}}function e(){w=m>=90&&m<270?i:0;r=m<180?k:0;o=i-w;x=k-r}function f(){for(;m<0;)m+=360;m%=360}function h(B,C){var z=C[0]-B[0];B=C[1]-B[1];return Math.abs(z===0?B:B===0?z:Math.sqrt(z*z+B*B))}var j=this.e,d=this.q.o(),i=d.i,k=d.f;a=a.fill;var m=b.Xa,l=b.bb;b=b.ca;d=b.length;var t=Math.PI,n,p,s,u,w,r,o,x,q,y,A,D;if(l){l=l.coords(j,
|
58
|
+
i,k);n=l.x;p=l.y}if(m){m=m.vc();f();e();if(!l){n=w;p=r}l=c(n,p,m,o,x);s=l[0];u=l[1]}else if(l){s=i-n;u=k-p}else{n=p=s=0;u=k}l=s-n;q=u-p;if(m===void 0){m=!l?q<0?90:270:!q?l<0?180:0:-Math.atan2(q,l)/t*180;f();e()}l=m%90?Math.atan2(l*i/k,q)/t*180:m+90;l+=180;l%=360;y=h([n,p],[s,u]);s=h([w,r],c(w,r,m,o,x));u=[];p=h([n,p],c(n,p,m,w,r))/s*100;n=[];for(q=0;q<d;q++)n.push(b[q].Fb?b[q].Fb.a(j,y):q===0?0:q===d-1?y:null);for(q=1;q<d;q++){if(n[q]===null){A=n[q-1];y=q;do D=n[++y];while(D===null);n[q]=A+(D-A)/
|
59
|
+
(y-q+1)}n[q]=Math.max(n[q],n[q-1])}for(q=0;q<d;q++)u.push(p+n[q]/s*100+"% "+b[q].color.O(j));a.angle=l;a.type="gradient";a.method="sigma";a.color=b[0].color.O(j);a.color2=b[d-1].color.O(j);a.colors.value=u.join(",")},yb:function(){var a=this.e.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},n:function(){g.B.n.call(this);var a=this.e.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});g.Wb=g.B.Z({C:4,Fa:"border",qc:{TABLE:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,
|
60
|
+
IMG:1,HR:1,FIELDSET:1},Jc:{submit:1,button:1,reset:1},R:function(){var a=this.j;return a.I.D()||a.v.D()},g:function(){var a=this.j;return(a.N.g()||a.v.g()||a.H.g())&&a.I.g()},X:function(){var a=this.e,b=this.j.I.m(),c=this.q.o(),e=c.i;c=c.f;var f,h,j,d,i;if(b){this.Hc();b=this.Bc(2);d=0;for(i=b.length;d<i;d++){j=b[d];f=this.sa("borderPiece"+d,j.stroke?"stroke":"fill",this.w());f.coordsize=e*2+","+c*2;f.coordorigin="1,1";f.path=j.path;h=f.style;h.width=e;h.height=c;f.filled=!!j.fill;f.stroked=!!j.stroke;
|
61
|
+
if(j.stroke){f=f.stroke;f.weight=j.mb+"px";f.color=j.color.O(a);f.dashstyle=j.stroke==="dashed"?"2 2":j.stroke==="dotted"?"1 1":"solid";f.linestyle=j.stroke==="double"&&j.mb>2?"ThinThin":"Single"}else f.fill.color=j.fill.O(a)}for(;this.Za("borderPiece"+d++););}},Hc:function(){var a=this.e,b=a.currentStyle,c=a.runtimeStyle,e=a.tagName,f=g.J===6,h;if(f&&e in this.qc||e==="BUTTON"||e==="INPUT"&&a.type in this.Jc){c.borderWidth="";e=this.j.I.Ib;for(h=e.length;h--;){f=e[h];c["padding"+f]="";c["padding"+
|
62
|
+
f]=g.k(b["padding"+f]).a(a)+g.k(b["border"+f+"Width"]).a(a)+(!g.J===8&&h%2?1:0)}c.borderWidth=0}else if(f){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=doc.createElement("ie6-mask");e=b.style;e.visibility="visible";for(e.zoom=1;e=a.firstChild;)b.appendChild(e);a.appendChild(b);c.visibility="hidden"}}else c.borderColor="transparent"},Bc:function(a){var b=this.e,c,e,f,h=this.j.I,j=[],d,i,k,m,l=Math.round,t,n,p;if(h.g()){c=h.m();h=c.nb;n=c.Zc;p=c.tc;if(c.ed&&c.$c&&c.uc){if(p.t.la()>
|
63
|
+
0){c=h.t.a(b);k=c/2;j.push({path:this.oa({T:k,S:k,L:k,Q:k},a),stroke:n.t,color:p.t,mb:c})}}else{a=a||1;c=this.q.o();e=c.i;f=c.f;c=l(h.t.a(b));k=l(h.r.a(b));m=l(h.b.a(b));b=l(h.l.a(b));var s={t:c,r:k,b:m,l:b};b=this.j.v;if(b.g())t=this.xb(b.m());d=Math.floor;i=Math.ceil;var u=function(o,x){return t?t[o][x]:0},w=function(o,x,q,y,A,D){var B=u("x",o),C=u("y",o),z=o.charAt(1)==="r";o=o.charAt(0)==="b";return B>0&&C>0?(D?"al":"ae")+(z?i(e-B):d(B))*a+","+(o?i(f-C):d(C))*a+","+(d(B)-x)*a+","+(d(C)-q)*a+","+
|
64
|
+
y*65535+","+2949075*(A?1:-1):(D?"m":"l")+(z?e-x:x)*a+","+(o?f-q:q)*a},r=function(o,x,q,y){var A=o==="t"?d(u("x","tl"))*a+","+i(x)*a:o==="r"?i(e-x)*a+","+d(u("y","tr"))*a:o==="b"?i(e-u("x","br"))*a+","+d(f-x)*a:d(x)*a+","+i(f-u("y","bl"))*a;o=o==="t"?i(e-u("x","tr"))*a+","+i(x)*a:o==="r"?i(e-x)*a+","+i(f-u("y","br"))*a:o==="b"?d(u("x","bl"))*a+","+d(f-x)*a:d(x)*a+","+d(u("y","tl"))*a;return q?(y?"m"+o:"")+"l"+A:(y?"m"+A:"")+"l"+o};b=function(o,x,q,y,A,D){var B=o==="l"||o==="r",C=s[o],z,F;if(C>0&&n[o]!==
|
65
|
+
"none"&&p[o].la()>0){z=s[B?o:x];x=s[B?x:o];F=s[B?o:q];q=s[B?q:o];if(n[o]==="dashed"||n[o]==="dotted"){j.push({path:w(y,z,x,D+45,0,1)+w(y,0,0,D,1,0),fill:p[o]});j.push({path:r(o,C/2,0,1),stroke:n[o],mb:C,color:p[o]});j.push({path:w(A,F,q,D,0,1)+w(A,0,0,D-45,1,0),fill:p[o]})}else j.push({path:w(y,z,x,D+45,0,1)+r(o,C,0,0)+w(A,F,q,D,0,0)+(n[o]==="double"&&C>2?w(A,F-d(F/3),q-d(q/3),D-45,1,0)+r(o,i(C/3*2),1,0)+w(y,z-d(z/3),x-d(x/3),D,1,0)+"x "+w(y,d(z/3),d(x/3),D+45,0,1)+r(o,d(C/3),1,0)+w(A,d(F/3),d(q/
|
66
|
+
3),D,0,0):"")+w(A,0,0,D-45,1,0)+r(o,0,1,0)+w(y,0,0,D,1,0),fill:p[o]})}};b("t","l","r","tl","tr",90);b("r","t","b","tr","br",0);b("b","r","l","br","bl",-90);b("l","b","t","bl","tl",-180)}}return j},n:function(){g.B.n.call(this);this.e.runtimeStyle.borderColor=""}});g.Ub=g.B.Z({C:5,Oc:["t","tr","r","br","b","bl","l","tl","c"],R:function(){return this.j.N.D()},g:function(){return this.j.N.g()},X:function(){this.w();var a=this.j.N.m(),b=this.q.o(),c=this.e,e=this.Gb;g.p.Pb(a.src,function(f){function h(w,
|
67
|
+
r,o,x,q){w=e[w].style;var y=Math.max;w.width=y(r,0);w.height=y(o,0);w.left=x;w.top=q}function j(w,r,o){for(var x=0,q=w.length;x<q;x++)e[w[x]].imagedata[r]=o}var d=b.i,i=b.f,k=a.width,m=k.T.a(c),l=k.S.a(c),t=k.L.a(c);k=k.Q.a(c);var n=a.slice,p=n.T.a(c),s=n.S.a(c),u=n.L.a(c);n=n.Q.a(c);h("tl",k,m,0,0);h("t",d-k-l,m,k,0);h("tr",l,m,d-l,0);h("r",l,i-m-t,d-l,m);h("br",l,t,d-l,i-t);h("b",d-k-l,t,k,i-t);h("bl",k,t,0,i-t);h("l",k,i-m-t,0,m);h("c",d-k-l,i-m-t,k,m);j(["tl","t","tr"],"cropBottom",(f.f-p)/f.f);
|
68
|
+
j(["tl","l","bl"],"cropRight",(f.i-n)/f.i);j(["bl","b","br"],"cropTop",(f.f-u)/f.f);j(["tr","r","br"],"cropLeft",(f.i-s)/f.i);if(a.repeat.kb==="stretch"){j(["l","r","c"],"cropTop",p/f.f);j(["l","r","c"],"cropBottom",u/f.f)}if(a.repeat.f==="stretch"){j(["t","b","c"],"cropLeft",n/f.i);j(["t","b","c"],"cropRight",s/f.i)}e.c.style.display=a.fill?"":"none"},this)},w:function(){var a=this.parent.ra(this.C),b,c,e,f=this.Oc,h=f.length;if(!a){a=doc.createElement("border-image");b=a.style;b.position="absolute";
|
69
|
+
this.Gb={};for(e=0;e<h;e++){c=this.Gb[f[e]]=g.p.Ga("rect");c.appendChild(g.p.Ga("imagedata"));b=c.style;b.behavior="url(#default#VML)";b.position="absolute";b.top=b.left=0;c.imagedata.src=this.j.N.m().src;c.stroked=false;c.filled=false;a.appendChild(c)}this.parent.Wa(this.C,a)}return a}});g.Yb=g.B.Z({C:1,Fa:"outset-box-shadow",R:function(){var a=this.j;return a.W.D()||a.v.D()},g:function(){var a=this.j.W;return a.g()&&a.m().ua[0]},X:function(){function a(z,F,H,K,J,v,E){z=b.sa("shadow"+z+F,"fill",
|
70
|
+
e,j-z);F=z.fill;z.coordsize=m*2+","+l*2;z.coordorigin="1,1";z.stroked=false;z.filled=true;F.color=J.O(c);if(v){F.type="gradienttitle";F.color2=F.color;F.opacity=0}z.path=E;u=z.style;u.left=H;u.top=K;u.width=m;u.height=l;return z}var b=this,c=this.e,e=this.w(),f=this.j,h=f.W.m().ua;f=f.v.m();var j=h.length,d=j,i,k=this.q.o(),m=k.i,l=k.f;k=g.J===8?1:0;for(var t=["tl","tr","br","bl"],n,p,s,u,w,r,o,x,q,y,A,D,B,C;d--;){p=h[d];w=p.fd.a(c);r=p.gd.a(c);i=p.Xc.a(c);o=p.blur.a(c);p=p.color;x=-i-o;if(!f&&o)f=
|
71
|
+
g.Oa.Qb;x=this.oa({T:x,S:x,L:x,Q:x},2,f);if(o){q=(i+o)*2+m;y=(i+o)*2+l;A=o*2/q;D=o*2/y;if(o-i>m/2||o-i>l/2)for(i=4;i--;){n=t[i];B=n.charAt(0)==="b";C=n.charAt(1)==="r";n=a(d,n,w,r,p,o,x);s=n.fill;s.focusposition=(C?1-A:A)+","+(B?1-D:D);s.focussize="0,0";n.style.clip="rect("+((B?y/2:0)+k)+"px,"+(C?q:q/2)+"px,"+(B?y:y/2)+"px,"+((C?q/2:0)+k)+"px)"}else{n=a(d,"",w,r,p,o,x);s=n.fill;s.focusposition=A+","+D;s.focussize=1-A*2+","+(1-D*2)}}else{n=a(d,"",w,r,p,o,x);w=p.la();if(w<1)n.fill.opacity=w}}}});g.bc=
|
72
|
+
g.B.Z({C:6,Fa:"imgEl",R:function(){var a=this.j;return this.e.src!==this.hc||a.v.D()},g:function(){var a=this.j;return a.v.g()||a.H.Eb()},X:function(){this.hc=j;this.Gc();var a=this.sa("img","fill",this.w()),b=a.fill,c=this.q.o(),e=c.i;c=c.f;var f=this.j.I.m();f=f&&f.nb;var h=this.e,j=h.src,d=Math.round;a.stroked=false;b.type="frame";b.src=j;b.position=(e?0.5/e:0)+","+(c?0.5/c:0);a.coordsize=e*2+","+c*2;a.coordorigin="1,1";a.path=this.oa(f?{T:d(f.t.a(h)),S:d(f.r.a(h)),L:d(f.b.a(h)),Q:d(f.l.a(h))}:
|
73
|
+
0,2);a=a.style;a.width=e;a.height=c},Gc:function(){this.e.runtimeStyle.filter="alpha(opacity=0)"},n:function(){g.B.n.call(this);this.e.runtimeStyle.filter=""}});g.Qa=function(){function a(d){function i(){if(!z){var v,E,G=d.currentStyle,I=G.getAttribute(c)==="true";J=G.getAttribute(e);J=g.Ab===8?J!=="false":J==="true";if(!C){C=1;d.runtimeStyle.zoom=1;G=d;for(var O=1;G=G.previousSibling;)if(G.nodeType===1){O=0;break}if(O)d.className+=" "+g.Pa+"first-child"}y.Ja();if(I&&(E=y.o())&&(v=doc.documentElement||
|
74
|
+
doc.body)&&(E.y>v.clientHeight||E.x>v.clientWidth||E.y+E.f<0||E.x+E.i<0)){if(!H){H=1;g.Ra.aa(i)}}else{z=1;H=C=0;g.Ra.Ma(i);A={H:new g.Tb(d),I:new g.Xb(d),N:new g.Vb(d),v:new g.Oa(d),W:new g.Zb(d),lb:new g.ec(d)};D=[A.H,A.I,A.N,A.v,A.W,A.lb];v=new g.cc(d,y,A);E=[new g.Yb(d,y,A,v),new g.Sb(d,y,A,v),new g.Wb(d,y,A,v),new g.Ub(d,y,A,v)];d.tagName==="IMG"&&E.push(new g.bc(d,y,A,v));v.oc=E;q=[v].concat(E);if(v=d.currentStyle.getAttribute(g.F+"watch-ancestors")){B=[];v=parseInt(v,10);E=0;for(I=d.parentNode;I&&
|
75
|
+
(v==="NaN"||E++<v);){B.push(I);I.attachEvent("onpropertychange",u);I.attachEvent("onmouseenter",p);I.attachEvent("onmouseleave",s);I=I.parentNode}}if(J){g.ya.aa(m);g.ya.Tc()}m(1)}if(!F){F=1;d.attachEvent("onmove",k);d.attachEvent("onresize",k);d.attachEvent("onpropertychange",l);d.attachEvent("onmouseenter",p);d.attachEvent("onmouseleave",s);g.za.aa(k);g.G.aa(o)}y.La()}}function k(){y&&y.Ec()&&m()}function m(v){if(!K)if(z){var E,G;w();if(v||y.Qc()){E=0;for(G=q.length;E<G;E++)q[E].jb()}if(v||y.Vc()){E=
|
76
|
+
0;for(G=q.length;E<G;E++)q[E].Lb()}r()}else C||i()}function l(){var v,E,G;v=event;if(!K&&!(v&&v.propertyName in j))if(z){w();v=0;for(E=q.length;v<E;v++){G=q[v];G.eb||G.jb();G.R()&&G.Kb()}r()}else C||i()}function t(){if(d)d.className+=f}function n(){if(d)d.className=d.className.replace(h,"")}function p(){setTimeout(t,0)}function s(){setTimeout(n,0)}function u(){var v=event.propertyName;if(v==="className"||v==="id")l()}function w(){y.Ja();for(var v=D.length;v--;)D[v].Ja()}function r(){for(var v=D.length;v--;)D[v].La();
|
77
|
+
y.La()}function o(){if(F){if(B)for(var v=0,E=B.length,G;v<E;v++){G=B[v];G.detachEvent("onpropertychange",u);G.detachEvent("onmouseenter",p);G.detachEvent("onmouseleave",s)}d.detachEvent("onmove",m);d.detachEvent("onresize",m);d.detachEvent("onpropertychange",l);d.detachEvent("onmouseenter",p);d.detachEvent("onmouseleave",s);g.G.Ma(o);F=0}}function x(){if(!K){var v,E;o();K=1;if(q){v=0;for(E=q.length;v<E;v++)q[v].n()}J&&g.ya.Ma(m);g.za.Ma(m);q=y=A=D=B=d=null}}var q,y=new M(d),A,D,B,C,z,F,H,K,J;this.Ic=
|
78
|
+
i;this.update=m;this.n=x;this.Ac=d}var b={},c=g.F+"lazy-init",e=g.F+"poll",f=" "+g.Pa+"hover",h=new RegExp("\\b"+g.Pa+"hover\\b","g"),j={background:1,bgColor:1,display:1};a.Cc=function(d){var i=g.p.ta(d);return b[i]||(b[i]=new a(d))};a.n=function(d){d=g.p.ta(d);var i=b[d];if(i){i.n();delete b[d]}};a.wc=function(){var d=[],i;if(b){for(var k in b)if(b.hasOwnProperty(k)){i=b[k];d.push(i.Ac);i.n()}b={}}return d};return a}();g.attach=function(a){g.Ab<9&&g.Qa.Cc(a).Ic()};g.detach=function(a){g.Qa.n(a)}};
|
79
|
+
var N=window.PIE,P=element;function init(){N&&doc.media!=="print"&&N.attach(P)}function cleanup(){if(N){N.detach(P);N=P=0}}P.readyState==="complete"&&init();
|
80
|
+
</script>
|
81
|
+
</PUBLIC:COMPONENT>
|