jekyll-octopod 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/_includes/post.html +6 -2
- data/assets/_includes/sidebar.html +10 -7
- data/assets/_layouts/default.html +0 -5
- data/assets/_layouts/with_twitter_card.html +0 -5
- data/assets/podigee-player/fonts/podigee-podcast-player.eot +0 -0
- data/assets/podigee-player/fonts/podigee-podcast-player.json +42711 -0
- data/assets/podigee-player/fonts/podigee-podcast-player.svg +32 -0
- data/assets/podigee-player/fonts/podigee-podcast-player.ttf +0 -0
- data/assets/podigee-player/fonts/podigee-podcast-player.woff +0 -0
- data/assets/podigee-player/images/chromcast.png +0 -0
- data/assets/podigee-player/javascripts/podigee-podcast-player-embed.js +11 -0
- data/assets/podigee-player/javascripts/podigee-podcast-player-embed.js.gz +0 -0
- data/assets/podigee-player/javascripts/podigee-podcast-player.js +1 -0
- data/assets/podigee-player/javascripts/podigee-podcast-player.js.gz +0 -0
- data/assets/podigee-player/podigee-podcast-player.html +329 -0
- data/assets/podigee-player/stylesheets/app.css +223 -0
- data/assets/podigee-player/stylesheets/app.css.gz +0 -0
- data/assets/podigee-player/themes/default-dark/index.css +397 -0
- data/assets/podigee-player/themes/default-dark/index.html +31 -0
- data/assets/podigee-player/themes/default-dark/variables.css +0 -0
- data/assets/podigee-player/themes/default/index.css +383 -0
- data/assets/podigee-player/themes/default/index.html +57 -0
- data/assets/podigee-player/themes/default/variables.css +0 -0
- data/assets/podigee-player/themes/legacy/index.css +248 -0
- data/assets/podigee-player/themes/legacy/index.html +28 -0
- data/assets/podigee-player/themes/legacy/variables.css +0 -0
- data/assets/podigee-player/themes/minimal/index.css +65 -0
- data/assets/podigee-player/themes/minimal/index.html +12 -0
- data/assets/podigee-player/themes/republica/index.css +352 -0
- data/assets/podigee-player/themes/republica/index.html +32 -0
- data/assets/subscribe-button/button.html +15 -0
- data/assets/subscribe-button/fonts/podlove/Podlove.eot +0 -0
- data/assets/subscribe-button/fonts/podlove/Podlove.svg +16 -0
- data/assets/subscribe-button/fonts/podlove/Podlove.ttf +0 -0
- data/assets/subscribe-button/fonts/podlove/Podlove.woff +0 -0
- data/assets/subscribe-button/fonts/roboto_light/Roboto-Light-webfont.eot +0 -0
- data/assets/subscribe-button/fonts/roboto_light/Roboto-Light-webfont.svg +641 -0
- data/assets/subscribe-button/fonts/roboto_light/Roboto-Light-webfont.ttf +0 -0
- data/assets/subscribe-button/fonts/roboto_light/Roboto-Light-webfont.woff +0 -0
- data/assets/subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.eot +0 -0
- data/assets/subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.svg +593 -0
- data/assets/subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.ttf +0 -0
- data/assets/subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.woff +0 -0
- data/assets/subscribe-button/images/android/acast.png +0 -0
- data/assets/subscribe-button/images/android/antennapod.png +0 -0
- data/assets/subscribe-button/images/android/beyondpod.png +0 -0
- data/assets/subscribe-button/images/android/chakouat.png +0 -0
- data/assets/subscribe-button/images/android/doggcatcher.png +0 -0
- data/assets/subscribe-button/images/android/playerfm.png +0 -0
- data/assets/subscribe-button/images/android/pocketcasts.png +0 -0
- data/assets/subscribe-button/images/android/podcastaddict.png +0 -0
- data/assets/subscribe-button/images/android/podcastrepublic.png +0 -0
- data/assets/subscribe-button/images/android/podcatcher-deluxe.png +0 -0
- data/assets/subscribe-button/images/android/podkicker.png +0 -0
- data/assets/subscribe-button/images/android/shortorange.png +0 -0
- data/assets/subscribe-button/images/android/upod.png +0 -0
- data/assets/subscribe-button/images/blackberry/bpod.png +0 -0
- data/assets/subscribe-button/images/blackberry/gpodder.png +0 -0
- data/assets/subscribe-button/images/cloud/gpoddernet.png +0 -0
- data/assets/subscribe-button/images/cloud/instacastcloud.png +0 -0
- data/assets/subscribe-button/images/cloud/playerfm.png +0 -0
- data/assets/subscribe-button/images/cloud/pocketcasts.png +0 -0
- data/assets/subscribe-button/images/cloud/shortorange.png +0 -0
- data/assets/subscribe-button/images/generic/android.png +0 -0
- data/assets/subscribe-button/images/generic/rss.png +0 -0
- data/assets/subscribe-button/images/generic/windows.png +0 -0
- data/assets/subscribe-button/images/generic/windows8.png +0 -0
- data/assets/subscribe-button/images/generic/windowsphone.png +0 -0
- data/assets/subscribe-button/images/icon-big.png +0 -0
- data/assets/subscribe-button/images/icon-big@2x.png +0 -0
- data/assets/subscribe-button/images/icon-medium.png +0 -0
- data/assets/subscribe-button/images/icon-medium@2x.png +0 -0
- data/assets/subscribe-button/images/icon-small.png +0 -0
- data/assets/subscribe-button/images/icon-small@2x.png +0 -0
- data/assets/subscribe-button/images/icon.svg +32 -0
- data/assets/subscribe-button/images/ios/castro.png +0 -0
- data/assets/subscribe-button/images/ios/downcast.png +0 -0
- data/assets/subscribe-button/images/ios/icatcher.png +0 -0
- data/assets/subscribe-button/images/ios/instacast.png +0 -0
- data/assets/subscribe-button/images/ios/overcast.png +0 -0
- data/assets/subscribe-button/images/ios/pocketcasts.png +0 -0
- data/assets/subscribe-button/images/ios/podcasts.png +0 -0
- data/assets/subscribe-button/images/ios/podcat.png +0 -0
- data/assets/subscribe-button/images/ios/podgrasp.png +0 -0
- data/assets/subscribe-button/images/ios/podwrangler.png +0 -0
- data/assets/subscribe-button/images/ios/rssradio.png +0 -0
- data/assets/subscribe-button/images/ios/shortorange.png +0 -0
- data/assets/subscribe-button/images/ios/sleekcast.png +0 -0
- data/assets/subscribe-button/images/linux/clementine.png +0 -0
- data/assets/subscribe-button/images/linux/gpodder.png +0 -0
- data/assets/subscribe-button/images/linux/miro.png +0 -0
- data/assets/subscribe-button/images/osx/downcast.png +0 -0
- data/assets/subscribe-button/images/osx/gpodder.png +0 -0
- data/assets/subscribe-button/images/osx/instacast.png +0 -0
- data/assets/subscribe-button/images/osx/itunes.png +0 -0
- data/assets/subscribe-button/images/osx/miro.png +0 -0
- data/assets/subscribe-button/images/osx/podgrasp.png +0 -0
- data/assets/subscribe-button/images/osx/podsnatcher.png +0 -0
- data/assets/subscribe-button/images/podlove.svg +45 -0
- data/assets/subscribe-button/images/stores/android.png +0 -0
- data/assets/subscribe-button/images/stores/apple-app-store-en.png +0 -0
- data/assets/subscribe-button/images/stores/apple-app-store-en.svg +129 -0
- data/assets/subscribe-button/images/stores/blackberry-world-en.png +0 -0
- data/assets/subscribe-button/images/stores/google-play-en.png +0 -0
- data/assets/subscribe-button/images/stores/google-play-en.svg +126 -0
- data/assets/subscribe-button/images/stores/google-play-en@1x.svg +126 -0
- data/assets/subscribe-button/images/stores/ios.png +0 -0
- data/assets/subscribe-button/images/stores/osx.png +0 -0
- data/assets/subscribe-button/images/stores/windows-phone-store-en.png +0 -0
- data/assets/subscribe-button/images/stores/windows-phone-store-en.svg +40 -0
- data/assets/subscribe-button/images/stores/windows-store-en.png +0 -0
- data/assets/subscribe-button/images/stores/windows-store-en.svg +61 -0
- data/assets/subscribe-button/images/stores/windows8.png +0 -0
- data/assets/subscribe-button/images/stores/windows81.png +0 -0
- data/assets/subscribe-button/images/stores/windowsphone.png +0 -0
- data/assets/subscribe-button/images/windows/gpodder.png +0 -0
- data/assets/subscribe-button/images/windows/itunes.png +0 -0
- data/assets/subscribe-button/images/windows/miro.png +0 -0
- data/assets/subscribe-button/images/windows/podscout.png +0 -0
- data/assets/subscribe-button/images/windowsphone/bringcast.png +0 -0
- data/assets/subscribe-button/images/windowsphone/gramocast.png +0 -0
- data/assets/subscribe-button/images/windowsphone/ipodcast.png +0 -0
- data/assets/subscribe-button/images/windowsphone/pcast.png +0 -0
- data/assets/subscribe-button/images/windowsphone/podcastbrain.png +0 -0
- data/assets/subscribe-button/images/windowsphone/podcastlounge.png +0 -0
- data/assets/subscribe-button/images/windowsphone/podcastpicker.png +0 -0
- data/assets/subscribe-button/images/windowsphone/podcasts.png +0 -0
- data/assets/subscribe-button/images/windowsphone/podcastspro.png +0 -0
- data/assets/subscribe-button/images/windowsphone/wpodder.png +0 -0
- data/assets/subscribe-button/javascripts/app.js +6 -0
- data/assets/subscribe-button/javascripts/app.js.gz +0 -0
- data/assets/subscribe-button/stylesheets/app.css +552 -0
- data/assets/subscribe-button/stylesheets/app.css.gz +0 -0
- data/assets/subscribe-button/stylesheets/app.css.map +1 -0
- data/assets/subscribe-button/stylesheets/app.css.map.gz +0 -0
- data/lib/jekyll-octopod.rb +1 -0
- data/lib/jekyll/font_awesome.rb +71 -0
- data/lib/jekyll/octopod_filters.rb +3 -1
- data/lib/jekyll/podigee_player_tag.rb +4 -2
- data/lib/octopod/version.rb +1 -1
- metadata +134 -2
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>Generated by IcoMoon</metadata>
|
5
|
+
<defs>
|
6
|
+
<font id="podigee-podcast-player" horiz-adv-x="1024">
|
7
|
+
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8
|
+
<missing-glyph horiz-adv-x="1024" />
|
9
|
+
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10
|
+
<glyph unicode="" glyph-name="error_outline" d="M512 84.667c188 0 342 154 342 342s-154 342-342 342-342-154-342-342 154-342 342-342zM512 852.667c236 0 426-190 426-426s-190-426-426-426-426 190-426 426 190 426 426 426zM470 640.667h84v-256h-84v256zM470 298.667h84v-86h-84v86z" />
|
11
|
+
<glyph unicode="" glyph-name="pause" d="M598 724.667h170v-596h-170v596zM256 128.667v596h170v-596h-170z" />
|
12
|
+
<glyph unicode="" glyph-name="play" d="M342 724.667l468-298-468-298v596z" />
|
13
|
+
<glyph unicode="" glyph-name="skip_next" d="M682 682.667h86v-512h-86v512zM256 170.667v512l362-256z" />
|
14
|
+
<glyph unicode="" glyph-name="skip_previous" d="M406 426.667l362 256v-512zM256 682.667h86v-512h-86v512z" />
|
15
|
+
<glyph unicode="" glyph-name="forward_30" d="M170 384.667c0 188 154 340 342 340v172l214-214-214-214v172c-140 0-256-116-256-256s116-256 256-256 256 116 256 256h86c0-188-154-342-342-342s-342 154-342 342zM568 290.667c0-6.531 12.65-14 20-14 4 0 10 0 14 4l8 10s4 8 4 12v86c0 0-4 8-4 12 0 5.505-16.424 14-22 14-4 0-8-2-12-6l-8-8s-4-8-4-12v-86s4-8 4-12zM652 332.667c0-12 0-26-4-34l-12-26s-14-12-22-12-18-4-26-4c-20.252 0-32.299 9.149-46 16-8 4-8 14-12 26s-6 22-6 34v30c0 12 2 26 6 34l12 26s14 12 22 12 16 4 24 4 18 0 26-4 14-8 22-12 8-14 12-26 4-22 4-34v-30zM426 362.667c16.239 0 30 9.918 30 26v8s-4 4-4 8-4 4-8 4h-22s-4-4-8-4-4-4-4-8v-8h-44c0 19.788 17.639 46 36 46 4 0 16 4 20 4 17.345 0 35.264-5.632 48-12 10.13-5.065 16-24.218 16-38v-14s-4-8-4-12-4-8-8-8-10-6-14-10c8-4 18-8 22-16s8-18 8-26 0-18-4-22-8-12-12-16-14-8-22-8-18-4-26-4-16 0-20 4-14 4-22 8c-11.162 5.581-18 27.017-18 42h36v-8s4-4 4-8 4-4 8-4h22s4 4 8 4 4 4 4 8v22s-4 4-4 8-4 4-8 4h-26v30h16z" />
|
16
|
+
<glyph unicode="" glyph-name="backward_10" d="M564 290.667c0-6.531 12.65-14 20-14 4 0 10 0 14 4l8 10s4 8 4 12v86c0 0-4 8-4 12 0 5.505-16.424 14-22 14-4 0-8-2-12-6l-8-8s-6-8-6-12v-86s6-8 6-12zM648 332.667c0-12 0-26-4-34l-12-26s-14-12-22-12-18-4-26-4-18 0-26 4-12 8-20 12c-13.488 6.744-18 39.492-18 60v30c0 12 0 26 4 34l14 26s12 12 20 12 18 4 26 4 18 0 26-4 14-8 22-12 8-14 12-26 4-22 4-34v-30zM466 256.667h-40v140l-42-12v30l76 24h6v-182zM512 724.667c188 0 342-152 342-340s-154-342-342-342-342 154-342 342h86c0-140 116-256 256-256s256 116 256 256-116 256-256 256v-172l-214 214 214 214v-172z" />
|
17
|
+
<glyph unicode="" glyph-name="mail_outline" d="M512 468.667l342 214h-684zM854 170.667v426l-342-212-342 212v-426h684zM854 768.667c46 0 84-40 84-86v-512c0-46-38-86-84-86h-684c-46 0-84 40-84 86v512c0 46 38 86 84 86h684z" />
|
18
|
+
<glyph unicode="" glyph-name="transcript" d="M128 810.667h768v-86h-768v86zM128 42.667v86h768v-86h-768zM128 384.667v84h768v-84h-768zM640 640.667v-86h-512v86h512zM640 298.667v-86h-512v86h512z" />
|
19
|
+
<glyph unicode="" glyph-name="download" d="M726 384.667h-128v170h-172v-170h-128l214-214zM826 510.667c110-8 198-100 198-212 0-118-96-214-214-214h-554c-142 0-256 114-256 256 0 132 100 240 228 254 54 102 160 174 284 174 156 0 284-110 314-258z" />
|
20
|
+
<glyph unicode="" glyph-name="cast" d="M42 512.667c258 0 470-210 470-470h-86c0 212-172 384-384 384v86zM42 340.667c166 0 300-132 300-298h-86c0 118-96 214-214 214v84zM42 170.667c70 0 128-58 128-128h-128v128zM896 810.667c46 0 86-40 86-86v-596c0-46-40-86-86-86h-298v86h298v596h-768v-128h-86v128c0 46 40 86 86 86h768z" />
|
21
|
+
<glyph unicode="" glyph-name="keyboard_arrow_left" d="M658 252.667l-60-60-256 256 256 256 60-60-196-196z" />
|
22
|
+
<glyph unicode="" glyph-name="keyboard_arrow_right" d="M366 240.667l196 196-196 196 60 60 256-256-256-256z" />
|
23
|
+
<glyph unicode="" glyph-name="chaptermarks" d="M854 426.667v342h-214v-342l106 64zM854 852.667c46 0 84-38 84-84v-512c0-46-38-86-84-86h-512c-46 0-86 40-86 86v512c0 46 40 84 86 84h512zM170 682.667v-598h598v-84h-598c-46 0-84 38-84 84v598h84z" />
|
24
|
+
<glyph unicode="" glyph-name="close" d="M810 664.667l-238-238 238-238-60-60-238 238-238-238-60 60 238 238-238 238 60 60 238-238 238 238z" />
|
25
|
+
<glyph unicode="" glyph-name="share" d="M768 252.667c68 0 124-56 124-124s-56-126-124-126-124 58-124 126c0 10 0 20 2 28l-302 176c-24-22-54-34-88-34-70 0-128 58-128 128s58 128 128 128c34 0 64-12 88-34l300 174c-2 10-4 20-4 30 0 70 58 128 128 128s128-58 128-128-58-128-128-128c-34 0-64 14-88 36l-300-176c2-10 4-20 4-30s-2-20-4-30l304-176c22 20 52 32 84 32z" />
|
26
|
+
<glyph unicode="" glyph-name="episode-info" d="M470 554.667v86h84v-86h-84zM512 84.667c188 0 342 154 342 342s-154 342-342 342-342-154-342-342 154-342 342-342zM512 852.667c236 0 426-190 426-426s-190-426-426-426-426 190-426 426 190 426 426 426zM470 212.667v256h84v-256h-84z" />
|
27
|
+
<glyph unicode="" glyph-name="playlist" d="M298 640.667h598v-86h-598v86zM298 212.667v86h598v-86h-598zM298 384.667v84h598v-84h-598zM128 554.667v86h86v-86h-86zM128 212.667v86h86v-86h-86zM128 384.667v84h86v-84h-86z" />
|
28
|
+
<glyph unicode="" glyph-name="twitter" horiz-adv-x="951" d="M925.714 717.714q-38.286-56-92.571-95.429 0.571-8 0.571-24 0-74.286-21.714-148.286t-66-142-105.429-120.286-147.429-83.429-184.571-31.143q-154.857 0-283.429 82.857 20-2.286 44.571-2.286 128.571 0 229.143 78.857-60 1.143-107.429 36.857t-65.143 91.143q18.857-2.857 34.857-2.857 24.571 0 48.571 6.286-64 13.143-106 63.714t-42 117.429v2.286q38.857-21.714 83.429-23.429-37.714 25.143-60 65.714t-22.286 88q0 50.286 25.143 93.143 69.143-85.143 168.286-136.286t212.286-56.857q-4.571 21.714-4.571 42.286 0 76.571 54 130.571t130.571 54q80 0 134.857-58.286 62.286 12 117.143 44.571-21.143-65.714-81.143-101.714 53.143 5.714 106.286 28.571z" />
|
29
|
+
<glyph unicode="" glyph-name="facebook, facebook-f" horiz-adv-x="602" d="M548 944v-150.857h-89.714q-49.143 0-66.286-20.571t-17.143-61.714v-108h167.429l-22.286-169.143h-145.143v-433.714h-174.857v433.714h-145.714v169.143h145.714v124.571q0 106.286 59.429 164.857t158.286 58.571q84 0 130.286-6.857z" />
|
30
|
+
<glyph unicode="" glyph-name="google-plus" horiz-adv-x="1317" d="M821.143 429.143q0-118.857-49.714-211.714t-141.714-145.143-210.857-52.286q-85.143 0-162.857 33.143t-133.714 89.143-89.143 133.714-33.143 162.857 33.143 162.857 89.143 133.714 133.714 89.143 162.857 33.143q163.429 0 280.571-109.714l-113.714-109.143q-66.857 64.571-166.857 64.571-70.286 0-130-35.429t-94.571-96.286-34.857-132.857 34.857-132.857 94.571-96.286 130-35.429q47.429 0 87.143 13.143t65.429 32.857 44.857 44.857 28 47.429 12.286 42.286h-237.714v144h395.429q6.857-36 6.857-69.714zM1316.571 498.857v-120h-119.429v-119.429h-120v119.429h-119.429v120h119.429v119.429h120v-119.429h119.429z" />
|
31
|
+
<glyph unicode="" glyph-name="whatsapp" horiz-adv-x="878" d="M562.857 394.286q7.429 0 55.714-25.143t51.143-30.286q1.143-2.857 1.143-8.571 0-18.857-9.714-43.429-9.143-22.286-40.571-37.429t-58.286-15.143q-32.571 0-108.571 35.429-56 25.714-97.143 67.429t-84.571 105.714q-41.143 61.143-40.571 110.857v4.571q1.714 52 42.286 90.286 13.714 12.571 29.714 12.571 3.429 0 10.286-0.857t10.857-0.857q10.857 0 15.143-3.714t8.857-15.714q4.571-11.429 18.857-50.286t14.286-42.857q0-12-19.714-32.857t-19.714-26.571q0-4 2.857-8.571 19.429-41.714 58.286-78.286 32-30.286 86.286-57.714 6.857-4 12.571-4 8.571 0 30.857 27.714t29.714 27.714zM446.857 91.428q72.571 0 139.143 28.571t114.571 76.571 76.571 114.571 28.571 139.143-28.571 139.143-76.571 114.571-114.571 76.571-139.143 28.571-139.143-28.571-114.571-76.571-76.571-114.571-28.571-139.143q0-116 68.571-210.286l-45.143-133.143 138.286 44q90.286-59.429 197.143-59.429zM446.857 881.143q87.429 0 167.143-34.286t137.429-92 92-137.429 34.286-167.143-34.286-167.143-92-137.429-137.429-92-167.143-34.286q-111.429 0-208.571 53.714l-238.286-76.571 77.714 231.429q-61.714 101.714-61.714 222.286 0 87.429 34.286 167.143t92 137.429 137.429 92 167.143 34.286z" />
|
32
|
+
</font></defs></svg>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,11 @@
|
|
1
|
+
!function t(e,n,r){function i(s,a){if(!n[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return i(n?n:t)},c,c.exports,t,e,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){!function(){function t(t){if(null===t||"object"!=typeof t)return t;var e=t.constructor();for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var r=function(t){var e=new r.Index;return e.pipeline.add(r.trimmer,r.stopWordFilter,r.stemmer),t&&t.call(e,e),e};r.version="0.9.5",lunr=r,r.utils={},r.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),r.utils.toString=function(t){return void 0===t||null===t?"":t.toString()},r.EventEmitter=function(){this.events={}},r.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},r.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);n!==-1&&(this.events[t].splice(n,1),0==this.events[t].length&&delete this.events[t])}},r.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)},this)}},r.EventEmitter.prototype.hasHandler=function(t){return t in this.events},r.tokenizer=function(t){if(!arguments.length||null===t||void 0===t)return[];if(Array.isArray(t)){var e=t.filter(function(t){return null!==t&&void 0!==t});e=e.map(function(t){return r.utils.toString(t).toLowerCase()});var n=[];return e.forEach(function(t){var e=t.split(r.tokenizer.seperator);n=n.concat(e)},this),n}return t.toString().trim().toLowerCase().split(r.tokenizer.seperator)},r.tokenizer.defaultSeperator=/[\s\-]+/,r.tokenizer.seperator=r.tokenizer.defaultSeperator,r.tokenizer.setSeperator=function(t){null!==t&&void 0!==t&&"object"==typeof t&&(r.tokenizer.seperator=t)},r.tokenizer.resetSeperator=function(){r.tokenizer.seperator=r.tokenizer.defaultSeperator},r.tokenizer.getSeperator=function(){return r.tokenizer.seperator},r.Pipeline=function(){this._queue=[]},r.Pipeline.registeredFunctions={},r.Pipeline.registerFunction=function(t,e){e in r.Pipeline.registeredFunctions&&r.utils.warn("Overwriting existing registered function: "+e),t.label=e,r.Pipeline.registeredFunctions[e]=t},r.Pipeline.getRegisteredFunction=function(t){return t in r.Pipeline.registeredFunctions!=!0?null:r.Pipeline.registeredFunctions[t]},r.Pipeline.warnIfFunctionNotRegistered=function(t){var e=t.label&&t.label in this.registeredFunctions;e||r.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},r.Pipeline.load=function(t){var e=new r.Pipeline;return t.forEach(function(t){var n=r.Pipeline.getRegisteredFunction(t);if(!n)throw new Error("Cannot load un-registered function: "+t);e.add(n)}),e},r.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){r.Pipeline.warnIfFunctionNotRegistered(t),this._queue.push(t)},this)},r.Pipeline.prototype.after=function(t,e){r.Pipeline.warnIfFunctionNotRegistered(e);var n=this._queue.indexOf(t);if(n===-1)throw new Error("Cannot find existingFn");this._queue.splice(n+1,0,e)},r.Pipeline.prototype.before=function(t,e){r.Pipeline.warnIfFunctionNotRegistered(e);var n=this._queue.indexOf(t);if(n===-1)throw new Error("Cannot find existingFn");this._queue.splice(n,0,e)},r.Pipeline.prototype.remove=function(t){var e=this._queue.indexOf(t);e!==-1&&this._queue.splice(e,1)},r.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,r=this._queue.length,i=0;i<n;i++){for(var o=t[i],s=0;s<r&&(o=this._queue[s](o,i,t),void 0!==o&&null!==o);s++);void 0!==o&&null!==o&&e.push(o)}return e},r.Pipeline.prototype.reset=function(){this._queue=[]},r.Pipeline.prototype.get=function(){return this._queue},r.Pipeline.prototype.toJSON=function(){return this._queue.map(function(t){return r.Pipeline.warnIfFunctionNotRegistered(t),t.label})},r.Index=function(){this._fields=[],this._ref="id",this.pipeline=new r.Pipeline,this.documentStore=new r.DocumentStore,this.index={},this.eventEmitter=new r.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},r.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},r.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},r.Index.load=function(t){t.version!==r.version&&r.utils.warn("version mismatch: current "+r.version+" importing "+t.version);var e=new this;e._fields=t.fields,e._ref=t.ref,e.documentStore=r.DocumentStore.load(t.documentStore),e.pipeline=r.Pipeline.load(t.pipeline),e.index={};for(var n in t.index)e.index[n]=r.InvertedIndex.load(t.index[n]);return e},r.Index.prototype.addField=function(t){return this._fields.push(t),this.index[t]=new r.InvertedIndex,this},r.Index.prototype.setRef=function(t){return this._ref=t,this},r.Index.prototype.saveDocument=function(t){return this.documentStore=new r.DocumentStore(t),this},r.Index.prototype.addDoc=function(t,e){if(t){var e=void 0===e||e,n=t[this._ref];this.documentStore.addDoc(n,t),this._fields.forEach(function(e){var i=this.pipeline.run(r.tokenizer(t[e]));this.documentStore.addFieldLength(n,e,i.length);var o={};i.forEach(function(t){t in o?o[t]+=1:o[t]=1},this);for(var s in o){var a=o[s];a=Math.sqrt(a),this.index[e].addToken(s,{ref:n,tf:a})}},this),e&&this.eventEmitter.emit("add",t,this)}},r.Index.prototype.removeDocByRef=function(t,e){if(t&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(t)){var n=this.documentStore.getDoc(t);this.removeDoc(n,!1)}},r.Index.prototype.removeDoc=function(t,e){if(t){var e=void 0===e||e,n=t[this._ref];this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(e){var i=this.pipeline.run(r.tokenizer(t[e]));i.forEach(function(t){this.index[e].removeToken(t,n)},this)},this),e&&this.eventEmitter.emit("remove",t,this))}},r.Index.prototype.updateDoc=function(t,e){var e=void 0===e||e;this.removeDocByRef(t[this._ref],!1),this.addDoc(t,!1),e&&this.eventEmitter.emit("update",t,this)},r.Index.prototype.idf=function(t,e){var n="@"+e+"/"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var r=this.index[e].getDocFreq(t),i=1+Math.log(this.documentStore.length/(r+1));return this._idfCache[n]=i,i},r.Index.prototype.getFields=function(){return this._fields.slice()},r.Index.prototype.search=function(t,e){if(!t)return[];var n=null;null!=e&&(n=JSON.stringify(e));var i=new r.Configuration(n,this.getFields()).get(),o=this.pipeline.run(r.tokenizer(t)),s={};for(var a in i){var u=this.fieldSearch(o,a,i),c=i[a].boost;for(var l in u)u[l]=u[l]*c;for(var l in u)l in s?s[l]+=u[l]:s[l]=u[l]}var h=[];for(var l in s)h.push({ref:l,score:s[l]});return h.sort(function(t,e){return e.score-t.score}),h},r.Index.prototype.fieldSearch=function(t,e,n){var r=n[e].bool,i=n[e].expand,o=n[e].boost,s=null,a={};if(0!==o)return t.forEach(function(t){var n=[t];1==i&&(n=this.index[e].expandToken(t));var o={};n.forEach(function(n){var i=this.index[e].getDocs(n),u=this.idf(n,e);if(s&&"AND"==r){var c={};for(var l in s)l in i&&(c[l]=i[l]);i=c}n==t&&this.fieldSearchStats(a,n,i);for(var l in i){var h=this.index[e].getTermFrequency(n,l),p=this.documentStore.getFieldLength(l,e),f=1;0!=p&&(f=1/Math.sqrt(p));var d=1;n!=t&&(d=.15*(1-(n.length-t.length)/n.length));var g=h*u*f*d;l in o?o[l]+=g:o[l]=g}},this),s=this.mergeScores(s,o,r)},this),s=this.coordNorm(s,a,t.length)},r.Index.prototype.mergeScores=function(t,e,n){if(!t)return e;if("AND"==n){var r={};for(var i in e)i in t&&(r[i]=t[i]+e[i]);return r}for(var i in e)i in t?t[i]+=e[i]:t[i]=e[i];return t},r.Index.prototype.fieldSearchStats=function(t,e,n){for(var r in n)r in t?t[r].push(e):t[r]=[e]},r.Index.prototype.coordNorm=function(t,e,n){for(var r in t)if(r in e){var i=e[r].length;t[r]=t[r]*i/n}return t},r.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:r.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},r.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},r.DocumentStore=function(t){null===t||void 0===t?this._save=!0:this._save=t,this.docs={},this.docInfo={},this.length=0},r.DocumentStore.load=function(t){var e=new this;return e.length=t.length,e.docs=t.docs,e.docInfo=t.docInfo,e._save=t.save,e},r.DocumentStore.prototype.isDocStored=function(){return this._save},r.DocumentStore.prototype.addDoc=function(e,n){this.hasDoc(e)||this.length++,this._save===!0?this.docs[e]=t(n):this.docs[e]=null},r.DocumentStore.prototype.getDoc=function(t){return this.hasDoc(t)===!1?null:this.docs[t]},r.DocumentStore.prototype.hasDoc=function(t){return t in this.docs},r.DocumentStore.prototype.removeDoc=function(t){this.hasDoc(t)&&(delete this.docs[t],delete this.docInfo[t],this.length--)},r.DocumentStore.prototype.addFieldLength=function(t,e,n){null!==t&&void 0!==t&&0!=this.hasDoc(t)&&(this.docInfo[t]||(this.docInfo[t]={}),this.docInfo[t][e]=n)},r.DocumentStore.prototype.updateFieldLength=function(t,e,n){null!==t&&void 0!==t&&0!=this.hasDoc(t)&&this.addFieldLength(t,e,n)},r.DocumentStore.prototype.getFieldLength=function(t,e){return null===t||void 0===t?0:t in this.docs&&e in this.docInfo[t]?this.docInfo[t][e]:0},r.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},r.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",r="[aeiouy]",i=n+"[^aeiouy]*",o=r+"[aeiou]*",s="^("+i+")?"+o+i,a="^("+i+")?"+o+i+"("+o+")?$",u="^("+i+")?"+o+i+o+i,c="^("+i+")?"+r,l=new RegExp(s),h=new RegExp(u),p=new RegExp(a),f=new RegExp(c),d=/^(.+?)(ss|i)es$/,g=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,b=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+i+r+"[^aeiouwxy]$"),_=/^(.+?[^aeiou])y$/,k=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,T=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,E=/^(.+?)(s|t)(ion)$/,C=/^(.+?)e$/,A=/ll$/,P=new RegExp("^"+i+r+"[^aeiouwxy]$"),j=function(n){var r,i,o,s,a,u,c;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=d,a=g,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=m,s.test(n)){var j=s.exec(n);s=l,s.test(j[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var j=a.exec(n);r=j[1],a=f,a.test(r)&&(n=r,a=b,u=w,c=x,a.test(n)?n+="e":u.test(n)?(s=y,n=n.replace(s,"")):c.test(n)&&(n+="e"))}if(s=_,s.test(n)){var j=s.exec(n);r=j[1],n=r+"i"}if(s=k,s.test(n)){var j=s.exec(n);r=j[1],i=j[2],s=l,s.test(r)&&(n=r+t[i])}if(s=S,s.test(n)){var j=s.exec(n);r=j[1],i=j[2],s=l,s.test(r)&&(n=r+e[i])}if(s=T,a=E,s.test(n)){var j=s.exec(n);r=j[1],s=h,s.test(r)&&(n=r)}else if(a.test(n)){var j=a.exec(n);r=j[1]+j[2],a=h,a.test(r)&&(n=r)}if(s=C,s.test(n)){var j=s.exec(n);r=j[1],s=h,a=p,u=P,(s.test(r)||a.test(r)&&!u.test(r))&&(n=r)}return s=A,a=h,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return j}(),r.Pipeline.registerFunction(r.stemmer,"stemmer"),r.stopWordFilter=function(t){if(t&&r.stopWordFilter.stopWords[t]!==!0)return t},r.clearStopWords=function(){r.stopWordFilter.stopWords={}},r.addStopWords=function(t){null!=t&&Array.isArray(t)!==!1&&t.forEach(function(t){r.stopWordFilter.stopWords[t]=!0},this)},r.resetStopWords=function(){r.stopWordFilter.stopWords=r.defaultStopWords},r.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,"do":!0,does:!0,either:!0,"else":!0,ever:!0,every:!0,"for":!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,"if":!0,"in":!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,"let":!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,"this":!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,"while":!0,who:!0,whom:!0,why:!0,will:!0,"with":!0,would:!0,yet:!0,you:!0,your:!0},r.stopWordFilter.stopWords=r.defaultStopWords,r.Pipeline.registerFunction(r.stopWordFilter,"stopWordFilter"),r.trimmer=function(t){if(null===t||void 0===t)throw new Error("token should not be undefined");return t.replace(/^\W+/,"").replace(/\W+$/,"")},r.Pipeline.registerFunction(r.trimmer,"trimmer"),r.InvertedIndex=function(){this.root={docs:{},df:0}},r.InvertedIndex.load=function(t){var e=new this;return e.root=t.root,e},r.InvertedIndex.prototype.addToken=function(t,e,n){for(var n=n||this.root,r=0;r<=t.length-1;){var i=t[r];i in n||(n[i]={docs:{},df:0}),r+=1,n=n[i]}var o=e.ref;n.docs[o]?n.docs[o]={tf:e.tf}:(n.docs[o]={tf:e.tf},n.df+=1)},r.InvertedIndex.prototype.hasToken=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},r.InvertedIndex.prototype.getNode=function(t){if(!t)return null;for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return null;e=e[t[n]]}return e},r.InvertedIndex.prototype.getDocs=function(t){var e=this.getNode(t);return null==e?{}:e.docs},r.InvertedIndex.prototype.getTermFrequency=function(t,e){var n=this.getNode(t);return null==n?0:e in n.docs?n.docs[e].tf:0},r.InvertedIndex.prototype.getDocFreq=function(t){var e=this.getNode(t);return null==e?0:e.df},r.InvertedIndex.prototype.removeToken=function(t,e){if(t){var n=this.getNode(t);null!=n&&e in n.docs&&(delete n.docs[e],n.df-=1)}},r.InvertedIndex.prototype.expandToken=function(t,e,n){if(null==t||""==t)return[];var e=e||[];if(void 0==n&&(n=this.getNode(t),null==n))return e;n.df>0&&e.push(t);for(var r in n)"docs"!==r&&"df"!==r&&this.expandToken(t+r,e,n[r]);return e},r.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},r.Configuration=function(t,e){var t=t||"";if(void 0==e||null==e)throw new Error("fields should not be null");this.config={};var n;try{n=JSON.parse(t),this.buildUserConfig(n,e)}catch(i){r.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(e)}},r.Configuration.prototype.buildDefaultConfig=function(t){this.reset(),t.forEach(function(t){this.config[t]={boost:1,bool:"OR",expand:!1}},this)},r.Configuration.prototype.buildUserConfig=function(t,e){var n="OR",i=!1;if(this.reset(),"bool"in t&&(n=t.bool||n),"expand"in t&&(i=t.expand||i),"fields"in t)for(var o in t.fields)if(e.indexOf(o)>-1){var s=t.fields[o],a=i;void 0!=s.expand&&(a=s.expand),this.config[o]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||n,expand:a}}else r.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(n,i,e)},r.Configuration.prototype.addAllFields2UserConfig=function(t,e,n){n.forEach(function(n){this.config[n]={boost:1,bool:t,expand:e}},this)},r.Configuration.prototype.get=function(){return this.config},r.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},lunr.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},lunr.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},lunr.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elements.length,r=n-e,i=e+Math.floor(r/2),o=this.elements[i];r>1;){if(o===t)return i;o<t&&(e=i),o>t&&(n=i),r=n-e,i=e+Math.floor(r/2),o=this.elements[i]}return o===t?i:-1},lunr.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,r=n-e,i=e+Math.floor(r/2),o=this.elements[i];r>1;)o<t&&(e=i),o>t&&(n=i),r=n-e,i=e+Math.floor(r/2),o=this.elements[i];return o>t?i:o<t?i+1:void 0},lunr.SortedSet.prototype.intersect=function(t){for(var e=new lunr.SortedSet,n=0,r=0,i=this.length,o=t.length,s=this.elements,a=t.elements;;){if(n>i-1||r>o-1)break;s[n]!==a[r]?s[n]<a[r]?n++:s[n]>a[r]&&r++:(e.add(s[n]),n++,r++)}return e},lunr.SortedSet.prototype.clone=function(){var t=new lunr.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},lunr.SortedSet.prototype.union=function(t){var e,n,r;this.length>=t.length?(e=this,n=t):(e=t,n=this),r=e.clone();for(var i=0,o=n.toArray();i<o.length;i++)r.add(o[i]);return r},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},function(t,r){"function"==typeof define&&define.amd?define(r):"object"==typeof n?e.exports=r():t.elasticlunr=r()}(this,function(){return r})}()},{}],2:[function(t,e,n){!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=ot.type(t);return"function"!==n&&!ot.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function r(t,e,n){if(ot.isFunction(e))return ot.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return ot.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(gt.test(e))return ot.filter(e,t,n);e=ot.filter(e,t)}return ot.grep(t,function(t){return K.call(e,t)>-1!==n})}function i(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e={};return ot.each(t.match(xt)||[],function(t,n){e[n]=!0}),e}function s(){J.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),ot.ready()}function a(){this.expando=ot.expando+a.uid++}function u(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(At,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ct.test(n)?ot.parseJSON(n):n)}catch(i){}Et.set(t,e,n)}else n=void 0;return n}function c(t,e,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return ot.css(t,e,"")},u=a(),c=n&&n[3]||(ot.cssNumber[e]?"":"px"),l=(ot.cssNumber[e]||"px"!==c&&+u)&&jt.exec(ot.css(t,e));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do o=o||".5",l/=o,ot.style(t,e,l+c);while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function l(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],n):n}function h(t,e){for(var n=0,r=t.length;n<r;n++)Tt.set(t[n],"globalEval",!e||Tt.get(e[n],"globalEval"))}function p(t,e,n,r,i){for(var o,s,a,u,c,p,f=e.createDocumentFragment(),d=[],g=0,v=t.length;g<v;g++)if(o=t[g],o||0===o)if("object"===ot.type(o))ot.merge(d,o.nodeType?[o]:o);else if(Ft.test(o)){for(s=s||f.appendChild(e.createElement("div")),a=(Dt.exec(o)||["",""])[1].toLowerCase(),u=Nt[a]||Nt._default,s.innerHTML=u[1]+ot.htmlPrefilter(o)+u[2],p=u[0];p--;)s=s.lastChild;ot.merge(d,s.childNodes),s=f.firstChild,s.textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",g=0;o=d[g++];)if(r&&ot.inArray(o,r)>-1)i&&i.push(o);else if(c=ot.contains(o.ownerDocument,o),s=l(f.appendChild(o),"script"),c&&h(s),n)for(p=0;o=s[p++];)Rt.test(o.type||"")&&n.push(o);return f}function f(){return!0}function d(){return!1}function g(){try{return J.activeElement}catch(t){}}function v(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)v(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=d;else if(!i)return t;return 1===o&&(s=i,i=function(t){return ot().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=ot.guid++)),t.each(function(){ot.event.add(this,e,i,r,n)})}function m(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function b(t){var e=Wt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){var n,r,i,o,s,a,u,c;if(1===e.nodeType){if(Tt.hasData(t)&&(o=Tt.access(t),s=Tt.set(e,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;n<r;n++)ot.event.add(e,i,c[i][n])}Et.hasData(t)&&(a=Et.access(t),u=ot.extend({},a),Et.set(e,u))}}function x(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Lt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function _(t,e,n,r){e=Z.apply([],e);var i,o,s,a,u,c,h=0,f=t.length,d=f-1,g=e[0],v=ot.isFunction(g);if(v||f>1&&"string"==typeof g&&!rt.checkClone&&Ut.test(g))return t.each(function(i){var o=t.eq(i);v&&(e[0]=g.call(this,i,o.html())),_(o,e,n,r)});if(f&&(i=p(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=ot.map(l(i,"script"),y),a=s.length;h<f;h++)u=i,h!==d&&(u=ot.clone(u,!0,!0),a&&ot.merge(s,l(u,"script"))),n.call(t[h],u,h);if(a)for(c=s[s.length-1].ownerDocument,ot.map(s,b),h=0;h<a;h++)u=s[h],Rt.test(u.type||"")&&!Tt.access(u,"globalEval")&&ot.contains(c,u)&&(u.src?ot._evalUrl&&ot._evalUrl(u.src):ot.globalEval(u.textContent.replace($t,"")))}return t}function k(t,e,n){for(var r,i=e?ot.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ot.cleanData(l(r)),r.parentNode&&(n&&ot.contains(r.ownerDocument,r)&&h(l(r,"script")),r.parentNode.removeChild(r));return t}function S(t,e){var n=ot(e.createElement(t)).appendTo(e.body),r=ot.css(n[0],"display");return n.detach(),r}function T(t){var e=J,n=Qt[t];return n||(n=S(t,e),"none"!==n&&n||(Vt=(Vt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Vt[0].contentDocument,e.write(),e.close(),n=S(t,e),Vt.detach()),Qt[t]=n),n}function E(t,e,n){var r,i,o,s,a=t.style;return n=n||Yt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||ot.contains(t.ownerDocument,t)||(s=ot.style(t,e)),n&&!rt.pixelMarginRight()&&Jt.test(s)&&Xt.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function C(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function A(t){if(t in re)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in re)return t}function P(t,e,n){var r=jt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function j(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=ot.css(t,n+It[o],!0,i)),r?("content"===n&&(s-=ot.css(t,"padding"+It[o],!0,i)),"margin"!==n&&(s-=ot.css(t,"border"+It[o]+"Width",!0,i))):(s+=ot.css(t,"padding"+It[o],!0,i),"padding"!==n&&(s+=ot.css(t,"border"+It[o]+"Width",!0,i)));return s}function I(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=Yt(t),s="border-box"===ot.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(i=E(t,e,o),(i<0||null==i)&&(i=t.style[e]),Jt.test(i))return i;r=s&&(rt.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+j(t,e,n||(s?"border":"content"),r,o)+"px"}function O(t,e){for(var n,r,i,o=[],s=0,a=t.length;s<a;s++)r=t[s],r.style&&(o[s]=Tt.get(r,"olddisplay"),n=r.style.display,e?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Ot(r)&&(o[s]=Tt.access(r,"olddisplay",T(r.nodeName)))):(i=Ot(r),"none"===n&&i||Tt.set(r,"olddisplay",i?n:ot.css(r,"display"))));for(s=0;s<a;s++)r=t[s],r.style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[s]||"":"none"));return t}function L(t,e,n,r,i){return new L.prototype.init(t,e,n,r,i)}function D(){return t.setTimeout(function(){ie=void 0}),ie=ot.now()}function R(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=It[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function N(t,e,n){for(var r,i=(B.tweeners[e]||[]).concat(B.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function F(t,e,n){var r,i,o,s,a,u,c,l,h=this,p={},f=t.style,d=t.nodeType&&Ot(t),g=Tt.get(t,"fxshow");n.queue||(a=ot._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,ot.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=ot.css(t,"display"),l="none"===c?Tt.get(t,"olddisplay")||T(t.nodeName):c,"inline"===l&&"none"===ot.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],se.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;d=!0}p[r]=g&&g[r]||ot.style(t,r)}else c=void 0;if(ot.isEmptyObject(p))"inline"===("none"===c?T(t.nodeName):c)&&(f.display=c);else{g?"hidden"in g&&(d=g.hidden):g=Tt.access(t,"fxshow",{}),o&&(g.hidden=!d),d?ot(t).show():h.done(function(){ot(t).hide()}),h.done(function(){var e;Tt.remove(t,"fxshow");for(e in p)ot.style(t,e,p[e])});for(r in p)s=N(d?g[r]:0,r,h),r in g||(g[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function z(t,e){var n,r,i,o,s;for(n in t)if(r=ot.camelCase(n),i=e[r],o=t[n],ot.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),s=ot.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function B(t,e,n){var r,i,o=0,s=B.prefilters.length,a=ot.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ie||D(),n=Math.max(0,c.startTime+c.duration-e),r=n/c.duration||0,o=1-r,s=0,u=c.tweens.length;s<u;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),o<1&&u?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:ot.extend({},e),opts:ot.extend(!0,{specialEasing:{},easing:ot.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||D(),duration:n.duration,tweens:[],createTween:function(e,n){var r=ot.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),l=c.props;for(z(l,c.opts.specialEasing);o<s;o++)if(r=B.prefilters[o].call(c,t,l,c.opts))return ot.isFunction(r.stop)&&(ot._queueHooks(c.elem,c.opts.queue).stop=ot.proxy(r.stop,r)),r;return ot.map(l,N,c),ot.isFunction(c.opts.start)&&c.opts.start.call(t,c),ot.fx.timer(ot.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(t){return t.getAttribute&&t.getAttribute("class")||""}function q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(xt)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function M(t,e,n,r){function i(a){var u;return o[a]=!0,ot.each(t[a]||[],function(t,a){var c=a(e,n,r);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(e.dataTypes.unshift(c),i(c),!1)}),u}var o={},s=t===Ee;return i(e.dataTypes[0])||!o["*"]&&i("*")}function U(t,e){var n,r,i=ot.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&ot.extend(!0,t,r),t}function W(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function $(t,e,n,r){var i,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function V(t,e,n,r){var i;if(ot.isArray(e))ot.each(e,function(e,i){n||je.test(t)?r(t,i):V(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==ot.type(e))r(t,e);else for(i in e)V(t+"["+i+"]",e[i],n,r)}function Q(t){return ot.isWindow(t)?t:9===t.nodeType&&t.defaultView}var X=[],J=t.document,Y=X.slice,Z=X.concat,G=X.push,K=X.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,rt={},it="2.2.4",ot=function(t,e){return new ot.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,ut=/-([\da-z])/gi,ct=function(t,e){return e.toUpperCase()};ot.fn=ot.prototype={jquery:it,constructor:ot,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:Y.call(this)},pushStack:function(t){var e=ot.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ot.each(this,t)},map:function(t){return this.pushStack(ot.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:G,sort:X.sort,splice:X.splice},ot.extend=ot.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||ot.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],r=t[e],s!==r&&(c&&r&&(ot.isPlainObject(r)||(i=ot.isArray(r)))?(i?(i=!1,o=n&&ot.isArray(n)?n:[]):o=n&&ot.isPlainObject(n)?n:{},s[e]=ot.extend(c,o,r)):void 0!==r&&(s[e]=r));return s},ot.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ot.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!ot.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return!1;
|
2
|
+
if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=ot.trim(t),t&&(1===t.indexOf("use strict")?(e=J.createElement("script"),e.text=t,J.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(at,"ms-").replace(ut,ct)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var r,i=0;if(n(t))for(r=t.length;i<r&&e.call(t[i],i,t[i])!==!1;i++);else for(i in t)if(e.call(t[i],i,t[i])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var r=e||[];return null!=t&&(n(Object(t))?ot.merge(r,"string"==typeof t?[t]:t):G.call(r,t)),r},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,s=t.length,a=!n;o<s;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,r){var i,o,s=0,a=[];if(n(t))for(i=t.length;s<i;s++)o=e(t[s],s,r),null!=o&&a.push(o);else for(s in t)o=e(t[s],s,r),null!=o&&a.push(o);return Z.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),ot.isFunction(t))return r=Y.call(arguments,2),i=function(){return t.apply(e||this,r.concat(Y.call(arguments)))},i.guid=t.guid=t.guid||ot.guid++,i},now:Date.now,support:rt}),"function"==typeof Symbol&&(ot.fn[Symbol.iterator]=X[Symbol.iterator]),ot.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var lt=function(t){function e(t,e,n,r){var i,o,s,a,u,c,h,f,d=e&&e.ownerDocument,g=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==g&&9!==g&&11!==g)return n;if(!r&&((e?e.ownerDocument||e:H)!==O&&I(e),e=e||O,D)){if(11!==g&&(c=mt.exec(t)))if(i=c[1]){if(9===g){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(d&&(s=d.getElementById(i))&&z(e,s)&&s.id===i)return n.push(s),n}else{if(c[2])return G.apply(n,e.getElementsByTagName(t)),n;if((i=c[3])&&x.getElementsByClassName&&e.getElementsByClassName)return G.apply(n,e.getElementsByClassName(i)),n}if(x.qsa&&!$[t+" "]&&(!R||!R.test(t))){if(1!==g)d=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(bt,"\\$&"):e.setAttribute("id",a=B),h=T(t),o=h.length,u=pt.test(a)?"#"+a:"[id='"+a+"']";o--;)h[o]=u+" "+p(h[o]);f=h.join(","),d=yt.test(t)&&l(e.parentNode)||e}if(f)try{return G.apply(n,d.querySelectorAll(f)),n}catch(v){}finally{a===B&&e.removeAttribute("id")}}}return C(t.replace(at,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>_.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[B]=!0,t}function i(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function l(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function f(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=M++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,s){var a,u,c,l=[q,o];if(s){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if(c=e[B]||(e[B]={}),u=c[e.uniqueID]||(c[e.uniqueID]={}),(a=u[r])&&a[0]===q&&a[1]===o)return l[2]=a[2];if(u[r]=l,l[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function v(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,c=null!=e;a<u;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),c&&e.push(a)));return s}function m(t,e,n,i,o,s){return i&&!i[B]&&(i=m(i)),o&&!o[B]&&(o=m(o,s)),r(function(r,s,a,u){var c,l,h,p=[],f=[],d=s.length,m=r||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?m:v(m,p,t,a,u),b=n?o||(r?t:d||i)?[]:s:y;if(n&&n(y,b,a,u),i)for(c=v(b,f),i(c,[],a,u),l=c.length;l--;)(h=c[l])&&(b[f[l]]=!(y[f[l]]=h));if(r){if(o||t){if(o){for(c=[],l=b.length;l--;)(h=b[l])&&c.push(y[l]=h);o(null,b=[],c,u)}for(l=b.length;l--;)(h=b[l])&&(c=o?tt(r,h):p[l])>-1&&(r[c]=!(s[c]=h))}}else b=v(b===s?b.splice(d,b.length):b),o?o(null,s,b,u):G.apply(s,b)})}function y(t){for(var e,n,r,i=t.length,o=_.relative[t[0].type],s=o||_.relative[" "],a=o?1:0,u=f(function(t){return t===e},s,!0),c=f(function(t){return tt(e,t)>-1},s,!0),l=[function(t,n,r){var i=!o&&(r||n!==A)||((e=n).nodeType?u(t,n,r):c(t,n,r));return e=null,i}];a<i;a++)if(n=_.relative[t[a].type])l=[f(d(l),n)];else{if(n=_.filter[t[a].type].apply(null,t[a].matches),n[B]){for(r=++a;r<i&&!_.relative[t[r].type];r++);return m(a>1&&d(l),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,a<r&&y(t.slice(a,r)),r<i&&y(t=t.slice(r)),r<i&&p(t))}l.push(n)}return d(l)}function b(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,c){var l,h,p,f=0,d="0",g=r&&[],m=[],y=A,b=r||o&&_.find.TAG("*",c),w=q+=null==y?1:Math.random()||.1,x=b.length;for(c&&(A=s===O||s||c);d!==x&&null!=(l=b[d]);d++){if(o&&l){for(h=0,s||l.ownerDocument===O||(I(l),a=!D);p=t[h++];)if(p(l,s||O,a)){u.push(l);break}c&&(q=w)}i&&((l=!p&&l)&&f--,r&&g.push(l))}if(f+=d,i&&d!==f){for(h=0;p=n[h++];)p(g,m,s,a);if(r){if(f>0)for(;d--;)g[d]||m[d]||(m[d]=Y.call(u));m=v(m)}G.apply(u,m),c&&!r&&m.length>0&&f+n.length>1&&e.uniqueSort(u)}return c&&(q=w,A=y),g};return i?r(s):s}var w,x,_,k,S,T,E,C,A,P,j,I,O,L,D,R,N,F,z,B="sizzle"+1*new Date,H=t.document,q=0,M=0,U=n(),W=n(),$=n(),V=function(t,e){return t===e&&(j=!0),0},Q=1<<31,X={}.hasOwnProperty,J=[],Y=J.pop,Z=J.push,G=J.push,K=J.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),lt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(ot),pt=new RegExp("^"+rt+"$"),ft={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_t=function(){I()};try{G.apply(J=K.call(H.childNodes),H.childNodes),J[H.childNodes.length].nodeType}catch(kt){G={apply:J.length?function(t,e){Z.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}x=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},I=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:H;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,L=O.documentElement,D=!S(O),(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_t,!1):n.attachEvent&&n.attachEvent("onunload",_t)),x.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=i(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(O.getElementsByClassName),x.getById=i(function(t){return L.appendChild(t).id=B,!O.getElementsByName||!O.getElementsByName(B).length}),x.getById?(_.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&D){var n=e.getElementById(t);return n?[n]:[]}},_.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute("id")===e}}):(delete _.find.ID,_.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),_.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},_.find.CLASS=x.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&D)return e.getElementsByClassName(t)},N=[],R=[],(x.qsa=vt.test(O.querySelectorAll))&&(i(function(t){L.appendChild(t).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+B+"-]").length||R.push("~="),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+B+"+*").length||R.push(".#.+[+~]")}),i(function(t){var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=vt.test(F=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(t){x.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),N.push("!=",ot)}),R=R.length&&new RegExp(R.join("|")),N=N.length&&new RegExp(N.join("|")),e=vt.test(L.compareDocumentPosition),z=e||vt.test(L.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!x.sortDetached&&e.compareDocumentPosition(t)===n?t===O||t.ownerDocument===H&&z(H,t)?-1:e===O||e.ownerDocument===H&&z(H,e)?1:P?tt(P,t)-tt(P,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===O?-1:e===O?1:i?-1:o?1:P?tt(P,t)-tt(P,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===H?-1:u[r]===H?1:0},O):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&I(t),n=n.replace(lt,"='$1']"),x.matchesSelector&&D&&!$[n+" "]&&(!N||!N.test(n))&&(!R||!R.test(n)))try{var r=F.call(t,n);if(r||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&I(t),z(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&I(t);var n=_.attrHandle[e.toLowerCase()],r=n&&X.call(_.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==r?r:x.attributes||!D?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(j=!x.detectDuplicates,P=!x.sortStable&&t.slice(0),t.sort(V),j){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return P=null,t},k=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=k(e);return n},_=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(st," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,h,p,f,d,g=o!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!u&&!a,b=!1;if(v){if(o){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?v.firstChild:v.lastChild],s&&y){for(p=v,h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),c=l[t]||[],f=c[0]===q&&c[1],b=f&&c[2],p=f&&v.childNodes[f];p=++f&&p&&p[g]||(b=f=0)||d.pop();)if(1===p.nodeType&&++b&&p===e){l[t]=[q,f,b];break}}else if(y&&(p=e,h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),c=l[t]||[],f=c[0]===q&&c[1],b=f),b===!1)for(;(p=++f&&p&&p[g]||(b=f=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),l[t]=[q,b]),p!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=_.pseudos[t]||_.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[B]?o(n):o.length>1?(i=[t,t,"",n],_.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=tt(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=E(t.replace(at,"$1"));return i[B]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(wt,xt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},_.pseudos.nth=_.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})_.pseudos[w]=u(w);return h.prototype=_.filters=_.pseudos,_.setFilters=new h,T=e.tokenize=function(t,n){var r,i,o,s,a,u,c,l=W[t+" "];if(l)return n?0:l.slice(0);for(a=t,u=[],c=_.preFilter;a;){r&&!(i=ut.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ct.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(at," ")}),a=a.slice(r.length));for(s in _.filter)!(i=ft[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):W(t,u).slice(0)},E=e.compile=function(t,e){var n,r=[],i=[],o=$[t+" "];if(!o){for(e||(e=T(t)),n=e.length;n--;)o=y(e[n]),o[B]?r.push(o):i.push(o);o=$(t,b(i,r)),o.selector=t}return o},C=e.select=function(t,e,n,r){var i,o,s,a,u,c="function"==typeof t&&t,h=!r&&T(t=c.selector||t);if(n=n||[],1===h.length){if(o=h[0]=h[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&x.getById&&9===e.nodeType&&D&&_.relative[o[1].type]){if(e=(_.find.ID(s.matches[0].replace(wt,xt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(s=o[i],!_.relative[a=s.type]);)if((u=_.find[a])&&(r=u(s.matches[0].replace(wt,xt),yt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&p(o),!t)return G.apply(n,r),n;break}}return(c||E(t,h))(r,e,!D,n,!e||yt.test(t)&&l(e.parentNode)||e),n},x.sortStable=B.split("").sort(V).join("")===B,x.detectDuplicates=!!j,I(),x.sortDetached=i(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(t);ot.find=lt,ot.expr=lt.selectors,ot.expr[":"]=ot.expr.pseudos,ot.uniqueSort=ot.unique=lt.uniqueSort,ot.text=lt.getText,ot.isXMLDoc=lt.isXML,ot.contains=lt.contains;var ht=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&ot(t).is(n))break;r.push(t)}return r},pt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},ft=ot.expr.match.needsContext,dt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,gt=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?ot.find.matchesSelector(r,t)?[r]:[]:ot.find.matches(t,ot.grep(e,function(t){return 1===t.nodeType}))},ot.fn.extend({find:function(t){var e,n=this.length,r=[],i=this;if("string"!=typeof t)return this.pushStack(ot(t).filter(function(){for(e=0;e<n;e++)if(ot.contains(i[e],this))return!0}));for(e=0;e<n;e++)ot.find(t,i[e],r);return r=this.pushStack(n>1?ot.unique(r):r),r.selector=this.selector?this.selector+" "+t:t,r},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(t){return!!r(this,"string"==typeof t&&ft.test(t)?ot(t):t||[],!1).length}});var vt,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,yt=ot.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||vt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:mt.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),dt.test(r[1])&&ot.isPlainObject(e))for(r in e)ot.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=J.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?void 0!==n.ready?n.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))};yt.prototype=ot.fn,vt=ot(J);var bt=/^(?:parents|prev(?:Until|All))/,wt={children:!0,contents:!0,next:!0,prev:!0};ot.fn.extend({has:function(t){var e=ot(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(ot.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],s=ft.test(t)||"string"!=typeof t?ot(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?ot.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?K.call(ot(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.uniqueSort(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ht(t,"parentNode")},parentsUntil:function(t,e,n){return ht(t,"parentNode",n)},next:function(t){return i(t,"nextSibling")},prev:function(t){return i(t,"previousSibling")},nextAll:function(t){return ht(t,"nextSibling")},prevAll:function(t){return ht(t,"previousSibling")},nextUntil:function(t,e,n){return ht(t,"nextSibling",n)},prevUntil:function(t,e,n){return ht(t,"previousSibling",n)},siblings:function(t){return pt((t.parentNode||{}).firstChild,t)},children:function(t){return pt(t.firstChild)},contents:function(t){return t.contentDocument||ot.merge([],t.childNodes)}},function(t,e){ot.fn[t]=function(n,r){var i=ot.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&(wt[t]||ot.uniqueSort(i),bt.test(t)&&i.reverse()),this.pushStack(i)}});var xt=/\S+/g;ot.Callbacks=function(t){t="string"==typeof t?o(t):ot.extend({},t);var e,n,r,i,s=[],a=[],u=-1,c=function(){for(i=t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<s.length;)s[u].apply(n[0],n[1])===!1&&t.stopOnFalse&&(u=s.length,n=!1);t.memory||(n=!1),e=!1,i&&(s=n?[]:"")},l={add:function(){return s&&(n&&!e&&(u=s.length-1,a.push(n)),function r(e){ot.each(e,function(e,n){ot.isFunction(n)?t.unique&&l.has(n)||s.push(n):n&&n.length&&"string"!==ot.type(n)&&r(n)})}(arguments),n&&!e&&c()),this},remove:function(){return ot.each(arguments,function(t,e){for(var n;(n=ot.inArray(e,s,n))>-1;)s.splice(n,1),n<=u&&u--}),this},has:function(t){return t?ot.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return i=a=[],n||(s=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred(function(n){ot.each(e,function(e,o){var s=ot.isFunction(t[e])&&t[e];i[o[1]](function(){var t=s&&s.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ot.extend(t,r):r}},i={};return r.pipe=r.then,ot.each(e,function(t,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,r,i=0,o=Y.call(arguments),s=o.length,a=1!==s||t&&ot.isFunction(t.promise)?s:0,u=1===a?t:ot.Deferred(),c=function(t,n,r){return function(i){n[t]=this,r[t]=arguments.length>1?Y.call(arguments):i,r===e?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(e=new Array(s),n=new Array(s),r=new Array(s);i<s;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().progress(c(i,n,e)).done(c(i,r,o)).fail(u.reject):--a;return a||u.resolveWith(r,o),u.promise()}});var _t;ot.fn.ready=function(t){return ot.ready.promise().done(t),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ot.readyWait++:ot.ready(!0)},ready:function(t){(t===!0?--ot.readyWait:ot.isReady)||(ot.isReady=!0,t!==!0&&--ot.readyWait>0||(_t.resolveWith(J,[ot]),ot.fn.triggerHandler&&(ot(J).triggerHandler("ready"),ot(J).off("ready"))))}}),ot.ready.promise=function(e){return _t||(_t=ot.Deferred(),"complete"===J.readyState||"loading"!==J.readyState&&!J.documentElement.doScroll?t.setTimeout(ot.ready):(J.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s))),_t.promise(e)},ot.ready.promise();var kt=function(t,e,n,r,i,o,s){var a=0,u=t.length,c=null==n;if("object"===ot.type(n)){i=!0;for(a in n)kt(t,e,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,ot.isFunction(r)||(s=!0),c&&(s?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(ot(t),n)})),e))for(;a<u;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:c?e.call(t):u?e(t[0],n):o},St=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};a.uid=1,a.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!St(t))return{};var e=t[this.expando];return e||(e={},St(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[e]=n;else for(r in e)i[r]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var r;return void 0===e||e&&"string"==typeof e&&void 0===n?(r=this.get(t,e),void 0!==r?r:this.get(t,ot.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r,i,o=t[this.expando];if(void 0!==o){if(void 0===e)this.register(t);else{ot.isArray(e)?r=e.concat(e.map(ot.camelCase)):(i=ot.camelCase(e),e in o?r=[e,i]:(r=i,r=r in o?[r]:r.match(xt)||[])),n=r.length;for(;n--;)delete o[r[n]]}(void 0===e||ot.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!ot.isEmptyObject(e)}};var Tt=new a,Et=new a,Ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,At=/[A-Z]/g;ot.extend({hasData:function(t){return Et.hasData(t)||Tt.hasData(t)},data:function(t,e,n){return Et.access(t,e,n)},removeData:function(t,e){Et.remove(t,e)},_data:function(t,e,n){return Tt.access(t,e,n)},_removeData:function(t,e){Tt.remove(t,e)}}),ot.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Et.get(o),1===o.nodeType&&!Tt.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=ot.camelCase(r.slice(5)),u(o,r,i[r])));Tt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Et.set(this,t)}):kt(this,function(e){var n,r;if(o&&void 0===e){if(n=Et.get(o,t)||Et.get(o,t.replace(At,"-$&").toLowerCase()),void 0!==n)return n;if(r=ot.camelCase(t),n=Et.get(o,r),void 0!==n)return n;if(n=u(o,r,void 0),void 0!==n)return n}else r=ot.camelCase(t),this.each(function(){var n=Et.get(this,r);Et.set(this,r,e),t.indexOf("-")>-1&&void 0!==n&&Et.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Et.remove(this,t)})}}),ot.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Tt.get(t,e),n&&(!r||ot.isArray(n)?r=Tt.access(t,e,ot.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=ot.queue(t,e),r=n.length,i=n.shift(),o=ot._queueHooks(t,e),s=function(){ot.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Tt.get(t,n)||Tt.access(t,n,{empty:ot.Callbacks("once memory").add(function(){Tt.remove(t,[e+"queue",n])})})}}),ot.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ot.queue(this[0],t):void 0===e?this:this.each(function(){var n=ot.queue(this,t,e);ot._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ot.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ot.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=ot.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Tt.get(o[s],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var Pt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,jt=new RegExp("^(?:([+-])=|)("+Pt+")([a-z%]*)$","i"),It=["Top","Right","Bottom","Left"],Ot=function(t,e){return t=e||t,"none"===ot.css(t,"display")||!ot.contains(t.ownerDocument,t)},Lt=/^(?:checkbox|radio)$/i,Dt=/<([\w:-]+)/,Rt=/^$|\/(?:java|ecma)script/i,Nt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td;var Ft=/<|&#?\w+;/;
|
3
|
+
!function(){var t=J.createDocumentFragment(),e=t.appendChild(J.createElement("div")),n=J.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),rt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",rt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var zt=/^key/,Bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ht=/^([^.]*)(?:\.(.+)|)/;ot.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,c,l,h,p,f,d,g,v=Tt.get(t);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),n.guid||(n.guid=ot.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return"undefined"!=typeof ot&&ot.event.triggered!==e.type?ot.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(xt)||[""],c=e.length;c--;)a=Ht.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f&&(h=ot.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,h=ot.event.special[f]||{},l=ot.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ot.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=u[f])||(p=u[f]=[],p.delegateCount=0,h.setup&&h.setup.call(t,r,d,s)!==!1||t.addEventListener&&t.addEventListener(f,s)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),ot.event.global[f]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,c,l,h,p,f,d,g,v=Tt.hasData(t)&&Tt.get(t);if(v&&(u=v.events)){for(e=(e||"").match(xt)||[""],c=e.length;c--;)if(a=Ht.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f){for(h=ot.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,p=u[f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)l=p[o],!i&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,h.remove&&h.remove.call(t,l));s&&!p.length&&(h.teardown&&h.teardown.call(t,d,v.handle)!==!1||ot.removeEvent(t,f,v.handle),delete u[f])}else for(f in u)ot.event.remove(t,f+e[c],n,r,!0);ot.isEmptyObject(u)&&Tt.remove(t,"handle events")}},dispatch:function(t){t=ot.event.fix(t);var e,n,r,i,o,s=[],a=Y.call(arguments),u=(Tt.get(this,"events")||{})[t.type]||[],c=ot.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=ot.event.handlers.call(this,t,u),e=0;(i=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,r=((ot.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),void 0!==r&&(t.result=r)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(r=[],n=0;n<a;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?ot(i,this).index(u)>-1:ot.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||J,r=n.documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[ot.expando])return t;var e,n,r,i=t.type,o=t,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Bt.test(i)?this.mouseHooks:zt.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,t=new ot.Event(o),e=r.length;e--;)n=r[e],t[n]=o[n];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==g()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===g()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ot.nodeName(this,"input"))return this.click(),!1},_default:function(t){return ot.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},ot.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},ot.Event=function(t,e){return this instanceof ot.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?f:d):this.type=t,e&&ot.extend(this,e),this.timeStamp=t&&t.timeStamp||ot.now(),void(this[ot.expando]=!0)):new ot.Event(t,e)},ot.Event.prototype={constructor:ot.Event,isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=f,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ot.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||ot.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),ot.fn.extend({on:function(t,e,n,r){return v(this,t,e,n,r)},one:function(t,e,n,r){return v(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,ot(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=d),this.each(function(){ot.event.remove(this,t,n,e)})}});var qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Mt=/<script|<style|<link/i,Ut=/checked\s*(?:[^=]|=\s*.checked.)/i,Wt=/^true\/(.*)/,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ot.extend({htmlPrefilter:function(t){return t.replace(qt,"<$1></$2>")},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),u=ot.contains(t.ownerDocument,t);if(!(rt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))for(s=l(a),o=l(t),r=0,i=o.length;r<i;r++)x(o[r],s[r]);if(e)if(n)for(o=o||l(t),s=s||l(a),r=0,i=o.length;r<i;r++)w(o[r],s[r]);else w(t,a);return s=l(a,"script"),s.length>0&&h(s,!u&&l(t,"script")),a},cleanData:function(t){for(var e,n,r,i=ot.event.special,o=0;void 0!==(n=t[o]);o++)if(St(n)){if(e=n[Tt.expando]){if(e.events)for(r in e.events)i[r]?ot.event.remove(n,r):ot.removeEvent(n,r,e.handle);n[Tt.expando]=void 0}n[Et.expando]&&(n[Et.expando]=void 0)}}}),ot.fn.extend({domManip:_,detach:function(t){return k(this,t,!0)},remove:function(t){return k(this,t)},text:function(t){return kt(this,function(t){return void 0===t?ot.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return _(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.appendChild(t)}})},prepend:function(){return _(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return _(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return _(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(ot.cleanData(l(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ot.clone(this,t,e)})},html:function(t){return kt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Mt.test(t)&&!Nt[(Dt.exec(t)||["",""])[1].toLowerCase()]){t=ot.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(ot.cleanData(l(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return _(this,arguments,function(e){var n=this.parentNode;ot.inArray(this,t)<0&&(ot.cleanData(l(this)),n&&n.replaceChild(e,this))},t)}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ot.fn[t]=function(t){for(var n,r=[],i=ot(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),ot(i[s])[e](n),G.apply(r,n.get());return this.pushStack(r)}});var Vt,Qt={HTML:"block",BODY:"block"},Xt=/^margin/,Jt=new RegExp("^("+Pt+")(?!px)[a-z%]+$","i"),Yt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Zt=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i},Gt=J.documentElement;!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Gt.appendChild(s);var e=t.getComputedStyle(a);n="1%"!==e.top,o="2px"===e.marginLeft,r="4px"===e.width,a.style.marginRight="50%",i="4px"===e.marginRight,Gt.removeChild(s)}var n,r,i,o,s=J.createElement("div"),a=J.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),ot.extend(rt,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),i},reliableMarginLeft:function(){return null==r&&e(),o},reliableMarginRight:function(){var e,n=a.appendChild(J.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Gt.appendChild(s),e=!parseFloat(t.getComputedStyle(n).marginRight),Gt.removeChild(s),a.removeChild(n),e}}))}();var Kt=/^(none|table(?!-c[ea]).+)/,te={position:"absolute",visibility:"hidden",display:"block"},ee={letterSpacing:"0",fontWeight:"400"},ne=["Webkit","O","Moz","ms"],re=J.createElement("div").style;ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=E(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=ot.camelCase(e),u=t.style;return e=ot.cssProps[a]||(ot.cssProps[a]=A(a)||a),s=ot.cssHooks[e]||ot.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e]:(o=typeof n,"string"===o&&(i=jt.exec(n))&&i[1]&&(n=c(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(ot.cssNumber[a]?"":"px")),rt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(u[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,s,a=ot.camelCase(e);return e=ot.cssProps[a]||(ot.cssProps[a]=A(a)||a),s=ot.cssHooks[e]||ot.cssHooks[a],s&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=E(t,e,r)),"normal"===i&&e in ee&&(i=ee[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),ot.each(["height","width"],function(t,e){ot.cssHooks[e]={get:function(t,n,r){if(n)return Kt.test(ot.css(t,"display"))&&0===t.offsetWidth?Zt(t,te,function(){return I(t,e,r)}):I(t,e,r)},set:function(t,n,r){var i,o=r&&Yt(t),s=r&&j(t,e,r,"border-box"===ot.css(t,"boxSizing",!1,o),o);return s&&(i=jt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=ot.css(t,e)),P(t,n,s)}}}),ot.cssHooks.marginLeft=C(rt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(E(t,"marginLeft"))||t.getBoundingClientRect().left-Zt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),ot.cssHooks.marginRight=C(rt.reliableMarginRight,function(t,e){if(e)return Zt(t,{display:"inline-block"},E,[t,"marginRight"])}),ot.each({margin:"",padding:"",border:"Width"},function(t,e){ot.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+It[r]+e]=o[r]||o[r-2]||o[0];return i}},Xt.test(t)||(ot.cssHooks[t+e].set=P)}),ot.fn.extend({css:function(t,e){return kt(this,function(t,e,n){var r,i,o={},s=0;if(ot.isArray(e)){for(r=Yt(t),i=e.length;s<i;s++)o[e[s]]=ot.css(t,e[s],!1,r);return o}return void 0!==n?ot.style(t,e,n):ot.css(t,e)},t,e,arguments.length>1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ot(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=L,L.prototype={constructor:L,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||ot.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var t=L.propHooks[this.prop];return t&&t.get?t.get(this):L.propHooks._default.get(this)},run:function(t){var e,n=L.propHooks[this.prop];return this.options.duration?this.pos=e=ot.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ot.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ot.cssProps[t.prop]]&&!ot.cssHooks[t.prop]?t.elem[t.prop]=t.now:ot.style(t.elem,t.prop,t.now+t.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ot.fx=L.prototype.init,ot.fx.step={};var ie,oe,se=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;ot.Animation=ot.extend(B,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return c(n.elem,t,jt.exec(e),n),n}]},tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.match(xt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(e)},prefilters:[F],prefilter:function(t,e){e?B.prefilters.unshift(t):B.prefilters.push(t)}}),ot.speed=function(t,e,n){var r=t&&"object"==typeof t?ot.extend({},t):{complete:n||!n&&e||ot.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ot.isFunction(e)&&e};return r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ot).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=ot.isEmptyObject(t),o=ot.speed(e,n,r),s=function(){var e=B(this,ot.extend({},t),o);(i||Tt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=ot.timers,s=Tt.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ae.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||ot.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Tt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=ot.timers,s=r?r.length:0;for(n.finish=!0,ot.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(t,e){var n=ot.fn[e];ot.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(R(e,!0),t,r,i)}}),ot.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ot.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),ot.timers=[],ot.fx.tick=function(){var t,e=0,n=ot.timers;for(ie=ot.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||ot.fx.stop(),ie=void 0},ot.fx.timer=function(t){ot.timers.push(t),t()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){oe||(oe=t.setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){t.clearInterval(oe),oe=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,n){return e=ot.fx?ot.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,r){var i=t.setTimeout(n,e);r.stop=function(){t.clearTimeout(i)}})},function(){var t=J.createElement("input"),e=J.createElement("select"),n=e.appendChild(J.createElement("option"));t.type="checkbox",rt.checkOn=""!==t.value,rt.optSelected=n.selected,e.disabled=!0,rt.optDisabled=!n.disabled,t=J.createElement("input"),t.value="t",t.type="radio",rt.radioValue="t"===t.value}();var ue,ce=ot.expr.attrHandle;ot.fn.extend({attr:function(t,e){return kt(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ot.removeAttr(this,t)})}}),ot.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?ot.prop(t,e,n):(1===o&&ot.isXMLDoc(t)||(e=e.toLowerCase(),i=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?ue:void 0)),void 0!==n?null===n?void ot.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=ot.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!rt.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(xt);if(o&&1===t.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)&&(t[r]=!1),t.removeAttribute(n)}}),ue={set:function(t,e,n){return e===!1?ot.removeAttr(t,n):t.setAttribute(n,n),n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ce[e]||ot.find.attr;ce[e]=function(t,e,r){var i,o;return r||(o=ce[e],ce[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,ce[e]=o),i}});var le=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return kt(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[ot.propFix[t]||t]})}}),ot.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ot.isXMLDoc(t)||(e=ot.propFix[e]||e,i=ot.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):le.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),rt.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this});var pe=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(ot.isFunction(t))return this.each(function(e){ot(this).addClass(t.call(this,e,H(this)))});if("string"==typeof t&&t)for(e=t.match(xt)||[];n=this[u++];)if(i=H(n),r=1===n.nodeType&&(" "+i+" ").replace(pe," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=ot.trim(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(ot.isFunction(t))return this.each(function(e){ot(this).removeClass(t.call(this,e,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(xt)||[];n=this[u++];)if(i=H(n),r=1===n.nodeType&&(" "+i+" ").replace(pe," ")){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=ot.trim(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ot.isFunction(t)?this.each(function(n){ot(this).toggleClass(t.call(this,n,H(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=ot(this),o=t.match(xt)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=H(this),e&&Tt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Tt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(pe," ").indexOf(e)>-1)return!0;return!1}});var fe=/\r/g,de=/[\x20\t\r\n\f]+/g;ot.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=ot.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,ot(this).val()):t,null==i?i="":"number"==typeof i?i+="":ot.isArray(i)&&(i=ot.map(i,function(t){return null==t?"":t+""})),e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=ot.valHooks[i.type]||ot.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(fe,""):null==n?"":n)}}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t)).replace(de," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(n=r[u],(n.selected||u===i)&&(rt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ot.nodeName(n.parentNode,"optgroup"))){if(e=ot(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=ot.makeArray(e),s=i.length;s--;)r=i[s],(r.selected=ot.inArray(ot.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(t,e){if(ot.isArray(e))return t.checked=ot.inArray(ot(t).val(),e)>-1}},rt.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ge=/^(?:focusinfocus|focusoutblur)$/;ot.extend(ot.event,{trigger:function(e,n,r,i){var o,s,a,u,c,l,h,p=[r||J],f=nt.call(e,"type")?e.type:e,d=nt.call(e,"namespace")?e.namespace.split("."):[];if(s=a=r=r||J,3!==r.nodeType&&8!==r.nodeType&&!ge.test(f+ot.event.triggered)&&(f.indexOf(".")>-1&&(d=f.split("."),f=d.shift(),d.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[ot.expando]?e:new ot.Event(f,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:ot.makeArray(n,[e]),h=ot.event.special[f]||{},i||!h.trigger||h.trigger.apply(r,n)!==!1)){if(!i&&!h.noBubble&&!ot.isWindow(r)){for(u=h.delegateType||f,ge.test(u+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||J)&&p.push(a.defaultView||a.parentWindow||t)}for(o=0;(s=p[o++])&&!e.isPropagationStopped();)e.type=o>1?u:h.bindType||f,l=(Tt.get(s,"events")||{})[e.type]&&Tt.get(s,"handle"),l&&l.apply(s,n),l=c&&s[c],l&&l.apply&&St(s)&&(e.result=l.apply(s,n),e.result===!1&&e.preventDefault());return e.type=f,i||e.isDefaultPrevented()||h._default&&h._default.apply(p.pop(),n)!==!1||!St(r)||c&&ot.isFunction(r[f])&&!ot.isWindow(r)&&(a=r[c],a&&(r[c]=null),ot.event.triggered=f,r[f](),ot.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(t,e,n){var r=ot.extend(new ot.Event,n,{type:t,isSimulated:!0});ot.event.trigger(r,null,e)}}),ot.fn.extend({trigger:function(t,e){return this.each(function(){ot.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ot.event.trigger(t,e,n,!0)}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ot.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ot.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),rt.focusin="onfocusin"in t,rt.focusin||ot.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){ot.event.simulate(e,t.target,ot.event.fix(t))};ot.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Tt.access(r,e);i||r.addEventListener(t,n,!0),Tt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Tt.access(r,e)-1;i?Tt.access(r,e,i):(r.removeEventListener(t,n,!0),Tt.remove(r,e))}}});var ve=t.location,me=ot.now(),ye=/\?/;ot.parseJSON=function(t){return JSON.parse(t+"")},ot.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(r){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),n};var be=/#.*$/,we=/([?&])_=[^&]*/,xe=/^(.*?):[ \t]*([^\r\n]*)$/gm,_e=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ke=/^(?:GET|HEAD)$/,Se=/^\/\//,Te={},Ee={},Ce="*/".concat("*"),Ae=J.createElement("a");Ae.href=ve.href,ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ve.href,type:"GET",isLocal:_e.test(ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ce,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?U(U(t,ot.ajaxSettings),e):U(ot.ajaxSettings,t)},ajaxPrefilter:q(Te),ajaxTransport:q(Ee),ajax:function(e,n){function r(e,n,r,a){var c,h,y,b,x,k=n;2!==w&&(w=2,u&&t.clearTimeout(u),i=void 0,s=a||"",_.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(b=W(p,_,r)),b=$(p,b,_,c),c?(p.ifModified&&(x=_.getResponseHeader("Last-Modified"),x&&(ot.lastModified[o]=x),x=_.getResponseHeader("etag"),x&&(ot.etag[o]=x)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=b.state,h=b.data,y=b.error,c=!y)):(y=k,!e&&k||(k="error",e<0&&(e=0))),_.status=e,_.statusText=(n||k)+"",c?g.resolveWith(f,[h,k,_]):g.rejectWith(f,[_,k,y]),_.statusCode(m),m=void 0,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[_,p,c?h:y]),v.fireWith(f,[_,k]),l&&(d.trigger("ajaxComplete",[_,p]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,o,s,a,u,c,l,h,p=ot.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?ot(f):ot.event,g=ot.Deferred(),v=ot.Callbacks("once memory"),m=p.statusCode||{},y={},b={},w=0,x="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!a)for(a={};e=xe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=b[n]=b[n]||t,y[t]=e),this},overrideMimeType:function(t){return w||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)m[e]=[m[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||x;return i&&i.abort(e),r(0,e),this}};if(g.promise(_).complete=v.add,_.success=_.done,_.error=_.fail,p.url=((e||p.url||ve.href)+"").replace(be,"").replace(Se,ve.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ot.trim(p.dataType||"*").toLowerCase().match(xt)||[""],null==p.crossDomain){c=J.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Ae.protocol+"//"+Ae.host!=c.protocol+"//"+c.host}catch(k){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ot.param(p.data,p.traditional)),M(Te,p,n,_),2===w)return _;l=ot.event&&p.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!ke.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(ye.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=we.test(o)?o.replace(we,"$1_="+me++):o+(ye.test(o)?"&":"?")+"_="+me++)),p.ifModified&&(ot.lastModified[o]&&_.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&_.setRequestHeader("If-None-Match",ot.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ce+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)_.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(f,_,p)===!1||2===w))return _.abort();x="abort";for(h in{success:1,error:1,complete:1})_[h](p[h]);if(i=M(Ee,p,n,_)){if(_.readyState=1,l&&d.trigger("ajaxSend",[_,p]),2===w)return _;p.async&&p.timeout>0&&(u=t.setTimeout(function(){_.abort("timeout")},p.timeout));try{w=1,i.send(y,r)}catch(k){if(!(w<2))throw k;r(-1,k)}}else r(-1,"No Transport");return _},getJSON:function(t,e,n){return ot.get(t,e,n,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],function(t,e){ot[e]=function(t,n,r,i){return ot.isFunction(n)&&(i=i||r,r=n,n=void 0),ot.ajax(ot.extend({url:t,type:e,dataType:i,data:n,success:r},ot.isPlainObject(t)&&t))}}),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(t){var e;return ot.isFunction(t)?this.each(function(e){ot(this).wrapAll(t.call(this,e))}):(this[0]&&(e=ot(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return ot.isFunction(t)?this.each(function(e){ot(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ot(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ot.isFunction(t);
|
4
|
+
return this.each(function(n){ot(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(t){return!ot.expr.filters.visible(t)},ot.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Pe=/%20/g,je=/\[\]$/,Ie=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var n,r=[],i=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,function(){i(this.name,this.value)});else for(n in t)V(n,t[n],e,i);return r.join("&").replace(Pe,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&Le.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!Lt.test(t))}).map(function(t,e){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:n.replace(Ie,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var De={0:200,1223:204},Re=ot.ajaxSettings.xhr();rt.cors=!!Re&&"withCredentials"in Re,rt.ajax=Re=!!Re,ot.ajaxTransport(function(e){var n,r;if(rt.cors||Re&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);n=function(t){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(De[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),ot.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=ot("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ne=[],Fe=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ne.pop()||ot.expando+"_"+me++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,s,a=e.jsonp!==!1&&(Fe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fe.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Fe,"$1"+i):e.jsonp!==!1&&(e.url+=(ye.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||ot.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){s=arguments},r.always(function(){void 0===o?ot(t).removeProp(i):t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,Ne.push(i)),s&&ot.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),ot.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||J;var r=dt.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=p([t],e,i),i&&i.length&&ot(i).remove(),ot.merge([],r.childNodes))};var ze=ot.fn.load;ot.fn.load=function(t,e,n){if("string"!=typeof t&&ze)return ze.apply(this,arguments);var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=ot.trim(t.slice(a)),t=t.slice(0,a)),ot.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&ot.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?ot("<div>").append(ot.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ot.fn[e]=function(t){return this.on(e,t)}}),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,function(e){return t===e.elem}).length},ot.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,c,l=ot.css(t,"position"),h=ot(t),p={};"static"===l&&(t.style.position="relative"),a=h.offset(),o=ot.css(t,"top"),u=ot.css(t,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=h.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),ot.isFunction(e)&&(e=e.call(t,n,ot.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+i),"using"in e?e.using.call(t,p):h.css(p)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ot.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return e=o.documentElement,ot.contains(e,r)?(i=r.getBoundingClientRect(),n=Q(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===ot.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(r=t.offset()),r.top+=ot.css(t[0],"borderTopWidth",!0),r.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-r.top-ot.css(n,"marginTop",!0),left:e.left-r.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||Gt})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;ot.fn[t]=function(r){return kt(this,function(t,r,i){var o=Q(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),ot.each(["top","left"],function(t,e){ot.cssHooks[e]=C(rt.pixelPosition,function(t,n){if(n)return n=E(t,e),Jt.test(n)?ot(t).position()[e]+"px":n})}),ot.each({Height:"height",Width:"width"},function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){ot.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||i===!0?"margin":"border");return kt(this,function(e,n,r){var i;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?ot.css(e,n,s):ot.style(e,n,r,s)},e,o?r:void 0,o,null)}})}),ot.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var Be=t.jQuery,He=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=He),e&&t.jQuery===ot&&(t.jQuery=Be),ot},e||(t.jQuery=t.$=ot),ot})},{}],3:[function(t,e,n){(function(t){(function(){function r(t,e){return t.set(e[0],e[1]),t}function i(t,e){return t.add(e),t}function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function s(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function u(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function l(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function h(t,e){var n=null==t?0:t.length;return!!n&&_(t,e,0)>-1}function p(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function f(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function d(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function g(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function v(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function m(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function y(t){return t.split("")}function b(t){return t.match(qe)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function x(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function _(t,e,n){return e===e?J(t,e,n):x(t,S,n)}function k(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function S(t){return t!==t}function T(t,e){var n=null==t?0:t.length;return n?j(t,e)/n:Rt}function E(t){return function(e){return null==e?nt:e[t]}}function C(t){return function(e){return null==t?nt:t[e]}}function A(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function P(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function j(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==nt&&(n=n===nt?o:n+o)}return n}function I(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function O(t,e){return f(e,function(e){return[e,t[e]]})}function L(t){return function(e){return t(e)}}function D(t,e){return f(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function N(t,e){for(var n=-1,r=t.length;++n<r&&_(e,t[n],0)>-1;);return n}function F(t,e){for(var n=t.length;n--&&_(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function B(t){return"\\"+tr[t]}function H(t,e){return null==t?nt:t[e]}function q(t){return $n.test(t)}function M(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function $(t,e){return function(n){return t(e(n))}}function V(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==ct||(t[n]=ct,o[i++]=n)}return o}function Q(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function J(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Y(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Z(t){return q(t)?K(t):mr(t)}function G(t){return q(t)?tt(t):y(t)}function K(t){for(var e=Un.lastIndex=0;Un.test(t);)++e;return e}function tt(t){return t.match(Un)||[]}function et(t){return t.match(Wn)||[]}var nt,rt="4.17.4",it=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",at="__lodash_hash_undefined__",ut=500,ct="__lodash_placeholder__",lt=1,ht=2,pt=4,ft=1,dt=2,gt=1,vt=2,mt=4,yt=8,bt=16,wt=32,xt=64,_t=128,kt=256,St=512,Tt=30,Et="...",Ct=800,At=16,Pt=1,jt=2,It=3,Ot=1/0,Lt=9007199254740991,Dt=1.7976931348623157e308,Rt=NaN,Nt=4294967295,Ft=Nt-1,zt=Nt>>>1,Bt=[["ary",_t],["bind",gt],["bindKey",vt],["curry",yt],["curryRight",bt],["flip",St],["partial",wt],["partialRight",xt],["rearg",kt]],Ht="[object Arguments]",qt="[object Array]",Mt="[object AsyncFunction]",Ut="[object Boolean]",Wt="[object Date]",$t="[object DOMException]",Vt="[object Error]",Qt="[object Function]",Xt="[object GeneratorFunction]",Jt="[object Map]",Yt="[object Number]",Zt="[object Null]",Gt="[object Object]",Kt="[object Promise]",te="[object Proxy]",ee="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ae="[object WeakSet]",ue="[object ArrayBuffer]",ce="[object DataView]",le="[object Float32Array]",he="[object Float64Array]",pe="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",ge="[object Uint8Array]",ve="[object Uint8ClampedArray]",me="[object Uint16Array]",ye="[object Uint32Array]",be=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,ke=/[&<>"']/g,Se=RegExp(_e.source),Te=RegExp(ke.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Ie=/^\./,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Le.source),Re=/^\s+|\s+$/g,Ne=/^\s+/,Fe=/\s+$/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Me=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,We=/\w*$/,$e=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",tn="\\u0300-\\u036f",en="\\ufe20-\\ufe2f",nn="\\u20d0-\\u20ff",rn=tn+en+nn,on="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",an="\\xac\\xb1\\xd7\\xf7",un="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cn="\\u2000-\\u206f",ln=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hn="A-Z\\xc0-\\xd6\\xd8-\\xde",pn="\\ufe0e\\ufe0f",fn=an+un+cn+ln,dn="['’]",gn="["+Ke+"]",vn="["+fn+"]",mn="["+rn+"]",yn="\\d+",bn="["+on+"]",wn="["+sn+"]",xn="[^"+Ke+fn+yn+on+sn+hn+"]",_n="\\ud83c[\\udffb-\\udfff]",kn="(?:"+mn+"|"+_n+")",Sn="[^"+Ke+"]",Tn="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+hn+"]",An="\\u200d",Pn="(?:"+wn+"|"+xn+")",jn="(?:"+Cn+"|"+xn+")",In="(?:"+dn+"(?:d|ll|m|re|s|t|ve))?",On="(?:"+dn+"(?:D|LL|M|RE|S|T|VE))?",Ln=kn+"?",Dn="["+pn+"]?",Rn="(?:"+An+"(?:"+[Sn,Tn,En].join("|")+")"+Dn+Ln+")*",Nn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Fn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",zn=Dn+Ln+Rn,Bn="(?:"+[bn,Tn,En].join("|")+")"+zn,Hn="(?:"+[Sn+mn+"?",mn,Tn,En,gn].join("|")+")",qn=RegExp(dn,"g"),Mn=RegExp(mn,"g"),Un=RegExp(_n+"(?="+_n+")|"+Hn+zn,"g"),Wn=RegExp([Cn+"?"+wn+"+"+In+"(?="+[vn,Cn,"$"].join("|")+")",jn+"+"+On+"(?="+[vn,Cn+Pn,"$"].join("|")+")",Cn+"?"+Pn+"+"+In,Cn+"+"+On,Fn,Nn,yn,Bn].join("|"),"g"),$n=RegExp("["+An+Ke+rn+pn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Qn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Jn={};Jn[le]=Jn[he]=Jn[pe]=Jn[fe]=Jn[de]=Jn[ge]=Jn[ve]=Jn[me]=Jn[ye]=!0,Jn[Ht]=Jn[qt]=Jn[ue]=Jn[Ut]=Jn[ce]=Jn[Wt]=Jn[Vt]=Jn[Qt]=Jn[Jt]=Jn[Yt]=Jn[Gt]=Jn[ee]=Jn[ne]=Jn[re]=Jn[se]=!1;var Yn={};Yn[Ht]=Yn[qt]=Yn[ue]=Yn[ce]=Yn[Ut]=Yn[Wt]=Yn[le]=Yn[he]=Yn[pe]=Yn[fe]=Yn[de]=Yn[Jt]=Yn[Yt]=Yn[Gt]=Yn[ee]=Yn[ne]=Yn[re]=Yn[ie]=Yn[ge]=Yn[ve]=Yn[me]=Yn[ye]=!0,Yn[Vt]=Yn[Qt]=Yn[se]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&","<":"<",">":">",'"':""","'":"'"},Kn={"&":"&","<":"<",">":">",""":'"',"'":"'"},tr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},er=parseFloat,nr=parseInt,rr="object"==typeof t&&t&&t.Object===Object&&t,ir="object"==typeof self&&self&&self.Object===Object&&self,or=rr||ir||Function("return this")(),sr="object"==typeof n&&n&&!n.nodeType&&n,ar=sr&&"object"==typeof e&&e&&!e.nodeType&&e,ur=ar&&ar.exports===sr,cr=ur&&rr.process,lr=function(){try{return cr&&cr.binding&&cr.binding("util")}catch(t){}}(),hr=lr&&lr.isArrayBuffer,pr=lr&&lr.isDate,fr=lr&&lr.isMap,dr=lr&&lr.isRegExp,gr=lr&&lr.isSet,vr=lr&&lr.isTypedArray,mr=E("length"),yr=C(Zn),br=C(Gn),wr=C(Kn),xr=function kr(t){function e(t){if(cu(t)&&!wp(t)&&!(t instanceof C)){if(t instanceof y)return t;if(wl.call(t,"__wrapped__"))return ss(t)}return new y(t)}function n(){}function y(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=nt}function C(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Nt,this.__views__=[]}function J(){var t=new C(this.__wrapped__);return t.__actions__=Hi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Hi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Hi(this.__views__),t}function K(){if(this.__filtered__){var t=new C(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function tt(){var t=this.__wrapped__.value(),e=this.__dir__,n=wp(t),r=e<0,i=n?t.length:0,o=jo(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,h=l.length,p=0,f=Yl(u,this.__takeCount__);if(!n||!r&&i==u&&f==u)return xi(t,this.__actions__);var d=[];t:for(;u--&&p<f;){c+=e;for(var g=-1,v=t[c];++g<h;){var m=l[g],y=m.iteratee,b=m.type,w=y(v);if(b==jt)v=w;else if(!w){if(b==Pt)continue t;break t}}d[p++]=v}return d}function qe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ke(){this.__data__=sh?sh(null):{},this.size=0}function tn(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function en(t){var e=this.__data__;if(sh){var n=e[t];return n===at?nt:n}return wl.call(e,t)?e[t]:nt}function nn(t){var e=this.__data__;return sh?e[t]!==nt:wl.call(e,t)}function rn(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=sh&&e===nt?at:e,this}function on(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function an(t){var e=this.__data__,n=On(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Dl.call(e,n,1),--this.size,!0}function un(t){var e=this.__data__,n=On(e,t);return n<0?nt:e[n][1]}function cn(t){return On(this.__data__,t)>-1}function ln(t,e){var n=this.__data__,r=On(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new qe,map:new(nh||on),string:new qe}}function fn(t){var e=Eo(this,t)["delete"](t);return this.size-=e?1:0,e}function dn(t){return Eo(this,t).get(t)}function gn(t){return Eo(this,t).has(t)}function vn(t,e){var n=Eo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function mn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new hn;++e<n;)this.add(t[e])}function yn(t){return this.__data__.set(t,at),this}function bn(t){return this.__data__.has(t)}function wn(t){var e=this.__data__=new on(t);this.size=e.size}function xn(){this.__data__=new on,this.size=0}function _n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function kn(t){return this.__data__.get(t)}function Sn(t){return this.__data__.has(t)}function Tn(t,e){var n=this.__data__;if(n instanceof on){var r=n.__data__;if(!nh||r.length<it-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new hn(r)}return n.set(t,e),this.size=n.size,this}function En(t,e){var n=wp(t),r=!n&&bp(t),i=!n&&!r&&_p(t),o=!n&&!r&&!i&&Cp(t),s=n||r||i||o,a=s?I(t.length,fl):[],u=a.length;for(var c in t)!e&&!wl.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||zo(c,u))||a.push(c);return a}function Cn(t){var e=t.length;return e?t[ni(0,e-1)]:nt}function An(t,e){return ns(Hi(t),zn(e,0,t.length))}function Pn(t){return ns(Hi(t))}function jn(t,e,n){(n===nt||Ja(t[e],n))&&(n!==nt||e in t)||Nn(t,e,n)}function In(t,e,n){var r=t[e];wl.call(t,e)&&Ja(r,n)&&(n!==nt||e in t)||Nn(t,e,n)}function On(t,e){for(var n=t.length;n--;)if(Ja(t[n][0],e))return n;return-1}function Ln(t,e,n,r){return yh(t,function(t,i,o){e(r,t,n(t),o)}),r}function Dn(t,e){return t&&qi(e,Wu(e),t)}function Rn(t,e){return t&&qi(e,$u(e),t)}function Nn(t,e,n){"__proto__"==e&&zl?zl(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,i=sl(r),o=null==t;++n<r;)i[n]=o?nt:qu(t,e[n]);return i}function zn(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function Bn(t,e,n,r,i,o){var s,u=e<,c=e&ht,l=e&pt;if(n&&(s=i?n(t,r,i,o):n(t)),s!==nt)return s;if(!uu(t))return t;var h=wp(t);if(h){if(s=Lo(t),!u)return Hi(t,s)}else{var p=jh(t),f=p==Qt||p==Xt;if(_p(t))return Ai(t,u);if(p==Gt||p==Ht||f&&!i){if(s=c||f?{}:Do(t),!u)return c?Ui(t,Rn(s,t)):Mi(t,Dn(s,t))}else{if(!Yn[p])return i?t:{};s=Ro(t,p,Bn,u)}}o||(o=new wn);var d=o.get(t);if(d)return d;o.set(t,s);var g=l?c?_o:xo:c?$u:Wu,v=h?nt:g(t);return a(v||t,function(r,i){v&&(i=r,r=t[i]),In(s,i,Bn(r,e,n,i,t,o))}),s}function Hn(t){var e=Wu(t);return function(n){return Un(n,t,e)}}function Un(t,e,n){var r=n.length;if(null==t)return!r;for(t=hl(t);r--;){var i=n[r],o=e[i],s=t[i];if(s===nt&&!(i in t)||!o(s))return!1}return!0}function Wn(t,e,n){if("function"!=typeof t)throw new dl(st);return Lh(function(){t.apply(nt,n)},e)}function $n(t,e,n,r){var i=-1,o=h,s=!0,a=t.length,u=[],c=e.length;if(!a)return u;n&&(e=f(e,L(n))),r?(o=p,s=!1):e.length>=it&&(o=R,s=!1,e=new mn(e));t:for(;++i<a;){var l=t[i],d=null==n?l:n(l);if(l=r||0!==l?l:0,s&&d===d){for(var g=c;g--;)if(e[g]===d)continue t;u.push(l)}else o(e,d,r)||u.push(l)}return u}function Vn(t,e){var n=!0;return yh(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Zn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],s=e(o);if(null!=s&&(a===nt?s===s&&!wu(s):n(s,a)))var a=s,u=o}return u}function Gn(t,e,n,r){var i=t.length;for(n=Eu(n),n<0&&(n=-n>i?0:i+n),r=r===nt||r>i?i:Eu(r),r<0&&(r+=i),r=n>r?0:Cu(r);n<r;)t[n++]=e;return t}function Kn(t,e){var n=[];return yh(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function tr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Fo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?tr(a,e-1,n,r,i):d(i,a):r||(i[i.length]=a)}return i}function rr(t,e){return t&&wh(t,e,Wu)}function ir(t,e){return t&&xh(t,e,Wu)}function sr(t,e){return l(e,function(e){return ou(t[e])})}function ar(t,e){e=Ei(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[rs(e[n++])];return n&&n==r?t:nt}function cr(t,e,n){var r=e(t);return wp(t)?r:d(r,n(t))}function lr(t){return null==t?t===nt?oe:Zt:Fl&&Fl in hl(t)?Po(t):Yo(t)}function mr(t,e){return t>e}function xr(t,e){return null!=t&&wl.call(t,e)}function Sr(t,e){return null!=t&&e in hl(t)}function Tr(t,e,n){return t>=Yl(e,n)&&t<Jl(e,n)}function Er(t,e,n){for(var r=n?p:h,i=t[0].length,o=t.length,s=o,a=sl(o),u=1/0,c=[];s--;){var l=t[s];s&&e&&(l=f(l,L(e))),u=Yl(l.length,u),a[s]=!n&&(e||i>=120&&l.length>=120)?new mn(s&&l):nt}l=t[0];var d=-1,g=a[0];t:for(;++d<i&&c.length<u;){var v=l[d],m=e?e(v):v;if(v=n||0!==v?v:0,!(g?R(g,m):r(c,m,n))){for(s=o;--s;){var y=a[s];if(!(y?R(y,m):r(t[s],m,n)))continue t}g&&g.push(m),c.push(v)}}return c}function Cr(t,e,n,r){return rr(t,function(t,i,o){e(r,n(t),i,o)}),r}function Ar(t,e,n){e=Ei(e,t),t=Go(t,e);var r=null==t?t:t[rs(Ts(e))];return null==r?nt:o(r,t,n)}function Pr(t){return cu(t)&&lr(t)==Ht}function jr(t){return cu(t)&&lr(t)==ue}function Ir(t){return cu(t)&&lr(t)==Wt}function Or(t,e,n,r,i){return t===e||(null==t||null==e||!cu(t)&&!cu(e)?t!==t&&e!==e:Lr(t,e,n,r,Or,i))}function Lr(t,e,n,r,i,o){var s=wp(t),a=wp(e),u=s?qt:jh(t),c=a?qt:jh(e);u=u==Ht?Gt:u,c=c==Ht?Gt:c;var l=u==Gt,h=c==Gt,p=u==c;if(p&&_p(t)){if(!_p(e))return!1;s=!0,l=!1}if(p&&!l)return o||(o=new wn),s||Cp(t)?mo(t,e,n,r,i,o):yo(t,e,u,n,r,i,o);if(!(n&ft)){var f=l&&wl.call(t,"__wrapped__"),d=h&&wl.call(e,"__wrapped__");if(f||d){var g=f?t.value():t,v=d?e.value():e;return o||(o=new wn),i(g,v,n,r,o)}}return!!p&&(o||(o=new wn),bo(t,e,n,r,i,o))}function Dr(t){return cu(t)&&jh(t)==Jt}function Rr(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=hl(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var u=a[0],c=t[u],l=a[1];if(s&&a[2]){if(c===nt&&!(u in t))return!1}else{var h=new wn;if(r)var p=r(c,l,u,t,e,h);if(!(p===nt?Or(l,c,ft|dt,r,h):p))return!1}}return!0}function Nr(t){if(!uu(t)||Uo(t))return!1;var e=ou(t)?El:Qe;return e.test(is(t))}function Fr(t){return cu(t)&&lr(t)==ee}function zr(t){return cu(t)&&jh(t)==ne}function Br(t){return cu(t)&&au(t.length)&&!!Jn[lr(t)]}function Hr(t){return"function"==typeof t?t:null==t?Dc:"object"==typeof t?wp(t)?Vr(t[0],t[1]):$r(t):Mc(t)}function qr(t){if(!Wo(t))return Xl(t);var e=[];for(var n in hl(t))wl.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Mr(t){if(!uu(t))return Jo(t);var e=Wo(t),n=[];for(var r in t)("constructor"!=r||!e&&wl.call(t,r))&&n.push(r);return n}function Ur(t,e){return t<e}function Wr(t,e){var n=-1,r=Ya(t)?sl(t.length):[];return yh(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function $r(t){var e=Co(t);return 1==e.length&&e[0][2]?Vo(e[0][0],e[0][1]):function(n){return n===t||Rr(n,t,e)}}function Vr(t,e){return Ho(t)&&$o(e)?Vo(rs(t),e):function(n){var r=qu(n,t);return r===nt&&r===e?Uu(n,t):Or(e,r,ft|dt)}}function Qr(t,e,n,r,i){t!==e&&wh(e,function(o,s){if(uu(o))i||(i=new wn),Xr(t,e,s,n,Qr,r,i);else{var a=r?r(t[s],o,s+"",t,e,i):nt;a===nt&&(a=o),jn(t,s,a)}},$u)}function Xr(t,e,n,r,i,o,s){var a=t[n],u=e[n],c=s.get(u);if(c)return void jn(t,n,c);var l=o?o(a,u,n+"",t,e,s):nt,h=l===nt;if(h){var p=wp(u),f=!p&&_p(u),d=!p&&!f&&Cp(u);l=u,p||f||d?wp(a)?l=a:Za(a)?l=Hi(a):f?(h=!1,l=Ai(u,!0)):d?(h=!1,l=Ri(u,!0)):l=[]:mu(u)||bp(u)?(l=a,bp(a)?l=Pu(a):(!uu(a)||r&&ou(a))&&(l=Do(u))):h=!1}h&&(s.set(u,l),i(l,u,r,o,s),s["delete"](u)),jn(t,n,l)}function Jr(t,e){var n=t.length;if(n)return e+=e<0?n:0,zo(e,n)?t[e]:nt}function Yr(t,e,n){var r=-1;e=f(e.length?e:[Dc],L(To()));var i=Wr(t,function(t,n,i){var o=f(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return P(i,function(t,e){return Fi(t,e,n)})}function Zr(t,e){return Gr(t,e,function(e,n){return Uu(t,n)})}function Gr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=ar(t,s);n(a,s)&&ui(o,Ei(s,t),a)}return o}function Kr(t){return function(e){return ar(e,t)}}function ti(t,e,n,r){var i=r?k:_,o=-1,s=e.length,a=t;for(t===e&&(e=Hi(e)),n&&(a=f(t,L(n)));++o<s;)for(var u=0,c=e[o],l=n?n(c):c;(u=i(a,l,u,r))>-1;)a!==t&&Dl.call(a,u,1),Dl.call(t,u,1);return t}function ei(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;zo(i)?Dl.call(t,i,1):yi(t,i)}}return t}function ni(t,e){return t+Ul(Kl()*(e-t+1))}function ri(t,e,n,r){for(var i=-1,o=Jl(Ml((e-t)/(n||1)),0),s=sl(o);o--;)s[r?o:++i]=t,t+=n;return s}function ii(t,e){var n="";if(!t||e<1||e>Lt)return n;do e%2&&(n+=t),e=Ul(e/2),e&&(t+=t);while(e);return n}function oi(t,e){return Dh(Zo(t,e,Dc),t+"")}function si(t){return Cn(rc(t))}function ai(t,e){var n=rc(t);return ns(n,zn(e,0,n.length))}function ui(t,e,n,r){if(!uu(t))return t;e=Ei(e,t);for(var i=-1,o=e.length,s=o-1,a=t;null!=a&&++i<o;){var u=rs(e[i]),c=n;if(i!=s){var l=a[u];c=r?r(l,u,a):nt,c===nt&&(c=uu(l)?l:zo(e[i+1])?[]:{})}In(a,u,c),a=a[u]}return t}function ci(t){return ns(rc(t))}function li(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=sl(i);++r<i;)o[r]=t[r+e];return o}function hi(t,e){var n;return yh(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function pi(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=zt){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!wu(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return fi(t,e,Dc,n)}function fi(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,s=e!==e,a=null===e,u=wu(e),c=e===nt;i<o;){var l=Ul((i+o)/2),h=n(t[l]),p=h!==nt,f=null===h,d=h===h,g=wu(h);if(s)var v=r||d;else v=c?d&&(r||p):a?d&&p&&(r||!f):u?d&&p&&!f&&(r||!g):!f&&!g&&(r?h<=e:h<e);v?i=l+1:o=l}return Yl(o,Ft)}function di(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!Ja(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function gi(t){return"number"==typeof t?t:wu(t)?Rt:+t}function vi(t){if("string"==typeof t)return t;if(wp(t))return f(t,vi)+"";if(wu(t))return vh?vh.call(t):"";var e=t+"";return"0"==e&&1/t==-Ot?"-0":e}function mi(t,e,n){var r=-1,i=h,o=t.length,s=!0,a=[],u=a;if(n)s=!1,i=p;else if(o>=it){var c=e?null:Eh(t);if(c)return Q(c);s=!1,i=R,u=new mn}else u=e?[]:a;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,s&&f===f){for(var d=u.length;d--;)if(u[d]===f)continue t;e&&u.push(f),a.push(l)}else i(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function yi(t,e){return e=Ei(e,t),t=Go(t,e),null==t||delete t[rs(Ts(e))]}function bi(t,e,n,r){return ui(t,e,n(ar(t,e)),r)}function wi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?li(t,r?0:o,r?o+1:i):li(t,r?o+1:0,r?i:o)}function xi(t,e){var n=t;return n instanceof C&&(n=n.value()),g(e,function(t,e){return e.func.apply(e.thisArg,d([t],e.args))},n)}function _i(t,e,n){var r=t.length;if(r<2)return r?mi(t[0]):[];for(var i=-1,o=sl(r);++i<r;)for(var s=t[i],a=-1;++a<r;)a!=i&&(o[i]=$n(o[i]||s,t[a],e,n));return mi(tr(o,1),e,n)}function ki(t,e,n){for(var r=-1,i=t.length,o=e.length,s={};++r<i;){var a=r<o?e[r]:nt;n(s,t[r],a)}return s}function Si(t){return Za(t)?t:[]}function Ti(t){return"function"==typeof t?t:Dc}function Ei(t,e){return wp(t)?t:Ho(t,e)?[t]:Rh(Iu(t))}function Ci(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:li(t,e,n)}function Ai(t,e){if(e)return t.slice();var n=t.length,r=jl?jl(n):new t.constructor(n);return t.copy(r),r}function Pi(t){var e=new t.constructor(t.byteLength);return new Pl(e).set(new Pl(t)),e}function ji(t,e){var n=e?Pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ii(t,e,n){var i=e?n(W(t),lt):W(t);return g(i,r,new t.constructor)}function Oi(t){
|
5
|
+
var e=new t.constructor(t.source,We.exec(t));return e.lastIndex=t.lastIndex,e}function Li(t,e,n){var r=e?n(Q(t),lt):Q(t);return g(r,i,new t.constructor)}function Di(t){return gh?hl(gh.call(t)):{}}function Ri(t,e){var n=e?Pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ni(t,e){if(t!==e){var n=t!==nt,r=null===t,i=t===t,o=wu(t),s=e!==nt,a=null===e,u=e===e,c=wu(e);if(!a&&!c&&!o&&t>e||o&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function Fi(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var u=Ni(i[r],o[r]);if(u){if(r>=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}function zi(t,e,n,r){for(var i=-1,o=t.length,s=n.length,a=-1,u=e.length,c=Jl(o-s,0),l=sl(u+c),h=!r;++a<u;)l[a]=e[a];for(;++i<s;)(h||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[a++]=t[i++];return l}function Bi(t,e,n,r){for(var i=-1,o=t.length,s=-1,a=n.length,u=-1,c=e.length,l=Jl(o-a,0),h=sl(l+c),p=!r;++i<l;)h[i]=t[i];for(var f=i;++u<c;)h[f+u]=e[u];for(;++s<a;)(p||i<o)&&(h[f+n[s]]=t[i++]);return h}function Hi(t,e){var n=-1,r=t.length;for(e||(e=sl(r));++n<r;)e[n]=t[n];return e}function qi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],u=r?r(n[a],t[a],a,n,t):nt;u===nt&&(u=t[a]),i?Nn(n,a,u):In(n,a,u)}return n}function Mi(t,e){return qi(t,Ah(t),e)}function Ui(t,e){return qi(t,Ph(t),e)}function Wi(t,e){return function(n,r){var i=wp(n)?s:Ln,o=e?e():{};return i(n,t,To(r,2),o)}}function $i(t){return oi(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:nt,s=i>2?n[2]:nt;for(o=t.length>3&&"function"==typeof o?(i--,o):nt,s&&Bo(n[0],n[1],s)&&(o=i<3?nt:o,i=1),e=hl(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function Vi(t,e){return function(n,r){if(null==n)return n;if(!Ya(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=hl(n);(e?o--:++o<i)&&r(s[o],o,s)!==!1;);return n}}function Qi(t){return function(e,n,r){for(var i=-1,o=hl(e),s=r(e),a=s.length;a--;){var u=s[t?a:++i];if(n(o[u],u,o)===!1)break}return e}}function Xi(t,e,n){function r(){var e=this&&this!==or&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e>,o=Zi(t);return r}function Ji(t){return function(e){e=Iu(e);var n=q(e)?G(e):nt,r=n?n[0]:e.charAt(0),i=n?Ci(n,1).join(""):e.slice(1);return r[t]()+i}}function Yi(t){return function(e){return g(Pc(cc(e).replace(qn,"")),t,"")}}function Zi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=mh(t.prototype),r=t.apply(n,e);return uu(r)?r:n}}function Gi(t,e,n){function r(){for(var s=arguments.length,a=sl(s),u=s,c=So(r);u--;)a[u]=arguments[u];var l=s<3&&a[0]!==c&&a[s-1]!==c?[]:V(a,c);if(s-=l.length,s<n)return co(t,e,eo,r.placeholder,nt,a,l,nt,nt,n-s);var h=this&&this!==or&&this instanceof r?i:t;return o(h,this,a)}var i=Zi(t);return r}function Ki(t){return function(e,n,r){var i=hl(e);if(!Ya(e)){var o=To(n,3);e=Wu(e),n=function(t){return o(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[o?e[s]:s]:nt}}function to(t){return wo(function(e){var n=e.length,r=n,i=y.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new dl(st);if(i&&!s&&"wrapper"==ko(o))var s=new y([],(!0))}for(r=s?r:n;++r<n;){o=e[r];var a=ko(o),u="wrapper"==a?Ch(o):nt;s=u&&Mo(u[0])&&u[1]==(_t|yt|wt|kt)&&!u[4].length&&1==u[9]?s[ko(u[0])].apply(s,u[3]):1==o.length&&Mo(o)?s[a]():s.thru(o)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&wp(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function eo(t,e,n,r,i,o,s,a,u,c){function l(){for(var m=arguments.length,y=sl(m),b=m;b--;)y[b]=arguments[b];if(d)var w=So(l),x=z(y,w);if(r&&(y=zi(y,r,i,d)),o&&(y=Bi(y,o,s,d)),m-=x,d&&m<c){var _=V(y,w);return co(t,e,eo,l.placeholder,n,y,_,a,u,c-m)}var k=p?n:this,S=f?k[t]:t;return m=y.length,a?y=Ko(y,a):g&&m>1&&y.reverse(),h&&u<m&&(y.length=u),this&&this!==or&&this instanceof l&&(S=v||Zi(S)),S.apply(k,y)}var h=e&_t,p=e>,f=e&vt,d=e&(yt|bt),g=e&St,v=f?nt:Zi(t);return l}function no(t,e){return function(n,r){return Cr(n,t,e(r),{})}}function ro(t,e){return function(n,r){var i;if(n===nt&&r===nt)return e;if(n!==nt&&(i=n),r!==nt){if(i===nt)return r;"string"==typeof n||"string"==typeof r?(n=vi(n),r=vi(r)):(n=gi(n),r=gi(r)),i=t(n,r)}return i}}function io(t){return wo(function(e){return e=f(e,L(To())),oi(function(n){var r=this;return t(e,function(t){return o(t,r,n)})})})}function oo(t,e){e=e===nt?" ":vi(e);var n=e.length;if(n<2)return n?ii(e,t):e;var r=ii(e,Ml(t/Z(e)));return q(e)?Ci(G(r),0,t).join(""):r.slice(0,t)}function so(t,e,n,r){function i(){for(var e=-1,u=arguments.length,c=-1,l=r.length,h=sl(l+u),p=this&&this!==or&&this instanceof i?a:t;++c<l;)h[c]=r[c];for(;u--;)h[c++]=arguments[++e];return o(p,s?n:this,h)}var s=e>,a=Zi(t);return i}function ao(t){return function(e,n,r){return r&&"number"!=typeof r&&Bo(e,n,r)&&(n=r=nt),e=Tu(e),n===nt?(n=e,e=0):n=Tu(n),r=r===nt?e<n?1:-1:Tu(r),ri(e,n,r,t)}}function uo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Au(e),n=Au(n)),t(e,n)}}function co(t,e,n,r,i,o,s,a,u,c){var l=e&yt,h=l?s:nt,p=l?nt:s,f=l?o:nt,d=l?nt:o;e|=l?wt:xt,e&=~(l?xt:wt),e&mt||(e&=~(gt|vt));var g=[t,e,i,f,h,d,p,a,u,c],v=n.apply(nt,g);return Mo(t)&&Oh(v,g),v.placeholder=r,ts(v,t,e)}function lo(t){var e=ll[t];return function(t,n){if(t=Au(t),n=null==n?0:Yl(Eu(n),292)){var r=(Iu(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Iu(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ho(t){return function(e){var n=jh(e);return n==Jt?W(e):n==ne?X(e):O(e,t(e))}}function po(t,e,n,r,i,o,s,a){var u=e&vt;if(!u&&"function"!=typeof t)throw new dl(st);var c=r?r.length:0;if(c||(e&=~(wt|xt),r=i=nt),s=s===nt?s:Jl(Eu(s),0),a=a===nt?a:Eu(a),c-=i?i.length:0,e&xt){var l=r,h=i;r=i=nt}var p=u?nt:Ch(t),f=[t,e,n,r,i,l,h,o,s,a];if(p&&Xo(f,p),t=f[0],e=f[1],n=f[2],r=f[3],i=f[4],a=f[9]=f[9]===nt?u?0:t.length:Jl(f[9]-c,0),!a&&e&(yt|bt)&&(e&=~(yt|bt)),e&&e!=gt)d=e==yt||e==bt?Gi(t,e,a):e!=wt&&e!=(gt|wt)||i.length?eo.apply(nt,f):so(t,e,n,r);else var d=Xi(t,e,n);var g=p?_h:Oh;return ts(g(d,f),t,e)}function fo(t,e,n,r){return t===nt||Ja(t,ml[n])&&!wl.call(r,n)?e:t}function go(t,e,n,r,i,o){return uu(t)&&uu(e)&&(o.set(e,t),Qr(t,e,nt,go,o),o["delete"](e)),t}function vo(t){return mu(t)?nt:t}function mo(t,e,n,r,i,o){var s=n&ft,a=t.length,u=e.length;if(a!=u&&!(s&&u>a))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,h=!0,p=n&dt?new mn:nt;for(o.set(t,e),o.set(e,t);++l<a;){var f=t[l],d=e[l];if(r)var g=s?r(d,f,l,e,t,o):r(f,d,l,t,e,o);if(g!==nt){if(g)continue;h=!1;break}if(p){if(!m(e,function(t,e){if(!R(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){h=!1;break}}else if(f!==d&&!i(f,d,n,r,o)){h=!1;break}}return o["delete"](t),o["delete"](e),h}function yo(t,e,n,r,i,o,s){switch(n){case ce:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ue:return!(t.byteLength!=e.byteLength||!o(new Pl(t),new Pl(e)));case Ut:case Wt:case Yt:return Ja(+t,+e);case Vt:return t.name==e.name&&t.message==e.message;case ee:case re:return t==e+"";case Jt:var a=W;case ne:var u=r&ft;if(a||(a=Q),t.size!=e.size&&!u)return!1;var c=s.get(t);if(c)return c==e;r|=dt,s.set(t,e);var l=mo(a(t),a(e),r,i,o,s);return s["delete"](t),l;case ie:if(gh)return gh.call(t)==gh.call(e)}return!1}function bo(t,e,n,r,i,o){var s=n&ft,a=xo(t),u=a.length,c=xo(e),l=c.length;if(u!=l&&!s)return!1;for(var h=u;h--;){var p=a[h];if(!(s?p in e:wl.call(e,p)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);for(var g=s;++h<u;){p=a[h];var v=t[p],m=e[p];if(r)var y=s?r(m,v,p,e,t,o):r(v,m,p,t,e,o);if(!(y===nt?v===m||i(v,m,n,r,o):y)){d=!1;break}g||(g="constructor"==p)}if(d&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(d=!1)}return o["delete"](t),o["delete"](e),d}function wo(t){return Dh(Zo(t,nt,ms),t+"")}function xo(t){return cr(t,Wu,Ah)}function _o(t){return cr(t,$u,Ph)}function ko(t){for(var e=t.name+"",n=uh[e],r=wl.call(uh,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function So(t){var n=wl.call(e,"placeholder")?e:t;return n.placeholder}function To(){var t=e.iteratee||Rc;return t=t===Rc?Hr:t,arguments.length?t(arguments[0],arguments[1]):t}function Eo(t,e){var n=t.__data__;return qo(e)?n["string"==typeof e?"string":"hash"]:n.map}function Co(t){for(var e=Wu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,$o(i)]}return e}function Ao(t,e){var n=H(t,e);return Nr(n)?n:nt}function Po(t){var e=wl.call(t,Fl),n=t[Fl];try{t[Fl]=nt;var r=!0}catch(i){}var o=kl.call(t);return r&&(e?t[Fl]=n:delete t[Fl]),o}function jo(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Yl(e,t+s);break;case"takeRight":t=Jl(t,e-s)}}return{start:t,end:e}}function Io(t){var e=t.match(Be);return e?e[1].split(He):[]}function Oo(t,e,n){e=Ei(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var s=rs(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&au(i)&&zo(s,i)&&(wp(t)||bp(t)))}function Lo(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&wl.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Do(t){return"function"!=typeof t.constructor||Wo(t)?{}:mh(Il(t))}function Ro(t,e,n,r){var i=t.constructor;switch(e){case ue:return Pi(t);case Ut:case Wt:return new i((+t));case ce:return ji(t,r);case le:case he:case pe:case fe:case de:case ge:case ve:case me:case ye:return Ri(t,r);case Jt:return Ii(t,r,n);case Yt:case re:return new i(t);case ee:return Oi(t);case ne:return Li(t,r,n);case ie:return Di(t)}}function No(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ze,"{\n/* [wrapped with "+e+"] */\n")}function Fo(t){return wp(t)||bp(t)||!!(Rl&&t&&t[Rl])}function zo(t,e){return e=null==e?Lt:e,!!e&&("number"==typeof t||Je.test(t))&&t>-1&&t%1==0&&t<e}function Bo(t,e,n){if(!uu(n))return!1;var r=typeof e;return!!("number"==r?Ya(n)&&zo(e,n.length):"string"==r&&e in n)&&Ja(n[e],t)}function Ho(t,e){if(wp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wu(t))||(je.test(t)||!Pe.test(t)||null!=e&&t in hl(e))}function qo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mo(t){var n=ko(t),r=e[n];if("function"!=typeof r||!(n in C.prototype))return!1;if(t===r)return!0;var i=Ch(r);return!!i&&t===i[0]}function Uo(t){return!!_l&&_l in t}function Wo(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ml;return t===n}function $o(t){return t===t&&!uu(t)}function Vo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==nt||t in hl(n)))}}function Qo(t){var e=Ra(t,function(t){return n.size===ut&&n.clear(),t}),n=e.cache;return e}function Xo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(gt|vt|_t),s=r==_t&&n==yt||r==_t&&n==kt&&t[7].length<=e[8]||r==(_t|kt)&&e[7].length<=e[8]&&n==yt;if(!o&&!s)return t;r>&&(t[2]=e[2],i|=n>?0:mt);var a=e[3];if(a){var u=t[3];t[3]=u?zi(u,a,e[4]):a,t[4]=u?V(t[3],ct):e[4]}return a=e[5],a&&(u=t[5],t[5]=u?Bi(u,a,e[6]):a,t[6]=u?V(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&_t&&(t[8]=null==t[8]?e[8]:Yl(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Jo(t){var e=[];if(null!=t)for(var n in hl(t))e.push(n);return e}function Yo(t){return kl.call(t)}function Zo(t,e,n){return e=Jl(e===nt?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=Jl(r.length-e,0),a=sl(s);++i<s;)a[i]=r[e+i];i=-1;for(var u=sl(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),o(t,this,u)}}function Go(t,e){return e.length<2?t:ar(t,li(e,0,-1))}function Ko(t,e){for(var n=t.length,r=Yl(e.length,n),i=Hi(t);r--;){var o=e[r];t[r]=zo(o,n)?i[o]:nt}return t}function ts(t,e,n){var r=e+"";return Dh(t,No(r,os(Io(r),n)))}function es(t){var e=0,n=0;return function(){var r=Zl(),i=At-(r-n);if(n=r,i>0){if(++e>=Ct)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function ns(t,e){var n=-1,r=t.length,i=r-1;for(e=e===nt?r:e;++n<e;){var o=ni(n,i),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}function rs(t){if("string"==typeof t||wu(t))return t;var e=t+"";return"0"==e&&1/t==-Ot?"-0":e}function is(t){if(null!=t){try{return bl.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function os(t,e){return a(Bt,function(n){var r="_."+n[0];e&n[1]&&!h(t,r)&&t.push(r)}),t.sort()}function ss(t){if(t instanceof C)return t.clone();var e=new y(t.__wrapped__,t.__chain__);return e.__actions__=Hi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function as(t,e,n){e=(n?Bo(t,e,n):e===nt)?1:Jl(Eu(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,s=sl(Ml(r/e));i<r;)s[o++]=li(t,i,i+=e);return s}function us(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function cs(){var t=arguments.length;if(!t)return[];for(var e=sl(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return d(wp(n)?Hi(n):[n],tr(e,1))}function ls(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),li(t,e<0?0:e,r)):[]}function hs(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),e=r-e,li(t,0,e<0?0:e)):[]}function ps(t,e){return t&&t.length?wi(t,To(e,3),!0,!0):[]}function fs(t,e){return t&&t.length?wi(t,To(e,3),!0):[]}function ds(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Bo(t,e,n)&&(n=0,r=i),Gn(t,e,n,r)):[]}function gs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Eu(n);return i<0&&(i=Jl(r+i,0)),x(t,To(e,3),i)}function vs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==nt&&(i=Eu(n),i=n<0?Jl(r+i,0):Yl(i,r-1)),x(t,To(e,3),i,!0)}function ms(t){var e=null==t?0:t.length;return e?tr(t,1):[]}function ys(t){var e=null==t?0:t.length;return e?tr(t,Ot):[]}function bs(t,e){var n=null==t?0:t.length;return n?(e=e===nt?1:Eu(e),tr(t,e)):[]}function ws(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function xs(t){return t&&t.length?t[0]:nt}function _s(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Eu(n);return i<0&&(i=Jl(r+i,0)),_(t,e,i)}function ks(t){var e=null==t?0:t.length;return e?li(t,0,-1):[]}function Ss(t,e){return null==t?"":Ql.call(t,e)}function Ts(t){var e=null==t?0:t.length;return e?t[e-1]:nt}function Es(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==nt&&(i=Eu(n),i=i<0?Jl(r+i,0):Yl(i,r-1)),e===e?Y(t,e,i):x(t,S,i,!0)}function Cs(t,e){return t&&t.length?Jr(t,Eu(e)):nt}function As(t,e){return t&&t.length&&e&&e.length?ti(t,e):t}function Ps(t,e,n){return t&&t.length&&e&&e.length?ti(t,e,To(n,2)):t}function js(t,e,n){return t&&t.length&&e&&e.length?ti(t,e,nt,n):t}function Is(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=To(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return ei(t,i),n}function Os(t){return null==t?t:th.call(t)}function Ls(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Bo(t,e,n)?(e=0,n=r):(e=null==e?0:Eu(e),n=n===nt?r:Eu(n)),li(t,e,n)):[]}function Ds(t,e){return pi(t,e)}function Rs(t,e,n){return fi(t,e,To(n,2))}function Ns(t,e){var n=null==t?0:t.length;if(n){var r=pi(t,e);if(r<n&&Ja(t[r],e))return r}return-1}function Fs(t,e){return pi(t,e,!0)}function zs(t,e,n){return fi(t,e,To(n,2),!0)}function Bs(t,e){var n=null==t?0:t.length;if(n){var r=pi(t,e,!0)-1;if(Ja(t[r],e))return r}return-1}function Hs(t){return t&&t.length?di(t):[]}function qs(t,e){return t&&t.length?di(t,To(e,2)):[]}function Ms(t){var e=null==t?0:t.length;return e?li(t,1,e):[]}function Us(t,e,n){return t&&t.length?(e=n||e===nt?1:Eu(e),li(t,0,e<0?0:e)):[]}function Ws(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),e=r-e,li(t,e<0?0:e,r)):[]}function $s(t,e){return t&&t.length?wi(t,To(e,3),!1,!0):[]}function Vs(t,e){return t&&t.length?wi(t,To(e,3)):[]}function Qs(t){return t&&t.length?mi(t):[]}function Xs(t,e){return t&&t.length?mi(t,To(e,2)):[]}function Js(t,e){return e="function"==typeof e?e:nt,t&&t.length?mi(t,nt,e):[]}function Ys(t){if(!t||!t.length)return[];var e=0;return t=l(t,function(t){if(Za(t))return e=Jl(t.length,e),!0}),I(e,function(e){return f(t,E(e))})}function Zs(t,e){if(!t||!t.length)return[];var n=Ys(t);return null==e?n:f(n,function(t){return o(e,nt,t)})}function Gs(t,e){return ki(t||[],e||[],In)}function Ks(t,e){return ki(t||[],e||[],ui)}function ta(t){var n=e(t);return n.__chain__=!0,n}function ea(t,e){return e(t),t}function na(t,e){return e(t)}function ra(){return ta(this)}function ia(){return new y(this.value(),this.__chain__)}function oa(){this.__values__===nt&&(this.__values__=Su(this.value()));var t=this.__index__>=this.__values__.length,e=t?nt:this.__values__[this.__index__++];return{done:t,value:e}}function sa(){return this}function aa(t){for(var e,r=this;r instanceof n;){var i=ss(r);i.__index__=0,i.__values__=nt,e?o.__wrapped__=i:e=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,e}function ua(){var t=this.__wrapped__;if(t instanceof C){var e=t;return this.__actions__.length&&(e=new C(this)),e=e.reverse(),e.__actions__.push({func:na,args:[Os],thisArg:nt}),new y(e,this.__chain__)}return this.thru(Os)}function ca(){return xi(this.__wrapped__,this.__actions__)}function la(t,e,n){var r=wp(t)?c:Vn;return n&&Bo(t,e,n)&&(e=nt),r(t,To(e,3))}function ha(t,e){var n=wp(t)?l:Kn;return n(t,To(e,3))}function pa(t,e){return tr(ya(t,e),1)}function fa(t,e){return tr(ya(t,e),Ot)}function da(t,e,n){return n=n===nt?1:Eu(n),tr(ya(t,e),n)}function ga(t,e){var n=wp(t)?a:yh;return n(t,To(e,3))}function va(t,e){var n=wp(t)?u:bh;return n(t,To(e,3))}function ma(t,e,n,r){t=Ya(t)?t:rc(t),n=n&&!r?Eu(n):0;var i=t.length;return n<0&&(n=Jl(i+n,0)),bu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_(t,e,n)>-1}function ya(t,e){var n=wp(t)?f:Wr;return n(t,To(e,3))}function ba(t,e,n,r){return null==t?[]:(wp(e)||(e=null==e?[]:[e]),n=r?nt:n,wp(n)||(n=null==n?[]:[n]),Yr(t,e,n))}function wa(t,e,n){var r=wp(t)?g:A,i=arguments.length<3;return r(t,To(e,4),n,i,yh)}function xa(t,e,n){var r=wp(t)?v:A,i=arguments.length<3;return r(t,To(e,4),n,i,bh)}function _a(t,e){var n=wp(t)?l:Kn;return n(t,Na(To(e,3)))}function ka(t){var e=wp(t)?Cn:si;return e(t)}function Sa(t,e,n){e=(n?Bo(t,e,n):e===nt)?1:Eu(e);var r=wp(t)?An:ai;return r(t,e)}function Ta(t){var e=wp(t)?Pn:ci;return e(t)}function Ea(t){if(null==t)return 0;if(Ya(t))return bu(t)?Z(t):t.length;var e=jh(t);return e==Jt||e==ne?t.size:qr(t).length}function Ca(t,e,n){var r=wp(t)?m:hi;return n&&Bo(t,e,n)&&(e=nt),r(t,To(e,3))}function Aa(t,e){if("function"!=typeof e)throw new dl(st);return t=Eu(t),function(){if(--t<1)return e.apply(this,arguments)}}function Pa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,po(t,_t,nt,nt,nt,nt,e)}function ja(t,e){var n;if("function"!=typeof e)throw new dl(st);return t=Eu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function Ia(t,e,n){e=n?nt:e;var r=po(t,yt,nt,nt,nt,nt,nt,e);return r.placeholder=Ia.placeholder,r}function Oa(t,e,n){e=n?nt:e;var r=po(t,bt,nt,nt,nt,nt,nt,e);return r.placeholder=Oa.placeholder,r}function La(t,e,n){function r(e){var n=p,r=f;return p=f=nt,y=e,g=t.apply(r,n)}function i(t){return y=t,v=Lh(a,e),b?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return w?Yl(i,d-r):i}function s(t){var n=t-m,r=t-y;return m===nt||n>=e||n<0||w&&r>=d}function a(){var t=up();return s(t)?u(t):void(v=Lh(a,o(t)))}function u(t){return v=nt,x&&p?r(t):(p=f=nt,g)}function c(){v!==nt&&Th(v),y=0,p=m=f=v=nt}function l(){return v===nt?g:u(up())}function h(){var t=up(),n=s(t);if(p=arguments,f=this,m=t,n){if(v===nt)return i(m);if(w)return v=Lh(a,e),r(m)}return v===nt&&(v=Lh(a,e)),g}var p,f,d,g,v,m,y=0,b=!1,w=!1,x=!0;if("function"!=typeof t)throw new dl(st);return e=Au(e)||0,uu(n)&&(b=!!n.leading,w="maxWait"in n,d=w?Jl(Au(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),h.cancel=c,h.flush=l,h}function Da(t){return po(t,St)}function Ra(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new dl(st);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ra.Cache||hn),n}function Na(t){if("function"!=typeof t)throw new dl(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Fa(t){return ja(2,t)}function za(t,e){if("function"!=typeof t)throw new dl(st);return e=e===nt?e:Eu(e),oi(t,e)}function Ba(t,e){if("function"!=typeof t)throw new dl(st);return e=null==e?0:Jl(Eu(e),0),oi(function(n){var r=n[e],i=Ci(n,0,e);return r&&d(i,r),o(t,this,i)})}function Ha(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new dl(st);return uu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(t,e,{leading:r,maxWait:e,trailing:i})}function qa(t){return Pa(t,1)}function Ma(t,e){return dp(Ti(e),t)}function Ua(){if(!arguments.length)return[];var t=arguments[0];return wp(t)?t:[t]}function Wa(t){return Bn(t,pt)}function $a(t,e){return e="function"==typeof e?e:nt,Bn(t,pt,e)}function Va(t){return Bn(t,lt|pt)}function Qa(t,e){return e="function"==typeof e?e:nt,Bn(t,lt|pt,e)}function Xa(t,e){return null==e||Un(t,e,Wu(e))}function Ja(t,e){return t===e||t!==t&&e!==e}function Ya(t){return null!=t&&au(t.length)&&!ou(t)}function Za(t){return cu(t)&&Ya(t)}function Ga(t){return t===!0||t===!1||cu(t)&&lr(t)==Ut}function Ka(t){return cu(t)&&1===t.nodeType&&!mu(t)}function tu(t){if(null==t)return!0;if(Ya(t)&&(wp(t)||"string"==typeof t||"function"==typeof t.splice||_p(t)||Cp(t)||bp(t)))return!t.length;var e=jh(t);if(e==Jt||e==ne)return!t.size;if(Wo(t))return!qr(t).length;for(var n in t)if(wl.call(t,n))return!1;return!0}function eu(t,e){return Or(t,e)}function nu(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Or(t,e,nt,n):!!r}function ru(t){if(!cu(t))return!1;var e=lr(t);return e==Vt||e==$t||"string"==typeof t.message&&"string"==typeof t.name&&!mu(t)}function iu(t){return"number"==typeof t&&Vl(t)}function ou(t){if(!uu(t))return!1;var e=lr(t);return e==Qt||e==Xt||e==Mt||e==te}function su(t){return"number"==typeof t&&t==Eu(t)}function au(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Lt}function uu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function cu(t){return null!=t&&"object"==typeof t}function lu(t,e){return t===e||Rr(t,e,Co(e))}function hu(t,e,n){return n="function"==typeof n?n:nt,Rr(t,e,Co(e),n)}function pu(t){return vu(t)&&t!=+t}function fu(t){if(Ih(t))throw new ul(ot);return Nr(t)}function du(t){return null===t}function gu(t){return null==t}function vu(t){return"number"==typeof t||cu(t)&&lr(t)==Yt}function mu(t){if(!cu(t)||lr(t)!=Gt)return!1;var e=Il(t);if(null===e)return!0;var n=wl.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&bl.call(n)==Sl}function yu(t){return su(t)&&t>=-Lt&&t<=Lt}function bu(t){return"string"==typeof t||!wp(t)&&cu(t)&&lr(t)==re}function wu(t){return"symbol"==typeof t||cu(t)&&lr(t)==ie}function xu(t){return t===nt}function _u(t){return cu(t)&&jh(t)==se}function ku(t){return cu(t)&&lr(t)==ae}function Su(t){if(!t)return[];if(Ya(t))return bu(t)?G(t):Hi(t);if(Nl&&t[Nl])return U(t[Nl]());var e=jh(t),n=e==Jt?W:e==ne?Q:rc;return n(t)}function Tu(t){if(!t)return 0===t?t:0;if(t=Au(t),t===Ot||t===-Ot){var e=t<0?-1:1;return e*Dt}return t===t?t:0}function Eu(t){var e=Tu(t),n=e%1;return e===e?n?e-n:e:0}function Cu(t){return t?zn(Eu(t),0,Nt):0}function Au(t){if("number"==typeof t)return t;if(wu(t))return Rt;if(uu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=uu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Re,"");var n=Ve.test(t);return n||Xe.test(t)?nr(t.slice(2),n?2:8):$e.test(t)?Rt:+t}function Pu(t){return qi(t,$u(t))}function ju(t){return t?zn(Eu(t),-Lt,Lt):0===t?t:0}function Iu(t){return null==t?"":vi(t)}function Ou(t,e){var n=mh(t);return null==e?n:Dn(n,e)}function Lu(t,e){return w(t,To(e,3),rr)}function Du(t,e){return w(t,To(e,3),ir)}function Ru(t,e){return null==t?t:wh(t,To(e,3),$u)}function Nu(t,e){return null==t?t:xh(t,To(e,3),$u)}function Fu(t,e){return t&&rr(t,To(e,3))}function zu(t,e){return t&&ir(t,To(e,3))}function Bu(t){return null==t?[]:sr(t,Wu(t))}function Hu(t){return null==t?[]:sr(t,$u(t))}function qu(t,e,n){var r=null==t?nt:ar(t,e);return r===nt?n:r}function Mu(t,e){return null!=t&&Oo(t,e,xr)}function Uu(t,e){return null!=t&&Oo(t,e,Sr)}function Wu(t){return Ya(t)?En(t):qr(t)}function $u(t){return Ya(t)?En(t,!0):Mr(t)}function Vu(t,e){var n={};return e=To(e,3),rr(t,function(t,r,i){Nn(n,e(t,r,i),t)}),n}function Qu(t,e){var n={};return e=To(e,3),rr(t,function(t,r,i){Nn(n,r,e(t,r,i))}),n}function Xu(t,e){return Ju(t,Na(To(e)))}function Ju(t,e){if(null==t)return{};var n=f(_o(t),function(t){return[t]});return e=To(e),Gr(t,n,function(t,n){return e(t,n[0])})}function Yu(t,e,n){e=Ei(e,t);var r=-1,i=e.length;for(i||(i=1,t=nt);++r<i;){var o=null==t?nt:t[rs(e[r])];o===nt&&(r=i,o=n),t=ou(o)?o.call(t):o}return t}function Zu(t,e,n){return null==t?t:ui(t,e,n)}function Gu(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:ui(t,e,n,r)}function Ku(t,e,n){var r=wp(t),i=r||_p(t)||Cp(t);if(e=To(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:uu(t)&&ou(o)?mh(Il(t)):{}}return(i?a:rr)(t,function(t,r,i){return e(n,t,r,i)}),n}function tc(t,e){return null==t||yi(t,e)}function ec(t,e,n){return null==t?t:bi(t,e,Ti(n))}function nc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:bi(t,e,Ti(n),r)}function rc(t){return null==t?[]:D(t,Wu(t))}function ic(t){return null==t?[]:D(t,$u(t))}function oc(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=Au(n),n=n===n?n:0),e!==nt&&(e=Au(e),e=e===e?e:0),zn(Au(t),e,n)}function sc(t,e,n){return e=Tu(e),n===nt?(n=e,e=0):n=Tu(n),t=Au(t),Tr(t,e,n)}function ac(t,e,n){if(n&&"boolean"!=typeof n&&Bo(t,e,n)&&(e=n=nt),n===nt&&("boolean"==typeof e?(n=e,e=nt):"boolean"==typeof t&&(n=t,t=nt)),t===nt&&e===nt?(t=0,e=1):(t=Tu(t),e===nt?(e=t,t=0):e=Tu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kl();return Yl(t+i*(e-t+er("1e-"+((i+"").length-1))),e)}return ni(t,e)}function uc(t){return Kp(Iu(t).toLowerCase())}function cc(t){return t=Iu(t),t&&t.replace(Ye,yr).replace(Mn,"")}function lc(t,e,n){t=Iu(t),e=vi(e);var r=t.length;n=n===nt?r:zn(Eu(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function hc(t){return t=Iu(t),t&&Te.test(t)?t.replace(ke,br):t}function pc(t){return t=Iu(t),t&&De.test(t)?t.replace(Le,"\\$&"):t}function fc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return oo(Ul(i),n)+t+oo(Ml(i),n)}function dc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;return e&&r<e?t+oo(e-r,n):t}function gc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;return e&&r<e?oo(e-r,n)+t:t}function vc(t,e,n){return n||null==e?e=0:e&&(e=+e),Gl(Iu(t).replace(Ne,""),e||0)}function mc(t,e,n){return e=(n?Bo(t,e,n):e===nt)?1:Eu(e),ii(Iu(t),e)}function yc(){var t=arguments,e=Iu(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function bc(t,e,n){return n&&"number"!=typeof n&&Bo(t,e,n)&&(e=n=nt),(n=n===nt?Nt:n>>>0)?(t=Iu(t),t&&("string"==typeof e||null!=e&&!Tp(e))&&(e=vi(e),!e&&q(t))?Ci(G(t),0,n):t.split(e,n)):[]}function wc(t,e,n){return t=Iu(t),n=null==n?0:zn(Eu(n),0,t.length),e=vi(e),t.slice(n,n+e.length)==e}function xc(t,n,r){var i=e.templateSettings;r&&Bo(t,n,r)&&(n=nt),t=Iu(t),n=Op({},n,i,fo);var o,s,a=Op({},n.imports,i.imports,fo),u=Wu(a),c=D(a,u),l=0,h=n.interpolate||Ze,p="__p += '",f=pl((n.escape||Ze).source+"|"+h.source+"|"+(h===Ae?Ue:Ze).source+"|"+(n.evaluate||Ze).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";t.replace(f,function(e,n,r,i,a,u){return r||(r=i),p+=t.slice(l,u).replace(Ge,B),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e}),p+="';\n";var g=n.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(s?p.replace(be,""):p).replace(we,"$1").replace(xe,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=tf(function(){return cl(u,d+"return "+p).apply(nt,c)});if(v.source=p,ru(v))throw v;return v}function _c(t){return Iu(t).toLowerCase()}function kc(t){return Iu(t).toUpperCase()}function Sc(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Re,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=G(e),o=N(r,i),s=F(r,i)+1;return Ci(r,o,s).join("")}function Tc(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Fe,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=F(r,G(e))+1;return Ci(r,0,i).join("")}function Ec(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Ne,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=N(r,G(e));return Ci(r,i).join("")}function Cc(t,e){var n=Tt,r=Et;if(uu(e)){var i="separator"in e?e.separator:i;n="length"in e?Eu(e.length):n,r="omission"in e?vi(e.omission):r}t=Iu(t);var o=t.length;if(q(t)){var s=G(t);o=s.length}if(n>=o)return t;var a=n-Z(r);if(a<1)return r;var u=s?Ci(s,0,a).join(""):t.slice(0,a);if(i===nt)return u+r;if(s&&(a+=u.length-a),Tp(i)){if(t.slice(a).search(i)){var c,l=u;for(i.global||(i=pl(i.source,Iu(We.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var h=c.index;u=u.slice(0,h===nt?a:h)}}else if(t.indexOf(vi(i),a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function Ac(t){return t=Iu(t),t&&Se.test(t)?t.replace(_e,wr):t}function Pc(t,e,n){return t=Iu(t),e=n?nt:e,e===nt?M(t)?et(t):b(t):t.match(e)||[]}function jc(t){var e=null==t?0:t.length,n=To();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new dl(st);return[n(t[0]),t[1]]}):[],oi(function(n){for(var r=-1;++r<e;){var i=t[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function Ic(t){return Hn(Bn(t,lt))}function Oc(t){return function(){return t}}function Lc(t,e){return null==t||t!==t?e:t}function Dc(t){return t}function Rc(t){return Hr("function"==typeof t?t:Bn(t,lt))}function Nc(t){return $r(Bn(t,lt))}function Fc(t,e){return Vr(t,Bn(e,lt))}function zc(t,e,n){var r=Wu(e),i=sr(e,r);null!=n||uu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=sr(e,Wu(e)));var o=!(uu(n)&&"chain"in n&&!n.chain),s=ou(t);return a(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Hi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,d([this.value()],arguments))})}),t}function Bc(){return or._===this&&(or._=Tl),this}function Hc(){}function qc(t){return t=Eu(t),oi(function(e){return Jr(e,t)})}function Mc(t){return Ho(t)?E(rs(t)):Kr(t)}function Uc(t){return function(e){return null==t?nt:ar(t,e)}}function Wc(){return[]}function $c(){return!1}function Vc(){return{}}function Qc(){return""}function Xc(){return!0}function Jc(t,e){if(t=Eu(t),t<1||t>Lt)return[];var n=Nt,r=Yl(t,Nt);e=To(e),t-=Nt;for(var i=I(r,e);++n<t;)e(n);return i}function Yc(t){return wp(t)?f(t,rs):wu(t)?[t]:Hi(Rh(Iu(t)))}function Zc(t){var e=++xl;return Iu(t)+e}function Gc(t){return t&&t.length?Zn(t,Dc,mr):nt}function Kc(t,e){return t&&t.length?Zn(t,To(e,2),mr):nt}function tl(t){return T(t,Dc)}function el(t,e){return T(t,To(e,2))}function nl(t){return t&&t.length?Zn(t,Dc,Ur):nt}function rl(t,e){return t&&t.length?Zn(t,To(e,2),Ur):nt}function il(t){return t&&t.length?j(t,Dc):0}function ol(t,e){return t&&t.length?j(t,To(e,2)):0}t=null==t?or:_r.defaults(or.Object(),t,_r.pick(or,Qn));var sl=t.Array,al=t.Date,ul=t.Error,cl=t.Function,ll=t.Math,hl=t.Object,pl=t.RegExp,fl=t.String,dl=t.TypeError,gl=sl.prototype,vl=cl.prototype,ml=hl.prototype,yl=t["__core-js_shared__"],bl=vl.toString,wl=ml.hasOwnProperty,xl=0,_l=function(){
|
6
|
+
var t=/[^.]+$/.exec(yl&&yl.keys&&yl.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),kl=ml.toString,Sl=bl.call(hl),Tl=or._,El=pl("^"+bl.call(wl).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cl=ur?t.Buffer:nt,Al=t.Symbol,Pl=t.Uint8Array,jl=Cl?Cl.allocUnsafe:nt,Il=$(hl.getPrototypeOf,hl),Ol=hl.create,Ll=ml.propertyIsEnumerable,Dl=gl.splice,Rl=Al?Al.isConcatSpreadable:nt,Nl=Al?Al.iterator:nt,Fl=Al?Al.toStringTag:nt,zl=function(){try{var t=Ao(hl,"defineProperty");return t({},"",{}),t}catch(e){}}(),Bl=t.clearTimeout!==or.clearTimeout&&t.clearTimeout,Hl=al&&al.now!==or.Date.now&&al.now,ql=t.setTimeout!==or.setTimeout&&t.setTimeout,Ml=ll.ceil,Ul=ll.floor,Wl=hl.getOwnPropertySymbols,$l=Cl?Cl.isBuffer:nt,Vl=t.isFinite,Ql=gl.join,Xl=$(hl.keys,hl),Jl=ll.max,Yl=ll.min,Zl=al.now,Gl=t.parseInt,Kl=ll.random,th=gl.reverse,eh=Ao(t,"DataView"),nh=Ao(t,"Map"),rh=Ao(t,"Promise"),ih=Ao(t,"Set"),oh=Ao(t,"WeakMap"),sh=Ao(hl,"create"),ah=oh&&new oh,uh={},ch=is(eh),lh=is(nh),hh=is(rh),ph=is(ih),fh=is(oh),dh=Al?Al.prototype:nt,gh=dh?dh.valueOf:nt,vh=dh?dh.toString:nt,mh=function(){function t(){}return function(e){if(!uu(e))return{};if(Ol)return Ol(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();e.templateSettings={escape:Ee,evaluate:Ce,interpolate:Ae,variable:"",imports:{_:e}},e.prototype=n.prototype,e.prototype.constructor=e,y.prototype=mh(n.prototype),y.prototype.constructor=y,C.prototype=mh(n.prototype),C.prototype.constructor=C,qe.prototype.clear=Ke,qe.prototype["delete"]=tn,qe.prototype.get=en,qe.prototype.has=nn,qe.prototype.set=rn,on.prototype.clear=sn,on.prototype["delete"]=an,on.prototype.get=un,on.prototype.has=cn,on.prototype.set=ln,hn.prototype.clear=pn,hn.prototype["delete"]=fn,hn.prototype.get=dn,hn.prototype.has=gn,hn.prototype.set=vn,mn.prototype.add=mn.prototype.push=yn,mn.prototype.has=bn,wn.prototype.clear=xn,wn.prototype["delete"]=_n,wn.prototype.get=kn,wn.prototype.has=Sn,wn.prototype.set=Tn;var yh=Vi(rr),bh=Vi(ir,!0),wh=Qi(),xh=Qi(!0),_h=ah?function(t,e){return ah.set(t,e),t}:Dc,kh=zl?function(t,e){return zl(t,"toString",{configurable:!0,enumerable:!1,value:Oc(e),writable:!0})}:Dc,Sh=oi,Th=Bl||function(t){return or.clearTimeout(t)},Eh=ih&&1/Q(new ih([,-0]))[1]==Ot?function(t){return new ih(t)}:Hc,Ch=ah?function(t){return ah.get(t)}:Hc,Ah=Wl?function(t){return null==t?[]:(t=hl(t),l(Wl(t),function(e){return Ll.call(t,e)}))}:Wc,Ph=Wl?function(t){for(var e=[];t;)d(e,Ah(t)),t=Il(t);return e}:Wc,jh=lr;(eh&&jh(new eh(new ArrayBuffer(1)))!=ce||nh&&jh(new nh)!=Jt||rh&&jh(rh.resolve())!=Kt||ih&&jh(new ih)!=ne||oh&&jh(new oh)!=se)&&(jh=function(t){var e=lr(t),n=e==Gt?t.constructor:nt,r=n?is(n):"";if(r)switch(r){case ch:return ce;case lh:return Jt;case hh:return Kt;case ph:return ne;case fh:return se}return e});var Ih=yl?ou:$c,Oh=es(_h),Lh=ql||function(t,e){return or.setTimeout(t,e)},Dh=es(kh),Rh=Qo(function(t){var e=[];return Ie.test(t)&&e.push(""),t.replace(Oe,function(t,n,r,i){e.push(r?i.replace(Me,"$1"):n||t)}),e}),Nh=oi(function(t,e){return Za(t)?$n(t,tr(e,1,Za,!0)):[]}),Fh=oi(function(t,e){var n=Ts(e);return Za(n)&&(n=nt),Za(t)?$n(t,tr(e,1,Za,!0),To(n,2)):[]}),zh=oi(function(t,e){var n=Ts(e);return Za(n)&&(n=nt),Za(t)?$n(t,tr(e,1,Za,!0),nt,n):[]}),Bh=oi(function(t){var e=f(t,Si);return e.length&&e[0]===t[0]?Er(e):[]}),Hh=oi(function(t){var e=Ts(t),n=f(t,Si);return e===Ts(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?Er(n,To(e,2)):[]}),qh=oi(function(t){var e=Ts(t),n=f(t,Si);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?Er(n,nt,e):[]}),Mh=oi(As),Uh=wo(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return ei(t,f(e,function(t){return zo(t,n)?+t:t}).sort(Ni)),r}),Wh=oi(function(t){return mi(tr(t,1,Za,!0))}),$h=oi(function(t){var e=Ts(t);return Za(e)&&(e=nt),mi(tr(t,1,Za,!0),To(e,2))}),Vh=oi(function(t){var e=Ts(t);return e="function"==typeof e?e:nt,mi(tr(t,1,Za,!0),nt,e)}),Qh=oi(function(t,e){return Za(t)?$n(t,e):[]}),Xh=oi(function(t){return _i(l(t,Za))}),Jh=oi(function(t){var e=Ts(t);return Za(e)&&(e=nt),_i(l(t,Za),To(e,2))}),Yh=oi(function(t){var e=Ts(t);return e="function"==typeof e?e:nt,_i(l(t,Za),nt,e)}),Zh=oi(Ys),Gh=oi(function(t){var e=t.length,n=e>1?t[e-1]:nt;return n="function"==typeof n?(t.pop(),n):nt,Zs(t,n)}),Kh=wo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof C&&zo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:na,args:[i],thisArg:nt}),new y(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(i)}),tp=Wi(function(t,e,n){wl.call(t,n)?++t[n]:Nn(t,n,1)}),ep=Ki(gs),np=Ki(vs),rp=Wi(function(t,e,n){wl.call(t,n)?t[n].push(e):Nn(t,n,[e])}),ip=oi(function(t,e,n){var r=-1,i="function"==typeof e,s=Ya(t)?sl(t.length):[];return yh(t,function(t){s[++r]=i?o(e,t,n):Ar(t,e,n)}),s}),op=Wi(function(t,e,n){Nn(t,n,e)}),sp=Wi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ap=oi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Bo(t,e[0],e[1])?e=[]:n>2&&Bo(e[0],e[1],e[2])&&(e=[e[0]]),Yr(t,tr(e,1),[])}),up=Hl||function(){return or.Date.now()},cp=oi(function(t,e,n){var r=gt;if(n.length){var i=V(n,So(cp));r|=wt}return po(t,r,e,n,i)}),lp=oi(function(t,e,n){var r=gt|vt;if(n.length){var i=V(n,So(lp));r|=wt}return po(e,r,t,n,i)}),hp=oi(function(t,e){return Wn(t,1,e)}),pp=oi(function(t,e,n){return Wn(t,Au(e)||0,n)});Ra.Cache=hn;var fp=Sh(function(t,e){e=1==e.length&&wp(e[0])?f(e[0],L(To())):f(tr(e,1),L(To()));var n=e.length;return oi(function(r){for(var i=-1,s=Yl(r.length,n);++i<s;)r[i]=e[i].call(this,r[i]);return o(t,this,r)})}),dp=oi(function(t,e){var n=V(e,So(dp));return po(t,wt,nt,e,n)}),gp=oi(function(t,e){var n=V(e,So(gp));return po(t,xt,nt,e,n)}),vp=wo(function(t,e){return po(t,kt,nt,nt,nt,e)}),mp=uo(mr),yp=uo(function(t,e){return t>=e}),bp=Pr(function(){return arguments}())?Pr:function(t){return cu(t)&&wl.call(t,"callee")&&!Ll.call(t,"callee")},wp=sl.isArray,xp=hr?L(hr):jr,_p=$l||$c,kp=pr?L(pr):Ir,Sp=fr?L(fr):Dr,Tp=dr?L(dr):Fr,Ep=gr?L(gr):zr,Cp=vr?L(vr):Br,Ap=uo(Ur),Pp=uo(function(t,e){return t<=e}),jp=$i(function(t,e){if(Wo(e)||Ya(e))return void qi(e,Wu(e),t);for(var n in e)wl.call(e,n)&&In(t,n,e[n])}),Ip=$i(function(t,e){qi(e,$u(e),t)}),Op=$i(function(t,e,n,r){qi(e,$u(e),t,r)}),Lp=$i(function(t,e,n,r){qi(e,Wu(e),t,r)}),Dp=wo(Fn),Rp=oi(function(t){return t.push(nt,fo),o(Op,nt,t)}),Np=oi(function(t){return t.push(nt,go),o(qp,nt,t)}),Fp=no(function(t,e,n){t[e]=n},Oc(Dc)),zp=no(function(t,e,n){wl.call(t,e)?t[e].push(n):t[e]=[n]},To),Bp=oi(Ar),Hp=$i(function(t,e,n){Qr(t,e,n)}),qp=$i(function(t,e,n,r){Qr(t,e,n,r)}),Mp=wo(function(t,e){var n={};if(null==t)return n;var r=!1;e=f(e,function(e){return e=Ei(e,t),r||(r=e.length>1),e}),qi(t,_o(t),n),r&&(n=Bn(n,lt|ht|pt,vo));for(var i=e.length;i--;)yi(n,e[i]);return n}),Up=wo(function(t,e){return null==t?{}:Zr(t,e)}),Wp=ho(Wu),$p=ho($u),Vp=Yi(function(t,e,n){return e=e.toLowerCase(),t+(n?uc(e):e)}),Qp=Yi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Xp=Yi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Jp=Ji("toLowerCase"),Yp=Yi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Zp=Yi(function(t,e,n){return t+(n?" ":"")+Kp(e)}),Gp=Yi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kp=Ji("toUpperCase"),tf=oi(function(t,e){try{return o(t,nt,e)}catch(n){return ru(n)?n:new ul(n)}}),ef=wo(function(t,e){return a(e,function(e){e=rs(e),Nn(t,e,cp(t[e],t))}),t}),nf=to(),rf=to(!0),of=oi(function(t,e){return function(n){return Ar(n,t,e)}}),sf=oi(function(t,e){return function(n){return Ar(t,n,e)}}),af=io(f),uf=io(c),cf=io(m),lf=ao(),hf=ao(!0),pf=ro(function(t,e){return t+e},0),ff=lo("ceil"),df=ro(function(t,e){return t/e},1),gf=lo("floor"),vf=ro(function(t,e){return t*e},1),mf=lo("round"),yf=ro(function(t,e){return t-e},0);return e.after=Aa,e.ary=Pa,e.assign=jp,e.assignIn=Ip,e.assignInWith=Op,e.assignWith=Lp,e.at=Dp,e.before=ja,e.bind=cp,e.bindAll=ef,e.bindKey=lp,e.castArray=Ua,e.chain=ta,e.chunk=as,e.compact=us,e.concat=cs,e.cond=jc,e.conforms=Ic,e.constant=Oc,e.countBy=tp,e.create=Ou,e.curry=Ia,e.curryRight=Oa,e.debounce=La,e.defaults=Rp,e.defaultsDeep=Np,e.defer=hp,e.delay=pp,e.difference=Nh,e.differenceBy=Fh,e.differenceWith=zh,e.drop=ls,e.dropRight=hs,e.dropRightWhile=ps,e.dropWhile=fs,e.fill=ds,e.filter=ha,e.flatMap=pa,e.flatMapDeep=fa,e.flatMapDepth=da,e.flatten=ms,e.flattenDeep=ys,e.flattenDepth=bs,e.flip=Da,e.flow=nf,e.flowRight=rf,e.fromPairs=ws,e.functions=Bu,e.functionsIn=Hu,e.groupBy=rp,e.initial=ks,e.intersection=Bh,e.intersectionBy=Hh,e.intersectionWith=qh,e.invert=Fp,e.invertBy=zp,e.invokeMap=ip,e.iteratee=Rc,e.keyBy=op,e.keys=Wu,e.keysIn=$u,e.map=ya,e.mapKeys=Vu,e.mapValues=Qu,e.matches=Nc,e.matchesProperty=Fc,e.memoize=Ra,e.merge=Hp,e.mergeWith=qp,e.method=of,e.methodOf=sf,e.mixin=zc,e.negate=Na,e.nthArg=qc,e.omit=Mp,e.omitBy=Xu,e.once=Fa,e.orderBy=ba,e.over=af,e.overArgs=fp,e.overEvery=uf,e.overSome=cf,e.partial=dp,e.partialRight=gp,e.partition=sp,e.pick=Up,e.pickBy=Ju,e.property=Mc,e.propertyOf=Uc,e.pull=Mh,e.pullAll=As,e.pullAllBy=Ps,e.pullAllWith=js,e.pullAt=Uh,e.range=lf,e.rangeRight=hf,e.rearg=vp,e.reject=_a,e.remove=Is,e.rest=za,e.reverse=Os,e.sampleSize=Sa,e.set=Zu,e.setWith=Gu,e.shuffle=Ta,e.slice=Ls,e.sortBy=ap,e.sortedUniq=Hs,e.sortedUniqBy=qs,e.split=bc,e.spread=Ba,e.tail=Ms,e.take=Us,e.takeRight=Ws,e.takeRightWhile=$s,e.takeWhile=Vs,e.tap=ea,e.throttle=Ha,e.thru=na,e.toArray=Su,e.toPairs=Wp,e.toPairsIn=$p,e.toPath=Yc,e.toPlainObject=Pu,e.transform=Ku,e.unary=qa,e.union=Wh,e.unionBy=$h,e.unionWith=Vh,e.uniq=Qs,e.uniqBy=Xs,e.uniqWith=Js,e.unset=tc,e.unzip=Ys,e.unzipWith=Zs,e.update=ec,e.updateWith=nc,e.values=rc,e.valuesIn=ic,e.without=Qh,e.words=Pc,e.wrap=Ma,e.xor=Xh,e.xorBy=Jh,e.xorWith=Yh,e.zip=Zh,e.zipObject=Gs,e.zipObjectDeep=Ks,e.zipWith=Gh,e.entries=Wp,e.entriesIn=$p,e.extend=Ip,e.extendWith=Op,zc(e,e),e.add=pf,e.attempt=tf,e.camelCase=Vp,e.capitalize=uc,e.ceil=ff,e.clamp=oc,e.clone=Wa,e.cloneDeep=Va,e.cloneDeepWith=Qa,e.cloneWith=$a,e.conformsTo=Xa,e.deburr=cc,e.defaultTo=Lc,e.divide=df,e.endsWith=lc,e.eq=Ja,e.escape=hc,e.escapeRegExp=pc,e.every=la,e.find=ep,e.findIndex=gs,e.findKey=Lu,e.findLast=np,e.findLastIndex=vs,e.findLastKey=Du,e.floor=gf,e.forEach=ga,e.forEachRight=va,e.forIn=Ru,e.forInRight=Nu,e.forOwn=Fu,e.forOwnRight=zu,e.get=qu,e.gt=mp,e.gte=yp,e.has=Mu,e.hasIn=Uu,e.head=xs,e.identity=Dc,e.includes=ma,e.indexOf=_s,e.inRange=sc,e.invoke=Bp,e.isArguments=bp,e.isArray=wp,e.isArrayBuffer=xp,e.isArrayLike=Ya,e.isArrayLikeObject=Za,e.isBoolean=Ga,e.isBuffer=_p,e.isDate=kp,e.isElement=Ka,e.isEmpty=tu,e.isEqual=eu,e.isEqualWith=nu,e.isError=ru,e.isFinite=iu,e.isFunction=ou,e.isInteger=su,e.isLength=au,e.isMap=Sp,e.isMatch=lu,e.isMatchWith=hu,e.isNaN=pu,e.isNative=fu,e.isNil=gu,e.isNull=du,e.isNumber=vu,e.isObject=uu,e.isObjectLike=cu,e.isPlainObject=mu,e.isRegExp=Tp,e.isSafeInteger=yu,e.isSet=Ep,e.isString=bu,e.isSymbol=wu,e.isTypedArray=Cp,e.isUndefined=xu,e.isWeakMap=_u,e.isWeakSet=ku,e.join=Ss,e.kebabCase=Qp,e.last=Ts,e.lastIndexOf=Es,e.lowerCase=Xp,e.lowerFirst=Jp,e.lt=Ap,e.lte=Pp,e.max=Gc,e.maxBy=Kc,e.mean=tl,e.meanBy=el,e.min=nl,e.minBy=rl,e.stubArray=Wc,e.stubFalse=$c,e.stubObject=Vc,e.stubString=Qc,e.stubTrue=Xc,e.multiply=vf,e.nth=Cs,e.noConflict=Bc,e.noop=Hc,e.now=up,e.pad=fc,e.padEnd=dc,e.padStart=gc,e.parseInt=vc,e.random=ac,e.reduce=wa,e.reduceRight=xa,e.repeat=mc,e.replace=yc,e.result=Yu,e.round=mf,e.runInContext=kr,e.sample=ka,e.size=Ea,e.snakeCase=Yp,e.some=Ca,e.sortedIndex=Ds,e.sortedIndexBy=Rs,e.sortedIndexOf=Ns,e.sortedLastIndex=Fs,e.sortedLastIndexBy=zs,e.sortedLastIndexOf=Bs,e.startCase=Zp,e.startsWith=wc,e.subtract=yf,e.sum=il,e.sumBy=ol,e.template=xc,e.times=Jc,e.toFinite=Tu,e.toInteger=Eu,e.toLength=Cu,e.toLower=_c,e.toNumber=Au,e.toSafeInteger=ju,e.toString=Iu,e.toUpper=kc,e.trim=Sc,e.trimEnd=Tc,e.trimStart=Ec,e.truncate=Cc,e.unescape=Ac,e.uniqueId=Zc,e.upperCase=Gp,e.upperFirst=Kp,e.each=ga,e.eachRight=va,e.first=xs,zc(e,function(){var t={};return rr(e,function(n,r){wl.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=rt,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),a(["drop","take"],function(t,e){C.prototype[t]=function(n){n=n===nt?1:Jl(Eu(n),0);var r=this.__filtered__&&!e?new C(this):this.clone();return r.__filtered__?r.__takeCount__=Yl(n,r.__takeCount__):r.__views__.push({size:Yl(n,Nt),type:t+(r.__dir__<0?"Right":"")}),r},C.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Pt||n==It;C.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:To(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");C.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");C.prototype[t]=function(){return this.__filtered__?new C(this):this[n](1)}}),C.prototype.compact=function(){return this.filter(Dc)},C.prototype.find=function(t){return this.filter(t).head()},C.prototype.findLast=function(t){return this.reverse().find(t)},C.prototype.invokeMap=oi(function(t,e){return"function"==typeof t?new C(this):this.map(function(n){return Ar(n,t,e)})}),C.prototype.reject=function(t){return this.filter(Na(To(t)))},C.prototype.slice=function(t,e){t=Eu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new C(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==nt&&(e=Eu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},C.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},C.prototype.toArray=function(){return this.take(Nt)},rr(C.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=e[i?"take"+("last"==n?"Right":""):n],s=i||/^find/.test(n);o&&(e.prototype[n]=function(){var n=this.__wrapped__,a=i?[1]:arguments,u=n instanceof C,c=a[0],l=u||wp(n),h=function(t){var n=o.apply(e,d([t],a));return i&&p?n[0]:n};l&&r&&"function"==typeof c&&1!=c.length&&(u=l=!1);var p=this.__chain__,f=!!this.__actions__.length,g=s&&!p,v=u&&!f;if(!s&&l){n=v?n:new C(this);var m=t.apply(n,a);return m.__actions__.push({func:na,args:[h],thisArg:nt}),new y(m,p)}return g&&v?t.apply(this,a):(m=this.thru(h),g?i?m.value()[0]:m.value():m)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var n=gl[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(wp(e)?e:[],t)}return this[r](function(e){return n.apply(wp(e)?e:[],t)})}}),rr(C.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=uh[i]||(uh[i]=[]);o.push({name:n,func:r})}}),uh[eo(nt,vt).name]=[{name:"wrapper",func:nt}],C.prototype.clone=J,C.prototype.reverse=K,C.prototype.value=tt,e.prototype.at=Kh,e.prototype.chain=ra,e.prototype.commit=ia,e.prototype.next=oa,e.prototype.plant=aa,e.prototype.reverse=ua,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=ca,e.prototype.first=e.prototype.head,Nl&&(e.prototype[Nl]=sa),e},_r=xr();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(or._=_r,define(function(){return _r})):ar?((ar.exports=_r)._=_r,sr._=_r):or._=_r}).call(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,n){(function(){var n,r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}},u=[].slice,c={}.hasOwnProperty,l=function(t,e){function n(){this.constructor=t}for(var r in e)c.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};n={options:["prefix","templateDelimiters","rootInterface","preloadData","handler","executeFunctions"],extensions:["binders","formatters","components","adapters"],"public":{binders:{},components:{},formatters:{},adapters:{},prefix:"rv",templateDelimiters:["{","}"],rootInterface:".",preloadData:!0,executeFunctions:!1,iterationAlias:function(t){return"%"+t+"%"},handler:function(t,e,n){return this.call(t,e,n.view.models)},configure:function(t){var e,r,i,o;null==t&&(t={});for(i in t)if(o=t[i],"binders"===i||"components"===i||"formatters"===i||"adapters"===i)for(r in o)e=o[r],n[i][r]=e;else n["public"][i]=o},bind:function(t,e,r){var i;return null==e&&(e={}),null==r&&(r={}),i=new n.View(t,e,r),i.bind(),i},init:function(t,e,r){var i,o,s;if(null==r&&(r={}),null==e&&(e=document.createElement("div")),t=n["public"].components[t],o=t.template.call(this,e),o instanceof HTMLElement){for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(o)}else e.innerHTML=o;return i=t.initialize.call(this,e,r),s=new n.View(e,i),s.bind(),s}}},window.jQuery||window.$?(i=window.jQuery||window.$,s="on"in i.prototype?["on","off"]:["bind","unbind"],r=s[0],o=s[1],n.Util={bindEvent:function(t,e,n){return i(t)[r](e,n)},unbindEvent:function(t,e,n){return i(t)[o](e,n)},getInputValue:function(t){var e;return e=i(t),"checkbox"===e.attr("type")?e.is(":checked"):e.val()}}):n.Util={bindEvent:function(){return"addEventListener"in window?function(t,e,n){return t.addEventListener(e,n,!1)}:function(t,e,n){return t.attachEvent("on"+e,n)}}(),unbindEvent:function(){return"removeEventListener"in window?function(t,e,n){return t.removeEventListener(e,n,!1)}:function(t,e,n){return t.detachEvent("on"+e,n)}}(),getInputValue:function(t){var e,n,r,i;if("checkbox"===t.type)return t.checked;if("select-multiple"===t.type){for(i=[],n=0,r=t.length;n<r;n++)e=t[n],e.selected&&i.push(e.value);return i}return t.value}},n.TypeParser=function(){function t(){}return t.types={primitive:0,keypath:1},t.parse=function(t){return/^'.*'$|^".*"$/.test(t)?{type:this.types.primitive,value:t.slice(1,-1)}:"true"===t?{type:this.types.primitive,value:!0}:"false"===t?{type:this.types.primitive,value:!1}:"null"===t?{type:this.types.primitive,value:null}:"undefined"===t?{type:this.types.primitive,value:void 0}:""===t?{type:this.types.primitive,value:void 0}:isNaN(Number(t))===!1?{type:this.types.primitive,value:Number(t)}:{type:this.types.keypath,value:t}},t}(),n.TextTemplateParser=function(){function t(){}return t.types={text:0,binding:1},t.parse=function(t,e){var n,r,i,o,s,a,u;for(a=[],o=t.length,n=0,r=0;r<o;){if(n=t.indexOf(e[0],r),n<0){a.push({type:this.types.text,value:t.slice(r)});break}if(n>0&&r<n&&a.push({type:this.types.text,value:t.slice(r,n)}),r=n+e[0].length,n=t.indexOf(e[1],r),n<0){s=t.slice(r-e[1].length),i=a[a.length-1],(null!=i?i.type:void 0)===this.types.text?i.value+=s:a.push({type:this.types.text,value:s});break}u=t.slice(r,n).trim(),a.push({type:this.types.binding,value:u}),r=n+e[1].length}return a},t}(),n.View=function(){function t(t,e,r){var i,o,s,u,c,l,h,p,f,d,g,v,m;for(this.els=t,this.models=e,null==r&&(r={}),this.update=a(this.update,this),this.publish=a(this.publish,this),this.sync=a(this.sync,this),this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.select=a(this.select,this),this.traverse=a(this.traverse,this),this.build=a(this.build,this),this.buildBinding=a(this.buildBinding,this),this.bindingRegExp=a(this.bindingRegExp,this),this.options=a(this.options,this),this.els.jquery||this.els instanceof Array||(this.els=[this.els]),f=n.extensions,c=0,h=f.length;c<h;c++){if(o=f[c],this[o]={},r[o]){d=r[o];for(i in d)s=d[i],this[o][i]=s}g=n["public"][o];for(i in g)s=g[i],null==(u=this[o])[i]&&(u[i]=s)}for(v=n.options,l=0,p=v.length;l<p;l++)o=v[l],this[o]=null!=(m=r[o])?m:n["public"][o];this.build()}return t.prototype.options=function(){var t,e,r,i,o;for(e={},o=n.extensions.concat(n.options),r=0,i=o.length;r<i;r++)t=o[r],e[t]=this[t];return e},t.prototype.bindingRegExp=function(){return new RegExp("^"+this.prefix+"-")},t.prototype.buildBinding=function(t,e,r,i){var o,s,a,u,c,l,h;return c={},h=function(){var t,e,n,r;for(n=i.match(/((?:'[^']*')*(?:(?:[^\|']*(?:'[^']*')+[^\|']*)+|[^\|]+))|^$/g),r=[],t=0,e=n.length;t<e;t++)l=n[t],r.push(l.trim());return r}(),o=function(){var t,e,n,r;for(n=h.shift().split("<"),r=[],t=0,e=n.length;t<e;t++)s=n[t],r.push(s.trim());return r}(),u=o.shift(),c.formatters=h,(a=o.shift())&&(c.dependencies=a.split(/\s+/)),this.bindings.push(new n[t](this,e,r,u,c))},t.prototype.build=function(){var t,e,r,i,o;for(this.bindings=[],e=function(t){return function(r){var i,o,s,a,u,c,l,h,p,f,d,g,v;if(3===r.nodeType){if(u=n.TextTemplateParser,(s=t.templateDelimiters)&&(h=u.parse(r.data,s)).length&&(1!==h.length||h[0].type!==u.types.text)){for(p=0,d=h.length;p<d;p++)l=h[p],c=document.createTextNode(l.value),r.parentNode.insertBefore(c,r),1===l.type&&t.buildBinding("TextBinding",c,null,l.value);r.parentNode.removeChild(r)}}else 1===r.nodeType&&(i=t.traverse(r));if(!i)for(v=function(){var t,e,n,i;for(n=r.childNodes,i=[],t=0,e=n.length;t<e;t++)a=n[t],i.push(a);return i}(),f=0,g=v.length;f<g;f++)o=v[f],e(o)}}(this),o=this.els,r=0,i=o.length;r<i;r++)t=o[r],e(t);this.bindings.sort(function(t,e){var n,r;return((null!=(n=e.binder)?n.priority:void 0)||0)-((null!=(r=t.binder)?r.priority:void 0)||0)})},t.prototype.traverse=function(t){var e,r,i,o,s,a,u,c,l,h,p,f,d,g,v,m;for(o=this.bindingRegExp(),s="SCRIPT"===t.nodeName||"STYLE"===t.nodeName,g=t.attributes,h=0,f=g.length;h<f;h++)if(e=g[h],o.test(e.name)){if(c=e.name.replace(o,""),!(i=this.binders[c])){v=this.binders;for(a in v)l=v[a],"*"!==a&&a.indexOf("*")!==-1&&(u=new RegExp("^"+a.replace(/\*/g,".+")+"$"),u.test(c)&&(i=l))}i||(i=this.binders["*"]),i.block&&(s=!0,r=[e])}for(m=r||t.attributes,p=0,d=m.length;p<d;p++)e=m[p],o.test(e.name)&&(c=e.name.replace(o,""),this.buildBinding("Binding",t,c,e.value));return s||(c=t.nodeName.toLowerCase(),this.components[c]&&!t._bound&&(this.bindings.push(new n.ComponentBinding(this,t,c)),s=!0)),s},t.prototype.select=function(t){var e,n,r,i,o;for(i=this.bindings,o=[],n=0,r=i.length;n<r;n++)e=i[n],t(e)&&o.push(e);return o},t.prototype.bind=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],t.bind()},t.prototype.unbind=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],t.unbind()},t.prototype.sync=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],"function"==typeof t.sync&&t.sync()},t.prototype.publish=function(){var t,e,n,r;for(r=this.select(function(t){var e;return null!=(e=t.binder)?e.publishes:void 0}),e=0,n=r.length;e<n;e++)t=r[e],t.publish()},t.prototype.update=function(t){var e,n,r,i,o,s;null==t&&(t={});for(n in t)r=t[n],this.models[n]=r;for(s=this.bindings,i=0,o=s.length;i<o;i++)e=s[i],"function"==typeof e.update&&e.update(t)},t}(),n.Binding=function(){function t(t,e,n,r,i){this.view=t,this.el=e,this.type=n,this.keypath=r,this.options=null!=i?i:{},this.getValue=a(this.getValue,this),this.update=a(this.update,this),this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.publish=a(this.publish,this),this.sync=a(this.sync,this),this.set=a(this.set,this),this.eventHandler=a(this.eventHandler,this),this.formattedValue=a(this.formattedValue,this),this.parseFormatterArguments=a(this.parseFormatterArguments,this),this.parseTarget=a(this.parseTarget,this),this.observe=a(this.observe,this),this.setBinder=a(this.setBinder,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={},this.model=void 0,this.setBinder()}return t.prototype.setBinder=function(){var t,e,n,r;if(!(this.binder=this.view.binders[this.type])){r=this.view.binders;for(t in r)n=r[t],"*"!==t&&t.indexOf("*")!==-1&&(e=new RegExp("^"+t.replace(/\*/g,".+")+"$"),e.test(this.type)&&(this.binder=n,this.args=new RegExp("^"+t.replace(/\*/g,"(.+)")+"$").exec(this.type),this.args.shift()))}if(this.binder||(this.binder=this.view.binders["*"]),this.binder instanceof Function)return this.binder={routine:this.binder}},t.prototype.observe=function(t,e,r){return n.sightglass(t,e,r,{root:this.view.rootInterface,adapters:this.view.adapters})},t.prototype.parseTarget=function(){var t;return t=n.TypeParser.parse(this.keypath),t.type===n.TypeParser.types.primitive?this.value=t.value:(this.observer=this.observe(this.view.models,this.keypath,this.sync),this.model=this.observer.target)},t.prototype.parseFormatterArguments=function(t,e){var r,i,o,s,a,u,c;for(t=function(){var e,r,o;for(o=[],e=0,r=t.length;e<r;e++)i=t[e],o.push(n.TypeParser.parse(i));return o}(),s=[],r=u=0,c=t.length;u<c;r=++u)i=t[r],s.push(i.type===n.TypeParser.types.primitive?i.value:((a=this.formatterObservers)[e]||(a[e]={}),(o=this.formatterObservers[e][r])?void 0:(o=this.observe(this.view.models,i.value,this.sync),this.formatterObservers[e][r]=o),o.value()));return s},t.prototype.formattedValue=function(t){var e,n,r,i,o,s,a,c,l;for(c=this.formatters,n=s=0,a=c.length;s<a;n=++s)r=c[n],e=r.match(/[^\s']+|'([^']|'[^\s])*'|"([^"]|"[^\s])*"/g),i=e.shift(),r=this.view.formatters[i],o=this.parseFormatterArguments(e,n),(null!=r?r.read:void 0)instanceof Function?t=(l=r.read).call.apply(l,[this.model,t].concat(u.call(o))):r instanceof Function&&(t=r.call.apply(r,[this.model,t].concat(u.call(o))));return t},t.prototype.eventHandler=function(t){var e,n;return n=(e=this).view.handler,function(r){return n.call(t,this,r,e)}},t.prototype.set=function(t){var e;return t=t instanceof Function&&!this.binder["function"]&&n["public"].executeFunctions?this.formattedValue(t.call(this.model)):this.formattedValue(t),null!=(e=this.binder.routine)?e.call(this,this.el,t):void 0},t.prototype.sync=function(){var t,e;return this.set(function(){var n,r,i,o,s,a,u;if(this.observer){if(this.model!==this.observer.target){for(s=this.dependencies,n=0,i=s.length;n<i;n++)e=s[n],e.unobserve();if(this.dependencies=[],null!=(this.model=this.observer.target)&&(null!=(a=this.options.dependencies)?a.length:void 0))for(u=this.options.dependencies,r=0,o=u.length;r<o;r++)t=u[r],e=this.observe(this.model,t,this.sync),this.dependencies.push(e)}return this.observer.value()}return this.value}.call(this))},t.prototype.publish=function(){var t,e,n,r,i,o,s,a,c,l,h,p,f;if(this.observer){for(a=this.getValue(this.el),o=this.formatters.length-1,h=this.formatters.slice(0).reverse(),n=c=0,l=h.length;c<l;n=++c)r=h[n],e=o-n,t=r.split(/\s+/),i=t.shift(),s=this.parseFormatterArguments(t,e),(null!=(p=this.view.formatters[i])?p.publish:void 0)&&(a=(f=this.view.formatters[i]).publish.apply(f,[a].concat(u.call(s))));return this.observer.setValue(a)}},t.prototype.bind=function(){var t,e,n,r,i,o,s;if(this.parseTarget(),null!=(i=this.binder.bind)&&i.call(this,this.el),null!=this.model&&(null!=(o=this.options.dependencies)?o.length:void 0))for(s=this.options.dependencies,n=0,r=s.length;n<r;n++)t=s[n],e=this.observe(this.model,t,this.sync),this.dependencies.push(e);if(this.view.preloadData)return this.sync()},t.prototype.unbind=function(){var t,e,n,r,i,o,s,a,u,c;for(null!=(s=this.binder.unbind)&&s.call(this,this.el),null!=(a=this.observer)&&a.unobserve(),u=this.dependencies,i=0,o=u.length;i<o;i++)r=u[i],r.unobserve();this.dependencies=[],c=this.formatterObservers;for(n in c){e=c[n];for(t in e)r=e[t],r.unobserve()}return this.formatterObservers={}},t.prototype.update=function(t){var e,n;return null==t&&(t={}),this.model=null!=(e=this.observer)?e.target:void 0,null!=(n=this.binder.update)?n.call(this,t):void 0},t.prototype.getValue=function(t){return this.binder&&null!=this.binder.getValue?this.binder.getValue.call(this,t):n.Util.getInputValue(t)},t}(),n.ComponentBinding=function(t){function e(t,e,r){var i,o,s,u,c,l,p,f;for(this.view=t,this.el=e,this.type=r,this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.locals=a(this.locals,this),this.component=this.view.components[this.type],this["static"]={},this.observers={},this.upstreamObservers={},o=t.bindingRegExp(),p=this.el.attributes||[],c=0,l=p.length;c<l;c++)i=p[c],o.test(i.name)||(s=this.camelCase(i.name),u=n.TypeParser.parse(i.value),h.call(null!=(f=this.component["static"])?f:[],s)>=0?this["static"][s]=i.value:u.type===n.TypeParser.types.primitive?this["static"][s]=u.value:this.observers[s]=i.value)}return l(e,t),e.prototype.sync=function(){},e.prototype.update=function(){},e.prototype.publish=function(){},e.prototype.locals=function(){var t,e,n,r,i,o;n={},i=this["static"];for(t in i)r=i[t],n[t]=r;o=this.observers;for(t in o)e=o[t],n[t]=e.value();return n},e.prototype.camelCase=function(t){return t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})},e.prototype.bind=function(){var t,e,r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b,w;if(!this.bound){d=this.observers;for(e in d)r=d[e],this.observers[e]=this.observe(this.view.models,r,function(t){return function(e){return function(){return t.componentView.models[e]=t.observers[e].value()}}}(this).call(this,e));this.bound=!0}if(null!=this.componentView)this.componentView.bind();else{for(this.el.innerHTML=this.component.template.call(this),a=this.component.initialize.call(this,this.el,this.locals()),this.el._bound=!0,s={},g=n.extensions,l=0,p=g.length;l<p;l++){if(o=g[l],s[o]={},this.component[o]){v=this.component[o];for(t in v)u=v[t],s[o][t]=u}m=this.view[o];for(t in m)u=m[t],null==(c=s[o])[t]&&(c[t]=u)}for(y=n.options,h=0,f=y.length;h<f;h++)o=y[h],s[o]=null!=(b=this.component[o])?b:this.view[o];this.componentView=new n.View(Array.prototype.slice.call(this.el.childNodes),a,s),this.componentView.bind(),w=this.observers;for(e in w)i=w[e],this.upstreamObservers[e]=this.observe(this.componentView.models,e,function(t){return function(e,n){return function(){return n.setValue(t.componentView.models[e])}}}(this).call(this,e,i))}},e.prototype.unbind=function(){var t,e,n,r,i;n=this.upstreamObservers;for(t in n)e=n[t],e.unobserve();r=this.observers;for(t in r)e=r[t],e.unobserve();return null!=(i=this.componentView)?i.unbind.call(this):void 0},e}(n.Binding),n.TextBinding=function(t){function e(t,e,n,r,i){this.view=t,this.el=e,this.type=n,this.keypath=r,this.options=null!=i?i:{},this.sync=a(this.sync,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={}}return l(e,t),e.prototype.binder={routine:function(t,e){return t.data=null!=e?e:""}},e.prototype.sync=function(){return e.__super__.sync.apply(this,arguments)},e}(n.Binding),n["public"].binders.text=function(t,e){return null!=t.textContent?t.textContent=null!=e?e:"":t.innerText=null!=e?e:""},n["public"].binders.html=function(t,e){return t.innerHTML=null!=e?e:""},n["public"].binders.show=function(t,e){return t.style.display=e?"":"none"},n["public"].binders.hide=function(t,e){return t.style.display=e?"none":""},n["public"].binders.enabled=function(t,e){return t.disabled=!e},n["public"].binders.disabled=function(t,e){return t.disabled=!!e},n["public"].binders.checked={publishes:!0,priority:2e3,bind:function(t){return n.Util.bindEvent(t,"change",this.publish)},unbind:function(t){return n.Util.unbindEvent(t,"change",this.publish)},routine:function(t,e){var n;return"radio"===t.type?t.checked=(null!=(n=t.value)?n.toString():void 0)===(null!=e?e.toString():void 0):t.checked=!!e}},n["public"].binders.unchecked={publishes:!0,priority:2e3,bind:function(t){return n.Util.bindEvent(t,"change",this.publish)},unbind:function(t){return n.Util.unbindEvent(t,"change",this.publish)},routine:function(t,e){var n;return"radio"===t.type?t.checked=(null!=(n=t.value)?n.toString():void 0)!==(null!=e?e.toString():void 0):t.checked=!e}},n["public"].binders.value={publishes:!0,priority:3e3,bind:function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return this.event="SELECT"===t.tagName?"change":"input",n.Util.bindEvent(t,this.event,this.publish)},unbind:function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return n.Util.unbindEvent(t,this.event,this.publish)},routine:function(t,e){var n,r,o,s,a,u,c;if("INPUT"===t.tagName&&"radio"===t.type)return t.setAttribute("value",e);if(null!=window.jQuery){if(t=i(t),(null!=e?e.toString():void 0)!==(null!=(s=t.val())?s.toString():void 0))return t.val(null!=e?e:"")}else if("select-multiple"===t.type){if(null!=e){for(c=[],r=0,o=t.length;r<o;r++)n=t[r],
|
7
|
+
c.push(n.selected=(a=n.value,h.call(e,a)>=0));return c}}else if((null!=e?e.toString():void 0)!==(null!=(u=t.value)?u.toString():void 0))return t.value=null!=e?e:""}},n["public"].binders["if"]={block:!0,priority:4e3,bind:function(t){var e,n;if(null==this.marker)return e=[this.view.prefix,this.type].join("-").replace("--","-"),n=t.getAttribute(e),this.marker=document.createComment(" rivets: "+this.type+" "+n+" "),this.bound=!1,t.removeAttribute(e),t.parentNode.insertBefore(this.marker,t),t.parentNode.removeChild(t)},unbind:function(){if(this.nested)return this.nested.unbind(),this.bound=!1},routine:function(t,e){var r,i,o,s;if(!!e==!this.bound){if(e){o={},s=this.view.models;for(r in s)i=s[r],o[r]=i;return(this.nested||(this.nested=new n.View(t,o,this.view.options()))).bind(),this.marker.parentNode.insertBefore(t,this.marker.nextSibling),this.bound=!0}return t.parentNode.removeChild(t),this.nested.unbind(),this.bound=!1}},update:function(t){var e;return null!=(e=this.nested)?e.update(t):void 0}},n["public"].binders.unless={block:!0,priority:4e3,bind:function(t){return n["public"].binders["if"].bind.call(this,t)},unbind:function(){return n["public"].binders["if"].unbind.call(this)},routine:function(t,e){return n["public"].binders["if"].routine.call(this,t,!e)},update:function(t){return n["public"].binders["if"].update.call(this,t)}},n["public"].binders["on-*"]={"function":!0,priority:1e3,unbind:function(t){if(this.handler)return n.Util.unbindEvent(t,this.args[0],this.handler)},routine:function(t,e){return this.handler&&n.Util.unbindEvent(t,this.args[0],this.handler),n.Util.bindEvent(t,this.args[0],this.handler=this.eventHandler(e))}},n["public"].binders["each-*"]={block:!0,priority:4e3,bind:function(t){var e,n,r,i,o;if(null==this.marker)e=[this.view.prefix,this.type].join("-").replace("--","-"),this.marker=document.createComment(" rivets: "+this.type+" "),this.iterated=[],t.removeAttribute(e),t.parentNode.insertBefore(this.marker,t),t.parentNode.removeChild(t);else for(o=this.iterated,r=0,i=o.length;r<i;r++)n=o[r],n.bind()},unbind:function(t){var e,n,r,i;if(null!=this.iterated)for(i=this.iterated,n=0,r=i.length;n<r;n++)e=i[n],e.unbind()},routine:function(t,e){var r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b,w,x,_;if(c=this.args[0],e=e||[],this.iterated.length>e.length)for(w=Array(this.iterated.length-e.length),d=0,m=w.length;d<m;d++)o=w[d],f=this.iterated.pop(),f.unbind(),this.marker.parentNode.removeChild(f.els[0]);for(s=g=0,y=e.length;g<y;s=++g)if(u=e[s],i={index:s},i[n["public"].iterationAlias(c)]=s,i[c]=u,null==this.iterated[s]){x=this.view.models;for(a in x)u=x[a],null==i[a]&&(i[a]=u);h=this.iterated.length?this.iterated[this.iterated.length-1].els[0]:this.marker,l=this.view.options(),l.preloadData=!0,p=t.cloneNode(!0),f=new n.View(p,i,l),f.bind(),this.iterated.push(f),this.marker.parentNode.insertBefore(p,h.nextSibling)}else this.iterated[s].models[c]!==u&&this.iterated[s].update(i);if("OPTION"===t.nodeName)for(_=this.view.bindings,v=0,b=_.length;v<b;v++)r=_[v],r.el===this.marker.parentNode&&"value"===r.type&&r.sync()},update:function(t){var e,n,r,i,o,s,a;e={};for(n in t)r=t[n],n!==this.args[0]&&(e[n]=r);for(a=this.iterated,o=0,s=a.length;o<s;o++)i=a[o],i.update(e)}},n["public"].binders["class-*"]=function(t,e){var n;if(n=" "+t.className+" ",!e==(n.indexOf(" "+this.args[0]+" ")!==-1))return t.className=e?""+t.className+" "+this.args[0]:n.replace(" "+this.args[0]+" "," ").trim()},n["public"].binders["*"]=function(t,e){return null!=e?t.setAttribute(this.type,e):t.removeAttribute(this.type)},n["public"].formatters.call=function(){var t,e;return e=arguments[0],t=2<=arguments.length?u.call(arguments,1):[],e.call.apply(e,[this].concat(u.call(t)))},n["public"].adapters["."]={id:"_rv",counter:0,weakmap:{},weakReference:function(t){var e,n,r;return t.hasOwnProperty(this.id)||(e=this.counter++,Object.defineProperty(t,this.id,{value:e})),(n=this.weakmap)[r=t[this.id]]||(n[r]={callbacks:{}})},cleanupWeakReference:function(t,e){if(!(Object.keys(t.callbacks).length||t.pointers&&Object.keys(t.pointers).length))return delete this.weakmap[e]},stubFunction:function(t,e){var n,r,i;return r=t[e],n=this.weakReference(t),i=this.weakmap,t[e]=function(){var e,o,s,a,u,c,l,h,p,f;a=r.apply(t,arguments),l=n.pointers;for(s in l)for(o=l[s],f=null!=(h=null!=(p=i[s])?p.callbacks[o]:void 0)?h:[],u=0,c=f.length;u<c;u++)(e=f[u])();return a}},observeMutations:function(t,e,n){var r,i,o,s,a,u;if(Array.isArray(t)){if(o=this.weakReference(t),null==o.pointers)for(o.pointers={},i=["push","pop","shift","unshift","sort","reverse","splice"],a=0,u=i.length;a<u;a++)r=i[a],this.stubFunction(t,r);if(null==(s=o.pointers)[e]&&(s[e]=[]),h.call(o.pointers[e],n)<0)return o.pointers[e].push(n)}},unobserveMutations:function(t,e,n){var r,i,o;if(Array.isArray(t)&&null!=t[this.id]&&(i=this.weakmap[t[this.id]])&&(o=i.pointers[e]))return(r=o.indexOf(n))>=0&&o.splice(r,1),o.length||delete i.pointers[e],this.cleanupWeakReference(i,t[this.id])},observe:function(t,e,n){var r,i,o;return r=this.weakReference(t).callbacks,null==r[e]&&(r[e]=[],i=Object.getOwnPropertyDescriptor(t,e),(null!=i?i.get:void 0)||(null!=i?i.set:void 0)||(o=t[e],Object.defineProperty(t,e,{enumerable:!0,get:function(){return o},set:function(n){return function(i){var s,a,u,c,l;if(i!==o&&(n.unobserveMutations(o,t[n.id],e),o=i,a=n.weakmap[t[n.id]])){if(r=a.callbacks,r[e])for(l=r[e].slice(),u=0,c=l.length;u<c;u++)s=l[u],h.call(r[e],s)>=0&&s();return n.observeMutations(i,t[n.id],e)}}}(this)}))),h.call(r[e],n)<0&&r[e].push(n),this.observeMutations(t[e],t[this.id],e)},unobserve:function(t,e,n){var r,i,o;if((o=this.weakmap[t[this.id]])&&(r=o.callbacks[e]))return(i=r.indexOf(n))>=0&&(r.splice(i,1),r.length||(delete o.callbacks[e],this.unobserveMutations(t[e],t[this.id],e))),this.cleanupWeakReference(o,t[this.id])},get:function(t,e){return t[e]},set:function(t,e,n){return t[e]=n}},n.factory=function(t){return n.sightglass=t,n["public"]._=n,n["public"]},"object"==typeof("undefined"!=typeof e&&null!==e?e.exports:void 0)?e.exports=n.factory(t("sightglass")):"function"==typeof define&&define.amd?define(["sightglass"],function(t){return this.rivets=n.factory(t)}):this.rivets=n.factory(sightglass)}).call(this)},{sightglass:5}],5:[function(t,e,n){(function(){function t(t,e,r,i){return new n(t,e,r,i)}function n(t,e,n,i){this.options=i||{},this.options.adapters=this.options.adapters||{},this.obj=t,this.keypath=e,this.callback=n,this.objectPath=[],this.update=this.update.bind(this),this.parse(),r(this.target=this.realize())&&this.set(!0,this.key,this.target,this.callback)}function r(t){return"object"==typeof t&&null!==t}function i(t){throw new Error("[sightglass] "+t)}t.adapters={},n.tokenize=function(t,e,n){var r,i,o=[],s={i:n,path:""};for(r=0;r<t.length;r++)i=t.charAt(r),~e.indexOf(i)?(o.push(s),s={i:i,path:""}):s.path+=i;return o.push(s),o},n.prototype.parse=function(){var e,r,o=this.interfaces();o.length||i("Must define at least one adapter interface."),~o.indexOf(this.keypath[0])?(e=this.keypath[0],r=this.keypath.substr(1)):("undefined"==typeof(e=this.options.root||t.root)&&i("Must define a default root adapter."),r=this.keypath),this.tokens=n.tokenize(r,o,e),this.key=this.tokens.pop()},n.prototype.realize=function(){var t,e=this.obj,n=!1;return this.tokens.forEach(function(i,o){r(e)?("undefined"!=typeof this.objectPath[o]?e!==(t=this.objectPath[o])&&(this.set(!1,i,t,this.update),this.set(!0,i,e,this.update),this.objectPath[o]=e):(this.set(!0,i,e,this.update),this.objectPath[o]=e),e=this.get(i,e)):(n===!1&&(n=o),(t=this.objectPath[o])&&this.set(!1,i,t,this.update))},this),n!==!1&&this.objectPath.splice(n),e},n.prototype.update=function(){var t,e;(t=this.realize())!==this.target&&(r(this.target)&&this.set(!1,this.key,this.target,this.callback),r(t)&&this.set(!0,this.key,t,this.callback),e=this.value(),this.target=t,(this.value()instanceof Function||this.value()!==e)&&this.callback())},n.prototype.value=function(){if(r(this.target))return this.get(this.key,this.target)},n.prototype.setValue=function(t){r(this.target)&&this.adapter(this.key).set(this.target,this.key.path,t)},n.prototype.get=function(t,e){return this.adapter(t).get(e,t.path)},n.prototype.set=function(t,e,n,r){var i=t?"observe":"unobserve";this.adapter(e)[i](n,e.path,r)},n.prototype.interfaces=function(){var e=Object.keys(this.options.adapters);return Object.keys(t.adapters).forEach(function(t){~e.indexOf(t)||e.push(t)}),e},n.prototype.adapter=function(e){return this.options.adapters[e.i]||t.adapters[e.i]},n.prototype.unobserve=function(){var t;this.tokens.forEach(function(e,n){(t=this.objectPath[n])&&this.set(!1,e,t,this.update)},this),r(this.target)&&this.set(!1,this.key,this.target,this.callback)},"undefined"!=typeof e&&e.exports?e.exports=t:"function"==typeof define&&define.amd?define([],function(){return this.sightglass=t}):this.sightglass=t}).call(this)},{}],6:[function(t,e,n){!function(t){function n(t,e){if(t=t?t:"",e=e||{},t instanceof n)return t;if(!(this instanceof n))return new n(t,e);var i=r(t);this._originalInput=t,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=M(100*this._a)/100,this._format=e.format||i.format,this._gradientType=e.gradientType,this._r<1&&(this._r=M(this._r)),this._g<1&&(this._g=M(this._g)),this._b<1&&(this._b=M(this._b)),this._ok=i.ok,this._tc_id=q++}function r(t){var e={r:0,g:0,b:0},n=1,r=null,o=null,a=null,c=!1,l=!1;return"string"==typeof t&&(t=F(t)),"object"==typeof t&&(N(t.r)&&N(t.g)&&N(t.b)?(e=i(t.r,t.g,t.b),c=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):N(t.h)&&N(t.s)&&N(t.v)?(r=L(t.s),o=L(t.v),e=u(t.h,r,o),c=!0,l="hsv"):N(t.h)&&N(t.s)&&N(t.l)&&(r=L(t.s),a=L(t.l),e=s(t.h,r,a),c=!0,l="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=E(n),{ok:c,format:t.format||l,r:U(255,W(e.r,0)),g:U(255,W(e.g,0)),b:U(255,W(e.b,0)),a:n}}function i(t,e,n){return{r:255*C(t,255),g:255*C(e,255),b:255*C(n,255)}}function o(t,e,n){t=C(t,255),e=C(e,255),n=C(n,255);var r,i,o=W(t,e,n),s=U(t,e,n),a=(o+s)/2;if(o==s)r=i=0;else{var u=o-s;switch(i=a>.5?u/(2-o-s):u/(o+s),o){case t:r=(e-n)/u+(e<n?6:0);break;case e:r=(n-t)/u+2;break;case n:r=(t-e)/u+4}r/=6}return{h:r,s:i,l:a}}function s(t,e,n){function r(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var i,o,s;if(t=C(t,360),e=C(e,100),n=C(n,100),0===e)i=o=s=n;else{var a=n<.5?n*(1+e):n+e-n*e,u=2*n-a;i=r(u,a,t+1/3),o=r(u,a,t),s=r(u,a,t-1/3)}return{r:255*i,g:255*o,b:255*s}}function a(t,e,n){t=C(t,255),e=C(e,255),n=C(n,255);var r,i,o=W(t,e,n),s=U(t,e,n),a=o,u=o-s;if(i=0===o?0:u/o,o==s)r=0;else{switch(o){case t:r=(e-n)/u+(e<n?6:0);break;case e:r=(n-t)/u+2;break;case n:r=(t-e)/u+4}r/=6}return{h:r,s:i,v:a}}function u(e,n,r){e=6*C(e,360),n=C(n,100),r=C(r,100);var i=t.floor(e),o=e-i,s=r*(1-n),a=r*(1-o*n),u=r*(1-(1-o)*n),c=i%6,l=[r,a,s,s,u,r][c],h=[u,r,r,a,s,s][c],p=[s,s,u,r,r,a][c];return{r:255*l,g:255*h,b:255*p}}function c(t,e,n,r){var i=[O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function l(t,e,n,r,i){var o=[O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16)),O(D(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function h(t,e,n,r){var i=[O(D(r)),O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16))];return i.join("")}function p(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.s-=e/100,r.s=A(r.s),n(r)}function f(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.s+=e/100,r.s=A(r.s),n(r)}function d(t){return n(t).desaturate(100)}function g(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.l+=e/100,r.l=A(r.l),n(r)}function v(t,e){e=0===e?0:e||10;var r=n(t).toRgb();return r.r=W(0,U(255,r.r-M(255*-(e/100)))),r.g=W(0,U(255,r.g-M(255*-(e/100)))),r.b=W(0,U(255,r.b-M(255*-(e/100)))),n(r)}function m(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.l-=e/100,r.l=A(r.l),n(r)}function y(t,e){var r=n(t).toHsl(),i=(r.h+e)%360;return r.h=i<0?360+i:i,n(r)}function b(t){var e=n(t).toHsl();return e.h=(e.h+180)%360,n(e)}function w(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+120)%360,s:e.s,l:e.l}),n({h:(r+240)%360,s:e.s,l:e.l})]}function x(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+90)%360,s:e.s,l:e.l}),n({h:(r+180)%360,s:e.s,l:e.l}),n({h:(r+270)%360,s:e.s,l:e.l})]}function _(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+72)%360,s:e.s,l:e.l}),n({h:(r+216)%360,s:e.s,l:e.l})]}function k(t,e,r){e=e||6,r=r||30;var i=n(t).toHsl(),o=360/r,s=[n(t)];for(i.h=(i.h-(o*e>>1)+720)%360;--e;)i.h=(i.h+o)%360,s.push(n(i));return s}function S(t,e){e=e||6;for(var r=n(t).toHsv(),i=r.h,o=r.s,s=r.v,a=[],u=1/e;e--;)a.push(n({h:i,s:o,v:s})),s=(s+u)%1;return a}function T(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function E(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function C(e,n){j(e)&&(e="100%");var r=I(e);return e=U(n,W(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function A(t){return U(1,W(0,t))}function P(t){return parseInt(t,16)}function j(t){return"string"==typeof t&&t.indexOf(".")!=-1&&1===parseFloat(t)}function I(t){return"string"==typeof t&&t.indexOf("%")!=-1}function O(t){return 1==t.length?"0"+t:""+t}function L(t){return t<=1&&(t=100*t+"%"),t}function D(e){return t.round(255*parseFloat(e)).toString(16)}function R(t){return P(t)/255}function N(t){return!!X.CSS_UNIT.exec(t)}function F(t){t=t.replace(B,"").replace(H,"").toLowerCase();var e=!1;if(V[t])t=V[t],e=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=X.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=X.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=X.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=X.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=X.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=X.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=X.hex8.exec(t))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),a:R(n[4]),format:e?"name":"hex8"}:(n=X.hex6.exec(t))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),format:e?"name":"hex"}:(n=X.hex4.exec(t))?{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),a:R(n[4]+""+n[4]),format:e?"name":"hex8"}:!!(n=X.hex3.exec(t))&&{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),format:e?"name":"hex"}}function z(t){var e,n;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:e,size:n}}var B=/^\s+/,H=/\s+$/,q=0,M=t.round,U=t.min,W=t.max,$=t.random;n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var e,n,r,i,o,s,a=this.toRgb();return e=a.r/255,n=a.g/255,r=a.b/255,i=e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4),o=n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4),s=r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4),.2126*i+.7152*o+.0722*s},setAlpha:function(t){return this._a=E(t),this._roundA=M(100*this._a)/100,this},toHsv:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=a(this._r,this._g,this._b),e=M(360*t.h),n=M(100*t.s),r=M(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=o(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=o(this._r,this._g,this._b),e=M(360*t.h),n=M(100*t.s),r=M(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return l(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:M(this._r),g:M(this._g),b:M(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+M(this._r)+", "+M(this._g)+", "+M(this._b)+")":"rgba("+M(this._r)+", "+M(this._g)+", "+M(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:M(100*C(this._r,255))+"%",g:M(100*C(this._g,255))+"%",b:M(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+M(100*C(this._r,255))+"%, "+M(100*C(this._g,255))+"%, "+M(100*C(this._b,255))+"%)":"rgba("+M(100*C(this._r,255))+"%, "+M(100*C(this._g,255))+"%, "+M(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Q[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+h(this._r,this._g,this._b,this._a),r=e,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=n(t);r="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0,i=!e&&r&&("hex"===t||"hex6"===t||"hex3"===t||"hex4"===t||"hex8"===t||"name"===t);return i?"name"===t&&0===this._a?this.toName():this.toRgbString():("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(f,arguments)},greyscale:function(){return this._applyModification(d,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},n.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var i in t)t.hasOwnProperty(i)&&("a"===i?r[i]=t[i]:r[i]=L(t[i]));t=r}return n(t,e)},n.equals=function(t,e){return!(!t||!e)&&n(t).toRgbString()==n(e).toRgbString()},n.random=function(){return n.fromRatio({r:$(),g:$(),b:$()})},n.mix=function(t,e,r){r=0===r?0:r||50;var i=n(t).toRgb(),o=n(e).toRgb(),s=r/100,a={r:(o.r-i.r)*s+i.r,g:(o.g-i.g)*s+i.g,b:(o.b-i.b)*s+i.b,a:(o.a-i.a)*s+i.a};return n(a)},n.readability=function(e,r){var i=n(e),o=n(r);return(t.max(i.getLuminance(),o.getLuminance())+.05)/(t.min(i.getLuminance(),o.getLuminance())+.05)},n.isReadable=function(t,e,r){var i,o,s=n.readability(t,e);switch(o=!1,i=z(r),i.level+i.size){case"AAsmall":case"AAAlarge":o=s>=4.5;break;case"AAlarge":o=s>=3;break;case"AAAsmall":o=s>=7}return o},n.mostReadable=function(t,e,r){var i,o,s,a,u=null,c=0;r=r||{},o=r.includeFallbackColors,s=r.level,a=r.size;for(var l=0;l<e.length;l++)i=n.readability(t,e[l]),i>c&&(c=i,u=n(e[l]));return n.isReadable(t,u,{level:s,size:a})||!o?u:(r.includeFallbackColors=!1,n.mostReadable(t,["#fff","#000"],r))};var V=n.names={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",burntsienna:"ea7e5d",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",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"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",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",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",slategrey:"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"},Q=n.hexNames=T(V),X=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",n="(?:"+e+")|(?:"+t+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof e&&e.exports?e.exports=n:"function"==typeof define&&define.amd?define(function(){return n}):window.tinycolor=n}(Math)},{}],7:[function(t,e,n){!function(t,n){"use strict";"object"==typeof e&&e.exports?e.exports=n():"function"==typeof define&&define.amd?define(n):t.IPv6=n(t)}(this,function(t){"use strict";function e(t){var e=t.toLowerCase(),n=e.split(":"),r=n.length,i=8;""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),r=n.length,n[r-1].indexOf(".")!==-1&&(i=7);var o;for(o=0;o<r&&""!==n[o];o++);if(o<i)for(n.splice(o,1,"0000");n.length<i;)n.splice(o,0,"0000");for(var s,a=0;a<i;a++){s=n[a].split("");for(var u=0;u<3&&("0"===s[0]&&s.length>1);u++)s.splice(0,1);n[a]=s.join("")}var c=-1,l=0,h=0,p=-1,f=!1;for(a=0;a<i;a++)f?"0"===n[a]?h+=1:(f=!1,h>l&&(c=p,l=h)):"0"===n[a]&&(f=!0,p=a,h=1);h>l&&(c=p,l=h),l>1&&n.splice(c,l,""),r=n.length;var d="";for(""===n[0]&&(d=":"),a=0;a<r&&(d+=n[a],a!==r-1);a++)d+=":";return""===n[r-1]&&(d+=":"),d}function n(){return t.IPv6===this&&(t.IPv6=r),this}var r=t&&t.IPv6;return{best:e,noConflict:n}})},{}],8:[function(t,e,n){!function(t,n){"use strict";"object"==typeof e&&e.exports?e.exports=n():"function"==typeof define&&define.amd?define(n):t.SecondLevelDomains=n(t)}(this,function(t){"use strict";var e=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ","do":" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ","in":" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",
|
8
|
+
zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var i=n.list[t.slice(e+1)];return!!i&&i.indexOf(" "+t.slice(r+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r>=0)return!1;var i=n.list[t.slice(e+1)];return!!i&&i.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return null;var i=n.list[t.slice(e+1)];return i?i.indexOf(" "+t.slice(r+1,e)+" ")<0?null:t.slice(r+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return n})},{}],9:[function(t,e,n){!function(n,r){"use strict";"object"==typeof e&&e.exports?e.exports=r(t("./punycode"),t("./IPv6"),t("./SecondLevelDomains")):"function"==typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],r):n.URI=r(n.punycode,n.IPv6,n.SecondLevelDomains,n)}(this,function(t,e,n,r){"use strict";function i(t,e){var n=arguments.length>=1,r=arguments.length>=2;if(!(this instanceof i))return n?r?new i(t,e):new i(t):new i;if(void 0===t){if(n)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&n)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}function o(t){return/^[0-9]+$/.test(t)}function s(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function a(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function u(t){return"Array"===a(t)}function c(t,e){var n,r,i={};if("RegExp"===a(e))i=null;else if(u(e))for(n=0,r=e.length;n<r;n++)i[e[n]]=!0;else i[e]=!0;for(n=0,r=t.length;n<r;n++){var o=i&&void 0!==i[t[n]]||!i&&e.test(t[n]);o&&(t.splice(n,1),r--,n--)}return t}function l(t,e){var n,r;if(u(e)){for(n=0,r=e.length;n<r;n++)if(!l(t,e[n]))return!1;return!0}var i=a(e);for(n=0,r=t.length;n<r;n++)if("RegExp"===i){if("string"==typeof t[n]&&t[n].match(e))return!0}else if(t[n]===e)return!0;return!1}function h(t,e){if(!u(t)||!u(e))return!1;if(t.length!==e.length)return!1;t.sort(),e.sort();for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function p(t){var e=/^\/+|\/+$/g;return t.replace(e,"")}function f(t){return escape(t)}function d(t){return encodeURIComponent(t).replace(/[!'()*]/g,f).replace(/\*/g,"%2A")}function g(t){return function(e,n){return void 0===e?this._parts[t]||"":(this._parts[t]=e||null,this.build(!n),this)}}function v(t,e){return function(n,r){return void 0===n?this._parts[t]||"":(null!==n&&(n+="",n.charAt(0)===e&&(n=n.substring(1))),this._parts[t]=n,this.build(!r),this)}}var m=r&&r.URI;i.version="1.18.12";var y=i.prototype,b=Object.prototype.hasOwnProperty;i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return i.domAttributes[e]}},i.encode=d,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=d,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(t,e){var n=i.encode(t+"");return void 0===e&&(e=i.escapeQuerySpace),e?n.replace(/%20/g,"+"):n},i.decodeQuery=function(t,e){t+="",void 0===e&&(e=i.escapeQuerySpace);try{return i.decode(e?t.replace(/\+/g,"%20"):t)}catch(n){return t}};var w,x={encode:"encode",decode:"decode"},_=function(t,e){return function(n){try{return i[e](n+"").replace(i.characters[t][e].expression,function(n){return i.characters[t][e].map[n]})}catch(r){return n}}};for(w in x)i[w+"PathSegment"]=_("pathname",x[w]),i[w+"UrnPathSegment"]=_("urnpath",x[w]);var k=function(t,e,n){return function(r){var o;o=n?function(t){return i[e](i[n](t))}:i[e];for(var s=(r+"").split(t),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(t)}};i.decodePath=k("/","decodePathSegment"),i.decodeUrnPath=k(":","decodeUrnPathSegment"),i.recodePath=k("/","encodePathSegment","decode"),i.recodeUrnPath=k(":","encodeUrnPathSegment","decode"),i.encodeReserved=_("reserved","encode"),i.parse=function(t,e){var n;return e||(e={}),n=t.indexOf("#"),n>-1&&(e.fragment=t.substring(n+1)||null,t=t.substring(0,n)),n=t.indexOf("?"),n>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===t.substring(0,2)?(e.protocol=null,t=t.substring(2),t=i.parseAuthority(t,e)):(n=t.indexOf(":"),n>-1&&(e.protocol=t.substring(0,n)||null,e.protocol&&!e.protocol.match(i.protocol_expression)?e.protocol=void 0:"//"===t.substring(n+1,n+3)?(t=t.substring(n+3),t=i.parseAuthority(t,e)):(t=t.substring(n+1),e.urn=!0))),e.path=t,e},i.parseHost=function(t,e){t=t.replace(/\\/g,"/");var n,r,o=t.indexOf("/");if(o===-1&&(o=t.length),"["===t.charAt(0))n=t.indexOf("]"),e.hostname=t.substring(1,n)||null,e.port=t.substring(n+2,o)||null,"/"===e.port&&(e.port=null);else{var s=t.indexOf(":"),a=t.indexOf("/"),u=t.indexOf(":",s+1);u!==-1&&(a===-1||u<a)?(e.hostname=t.substring(0,o)||null,e.port=null):(r=t.substring(0,o).split(":"),e.hostname=r[0]||null,e.port=r[1]||null)}return e.hostname&&"/"!==t.substring(o).charAt(0)&&(o++,t="/"+t),i.ensureValidHostname(e.hostname,e.protocol),e.port&&i.ensureValidPort(e.port),t.substring(o)||"/"},i.parseAuthority=function(t,e){return t=i.parseUserinfo(t,e),i.parseHost(t,e)},i.parseUserinfo=function(t,e){var n,r=t.indexOf("/"),o=t.lastIndexOf("@",r>-1?r:t.length-1);return o>-1&&(r===-1||o<r)?(n=t.substring(0,o).split(":"),e.username=n[0]?i.decode(n[0]):null,n.shift(),e.password=n[0]?i.decode(n.join(":")):null,t=t.substring(o+1)):(e.username=null,e.password=null),t},i.parseQuery=function(t,e){if(!t)return{};if(t=t.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!t)return{};for(var n,r,o,s={},a=t.split("&"),u=a.length,c=0;c<u;c++)n=a[c].split("="),r=i.decodeQuery(n.shift(),e),o=n.length?i.decodeQuery(n.join("="),e):null,b.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o;return s},i.build=function(t){var e="";return t.protocol&&(e+=t.protocol+":"),t.urn||!e&&!t.hostname||(e+="//"),e+=i.buildAuthority(t)||"","string"==typeof t.path&&("/"!==t.path.charAt(0)&&"string"==typeof t.hostname&&(e+="/"),e+=t.path),"string"==typeof t.query&&t.query&&(e+="?"+t.query),"string"==typeof t.fragment&&t.fragment&&(e+="#"+t.fragment),e},i.buildHost=function(t){var e="";return t.hostname?(e+=i.ip6_expression.test(t.hostname)?"["+t.hostname+"]":t.hostname,t.port&&(e+=":"+t.port),e):""},i.buildAuthority=function(t){return i.buildUserinfo(t)+i.buildHost(t)},i.buildUserinfo=function(t){var e="";return t.username&&(e+=i.encode(t.username)),t.password&&(e+=":"+i.encode(t.password)),e&&(e+="@"),e},i.buildQuery=function(t,e,n){var r,o,s,a,c="";for(o in t)if(b.call(t,o)&&o)if(u(t[o]))for(r={},s=0,a=t[o].length;s<a;s++)void 0!==t[o][s]&&void 0===r[t[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,t[o][s],n),e!==!0&&(r[t[o][s]+""]=!0));else void 0!==t[o]&&(c+="&"+i.buildQueryParameter(o,t[o],n));return c.substring(1)},i.buildQueryParameter=function(t,e,n){return i.encodeQuery(t,n)+(null!==e?"="+i.encodeQuery(e,n):"")},i.addQuery=function(t,e,n){if("object"==typeof e)for(var r in e)b.call(e,r)&&i.addQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===t[e])return void(t[e]=n);"string"==typeof t[e]&&(t[e]=[t[e]]),u(n)||(n=[n]),t[e]=(t[e]||[]).concat(n)}},i.removeQuery=function(t,e,n){var r,o,s;if(u(e))for(r=0,o=e.length;r<o;r++)t[e[r]]=void 0;else if("RegExp"===a(e))for(s in t)e.test(s)&&(t[s]=void 0);else if("object"==typeof e)for(s in e)b.call(e,s)&&i.removeQuery(t,s,e[s]);else{if("string"!=typeof e)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===a(n)?!u(t[e])&&n.test(t[e])?t[e]=void 0:t[e]=c(t[e],n):t[e]!==String(n)||u(n)&&1!==n.length?u(t[e])&&(t[e]=c(t[e],n)):t[e]=void 0:t[e]=void 0}},i.hasQuery=function(t,e,n,r){switch(a(e)){case"String":break;case"RegExp":for(var o in t)if(b.call(t,o)&&e.test(o)&&(void 0===n||i.hasQuery(t,o,n)))return!0;return!1;case"Object":for(var s in e)if(b.call(e,s)&&!i.hasQuery(t,s,e[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(a(n)){case"Undefined":return e in t;case"Boolean":var c=Boolean(u(t[e])?t[e].length:t[e]);return n===c;case"Function":return!!n(t[e],e,t);case"Array":if(!u(t[e]))return!1;var p=r?l:h;return p(t[e],n);case"RegExp":return u(t[e])?!!r&&l(t[e],n):Boolean(t[e]&&t[e].match(n));case"Number":n=String(n);case"String":return u(t[e])?!!r&&l(t[e],n):t[e]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var t=[],e=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);t.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&e.push(s[a]),s[a]&&n++}if(!e.length||!n)return new i("");var u=new i("").segment(e);return""!==t[0].path()&&"/"!==t[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n++)if(t.charAt(n)!==e.charAt(n)){n--;break}return n<1?t.charAt(0)===e.charAt(0)&&"/"===t.charAt(0)?"/":"":("/"===t.charAt(n)&&"/"===e.charAt(n)||(n=t.substring(0,n).lastIndexOf("/")),t.substring(0,n+1))},i.withinString=function(t,e,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(t);if(!c)break;var l=c.index;if(n.ignoreHtml){var h=t.slice(Math.max(l-3,0),l);if(h&&u.test(h))continue}for(var p=l+t.slice(l).search(o),f=t.slice(l,p),d=-1;;){var g=a.exec(f);if(!g)break;var v=g.index+g[0].length;d=Math.max(d,v)}if(f=d>-1?f.slice(0,d)+f.slice(d).replace(s,""):f.replace(s,""),!(f.length<=c[0].length||n.ignore&&n.ignore.test(f))){p=l+f.length;var m=e(f,l,p,t);void 0!==m?(m=String(m),t=t.slice(0,l)+m+t.slice(p),r.lastIndex=l+m.length):r.lastIndex=p}}return r.lastIndex=0,t},i.ensureValidHostname=function(e,n){var r=!!e,o=!!n,s=!1;if(o&&(s=l(i.hostProtocols,n)),s&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(e&&e.match(i.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(t){if(t){var e=Number(t);if(!(o(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},i.noConflict=function(t){if(t){var e={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(e.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(e.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=r.SecondLevelDomains.noConflict()),e}return r.URI===this&&(r.URI=m),this},y.build=function(t){return t===!0?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},y.clone=function(){return new i(this)},y.valueOf=y.toString=function(){return this.build(!1)._string},y.protocol=g("protocol"),y.username=g("username"),y.password=g("password"),y.hostname=g("hostname"),y.port=g("port"),y.query=v("query","?"),y.fragment=v("fragment","#"),y.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},y.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},y.pathname=function(t,e){if(void 0===t||t===!0){var n=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=t?i.recodeUrnPath(t):"":this._parts.path=t?i.recodePath(t):"/",this.build(!e),this},y.path=y.pathname,y.href=function(t,e){var n;if(void 0===t)return this.toString();this._string="",this._parts=i._parts();var r=t instanceof i,o="object"==typeof t&&(t.hostname||t.path||t.pathname);if(t.nodeName){var s=i.getDomAttribute(t);t=t[s]||"",o=!1}if(!r&&o&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=i.parse(String(t),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var a=r?t._parts:t;for(n in a)b.call(this._parts,n)&&(this._parts[n]=a[n])}return this.build(!e),this},y.is=function(t){var e=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),e=r||o,s=!e,a=s&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return e;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var S=y.protocol,T=y.port,E=y.hostname;y.protocol=function(t,e){if(void 0!==t&&t&&(t=t.replace(/:(\/\/)?$/,""),!t.match(i.protocol_expression)))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return S.call(this,t,e)},y.scheme=y.protocol,y.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(t+="",":"===t.charAt(0)&&(t=t.substring(1)),i.ensureValidPort(t))),T.call(this,t,e))},y.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var n={},r=i.parseHost(t,n);if("/"!==r)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=n.hostname,i.ensureValidHostname(t,this._parts.protocol)}return E.call(this,t,e)},y.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=this.protocol(),r=this.authority();return r?(n?n+"://":"")+this.authority():""}var o=i(t);return this.protocol(o.protocol()).authority(o.authority()).build(!e),this},y.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildHost(this._parts):"";var n=i.parseHost(t,this._parts);if("/"!==n)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},y.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildAuthority(this._parts):"";var n=i.parseAuthority(t,this._parts);if("/"!==n)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},y.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==t[t.length-1]&&(t+="@"),i.parseUserinfo(t,this._parts),this.build(!e),this},y.resource=function(t,e){var n;return void 0===t?this.path()+this.search()+this.hash():(n=i.parse(t),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!e),this)},y.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),a=new RegExp("^"+s(o));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),t.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return t&&i.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,t),this.build(!e),this},y.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(e).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!t)throw new TypeError("cannot set domain empty");if(t.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var o=new RegExp(s(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},y.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(r+1);return e!==!0&&n&&n.list[i.toLowerCase()]?n.get(this._parts.hostname)||i:i}var o;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');o=new RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");o=new RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},y.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||t===!0){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return t?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,o),u=new RegExp("^"+s(a));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=i.recodePath(t),this._parts.path=this._parts.path.replace(u,t),this.build(!e),this},y.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return t?i.decodePathSegment(r):r}var o=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(o=!0);var a=new RegExp(s(this.filename())+"$");return t=i.recodePath(t),this._parts.path=this._parts.path.replace(a,t),o?this.normalizePath(e):this.build(!e),this},y.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||t===!0){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),a=o.lastIndexOf(".");return a===-1?"":(n=o.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?i.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var u,c=this.suffix();if(c)u=t?new RegExp(s(c)+"$"):new RegExp(s("."+c)+"$");else{if(!t)return this;this._parts.path+="."+i.recodePath(t)}return u&&(t=i.recodePath(t),this._parts.path=this._parts.path.replace(u,t)),this.build(!e),this},y.segment=function(t,e,n){var r=this._parts.urn?":":"/",i=this.path(),o="/"===i.substring(0,1),s=i.split(r);if(void 0!==t&&"number"!=typeof t&&(n=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(o&&s.shift(),t<0&&(t=Math.max(s.length+t,0)),void 0===e)return void 0===t?s:s[t];if(null===t||void 0===s[t])if(u(e)){s=[];for(var a=0,c=e.length;a<c;a++)(e[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(e[a])))}else(e||"string"==typeof e)&&(e=p(e),""===s[s.length-1]?s[s.length-1]=e:s.push(e));else e?s[t]=p(e):s.splice(t,1);return o&&s.unshift(""),this.path(s.join(r),n)},y.segmentCoded=function(t,e,n){var r,o,s;if("number"!=typeof t&&(n=e,e=t,t=void 0),void 0===e){if(r=this.segment(t,e,n),u(r))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(u(e))for(o=0,s=e.length;o<s;o++)e[o]=i.encode(e[o]);else e="string"==typeof e||e instanceof String?i.encode(e):e;return this.segment(t,e,n)};var C=y.query;return y.query=function(t,e){if(t===!0)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof t){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=t.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this}return void 0!==t&&"string"!=typeof t?(this._parts.query=i.buildQuery(t,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this):C.call(this,t,e)},y.setQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof t||t instanceof String)r[t]=void 0!==e?e:null;else{if("object"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in t)b.call(t,o)&&(r[o]=t[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.addQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,t,void 0===e?null:e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.removeQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,t,e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.hasQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,t,e,n)},y.setSearch=y.setQuery,y.addSearch=y.addQuery,y.removeSearch=y.removeQuery,y.hasSearch=y.hasQuery,y.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},y.normalizeProtocol=function(t){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!t)),this},y.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&e&&(this._parts.hostname=e.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},y.normalizePort=function(t){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!t)),this},y.normalizePath=function(t){var e=this._parts.path;if(!e)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!t),this;if("/"===this._parts.path)return this;e=i.recodePath(e);var n,r,o,s="";for("/"!==e.charAt(0)&&(n=!0,e="/"+e),"/.."!==e.slice(-3)&&"/."!==e.slice(-2)||(e+="/"),e=e.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),n&&(s=e.substring(1).match(/^(\.\.\/)+/)||"",s&&(s=s[0]));;){if(r=e.search(/\/\.\.(\/|$)/),r===-1)break;0!==r?(o=e.substring(0,r).lastIndexOf("/"),o===-1&&(o=r),e=e.substring(0,o)+e.substring(r+3)):e=e.substring(3)}return n&&this.is("relative")&&(e=s+e.substring(1)),this._parts.path=e,this.build(!t),this},y.normalizePathname=y.normalizePath,y.normalizeQuery=function(t){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!t)),this},y.normalizeFragment=function(t){return this._parts.fragment||(this._parts.fragment=null,this.build(!t)),this},y.normalizeSearch=y.normalizeQuery,y.normalizeHash=y.normalizeFragment,y.iso8859=function(){var t=i.encode,e=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},y.unicode=function(){var t=i.encode,e=i.decode;i.encode=d,i.decode=unescape;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},y.readable=function(){var e=this.clone();e.username("").password("").normalize();var n="";if(e._parts.protocol&&(n+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&t?(n+=t.toUnicode(e._parts.hostname),e._parts.port&&(n+=":"+e._parts.port)):n+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(n+="/"),n+=e.path(!0),e._parts.query){for(var r="",o=0,s=e._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(e.hash(),!0)},y.absoluteTo=function(t){var e,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t instanceof i||(t=new i(t)),o._parts.protocol)return o;if(o._parts.protocol=t._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=t._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(e=t.directory(),e=e?e:0===t.path().indexOf("/")?"/":"",o._parts.path=(e?e+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=t._parts.path,o._parts.query||(o._parts.query=t._parts.query)),o.build(),o},y.relativeTo=function(t){var e,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t=new i(t).normalize(),e=a._parts,n=t._parts,o=a.path(),s=t.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(e.protocol===n.protocol&&(e.protocol=null),e.username!==n.username||e.password!==n.password)return a.build();if(null!==e.protocol||null!==e.username||null!==e.password)return a.build();if(e.hostname!==n.hostname||e.port!==n.port)return a.build();if(e.hostname=null,e.port=null,o===s)return e.path="",a.build();if(r=i.commonPath(o,s),!r)return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return e.path=u+e.path.substring(r.length)||"./",a.build()},y.equals=function(t){var e,n,r,o=this.clone(),s=new i(t),a={},c={},l={};if(o.normalize(),s.normalize(),o.toString()===s.toString())return!0;if(e=o.query(),n=s.query(),o.query(""),s.query(""),o.toString()!==s.toString())return!1;if(e.length!==n.length)return!1;a=i.parseQuery(e,this._parts.escapeQuerySpace),c=i.parseQuery(n,this._parts.escapeQuerySpace);for(r in a)if(b.call(a,r)){if(u(a[r])){if(!h(a[r],c[r]))return!1}else if(a[r]!==c[r])return!1;l[r]=!0}for(r in c)if(b.call(c,r)&&!l[r])return!1;return!0},y.duplicateQueryParameters=function(t){return this._parts.duplicateQueryParameters=!!t,this},y.escapeQuerySpace=function(t){return this._parts.escapeQuerySpace=!!t,this},i})},{"./IPv6":7,"./SecondLevelDomains":8,"./punycode":10}],10:[function(t,e,n){(function(t){!function(r){function i(t){throw new RangeError(L[t])}function o(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(O,".");var i=t.split("."),s=o(i,e).join(".");return r+s}function a(t){for(var e,n,r=[],i=0,o=t.length;i<o;)e=t.charCodeAt(i++),e>=55296&&e<=56319&&i<o?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);return r}function u(t){return o(t,function(t){var e="";return t>65535&&(t-=65536,e+=N(t>>>10&1023|55296),t=56320|1023&t),e+=N(t)}).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:_}function l(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function h(t,e,n){var r=0;for(t=n?R(t/E):t>>1,t+=R(t/e);t>D*S>>1;r+=_)t=R(t/D);return R(r+(D+1)*t/(t+T))}function p(t){var e,n,r,o,s,a,l,p,f,d,g=[],v=t.length,m=0,y=A,b=C;for(n=t.lastIndexOf(P),n<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&i("not-basic"),g.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(s=m,a=1,l=_;o>=v&&i("invalid-input"),p=c(t.charCodeAt(o++)),(p>=_||p>R((x-m)/a))&&i("overflow"),m+=p*a,f=l<=b?k:l>=b+S?S:l-b,!(p<f);l+=_)d=_-f,a>R(x/d)&&i("overflow"),a*=d;e=g.length+1,b=h(m-s,e,0==s),R(m/e)>x-y&&i("overflow"),y+=R(m/e),m%=e,g.splice(m++,0,y)}return u(g)}function f(t){var e,n,r,o,s,u,c,p,f,d,g,v,m,y,b,w=[];for(t=a(t),v=t.length,e=A,n=0,s=C,u=0;u<v;++u)g=t[u],g<128&&w.push(N(g));for(r=o=w.length,o&&w.push(P);r<v;){
|
9
|
+
for(c=x,u=0;u<v;++u)g=t[u],g>=e&&g<c&&(c=g);for(m=r+1,c-e>R((x-n)/m)&&i("overflow"),n+=(c-e)*m,e=c,u=0;u<v;++u)if(g=t[u],g<e&&++n>x&&i("overflow"),g==e){for(p=n,f=_;d=f<=s?k:f>=s+S?S:f-s,!(p<d);f+=_)b=p-d,y=_-d,w.push(N(l(d+b%y,0))),p=R(b/y);w.push(N(l(p,0))),s=h(n,m,r==o),n=0,++r}++n,++e}return w.join("")}function d(t){return s(t,function(t){return j.test(t)?p(t.slice(4).toLowerCase()):t})}function g(t){return s(t,function(t){return I.test(t)?"xn--"+f(t):t})}var v="object"==typeof n&&n&&!n.nodeType&&n,m="object"==typeof e&&e&&!e.nodeType&&e,y="object"==typeof t&&t;y.global!==y&&y.window!==y&&y.self!==y||(r=y);var b,w,x=2147483647,_=36,k=1,S=26,T=38,E=700,C=72,A=128,P="-",j=/^xn--/,I=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=_-k,R=Math.floor,N=String.fromCharCode;if(b={version:"1.3.2",ucs2:{decode:a,encode:u},decode:p,encode:f,toASCII:g,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&m)if(e.exports==v)m.exports=b;else for(w in b)b.hasOwnProperty(w)&&(v[w]=b[w]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],11:[function(t,e,n){e.exports={WebVTT:t("./vtt.js").WebVTT,VTTCue:t("./vttcue-extended.js").VTTCue,VTTRegion:t("./vttregion-extended.js").VTTRegion}},{"./vtt.js":12,"./vttcue-extended.js":13,"./vttregion-extended.js":15}],12:[function(t,e,n){!function(t){function e(t,e){return void 0===e&&(e=1),"rgba("+[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16),e].join(",")+")"}function n(t,n,r){switch(r){case"webvtt.font.color":case"webvtt.font.opacity":var i=Services.prefs.getCharPref("webvtt.font.color"),o=Services.prefs.getIntPref("webvtt.font.opacity")/100;b.fontSet=e(i,o);break;case"webvtt.font.scale":y=Services.prefs.getIntPref("webvtt.font.scale")/100;break;case"webvtt.bg.color":case"webvtt.bg.opacity":var s=Services.prefs.getCharPref("webvtt.bg.color"),a=Services.prefs.getIntPref("webvtt.bg.opacity")/100;b.backgroundSet=e(s,a);break;case"webvtt.edge.color":case"webvtt.edge.type":var u=["","0px 0px ","4px 4px 4px ","-2px -2px ","2px 2px "],c=Services.prefs.getIntPref("webvtt.edge.type"),l=Services.prefs.getCharPref("webvtt.edge.color");b.edgeSet=u[c]+e(l)}}function r(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function i(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function o(){this.values=w(null)}function s(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],u=s[1];e(a,u)}}}function a(t,e,n){function a(){var e=i(t);if(null===e)throw new r(r.Errors.BadTimeStamp,"Malformed timestamp: "+l);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function u(t,e){var r=new o;s(t,function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),s=o[0];r.integer(t,s),r.percent(t,s)?r.set("snapToLines",!1):null,r.alt(t,s,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position","auto"),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function c(){t=t.replace(/^\s+/,"")}var l=t;if(c(),e.startTime=a(),c(),"-->"!==t.substr(0,3))throw new r(r.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+l);t=t.substr(3),c(),e.endTime=a(),c(),u(t,e)}function u(t,e){function n(){function t(t){return e=e.substr(t.length),t}if(!e)return null;var n=e.match(/^([^<]*)(<[^>]+>?)?/);return t(n[1]?n[1]:n[2])}function r(t){return x[t]}function o(t){for(;d=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(d[0],r);return t}function s(t,e){return!S[e.localName]||S[e.localName]===t.localName}function a(e,n){var r=_[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=k[e];return o&&n&&(i[o]=n.trim()),i}for(var u,c=t.document.createElement("div"),l=c,h=[];null!==(u=n());)if("<"!==u[0])l.appendChild(t.document.createTextNode(o(u)));else{if("/"===u[1]){h.length&&h[h.length-1]===u.substr(2).replace(">","")&&(h.pop(),l=l.parentNode);continue}var p,f=i(u.substr(1,u.length-2));if(f){p=t.document.createProcessingInstruction("timestamp",f),l.appendChild(p);continue}var d=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!d)continue;if(p=a(d[1],d[3]),!p)continue;if(!s(l,p))continue;d[2]&&(p.className=d[2].substr(1).replace("."," ")),h.push(d[1]),l.appendChild(p),l=p}return c}function c(t){for(var e=0;e<T.length;e++){var n=T[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function l(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var r=t.pop(),i=r.textContent||r.innerText;if(i){var o=i.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):i}return"ruby"===r.tagName?n(t):r.childNodes?(e(t,r),n(t)):void 0}var r,i=[],o="";if(!t||!t.childNodes)return"ltr";for(e(i,t);o=n(i);)for(var s=0;s<o.length;s++)if(r=o.charCodeAt(s),c(r))return"rtl";return"ltr"}function h(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;i<n.length&&n[i]!==e;i++)"showing"===n[i].mode&&r++;return++r*-1}function p(){}function f(t,e,n){var r="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)",s="";"undefined"!=typeof b&&(i=b.fontSet,o=b.backgroundSet,s=b.edgeSet),r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),p.call(this),this.cue=e,this.cueDiv=u(t,e.text);var a={color:i,backgroundColor:o,textShadow:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",a.unicodeBidi="plaintext"),this.applyStyles(a,this.cueDiv),this.div=t.document.createElement("div"),a={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(a.direction=l(this.cueDiv),a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(a),this.div.appendChild(this.cueDiv);var c=0;switch(e.positionAlign){case"start":c=e.position;break;case"middle":c=e.position-e.size/2;break;case"end":c=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(c,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(c,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function d(t){var e,n,r,i,o="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,r=t.div.offsetWidth,i=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||n,this.bottom=t.bottom||i+(t.height||n),this.width=t.width||r,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function g(t,e,n,r){function i(t,e){for(var i,o=new d(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(r);)t.move(e[a]);if(t.within(n))return t;var u=t.intersectPercentage(n);s>u&&(i=new d(t),s=u),t=new d(o)}return i||o}var o=new d(e),s=e.cue,a=h(s),u=[];if(s.snapToLines){var c;switch(s.vertical){case"":u=["+y","-y"],c="height";break;case"rl":u=["+x","-x"],c="width";break;case"lr":u=["-x","+x"],c="width"}var l=o.lineHeight,p=l*Math.round(a),f=n[c]+l,g=u[0];Math.abs(p)>f&&(p=p<0?-1:1,p*=Math.ceil(f/l)*l),a<0&&(p+=""===s.vertical?n.height:n.width,u=u.reverse()),o.move(g,p)}else{var v=o.lineHeight/n.height*100;switch(s.lineAlign){case"middle":a-=v/2;break;case"end":a-=v}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}u=["+y","-x","+x","-y"],o=new d(e)}var m=i(o,u);e.move(m.toCSSCompatValues(n))}function v(){}var m=["webvtt.font.color","webvtt.font.opacity","webvtt.font.scale","webvtt.bg.color","webvtt.bg.opacity","webvtt.edge.color","webvtt.edge.type"],y=1;if("undefined"!=typeof Services){var b={};m.forEach(function(t){n(void 0,void 0,t),Services.prefs.addObserver(t,n,!1)})}var w=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();r.prototype=w(Error.prototype),r.prototype.constructor=r,r.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var r=0;r<n.length;++r)if(e===n[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){var n;return!!((n=e.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var x={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},_={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},k={v:"title",lang:"lang"},S={rt:"ruby"},T=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];p.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},p.prototype.formatStyle=function(t,e){return 0===t?0:t+e},f.prototype=w(p.prototype),f.prototype.constructor=f,d.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},d.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},d.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},d.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},d.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},d.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),r=e*n;return r/(this.height*this.width)},d.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},d.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var i={left:t.left,right:t.right,top:t.top||r,height:t.height||e,bottom:t.bottom||r+(t.height||e),width:t.width||n};return i},v.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},v.convertCueToDOMTree=function(t,e){return t&&e?u(t,e):null};var E=.05,C="sans-serif",A="1.5%";v.processCues=function(t,e,n){function r(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin=A,n.appendChild(i),r(e)){var o=[],s=d.getSimpleBoxPosition(i),a=Math.round(s.height*E*100)/100,u={font:a*y+"px "+C};!function(){for(var n,r,a=0;a<e.length;a++)r=e[a],n=new f(t,r,u),i.appendChild(n.div),g(t,n,s,o),r.displayState=n.div,o.push(d.getSimpleBoxPosition(n))}()}else for(var c=0;c<e.length;c++)i.appendChild(e[c].displayState)},v.Parser=function(t,e){this.window=t,this.state="INITIAL",this.buffer="",this.decoder=e||new TextDecoder("utf8"),this.regionList=[]},v.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof r))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=u.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,u.buffer=t.substr(e),n}function n(t){var e=new o;if(s(t,function(t,n){switch(t){case"id":e.set(t,n);break;case"width":e.percent(t,n);break;case"lines":e.integer(t,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;e.set(t+"X",i.get("x")),e.set(t+"Y",i.get("y"));break;case"scroll":e.alt(t,n,["up"])}},/=/,/\s/),e.has("id")){var n=new u.window.VTTRegion;n.width=e.get("width",100),n.lines=e.get("lines",3),n.regionAnchorX=e.get("regionanchorX",0),n.regionAnchorY=e.get("regionanchorY",100),n.viewportAnchorX=e.get("viewportanchorX",0),n.viewportAnchorY=e.get("viewportanchorY",100),n.scroll=e.get("scroll",""),u.onregion&&u.onregion(n),u.regionList.push({id:e.get("id"),region:n})}}function i(t){s(t,function(t,e){switch(t){case"Region":n(e)}},/:/)}var u=this;t&&(u.buffer+=u.decoder.decode(t,{stream:!0}));try{var c;if("INITIAL"===u.state){if(!/\r\n|\n/.test(u.buffer))return this;c=e();var l=c.match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new r(r.Errors.BadSignature);u.state="HEADER"}for(var h=!1;u.buffer;){if(!/\r\n|\n/.test(u.buffer))return this;switch(h?h=!1:c=e(),u.state){case"HEADER":/:/.test(c)?i(c):c||(u.state="ID");continue;case"NOTE":c||(u.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(c)){u.state="NOTE";break}if(!c)continue;if(u.cue=new u.window.VTTCue(0,0,""),u.state="CUE",c.indexOf("-->")===-1){u.cue.id=c;continue}case"CUE":try{a(c,u.cue,u.regionList)}catch(p){u.reportOrThrowError(p),u.cue=null,u.state="BADCUE";continue}u.state="CUETEXT";continue;case"CUETEXT":var f=c.indexOf("-->")!==-1;if(!c||f&&(h=!0)){u.oncue&&u.oncue(u.cue),u.cue=null,u.state="ID";continue}u.cue.text&&(u.cue.text+="\n"),u.cue.text+=c;continue;case"BADCUE":c||(u.state="ID");continue}}}catch(p){u.reportOrThrowError(p),"CUETEXT"===u.state&&u.cue&&u.oncue&&u.oncue(u.cue),u.cue=null,u.state="INITIAL"===u.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new r(r.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.WebVTT=v}(this)},{}],13:[function(t,e,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||t("./vttcue").VTTCue),function(t){t.VTTCue.prototype.toJSON=function(){var t={},e=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(t[n]=e[n])}),t},t.VTTCue.create=function(e){if(!e.hasOwnProperty("startTime")||!e.hasOwnProperty("endTime")||!e.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new t.VTTCue(e.startTime,e.endTime,e.text);for(var r in e)n.hasOwnProperty(r)&&(n[r]=e[r]);return n},t.VTTCue.fromJSON=function(t){return this.create(JSON.parse(t))}}(this)},{"./vttcue":14}],14:[function(t,e,n){!function(t){function e(t){if("string"!=typeof t)return!1;var e=s[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){if("string"!=typeof t)return!1;var e=a[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function i(t,i,s){var a=this,u=/MSIE\s8\.0/.test(navigator.userAgent),c={};u?a=document.createElement("custom"):c.enumerable=!0,a.hasBeenReset=!1;var l="",h=!1,p=t,f=i,d=s,g=null,v="",m=!0,y="auto",b="start",w=50,x="middle",_=50,k="middle";if(Object.defineProperty(a,"id",r({},c,{get:function(){return l},set:function(t){l=""+t}})),Object.defineProperty(a,"pauseOnExit",r({},c,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(a,"startTime",r({},c,{get:function(){return p},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",r({},c,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",r({},c,{get:function(){return d},set:function(t){d=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",r({},c,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",r({},c,{get:function(){return v},set:function(t){var n=e(t);if(n===!1)throw new SyntaxError("An invalid or illegal string was specified.");v=n,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",r({},c,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",r({},c,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==o)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",r({},c,{get:function(){return b},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",r({},c,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",r({},c,{get:function(){return x},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");x=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",r({},c,{get:function(){return _},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",r({},c,{get:function(){return k},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");k=e,this.hasBeenReset=!0}})),a.displayState=void 0,u)return a}var o="auto",s={"":!0,lr:!0,rl:!0},a={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.VTTCue=t.VTTCue||i}(this)},{}],15:[function(t,e,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=t("./vttregion").VTTRegion),function(t){t.VTTRegion.create=function(e){var n=new t.VTTRegion;for(var r in e)n.hasOwnProperty(r)&&(n[r]=e[r]);return n},t.VTTRegion.fromJSON=function(t){return this.create(JSON.parse(t))}}(this)},{"./vttregion":16}],16:[function(t,e,n){!function(t){function e(t){if("string"!=typeof t)return!1;var e=i[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){return"number"==typeof t&&t>=0&&t<=100}function r(){var t=100,r=3,i=0,o=100,s=0,a=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!n(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");r=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!n(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!n(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!n(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!n(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var n=e(t);if(n===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=n}}})}var i={"":!0,up:!0};t.VTTRegion=t.VTTRegion||r}(this)},{}],17:[function(t,e,n){var r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),y=t("lodash"),o=t("./configuration.coffee"),v=t("./theme.coffee"),l=t("./player.coffee"),d=t("./progress_bar.coffee"),c=t("./feed.coffee"),u=t("./external_data.coffee"),i=t("./extensions/chaptermarks.coffee"),s=t("./extensions/download.coffee"),a=t("./extensions/episode_info.coffee"),p=t("./extensions/playlist.coffee"),h=t("./extensions/playerjs.coffee"),g=t("./extensions/share.coffee"),m=t("./extensions/transcript.coffee"),f=function(){function t(t){this.elemClass=t,this.sendSizeChange=b(this.sendSizeChange,this),this.bindWindowResizing=b(this.bindWindowResizing,this),this.initializeExtensions=b(this.initializeExtensions,this),this.bindButtons=b(this.bindButtons,this),this.adjustPlaySpeed=b(this.adjustPlaySpeed,this),this.mediaEnded=b(this.mediaEnded,this),this.updateTime=b(this.updateTime,this),this.togglePlayState=b(this.togglePlayState,this),this.mediaLoadError=b(this.mediaLoadError,this),this.mediaLoaded=b(this.mediaLoaded,this),this.init=b(this.init,this),this.initPlayer=b(this.initPlayer,this),this.renderTheme=b(this.renderTheme,this),this.getConfiguration().loaded.done(function(t){return function(){return t.renderTheme().done(function(){return t.initPlayer()})}}(this))}return t.defaultExtensions=[d,i,s,a,p,h,g,m],t.prototype.extensions={},t.prototype.getProductionData=function(){var t;if(this.episode.productionDataUrl)return t=this,r.getJSON(this.episode.productionDataUrl).done(function(e){return function(e){return t.episode.productionData=e.data}}(this))},t.prototype.getConfiguration=function(){return new o(this)},t.prototype.renderTheme=function(){var t;return t=r.Deferred(),this.theme=new v(this),this.theme.loaded.done(function(e){return function(){return e.elem=e.theme.render(),window.setTimeout(e.sendSizeChange,0),r(".loading-animation").remove(),t.resolve()}}(this)),t.promise()},t.prototype.initPlayer=function(){var t;return t=this.elem.find("audio")[0],new l(this,t,this.options,this.init)},t.prototype.init=function(t){return this.player=t,this.bindButtons(),this.initializeExtensions(),this.bindWindowResizing()},t.prototype.mediaLoaded=function(){return window.setTimeout(this.sendSizeChange,0),this.theme.removeLoadingClass()},t.prototype.mediaLoadError=function(){return window.setTimeout(this.sendSizeChange,0),this.theme.removeLoadingClass(),this.theme.removePlayingClass(),this.theme.addFailedLoadingClass(),this.extensions.ProgressBar.hideBuffering()},t.prototype.togglePlayState=function(){if(null!=this.player)return this.player.playing?this.theme.addPlayingClass():this.theme.removePlayingClass()},t.prototype.updateTime=function(t){var e;return e=this.extensions.ProgressBar.updateTime(t),this.adjustPlaySpeed(e)},t.prototype.mediaEnded=function(){return this.player.media.currentTime=0,this.extensions.ProgressBar.updateTime(),this.togglePlayState()},t.prototype.tempPlayBackSpeed=null,t.prototype.adjustPlaySpeed=function(t){var e,n;if(this.episode.productionData)return e=this.player.media.currentTime,n=r.grep(this.episode.productionData.statistics.music_speech,function(e,n){return e.start.indexOf(t)!==-1}),n.length&&("music"===n[0].label?1!==this.options.currentPlaybackRate&&(this.tempPlayBackSpeed=this.options.currentPlaybackRate,this.player.setPlaySpeed(1)):this.tempPlayBackSpeed&&(this.player.setPlaySpeed(this.tempPlayBackSpeed),this.tempPlayBackSpeed=null)),this.updateSpeedDisplay()},t.prototype.bindButtons=function(){var t;return t=function(t){return function(e){return e.preventDefault(),t.extensions.ChromeCast&&t.extensions.ChromeCast.active?t.extensions.ChromeCast.togglePlayState():t.player.playPause()}}(this),this.theme.playPauseElement.on("click",t),this.theme.backwardElement.click(function(t){return function(){return t.player.jumpBackward()}}(this)),this.theme.forwardElement.click(function(t){return function(){return t.player.jumpForward()}}(this)),this.theme.skipBackwardElement.click(function(t){return function(){return t.player.skipBackward()}}(this)),this.theme.skipForwardElement.click(function(t){return function(){return t.player.skipForward()}}(this)),this.theme.speedElement.click(function(t){return function(e){return t.player.changePlaySpeed(),t.updateSpeedDisplay()}}(this))},t.prototype.updateSpeedDisplay=function(){return this.theme.speedElement.text(this.options.currentPlaybackRate+"x")},t.prototype.initializeExtensions=function(e){var n;return n=this,this.extensions={},this.theme.removeButtons(),this.theme.removePanels(),t.defaultExtensions.forEach(function(t){return function(t){if(n.extensions[t.extension.name]=new t(n),e instanceof t)return n.theme.togglePanel(n.extensions[t.extension.name].panel)}}(this))},t.prototype.bindWindowResizing=function(){return r(window).on("resize",y.debounce(this.sendSizeChange,250))},t.prototype.sendSizeChange=function(){var t,e,n,r,i;return n=parseInt(this.elem.css("padding-top"),10),e=parseInt(this.elem.css("padding-bottom"),10),t=this.elem.height()+n+e,i=JSON.stringify({id:this.options.id,listenTo:"resizePlayer",height:t}),window.parent.postMessage(i,"*"),null!=(r=this.extensions.ProgressBar)?r.updateBarWidths():void 0},t.prototype.isInIframeMode=function(){return"iframe"===this.options.iframeMode},t}(),window.inEmbed&&(window.PodigeePodcastPlayer=f)},{"./configuration.coffee":19,"./extensions/chaptermarks.coffee":23,"./extensions/download.coffee":24,"./extensions/episode_info.coffee":25,"./extensions/playerjs.coffee":26,"./extensions/playlist.coffee":29,"./extensions/share.coffee":30,"./extensions/transcript.coffee":31,"./external_data.coffee":34,"./feed.coffee":35,"./player.coffee":37,"./progress_bar.coffee":39,"./theme.coffee":41,jquery:2,lodash:3}],18:[function(t,e,n){var r,i;i=t("lodash"),r=function(){function t(t,e,n){this.uri=e,this.media=n,this.format=t,this.findOutIfPlayable()}return t.formatMapping={m4a:"audio/mp4",mp3:"audio/mpeg",ogg:'audio/ogg; codecs="vorbis"',opus:'audio/ogg; codecs="opus"'},t.reverseFormatMapping=i.invert(t.formatMapping),t.prototype.findOutIfPlayable=function(){return this.playable=this.uri?this.media.canPlayType(this.fileFormat()):""},t.prototype.fileFormat=function(){return t.formatMapping[this.format]},t}(),e.exports=r},{lodash:3}],19:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),c=t("lodash"),u=t("./utils.coffee"),l=t("rivets"),o=t("./external_data.coffee"),s=t("./i18n.coffee"),a=t("./podcast.coffee"),i=function(){function t(t){this.app=t,this.configureTemplating=h(this.configureTemplating,this),this.setConfigurations=h(this.setConfigurations,this),this.fetchJsonConfiguration=h(this.fetchJsonConfiguration,this),this.receiveConfiguration=h(this.receiveConfiguration,this),this.loader=r.Deferred(),this.loaded=this.loader.promise(),this.frameOptions=u.locationToOptions(window.location.search),this.frameOptions.configuration?(this.configuration={json_config:this.frameOptions.configuration},this.fetchJsonConfiguration()):this.receiveConfiguration(),this.configureTemplating()}return t.prototype.receiveConfiguration=function(){var t;return r(window).on("message",function(t){return function(e){var n,r;if(e.originalEvent.data){n=e.originalEvent.data;try{t.configuration=JSON.parse(n)}catch(i){return void(r=i)}return t.configuration.json_config?t.fetchJsonConfiguration():t.setConfigurations()}}}(this)),t=JSON.stringify({id:this.frameOptions.id,listenTo:"sendConfig"}),window.parent.postMessage(t,"*")},t.prototype.fetchJsonConfiguration=function(){var t;if(this.configuration.json_config&&this.configuration.json_config.length)return t=this,r.ajax({dataType:"json",headers:{Accept:"application/json"},url:this.configuration.json_config}).done(function(e){return function(e){return t.configuration=c.extend(t.configuration,e),t.setConfigurations(!0)}}(this)).error(function(t,e,n){return console.log("[podigee podcast player] Error while fetching player configuration:"),console.log("xhr:",t),console.log("status:",e),console.log("trace:",n)})},t.prototype.setConfigurations=function(t){var e,n,r,i;if(this.configuration.episode)return this.app.podcast=new a(this.app,this.configuration.podcast||{}),this.app.extensionOptions=this.configuration.extensions||{},this.app.customOptions=this.configuration.customOptions,null==(e=this.configuration).options&&(e.options={}),this.app.options=c.extend(this.defaultOptions,this.configuration.options,this.frameOptions),this.app.options.parentLocationHash=this.configuration.parentLocationHash,this.app.options.configViaJSON=t,this.app.externalData=new o(this.app),i=new s(this.configuration.options.locale,this.defaultOptions.locale),this.app.i18n=i,this.configuration.episode?(this.app.episode=this.configuration.episode,null!=this.app.episode.cover_url&&(console.warn("Please use episode.coverUrl instead of episode.cover_url in player configuration"),null==(n=this.app.episode).coverUrl&&(n.coverUrl=this.configuration.episode.cover_url)),null==(r=this.app.episode).embedCode&&(r.embedCode=this.configuration.embedCode),
|
10
|
+
this.app.getProductionData(),this.loader.resolve()):void this.app.podcast.getEpisodes().done(function(e){return function(){if(e.app.podcast.episodes)return e.configuration.episode=e.app.podcast.episodes[0],e.setConfigurations(t)}}(this))},t.prototype.defaultOptions={currentPlaybackRate:1,playbackRates:[.5,1,1.5,2],timeMode:"countup",backwardSeconds:10,forwardSeconds:30,showChaptermarks:!1,showMoreInfo:!1,theme:"default",sslProxy:null,iframeMode:"iframe",locale:"en-US",theme:"default",themeHtml:null,themeCss:null,customStyle:null,startPanel:null},t.prototype.configureTemplating=function(){return l.configure({prefix:"pp"}),l.formatters.description=function(t){return function(t){var e;return e=document.createElement("div"),e.innerHTML=t.trim(),e.querySelectorAll("a").forEach(function(t){return t.target="_parent"}),e.innerHTML}}(this)},t}(),e.exports=i},{"./external_data.coffee":34,"./i18n.coffee":36,"./podcast.coffee":38,"./utils.coffee":42,jquery:2,lodash:3,rivets:4}],20:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};i=t("tinycolor2"),r=function(){function t(t){this.buildColors=o(this.buildColors,this),this.buildCSS=o(this.buildCSS,this),this.toStyleTag=o(this.toStyleTag,this),this.config=t}return t.prototype.toStyleTag=function(){var t;if(this.config)return t=document.createElement("style"),t.textContent=this.buildCSS(),t},t.prototype.buildCSS=function(){var t;return t=this.buildColors(),".podcast-player { background-color: "+this.background+"; color: "+this.text+"; } .podcast-player a, .podcast-player .episode-title a { color: "+this.primary+"; } .podcast-player a:hover, .podcast-player .episode-title a:hover { color: "+this.primaryHover+"; } .podcast-player .buttons button { color: "+this.text+"; } .podcast-player .buttons button:hover, .podcast-player .buttons button.button-active { color: "+this.primary+"; } .podcast-player .episode-basic-info .episode-subtitle { color: "+this.text+"; } .podcast-player .controls .play-button { border-color: "+this.progressBar+"; color: "+this.progressBar+"; } .podcast-player .controls .play-button:hover { border-color: "+this.progressBarAlt+"; color: "+this.progressBarAlt+"; } .podcast-player .progress-bar .progress-bar-rail { background: "+this.progressBar+"; } .podcast-player .progress-bar-played { background: "+this.primary+"; } .podcast-player .progress-bar-loaded { background: "+this.text+"; } .podcast-player .panels { color: "+this.text+"; } .podcast-player .panels .chaptermarks ul li:hover, .podcast-player .panels .playlist ul li:hover { background-color: "+this.backgroundHover+"; } .podcast-player .panels .transcript .transcript-text li:hover { color: "+this.textHover+"; } .podcast-player .panels .transcript .transcript-text li.active { color: "+this.primary+"; } .podcast-player .panels .share .share-copy-url, .podcast-player .panels .share .share-embed-code { border-color: "+this.text+"; color: "+this.text+"; } .podcast-player .footer button { border-color: "+this.primary+"; color: "+this.primary+"; } .podcast-player .footer button:hover { border-color: "+this.primaryHover+"; color: "+this.primaryHover+"; }"},t.prototype.buildColors=function(){return this.primary=new i(this.config.primary),this.primaryHover=this.getHoverColor(this.primary),this.background=new i(this.config.background),this.backgroundHover=this.getHoverColor(this.background),this.text=this.config.text?new i(this.config.text):this.getContrastColor(this.background),this.textHover=this.getHoverColor(this.text),this.progressBar=this.getProgressColor(this.textHover),this.progressBarAlt=this.getHoverColor(this.progressBar)},t.prototype.getContrastColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()>=190?t.darken(70):t.getBrightness()>=155&&t.getBrightness()<190?t.darken(45):t.getBrightness()<155&&t.getBrightness()>=50?t.lighten(45):t.lighten(70)},t.prototype.getHoverColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()<50?t.lighten(15):t.darken(10)},t.prototype.getProgressColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()<50?t.darken(10):t.lighten(30)},t}(),e.exports=r},{tinycolor2:6}],21:[function(t,e,n){var r,i,o;o=t("lodash"),i=t("./utils.coffee"),r=function(){function t(t){var e,n;n=this._parseLocation(t),e=this.parseTimes(n),this.startTime=e[0],this.endTime=e[1]}return t.prototype.parseTimes=function(t){var e;return null==t?[0]:t.split(",").length>2?[0]:(e=t.split(",").map(function(t){return""===t?0:t.match(":")?i.hhmmssToSeconds(t):parseInt(t,10)}),e[0]>e[1]?[0]:e)},t.prototype._parseLocation=function(t){var e,n;return t?(e=t.slice(1).split("&"),n=o(e).find(function(t){return o(t).startsWith("t")}),n?n.split("=")[1]:void 0):null},t}(),e.exports=r},{"./utils.coffee":42,lodash:3}],22:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=function(){function t(t){this.app=t,this.renderPanel=o(this.renderPanel,this),this.renderButton=o(this.renderButton,this)}return t.extension={name:"Extension",type:"default"},t.prototype.defaultOptions={},t.prototype.renderButton=function(){return this.button=r(this.buttonHtml()),this.button.on("click",function(t){return function(){return t.app.theme.togglePanel(t.panel)}}(this))},t.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),this.panel.hide()},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.buttonHtml=function(){return'<button class="fa fa-bookmark" title="Show example extension"></button>'},t.prototype.panelHtml=function(){return'<div class="example">\n <h3>Example</h3>\n\n <p>This is an example</p>\n</div>'},t.prototype.name=function(){return this.constructor.extension.name},t}(),e.exports=i},{jquery:2}],23:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}},p=function(t,e){function n(){this.constructor=t}for(var r in e)f.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f={}.hasOwnProperty;r=t("jquery"),u=t("lodash"),l=t("sightglass"),c=t("rivets"),a=t("../utils.coffee"),s=t("../extension.coffee"),i=function(){function t(t,e){this.render=h(this.render,this),this.cleanData=h(this.cleanData,this),this.data=t,this.cleanData(),this.callback=e}return t.prototype.cleanData=function(){return this.data.start=this.data.start.split(".")[0],this.data.startInSeconds=a.hhmmssToSeconds(this.data.start)},t.prototype.render=function(){return this.elem=r(this.defaultHtml),c.bind(this.elem,this.data),this.elem.on("click",this.data,this.callback),this.elem},t.prototype.defaultHtml='<li pp-data-start="start" class="chaptermark">\n <img pp-src="image" pp-if="image" class="chaptermark-image"/>\n <span class="chaptermark-start">{ start }</span>\n <span class="chaptermark-title">{ title }</span>\n <a pp-if="href" pp-href="href" target="_blank" class="chaptermark-href">\n <svg id="icon-chain" viewBox="0 0 26 28">\n <title>chain</title>\n <path d="M22.75 19c0-0.406-0.156-0.781-0.438-1.062l-3.25-3.25c-0.281-0.281-0.672-0.438-1.062-0.438-0.453 0-0.812 0.172-1.125 0.5 0.516 0.516 1.125 0.953 1.125 1.75 0 0.828-0.672 1.5-1.5 1.5-0.797 0-1.234-0.609-1.75-1.125-0.328 0.313-0.516 0.672-0.516 1.141 0 0.391 0.156 0.781 0.438 1.062l3.219 3.234c0.281 0.281 0.672 0.422 1.062 0.422s0.781-0.141 1.062-0.406l2.297-2.281c0.281-0.281 0.438-0.656 0.438-1.047zM11.766 7.984c0-0.391-0.156-0.781-0.438-1.062l-3.219-3.234c-0.281-0.281-0.672-0.438-1.062-0.438s-0.781 0.156-1.062 0.422l-2.297 2.281c-0.281 0.281-0.438 0.656-0.438 1.047 0 0.406 0.156 0.781 0.438 1.062l3.25 3.25c0.281 0.281 0.672 0.422 1.062 0.422 0.453 0 0.812-0.156 1.125-0.484-0.516-0.516-1.125-0.953-1.125-1.75 0-0.828 0.672-1.5 1.5-1.5 0.797 0 1.234 0.609 1.75 1.125 0.328-0.313 0.516-0.672 0.516-1.141zM25.75 19c0 1.188-0.484 2.344-1.328 3.172l-2.297 2.281c-0.844 0.844-1.984 1.297-3.172 1.297-1.203 0-2.344-0.469-3.187-1.328l-3.219-3.234c-0.844-0.844-1.297-1.984-1.297-3.172 0-1.234 0.5-2.406 1.375-3.266l-1.375-1.375c-0.859 0.875-2.016 1.375-3.25 1.375-1.188 0-2.344-0.469-3.187-1.313l-3.25-3.25c-0.859-0.859-1.313-1.984-1.313-3.187 0-1.188 0.484-2.344 1.328-3.172l2.297-2.281c0.844-0.844 1.984-1.297 3.172-1.297 1.203 0 2.344 0.469 3.187 1.328l3.219 3.234c0.844 0.844 1.297 1.984 1.297 3.172 0 1.234-0.5 2.406-1.375 3.266l1.375 1.375c0.859-0.875 2.016-1.375 3.25-1.375 1.188 0 2.344 0.469 3.187 1.313l3.25 3.25c0.859 0.859 1.313 1.984 1.313 3.187z"></path>\n </svg>\n </a>\n</li>',t}(),o=function(t){function e(t){this.app=t,this.panelHtml=h(this.panelHtml,this),this.buttonHtml=h(this.buttonHtml,this),this.deactivateAll=h(this.deactivateAll,this),this.activateMark=h(this.activateMark,this),this.setActiveMark=h(this.setActiveMark,this),this.attachEvents=h(this.attachEvents,this),this.renderPanel=h(this.renderPanel,this),this.click=h(this.click,this),this.options=u.extend(this.defaultOptions,this.app.extensionOptions.ChapterMarks),this.options.disabled||(this.chapters=this.app.episode.chaptermarks,this.chapters&&this.chapters.length&&(this.renderPanel(),this.renderButton(),this.attachEvents(),this.app.theme.addExtension(this)))}return p(e,t),e.extension={name:"ChapterMarks",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.click=function(t){var e;return e=t.data.start,this.app.player.setCurrentTime(a.hhmmssToSeconds(e))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),this.panel.hide(),this.chaptermarks=u.map(this.chapters,function(t){return function(e){return new i(e,t.click)}}(this)),this.chaptermarks=u.sortBy(this.chaptermarks,function(t){return function(t){return t.data.startInSeconds}}(this)),u.map(this.chaptermarks,function(t){return function(e){return t.panel.find("ul").append(e.render())}}(this))},e.prototype.attachEvents=function(){return r(this.app.player.media).on("timeupdate",this.setActiveMark)},e.prototype.setActiveMark=function(){var t;return t=this.app.player.currentTimeInSeconds,t<=a.hhmmssToSeconds(this.chaptermarks[0].data.start)?(this.deactivateAll(),this.activateMark(this.chaptermarks[0])):u(this.chaptermarks).findLast(function(e){return function(n){var r;if(r=a.hhmmssToSeconds(n.data.start),t>=r)return e.deactivateAll(),e.activateMark(n)}}(this))},e.prototype.activateMark=function(t){return t.elem.addClass("active")},e.prototype.deactivateAll=function(){return this.panel.find("li").removeClass("active")},e.prototype.buttonHtml=function(){return'<button class="chaptermarks-button" title="'+this.t("chaptermarks.show")+'" aria-label="'+this.t("chaptermarks.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="chaptermarks">\n <h3>'+this.t("chaptermarks.title")+"</h3>\n\n <ul></ul>\n</div>"},e}(s),e.exports=o},{"../extension.coffee":22,"../utils.coffee":42,jquery:2,lodash:3,rivets:4,sightglass:5}],24:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function n(){this.constructor=t}for(var r in e)h.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h={}.hasOwnProperty;r=t("jquery"),s=t("lodash"),u=t("sightglass"),a=t("rivets"),o=t("../extension.coffee"),i=function(t){function e(t){this.app=t,this.renderPanel=c(this.renderPanel,this),this.prepareDownloadLinks=c(this.prepareDownloadLinks,this),this.options=s.extend(this.defaultOptions,this.app.extensionOptions.Download),this.options.disabled||(this.episode=this.app.episode,this.episode&&this.episode.media&&(this.prepareDownloadLinks(),this.renderPanel(),this.renderButton(),this.app.theme.addExtension(this)))}return l(e,t),e.extension={name:"Download",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.prepareDownloadLinks=function(){return this.episode.downloadLinks=s.map(this.episode.media,function(t){return function(t,e,n){var r,i,o;if(t)return o=t.replace(/source=\w*/g,"source=webplayer-download"),r=t.substring(t.lastIndexOf("/")+1).split("?")[0],i={cssClass:"download-link download-link-"+e,filename:r,type:e,url:o}}}(this))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),a.bind(this.panel,this.episode),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="download-button" title="'+this.t("download.episode")+'" aria-label="'+this.t("download.episode")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="download">\n <h3 class="download-title">'+this.t("download.episode")+'</h3>\n <div class="icon icon-download"></div>\n <ul class="download-links">\n <li pp-each-link="downloadLinks">\n <a pp-href="link.url" pp-download="link.filename" pp-class="link.cssClass" target="_blank">{ link.type }</a>\n </li>\n </ul>\n</div>'},e}(o),e.exports=i},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5}],25:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function n(){this.constructor=t}for(var r in e)h.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h={}.hasOwnProperty;r=t("jquery"),s=t("lodash"),u=t("sightglass"),a=t("rivets"),o=t("../extension.coffee"),i=function(t){function e(t){this.app=t,this.renderPanel=c(this.renderPanel,this),this.options=s.extend(this.defaultOptions,this.app.extensionOptions.EpisodeInfo),this.options.disabled||(this.episode=this.app.episode,this.episode&&this.episode.description&&(this.renderPanel(),this.renderButton(),this.app.theme.addExtension(this)))}return l(e,t),e.extension={name:"EpisodeInfo",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),a.bind(this.panel,this.episode),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="episode-info-button" title="'+this.t("episode_info.more_info")+'" aria-label="'+this.t("episode_info.more_info")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="episode-info">\n <h3>'+this.t("episode_info.title")+'</h3>\n <h3 class="episode-title" pp-html="title"></h3>\n <p class="episode-subtitle" pp-html="subtitle"></p>\n <p class="episode-description" pp-html="description | description"></p>\n</div>'},e}(o),e.exports=i},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5}],26:[function(t,e,n){var r,i,o,s,a=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;i=t("../extension.coffee"),r=t("./playerjs/adapter.coffee"),s=t("./playerjs/receiver.coffee"),o=function(t){function e(t){this.app=t,this.player=this.app.player,this.receiver=new s,new r(this.player,this.receiver),this.receiver.ready()}return a(e,t),e.extension={name:"Playerjs",type:"internal"},e}(i),e.exports=o},{"../extension.coffee":22,"./playerjs/adapter.coffee":27,"./playerjs/receiver.coffee":28}],27:[function(t,e,n){var r;r=function(){function t(t,e){this.player=t,this.receiver=e,this.setupEvents(),this.setupMethods()}return t.prototype.setupEvents=function(){return this.player.media.addEventListener("playing",function(t){return function(){return t.receiver.emit("play")}}(this)),this.player.media.addEventListener("pause",function(t){return function(){return t.receiver.emit("pause")}}(this)),this.player.media.addEventListener("ended",function(t){return function(){return t.receiver.emit("ended")}}(this)),this.player.media.addEventListener("timeupdate",function(t){return function(){return t.receiver.emit("timeupdate",{seconds:t.player.media.currentTime,duration:t.player.media.duration})}}(this)),this.player.media.addEventListener("progress",function(t){return function(){return t.receiver.emit("buffered",{percent:t.player.media.buffered.length})}}(this))},t.prototype.setupMethods=function(){return this.receiver.on("play",function(t){return function(){return t.player.play()}}(this)),this.receiver.on("pause",function(t){return function(){return t.player.pause()}}(this)),this.receiver.on("getPaused",function(t){return function(e){return e(t.player.media.paused)}}(this)),this.receiver.on("getCurrentTime",function(t){return function(e){return e(t.player.media.currentTime)}}(this)),this.receiver.on("setCurrentTime",function(t){return function(e){return t.player.media.currentTime=e}}(this)),this.receiver.on("getDuration",function(t){return function(e){return e(t.player.media.duration)}}(this))},t}(),e.exports=r},{}],28:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=function(){function t(){this.emit=o(this.emit,this),this.send=o(this.send,this),this.isReady=!1,r(window).on("message",function(t){return function(e){return t.receive(e)}}(this))}return t.prototype.context="player.js",t.prototype.version="0.0.11",t.prototype.supported={events:["play","pause","ended","error","timeupdate"],methods:["play","pause","addEventListener","removeEventListener","getPaused","getDuration","setCurrentTime","getCurrentTime"]},t.prototype.methods={},t.prototype.eventListeners={},t.prototype.receive=function(t){var e,n,r,i;try{e=window.JSON.parse(t.originalEvent.data)}catch(o){return void(n=o)}if(!e.method)return!1;if(e.context!==this.context)return!1;if(this.supported.methods.indexOf(e.method)===-1)return this.emit("error",{code:2,msg:"Invalid Method "+e.method}),!1;if(i=null!=e.listener?e.listener:null,"addEventListener"===e.method){if(this.eventListeners.hasOwnProperty(e.value)?this.eventListeners[e.value].indexOf(i)===-1&&this.eventListeners[e.value].push(i):this.eventListeners[e.value]=[i],"ready"===e.value&&this.isReady)return this.ready()}else{if("removeEventListener"!==e.method)return this.get(e.method,e.value,i);if(this.eventListeners.hasOwnProperty(e.value)&&(r=this.eventListeners[e.value].indexOf(i),r>-1&&this.eventListeners[e.value].splice(r,1),0===this.eventListeners[e.value].length))return delete this.eventListeners[e.value]}},t.prototype.get=function(t,e,n){var r,i;return this.methods.hasOwnProperty(t)?(i=this.methods[t],"get"===t.substr(0,3)?(r=function(e){return function(r){return e.send(t,r,n)}}(this),i.call(this,r)):i.call(this,e)):(this.emit("error",{code:3,msg:"Method Not Supported '"+t+"'"}),!1)},t.prototype.on=function(t,e){return this.methods[t]=e},t.prototype.send=function(t,e,n){var r,i;return r={context:this.context,version:this.version,event:t},null!=e&&(r.value=e),null!=n&&(r.listener=n),i=JSON.stringify(r),window.parent.postMessage(i,"*")},t.prototype.emit=function(t,e){return!!this.eventListeners.hasOwnProperty(t)&&(Object.keys(this.eventListeners).map(function(n){return function(r){return n.eventListeners[r].map(function(r){return n.send(t,e,r)})}}(this)),!0)},t.prototype.ready=function(){var t;if(this.isReady=!0,t={src:window.location.toString(),events:this.supported.events,methods:this.supported.methods},!this.emit("ready",t))return this.send("ready",t)},t}(),e.exports=i},{jquery:2}],29:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}},p=function(t,e){function n(){this.constructor=t}for(var r in e)f.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f={}.hasOwnProperty;r=t("jquery"),u=t("lodash"),l=t("sightglass"),c=t("rivets"),a=t("../utils.coffee"),i=t("../extension.coffee"),s=function(){function t(t,e){this.episode=t,this.callback=e,this.render=h(this.render,this),this.media=this.context().media,this.episode.duration&&(this.humanDuration=a.secondsToHHMMSS(u.clone(this.episode.duration)))}return t.prototype.humanDuration=null,t.prototype.active=!1,t.prototype.context=function(){return u.merge(this.episode,{active:this.active,humanDuration:this.humanDuration})},t.prototype.activate=function(){if(!this.active)return this.active=!0,this.view.update(this.context())},t.prototype.deactivate=function(){if(this.active)return this.active=!1,this.view.update(this.context())},t.prototype.render=function(){return this.elem=r(this.defaultHtml),this.view=c.bind(this.elem,this.context()),this.elem.data("item",this.context()),this.elem.on("click",this.episode,this.callback),this.elem},t.prototype.defaultHtml='<li pp-class-active="active">\n <a class="episode-link" pp-if="url" pp-href="url" target="_blank">\n <svg id="icon-chain" viewBox="0 0 26 28">\n <title>chain</title>\n <path d="M22.75 19c0-0.406-0.156-0.781-0.438-1.062l-3.25-3.25c-0.281-0.281-0.672-0.438-1.062-0.438-0.453 0-0.812 0.172-1.125 0.5 0.516 0.516 1.125 0.953 1.125 1.75 0 0.828-0.672 1.5-1.5 1.5-0.797 0-1.234-0.609-1.75-1.125-0.328 0.313-0.516 0.672-0.516 1.141 0 0.391 0.156 0.781 0.438 1.062l3.219 3.234c0.281 0.281 0.672 0.422 1.062 0.422s0.781-0.141 1.062-0.406l2.297-2.281c0.281-0.281 0.438-0.656 0.438-1.047zM11.766 7.984c0-0.391-0.156-0.781-0.438-1.062l-3.219-3.234c-0.281-0.281-0.672-0.438-1.062-0.438s-0.781 0.156-1.062 0.422l-2.297 2.281c-0.281 0.281-0.438 0.656-0.438 1.047 0 0.406 0.156 0.781 0.438 1.062l3.25 3.25c0.281 0.281 0.672 0.422 1.062 0.422 0.453 0 0.812-0.156 1.125-0.484-0.516-0.516-1.125-0.953-1.125-1.75 0-0.828 0.672-1.5 1.5-1.5 0.797 0 1.234 0.609 1.75 1.125 0.328-0.313 0.516-0.672 0.516-1.141zM25.75 19c0 1.188-0.484 2.344-1.328 3.172l-2.297 2.281c-0.844 0.844-1.984 1.297-3.172 1.297-1.203 0-2.344-0.469-3.187-1.328l-3.219-3.234c-0.844-0.844-1.297-1.984-1.297-3.172 0-1.234 0.5-2.406 1.375-3.266l-1.375-1.375c-0.859 0.875-2.016 1.375-3.25 1.375-1.188 0-2.344-0.469-3.187-1.313l-3.25-3.25c-0.859-0.859-1.313-1.984-1.313-3.187 0-1.188 0.484-2.344 1.328-3.172l2.297-2.281c0.844-0.844 1.984-1.297 3.172-1.297 1.203 0 2.344 0.469 3.187 1.328l3.219 3.234c0.844 0.844 1.297 1.984 1.297 3.172 0 1.234-0.5 2.406-1.375 3.266l1.375 1.375c0.859-0.875 2.016-1.375 3.25-1.375 1.188 0 2.344 0.469 3.187 1.313l3.25 3.25c0.859 0.859 1.313 1.984 1.313 3.187z"></path>\n </svg>\n </a>\n <span class="playlist-episode-number" pp-if="number">{ number }.</span>\n <span class="playlist-episode-title" pp-html="title"></span>\n <span class="playlist-episode-duration" pp-if="humanDuration">{ humanDuration }</span>\n</li>',t}(),o=function(t){function e(t){this.app=t,this.renderPanel=h(this.renderPanel,this),this.setSkippingAvailability=h(this.setSkippingAvailability,this),this.isLastEntry=h(this.isLastEntry,this),this.isFirstEntry=h(this.isFirstEntry,this),this.playNext=h(this.playNext,this),this.playPrevious=h(this.playPrevious,this),this.playItem=h(this.playItem,this),this.click=h(this.click,this),this.setCurrentEpisode=h(this.setCurrentEpisode,this),this.currentIndex=h(this.currentIndex,this),this.options=u.extend(this.defaultOptions,this.app.extensionOptions.Playlist),this.options.disabled||this.app.podcast.hasEpisodes()&&this.app.podcast.getEpisodes().done(function(t){return function(){return t.episodes=t.app.podcast.episodes,t.renderPanel(),t.renderButton(),t.app.theme.addExtension(t),t.setCurrentEpisode()}}(this))}return p(e,t),e.extension={name:"Playlist",type:"panel"},e.prototype.defaultOptions={showOnStart:!1,disabled:!1},e.prototype.playlist=[],e.prototype.currentEpisode=null,e.prototype.currentIndex=function(){return this.playlist.indexOf(this.currentEpisode)},e.prototype.setCurrentEpisode=function(){var t,e;return e=this.app.player.currentFile(),e?(t=this.cleanFile(e),this.currentEpisode=u.find(this.playlist,function(e){return function(n){var r;return n.deactivate(),r=u.filter(n.media,function(n){var r;return r=e.cleanFile(n),t===r}),r.length}}(this))):this.currentEpisode=this.playlist[0],this.currentEpisode.activate(),this.setSkippingAvailability()},e.prototype.cleanFile=function(t){return t=t.split("?")[0],t=t.split("."),t.pop(),t.join(".")},e.prototype.click=function(t){return this.currentEpisode&&t.data===this.currentEpisode.feedItem?this.app.player.playPause():this.playItem(t.data)},e.prototype.playItem=function(t){return this.updateEpisodeData(t),this.app.player.loadFile(),this.app.player.play(),this.app.initializeExtensions(this),this.app.extensions.ProgressBar.updateView()},e.prototype.playPrevious=function(){var t;if(!this.isFirstEntry())return t=this.playlist[this.currentIndex()+1],this.playItem(t.episode)},e.prototype.playNext=function(){var t;if(!this.isLastEntry())return t=this.playlist[this.currentIndex()-1],this.playItem(t.episode)},e.prototype.isFirstEntry=function(){return this.currentIndex()+1>this.playlist.length},e.prototype.isLastEntry=function(){return 0===this.currentIndex()},e.prototype.setSkippingAvailability=function(){if(this.app.theme.skipBackwardElement.removeClass("disabled"),this.app.theme.skipForwardElement.removeClass("disabled"),this.isLastEntry()&&this.app.theme.skipForwardElement.addClass("disabled"),this.isFirstEntry())return this.app.theme.skipBackwardElement.addClass("disabled")},e.prototype.updateEpisodeData=function(t){return this.app.episode=t,this.app.theme.updateView()},e.prototype.renderPanel=function(){var t;return this.panel=r(this.panelHtml()),t=this.panel.find("ul"),u.each(this.episodes,function(e){return function(n,r){var i;return i=new s(n,e.click),e.playlist.push(i),t.append(i.render())}}(this)),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="playlist-button" title="'+this.t("playlist.show")+'" aria-label="'+this.t("playlist.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="playlist">\n <h3>'+this.t("playlist.title")+"</h3>\n\n <ul></ul>\n</div>"},e}(i),e.exports=o},{"../extension.coffee":22,"../utils.coffee":42,jquery:2,lodash:3,rivets:4,sightglass:5}],30:[function(t,e,n){var r,i,o,s,a,u,c,l=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function n(){this.constructor=t}for(var r in e)p.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},p={}.hasOwnProperty;r=t("jquery"),a=t("lodash"),c=t("sightglass"),u=t("rivets"),s=t("urijs"),i=t("../extension.coffee"),o=function(t){function e(t){this.app=t,this.copyUrlAction=l(this.copyUrlAction,this),this.bindEvents=l(this.bindEvents,this),this.attachEvents=l(this.attachEvents,this),this.renderPanel=l(this.renderPanel,this),this.shareUrl=l(this.shareUrl,this),this.updateContext=l(this.updateContext,this),this.buildContext=l(this.buildContext,this),this.shareLinks=l(this.shareLinks,this),this.episode=this.app.episode,this.episode&&this.episode.url&&(this.options=a.extend(this.defaultOptions,this.app.extensionOptions.Share),this.options.disabled||(this.buildContext(),this.renderPanel(),this.renderButton(),this.attachEvents(),this.app.theme.addExtension(this)))}return h(e,t),e.extension={name:"Share",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.shareLinks=function(t){var e,n,r,i,o;return o=encodeURI(this.shareUrl()),n=this.audioFileUrl(),i=encodeURI(this.episode.title),e=encodeURI(this.episode.coverUrl),r={email:"mailto:?subject=Podcast: "+i+"&body="+o,facebook:"https://www.facebook.com/sharer/sharer.php?u="+o+"&t="+i,googleplus:"https://plus.google.com/share?url="+o,twitter:"https://twitter.com/intent/tweet?url="+o+"&text="+i,whatsapp:"whatsapp://send?text="+i+": "+o}},e.prototype.audioFileUrl=function(){var t;return t=this.app.episode.media.mp3||this.app.episode.media.m4a,encodeURI(t)},e.prototype.buildContext=function(){var t;return null==this.context&&(this.context={}),this.context.currentTime=this.app.player.currentTime,this.context.currentTimeInSeconds=this.app.player.currentTimeInSeconds,this.context.shareLinks=this.shareLinks(this.context.currentTimeInSeconds),this.context.url=this.shareUrl(),null==(t=this.context).showUrlWithTime&&(t.showUrlWithTime=!1),this.context.updateContext=this.updateContext,this.context.embedCode=this.app.episode.embedCode,this.context.showEmbedUrl=this.app.options.configViaJSON},e.prototype.updateContext=function(){return this.buildContext()},e.prototype.shareUrl=function(){var t,e,n;return t=s(this.episode.url),(null!=(e=this.context)?e.showUrlWithTime:void 0)?(n=Math.round(this.context.currentTimeInSeconds),t.fragment("t="+n)):this.episode.url},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),u.bind(this.panel,this.context),this.panel.hide(),this.bindEvents()},e.prototype.attachEvents=function(){return r(this.app.player.media).on("timeupdate",this.buildContext)},e.prototype.bindEvents=function(){return this.panel.find(".share-copy-url").on("focus",this.copyUrlAction),this.panel.find(".share-embed-code").on("focus",this.copyUrlAction),this.panel.find("[name='enable-start-at']").on("change",this.toggleStartAt)},e.prototype.copyUrlAction=function(t){return t.target.select()},e.prototype.buttonHtml=function(){return'<button class="share-button" title="'+this.t("share.episode_url")+'" aria-label="'+this.t("share.episode_url")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="share">\n <h3 class="share-title">'+this.t("share.episode")+'</h3>\n <ul class="share-social-links">\n <li><a pp-href="shareLinks.facebook" class="share-link-facebook" target="_blank">Facebook</a></li>\n <li><a pp-href="shareLinks.googleplus" class="share-link-googleplus" target="_blank">Google+</a></li>\n <li><a pp-href="shareLinks.twitter" class="share-link-twitter" target="_blank">Twitter</a></li>\n <li><a pp-href="shareLinks.whatsapp" class="share-link-whatsapp" target="_blank">Whatsapp</a></li>\n <li><a pp-href="shareLinks.email" class="share-link-email" target="_blank">'+this.t("share.email")+'</a></li>\n </ul>\n <div class="share-episode-link">\n <h3>'+this.t("share.copy_episode_link")+'</h3>\n <p>\n <input class="share-copy-url" pp-value="url">\n </p>\n </div>\n <div class="share-deeplink">\n <input type="checkbox" pp-checked="showUrlWithTime" pp-on-change="updateContext">\n '+this.t("share.start_at")+'\n <input type="text" pp-value="currentTime" disabled="disabled">\n </div>\n <div class="share-embed" pp-show="showEmbedUrl">\n <h3>'+this.t("share.embed_player")+'</h3>\n <input class="share-embed-code" pp-value="embedCode"/>\n </div>\n</div>'},e}(i),e.exports=o},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5,urijs:9}],31:[function(t,e,n){var r,i,o,s,a,u,c,l,h,p,f,d=function(t,e){return function(){return t.apply(e,arguments)}},g=function(t,e){function n(){this.constructor=t}for(var r in e)v.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},v={}.hasOwnProperty;r=t("jquery"),h=t("lodash"),f=t("sightglass"),p=t("rivets"),window.WebVTT=l=t("vtt.js").WebVTT,window.navigator.appVersion.match(/Trident/)&&(window.VTTCue=c=t("vtt.js").VTTCue),i=t("../extension.coffee"),u=t("../utils.coffee"),a=t("./transcript/line.coffee"),o=t("./transcript/search.coffee"),s=function(t){function e(t){this.app=t,this.renderPanel=d(this.renderPanel,this),this.setActiveLine=d(this.setActiveLine,this),this.deactivateAll=d(this.deactivateAll,this),this.activateLine=d(this.activateLine,this),this.bindEvents=d(this.bindEvents,this),this.parseWebVTT=d(this.parseWebVTT,this),this.parseTimScript=d(this.parseTimScript,this),this.processTranscript=d(this.processTranscript,this),this.load=d(this.load,this),this.options=h.extend(this.defaultOptions,this.app.extensionOptions.Transcript),this.options.disabled||this.app.episode&&this.app.episode.transcript&&(this.transcript=this.app.episode.transcript,this.search=new o(this.app),this.load().done(function(t){return function(){return t.renderPanel(),t.renderButton(),t.app.theme.addExtension(t),t.bindEvents()}}(this)))}return g(e,t),e.extension={name:"Transcript",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.transcriptFileFormat=function(){return h.last(this.transcript.split("."))},e.prototype.data={transcript:""},e.prototype.load=function(){var t;return t=this.app.externalData.get(this.transcript),t.done(function(t){return function(e){return t.processTranscript(e)}}(this))},e.prototype.processTranscript=function(t){var e;return e="vtt"===this.transcriptFileFormat()?this.parseWebVTT(t):"srt"===this.transcriptFileFormat()?this.parseSrt(t):"json"===this.transcriptFileFormat()?this.parseJson(t):this.parseTimScript(t),
|
11
|
+
this.data.transcript=e.join("")},e.prototype.parseTimScript=function(t){var e;return e=t.split("\n"),e.map(function(t){return function(e){var n,r,i,o;if(""!==e)return r=e.match(/^\[(.*) (.*)\]/),i=e.match(/\] (.*)/),o=r[1],n={time:o.split(".")[0],timestamp:u.hhmmssToSeconds(o),speaker:r[2],text:i?i[1]:void 0},t.renderLine(n)}}(this))},e.prototype.parseSrt=function(t){var e,n;return n=t.search("\n\r\n")>-1?"\n\r\n":"\n\n",e=t.split(n),e.map(function(t){return function(e){var n,r,i;return r=e.split("\n"),r.length<3?"":(i=r[1].split(" --> "),n={id:parseInt(r[0],10),time:i[0].split(",")[0],timestamp:u.hhmmssToSeconds(i[0]),text:r.slice(2).join("\n")},t.renderLine(n))}}(this))},e.prototype.parseWebVTT=function(t){var e,n,r;return e=[],n=new l.Parser(window,l.StringDecoder()),n.oncue=function(t){return e.push(t)},n.parse(t),n.flush(),r=this.app.player.media.addTextTrack("captions","Transcript"),r.mode="showing",e.map(function(t){return function(e){var n,i,o;return window.navigator.appVersion.match(/Trident/)||r.addCue(e),o=Math.round(e.startTime),n=e.getCueAsHTML().firstChild,i={time:u.secondsToHHMMSS(o),timestamp:o.toString(),speaker:n.title,text:n.textContent},t.renderLine(i)}}(this))},e.prototype.parseJson=function(t){return t.transcription.map(function(t){return function(e){var n;return n={time:u.secondsToHHMMSS(e.start),timestamp:e.start.toString(),speaker:e.speaker,text:e.text},t.renderLine(n)}}(this))},e.prototype.renderLine=function(t){var e;return e=new a(t),this.search.addLine(e),e.render().prop("outerHTML")},e.prototype.currentSearchResultIndex=0,e.prototype.bindEvents=function(){return r(this.app.player.media).on("timeupdate",this.setActiveLine),this.panel.find("li").click(function(t){return function(e){return t.app.player.setCurrentTime(e.currentTarget.dataset.timestamp)}}(this)),this.search.initInterface(this,this.panel)},e.prototype.activateLine=function(t){var e;if(e=r(t),!e.hasClass("active"))return e.addClass("active"),this.scrollToLine(t)},e.prototype.scrollToLine=function(t){if(t)return this.panel.find("ul").width()<517?this.panel.find("ul").scrollTop(t.offsetTop-80):this.panel.find("ul").scrollTop(t.offsetTop-50)},e.prototype.deactivateAll=function(t){return r(t).siblings().removeClass("active")},e.prototype.setActiveLine=function(){var t,e;return t=this.app.player.media.currentTime,e=this.panel.find("li"),t<=parseInt(e.first().data("timestamp"),10)?(this.activateLine(e[0]),this.deactivateAll(e[0])):h(e).findLast(function(e){return function(n){var r;if(r=parseInt(n.dataset.timestamp,10),t>=r)return e.activateLine(n),e.deactivateAll(n)}}(this))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),p.bind(this.panel,this.data),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="transcript-button" title="'+this.t("transcript.show")+'" aria-label="'+this.t("transcript.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="transcript">\n <h3>'+this.t("transcript.title")+'</h3>\n\n <div class="search"></div>\n\n <ul class="transcript-text" pp-html="transcript"></ul>\n</div>'},e}(i),e.exports=s},{"../extension.coffee":22,"../utils.coffee":42,"./transcript/line.coffee":32,"./transcript/search.coffee":33,jquery:2,lodash:3,rivets:4,sightglass:5,"vtt.js":11}],32:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),s=t("sightglass"),o=t("rivets"),i=function(){function t(t){this.render=a(this.render,this),this.data=t}return t.prototype.render=function(){return this.line=r(this.defaultHtml),o.bind(this.line,this.data),this.line},t.prototype.defaultHtml='<li class="transcript-line" pp-data-timestamp="timestamp">\n <span class="transcript-line-timestamp" pp-if="time">{ time }</span>\n <span class="transcript-line-speaker" pp-if="speaker">\n [{ speaker }]\n </span>\n <span class="transcript-line-text" pp-if="text" pp-html="text"></span>\n</li>',t}(),e.exports=i},{jquery:2,rivets:4,sightglass:5}],33:[function(t,e,n){var r,i,o,s,a,u;r=t("jquery"),o=t("lodash"),s=t("elasticlunr"),u=t("sightglass"),a=t("rivets"),i=function(){function t(t){this.app=t,this.setupIndex()}return t.prototype.setupIndex=function(){return this.index=s(function(){return this.addField("time"),this.addField("speaker"),this.addField("text"),this.setRef("timestamp")}),this.index.pipeline.reset()},t.prototype.addLine=function(t){return this.index.addDoc(t.data)},t.prototype.find=function(t){return this.index.search(t,{fields:{speaker:{boost:1},text:{boost:1}},expand:!0})},t.prototype.results=[],t.prototype.initInterface=function(t,e){var n,i,s,a,u,c,l,h,p,f,d,g;return l=e.find(".search"),i=this.render(),l.append(i),f=l.find(".search-result"),c=l.find("input"),u=l.find(".search-clear"),p=f.find(".search-result-prev"),h=f.find(".search-result-next"),d=f.find(".search-result-size"),g=e.find(".transcript-text li"),n=[],s=function(e){return function(){return e.currentSearchResultIndex<e.results.length?e.currentSearchResultIndex=e.currentSearchResultIndex+1:e.currentSearchResultIndex=1,t.scrollToLine(n[e.currentSearchResultIndex-1]),e.updateSearchResult()}}(this),a=function(e){return function(){return e.currentSearchResultIndex>1?e.currentSearchResultIndex=e.currentSearchResultIndex-1:e.currentSearchResultIndex=e.results.length,t.scrollToLine(n[e.currentSearchResultIndex-1]),e.updateSearchResult()}}(this),c.on("keyup",function(i){return function(u){return 13===u.keyCode?s():(i.query=i.data.query=u.target.value,i.results=o.sortBy(i.find(i.query),function(t){return parseInt(t.ref,10)}),g.removeClass("search-highlight"),i.results.length?(n=i.results.map(function(t,n){return e=o.find(g,function(e){return function(e){return e.dataset.timestamp===t.ref}}(this))},i),r(n).addClass("search-highlight"),i.updateSearchResult(),t.scrollToLine(n[i.currentSearchResultIndex-1]),p.off("click").on("click",a),h.off("click").on("click",s)):(i.currentSearchResultIndex=1,i.updateSearchResult()))}}(this)),u.on("click",function(t){return c.val(null),c.trigger("keyup")})},t.prototype.currentSearchResultIndex=1,t.prototype.updateSearchResult=function(){return this.results.length?this.data.currentIndex=this.currentSearchResultIndex:this.data.currentIndex=0,this.data.resultCount=this.results.length},t.prototype.data={currentIndex:0,resultCount:0,query:null},t.prototype.render=function(){var t;return t=r(this.html()),a.bind(t,this.data),t},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.html=function(){return'<div class="search-result" pp-show="query">\n <button class="search-result-prev"></button>\n <span class="search-result-size">{currentIndex}/{resultCount}</span>\n <button class="search-result-next"></button>\n</div>\n<input type="text" class="search-input" placeholder="'+this.t("transcript.search")+'">\n<button class="search-clear" pp-show="query">×</button>'},t}(),e.exports=i},{elasticlunr:1,jquery:2,lodash:3,rivets:4,sightglass:5}],34:[function(t,e,n){var r,i;r=t("jquery"),i=function(){function t(t){this.sslProxy=t.options.sslProxy}return t.prototype.get=function(t,e){var n;return n=r.Deferred(),t=null!=t.match(/^http:/)&&this.sslProxy?""+this.sslProxy+t:t,r.get(t,e||{},function(t){return n.resolve(t)}),n.promise()},t}(),e.exports=i},{jquery:2}],35:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=t("./audio_file.coffee"),s=function(){function t(t,e){this.xml=t,this.podcastCoverUrl=e,this._mapEnclosure=a(this._mapEnclosure,this),this._extract=a(this._extract,this)}return t.prototype.episodeAttributes=function(){return{title:this._extract("title").html(),subtitle:this._findSubtitle(),href:this._extract("link").html(),url:this._extract("link").html(),media:this._mapEnclosure(),description:this._cleanDescription(this._extract("description").html()),duration:parseInt(this._extract("duration").text(),10),coverUrl:this._extract("image").attr("href")||this.podcastCoverUrl,number:null,chaptermarks:null,embedCode:null}},t.prototype._extract=function(t){return null!=this[t]?this[t]:this[t]=r(this.xml).find(t)},t.prototype._findSubtitle=function(){return this._extract("subtitle").html()},t.prototype._cleanDescription=function(t){return t.match(/^<!/)?t.match(/<!\[CDATA\[([\s\S]*)]]>$/)[1]:t},t.prototype._mapEnclosure=function(){var t,e,n,r;return e={},t=this._extract("enclosure"),r=t.attr("url"),n=t.attr("type"),e[this._enclosureMapping(n)]=r,e},t.prototype._enclosureMapping=function(t){return{"audio/aac":"m4a","audio/mp4":"m4a","audio/mpeg":"mp3",'audio/ogg; codecs="vorbis"':"ogg",'audio/ogg; codecs="opus"':"opus"}[t]},t}(),o=function(){function t(t,e){this.app=t,this.feedUrl=e}return t.prototype.fetch=function(){var t;return t=this,this.promise=this.app.externalData.get(this.feedUrl),this.promise.done(function(e){return t.episodes=r(e).find("item").map(function(n,r){return new s(r,t.podcastCover(e)).episodeAttributes()})}),t},t.prototype.podcastCover=function(t){return r(t).find("channel image").first().find("url").text()||r(t).find("channel > image").last().attr("href")},t}(),e.exports=o},{"./audio_file.coffee":18,jquery:2}],36:[function(t,e,n){var r;r=function(){function t(t,e){this.locale=t,this.defaultLocale=e,this.locale||(this.locale=this.locale||this.getLocale())}var e,n;return n=["en-US","de-DE"],e=["en","de"],t.prototype.getLocale=function(){var t,e,n;return n=this.getUserPreferredLocale(),e=this.getLanguageFromLocale(n),t=this.getLocaleForLanguage(e),t||this.defaultLocale},t.prototype.getUserPreferredLocale=function(){return navigator.language||navigator.userLanguage},t.prototype.getLanguageFromLocale=function(t){return t.substring(0,2)},t.prototype.getLocaleForLanguage=function(t){switch(t){case"en":return"en-US";case"de":return"de-DE"}},t.prototype.t=function(t){var e,n,r,i,o;for(r=t.split("."),o=this.translationMap[this.locale],e=0,i=r.length;e<i;e++)n=r[e],o=o[n];return o?o:t},t.prototype.translationMap={"en-US":{chaptermarks:{show:"Show chaptermarks",title:"Chaptermarks"},chromecast:{play:"Play on chromecast"},download:{episode:"Download episode"},episode_info:{more_info:"Show more info",title:"Episode info"},playlist:{show:"Show playlist",title:"Playlist"},share:{copy_episode_link:"Copy episode link",email:"Email",embed_player:"Embed player",episode:"Episode",episode_url:"Share link to episode",start_at:"Start at"},theme:{playPause:"Play/Pause",backward:"Backward 10s",forward:"Forward 30s",changePlaybackSpeed:"Change Playback Speed"},transcript:{search:"Search in transcript",show:"Show transcription",title:"Transcription"},subscribeBar:{allEpisodes:"All Episodes",podcastOnItunes:"View Podcast on iTunes",podcastOnSpotify:"View Podcast on Spotify",podcastOnDeezer:"View Podcast on Deezer",subscribe:"Subscribe"}},"de-DE":{chaptermarks:{show:"Kapitelmarken anzeigen",title:"Kapitelmarken"},chromecast:{play:"Auf Chromecast abspielen"},download:{episode:"Episode herunterladen"},episode_info:{more_info:"Mehr Infos anzeigen",title:"Episoden-Infos"},playlist:{show:"Wiedergabeliste anzeigen",title:"Wiedergabeliste"},share:{copy_episode_link:"Link zur Episode kopieren",email:"E-Mail",embed_player:"Player einbetten",episode:"Episode",episode_url:"Link zur Episode teilen",start_at:"Wiedergabe ab"},theme:{playPause:"Play/Pause",backward:"10s zurück",forward:"30s vorwärts",changePlaybackSpeed:"Abspielgeschwindigkeit ändern"},transcript:{search:"Transkript durchsuchen",show:"Transkript anzeigen",title:"Transkript"},subscribeBar:{allEpisodes:"Alle Episoden",podcastOnItunes:"Podcast auf iTunes ansehen",podcastOnSpotify:"Podcast auf Spotify ansehen",podcastOnDeezer:"Podcast auf Deezer ansehen",subscribe:"Abonnieren"}}},t}(),e.exports=r},{}],37:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),u=t("lodash"),i=t("./audio_file.coffee"),o=t("./deeplink_parser.coffee"),a=t("./utils.coffee"),s=function(){function t(t,e){var n;this.app=t,this.playPause=c(this.playPause,this),this.setPlaySpeed=c(this.setPlaySpeed,this),this.setDuration=c(this.setDuration,this),this.checkStopTime=c(this.checkStopTime,this),this.setCurrentTime=c(this.setCurrentTime,this),this.setInitialTime=c(this.setInitialTime,this),this.updateTime=c(this.updateTime,this),this.attachEvents=c(this.attachEvents,this),this.loadFile=c(this.loadFile,this),this.currentFile=c(this.currentFile,this),this.changePlaySpeed=c(this.changePlaySpeed,this),this.skipForward=c(this.skipForward,this),this.skipBackward=c(this.skipBackward,this),this.jumpForward=c(this.jumpForward,this),this.jumpBackward=c(this.jumpBackward,this),n=this,n.media=e,a.isIE9()?n.media.preload="metadata":n.media.preload="none",this.loadFile(),this.attachEvents(),this.app.init(n),this.setInitialTime()}return t.prototype.jumpBackward=function(t){return t=t||this.app.options.backwardSeconds,this.media.currentTime=this.media.currentTime-t},t.prototype.jumpForward=function(t){return t=t||this.app.options.forwardSeconds,this.media.currentTime=this.media.currentTime+t},t.prototype.skipBackward=function(){return this.pause(),this.app.extensions.Playlist.playPrevious()},t.prototype.skipForward=function(){return this.pause(),this.app.extensions.Playlist.playNext()},t.prototype.changePlaySpeed=function(){var t;return t=this.app.options.playbackRates.indexOf(this.app.options.currentPlaybackRate)+1,t>=this.app.options.playbackRates.length&&(t=0),this.setPlaySpeed(this.app.options.playbackRates[t])},t.prototype.currentFile=function(){return this.media.src},t.prototype.loadFile=function(){var t;return this.pause(),t=u.map(this.app.episode.media,function(t){return function(e,n){return new i(n,e,t.media)}}(this)),t=this.filterUnplayable(t),t=this.sortByPlayability(t),t=this.sortByFormat(t),this.media.src=t[0].uri,this.setDuration()},t.prototype.filterUnplayable=function(t){return u.filter(t,function(t){return""!==t.playable})},t.prototype.sortByPlayability=function(t){return u.sortBy(t,function(t){return"maybe"===t.playable?1:"probably"===t.playable?-1:0})},t.prototype.sortByFormat=function(t){return u.sortBy(t,function(t){return"probably"===t.playable&&"opus"===t.format?-100:"probably"===t.playable&&"m4a"===t.format?-90:"maybe"===t.playable&&"mp3"===t.format?-90:0})},t.prototype.attachEvents=function(){return r(this.media).on("timeupdate",this.updateTime),r(this.media).on("loadedmetadata",this.app.mediaLoaded),r(this.media).on("loadedmetadata",this.setInitialTime),r(this.media).on("durationchange",this.app.mediaLoaded),r(this.media).on("canplay",this.app.mediaLoaded),r(this.media).on("error",this.app.mediaLoadError),r(this.media).on("ended",this.app.mediaEnded)},t.prototype.updateTime=function(){return this.setCurrentTime(),this.checkStopTime()},t.prototype.setInitialTime=function(){var t;if(t=new o(this.app.options.parentLocationHash),t.startTime>0&&(this.currentTimeInSeconds=t.startTime,this.media.currentTime=t.startTime,this.app.updateTime(this.currentTimeInSeconds)),null!=t.endTime)return this.stopTime=t.endTime},t.prototype.setCurrentTime=function(t){return t?(this.currentTimeInSeconds=t,this.media.currentTime=t):this.currentTimeInSeconds=this.media.currentTime,this.currentTime=a.secondsToHHMMSS(this.currentTimeInSeconds),this.app.updateTime(this.currentTimeInSeconds)},t.prototype.checkStopTime=function(){if(null!=this.stopTime)return this.currentTimeInSeconds>=this.stopTime?(this.stopTime=null,this.pause()):void 0},t.prototype.setDuration=function(){var t,e;return this.app.episode.duration?(this.app.episode.humanDuration=a.secondsToHHMMSS(u.clone(this.app.episode.duration)),void(this.duration=this.app.episode.duration)):(t=function(){return window.clearInterval(e)},e=window.setInterval(function(e){return function(n){if(e.media.readyState>0)return e.app.episode.duration=e.media.duration,e.duration=e.media.duration,e.app.episode.humanDuration=a.secondsToHHMMSS(u.clone(e.app.episode.duration)),t()}}(this),500))},t.prototype.setPlaySpeed=function(t){return this.media.playbackRate=this.app.options.currentPlaybackRate=t},t.prototype.playPause=function(){return this.media.paused?this.play():this.pause()},t.prototype.play=function(){var t;if(this.media.paused)return this.media.readyState<2&&this.app.theme.addLoadingClass(),this.media.readyState<1&&this.currentTimeInSeconds&&this.currentTimeInSeconds!==this.media.currentTime&&(t=function(e){return function(){return e.media.currentTime=e.currentTimeInSeconds,r(e.media).off("loadedmetadata",t)}}(this),r(this.media).on("loadedmetadata",t)),this.media.play(),this.playing=!0,this.app.togglePlayState()},t.prototype.pause=function(){if(!this.media.paused)return this.media.pause(),this.playing=!1,this.app.togglePlayState()},t.prototype.playing=!1,t}(),e.exports=s},{"./audio_file.coffee":18,"./deeplink_parser.coffee":21,"./utils.coffee":42,jquery:2,lodash:3}],38:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),s=t("lodash"),i=t("./feed.coffee"),o=function(){function t(t,e){this.app=t,this.attributes=e,this.fetchEpisodes=a(this.fetchEpisodes,this),this.assignAttributes(),this.feed=null!=this.attributes.feed?new i(this.app,this.attributes.feed):void 0}return t.prototype.assignAttributes=function(){return this.title=this.attributes.title,this.subtitle=this.attributes.subtitle,this.url=this.attributes.url,this.connections=this.attributes.connections,this.language=this.attributes.language},t.prototype.forTheme=function(){return{podcastTitle:this.title,podcastSubtitle:this.subtitle,podcastUrl:this.url,podcastConnections:this.connections}},t.prototype.feed=null,t.prototype.hasEpisodes=function(){return!!this.attributes.episodes&&(!Array.isArray(this.attributes.episodes)||(this.attributes.episodes.length||null!=this.feed))},t.prototype.episodes=[],t.prototype.getEpisodes=function(){var t,e,n;return null!=this.attributes.episodes&&this.attributes.episodes.length?Array.isArray(this.attributes.episodes)?(t=r.Deferred(),this.episodes=this.attributes.episodes,t.resolve(),t.promise()):this.fetchEpisodes(this.attributes.episodes,0):null!=this.feed?(n=this,e=this.feed.fetch(),e.promise.done(function(t){return n.episodes=e.episodes}),e.promise):(t=r.Deferred(),t.resolve(),t.promise())},t.prototype.fetchEpisodes=function(t,e){var n,r,i,o;return o=this,n=10,r={page_size:n,offset:n*e},i=this.app.externalData.get(t,r),i.done(function(t){return o.episodes=t.episodes}),i},t}(),e.exports=o},{"./feed.coffee":35,jquery:2,lodash:3}],39:[function(t,e,n){var r,i,o,s,a,u=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),a=t("sightglass"),s=t("rivets"),o=t("./utils.coffee"),i=function(){function t(t){this.app=t,this.updatePlayed=u(this.updatePlayed,this),this.timeRailFactor=u(this.timeRailFactor,this),this.barWidth=u(this.barWidth,this),this.handleDrop=u(this.handleDrop,this),this.handleDrag=u(this.handleDrag,this),this.jumpToPosition=u(this.jumpToPosition,this),this.handlePickup=u(this.handlePickup,this),this.handleLetgo=u(this.handleLetgo,this),this.triggerLoaded=u(this.triggerLoaded,this),this.triggerPlaying=u(this.triggerPlaying,this),this.triggerLoading=u(this.triggerLoading,this),this.updateLoaded=u(this.updateLoaded,this),this.updateView=u(this.updateView,this),this.updateTime=u(this.updateTime,this),this.updateBarWidths=u(this.updateBarWidths,this),this.switchTimeDisplay=u(this.switchTimeDisplay,this),this.init=u(this.init,this),this.app.theme.progressBarElement.length&&(this.elem=this.app.theme.progressBarElement,this.player=this.app.player,this.media=this.app.player.media,this.init())}return t.extension={name:"ProgressBar",type:"progress"},t.prototype.init=function(){return this.render(),this.findElements(),this.bindEvents(),this.hideBuffering(),this.updateTime(0)},t.prototype.showBuffering=function(){return this.bufferingElement.show()},t.prototype.hideBuffering=function(){return this.bufferingElement.hide()},t.prototype.switchTimeDisplay=function(){return this.timeMode="countup"===this.timeMode?"countdown":"countup",this.updateTime()},t.prototype.updateBarWidths=function(){return this.updatePlayed(),this.updateLoaded()},t.prototype.updateTime=function(t){var e,n,r;if("number"==typeof t)return e=t||this.media.currentTime,t="countup"===this.timeMode?(n="",e):(n="-",this.player.duration-e),isNaN(t)&&(t=0),r=o.secondsToHHMMSS(t),this.currentTime=n+r,this.view.update(this.context()),this.updatePlayed(),r},t.prototype.updateView=function(){var t;return t=r("<progress-bar>"),this.elem.replaceWith(t),this.elem=r("progress-bar"),this.init(),this.view.update(this.context())},t.prototype.updateLoaded=function(t){var e;if(this.media.seekable.length)return e=this.media.seekable.end(this.media.seekable.length-1)*this.timeRailFactor(),this.loadedElement.css("margin-left",0).width(e)},t.prototype.context=function(){return{time:this.currentTime||o.secondsToHHMMSS(0)}},t.prototype.render=function(){var t;return t=r(this.template),this.view=s.bind(t,this.context()),this.elem.replaceWith(t),this.elem=r(".progress-bar")},t.prototype.template='<div class="progress-bar">\n <div class="progress-bar-time-played" title="Switch display mode">{ time }</div>\n <div class="progress-bar-rail">\n <span class="progress-bar-loaded"></span>\n <span class="progress-bar-buffering"></span>\n <span class="progress-bar-played"></span>\n </div>\n</div>',t.prototype.findElements=function(){return this.timeElement=this.elem.find(".progress-bar-time-played"),this.railElement=this.elem.find(".progress-bar-rail"),this.playedElement=this.elem.find(".progress-bar-played"),this.loadedElement=this.elem.find(".progress-bar-loaded"),this.bufferingElement=this.elem.find(".progress-bar-buffering")},t.prototype.triggerLoading=function(){return this.updateLoaded(),this.showBuffering()},t.prototype.triggerPlaying=function(){return this.updateLoaded(),this.hideBuffering()},t.prototype.triggerLoaded=function(){return this.updateLoaded(),this.hideBuffering()},t.prototype.handleLetgo=function(t){return r(this.app.elem).off("mousemove"),r(this.app.elem).off("mouseup"),r(this.app.elem).off("mouseleave"),r(this.app.elem).off("touchmove"),r(this.app.elem).off("touchend"),this.handleDrop(t)},t.prototype.handlePickup=function(t){return r(this.app.elem).on("mousemove",this.handleDrag),r(this.app.elem).on("mouseup",this.handleLetgo),r(this.app.elem).on("mouseleave",this.handleLetgo),r(this.app.elem).on("touchmove",this.handleDrag),r(this.app.elem).on("touchend",this.handleLetgo)},t.prototype.bindEvents=function(){return this.timeElement.on("click",this.switchTimeDisplay),r(this.media).on("timeupdate",this.updateTime).on("play",this.triggerPlaying).on("playing",this.triggerPlaying).on("waiting",this.triggerLoading).on("loadeddata",this.triggerLoaded).on("progress",this.updateLoaded),this.elem.on("mousedown",this.handlePickup),this.elem.on("touchstart",this.handlePickup)},t.prototype.jumpToPosition=function(t){var e,n;if(this.player.duration&&(n=this.player.duration/this.barWidth(),e=n*t,e!==this.media.currentTime))return this.player.setCurrentTime(e)},t.prototype.handleDrag=function(t){var e;if(e=o.calculateCursorPosition(t,this.elem[0]),e<=this.barWidth())return this.playedElement.width(e+"px")},t.prototype.handleDrop=function(t){var e;if(e=o.calculateCursorPosition(t,this.elem[0]),e<=this.barWidth())return this.jumpToPosition(e)},t.prototype.barWidth=function(){return this.railElement.width()},t.prototype.timeRailFactor=function(){return this.barWidth()/this.player.duration},t.prototype.updatePlayed=function(){var t;return t=this.media.currentTime*this.timeRailFactor(),this.playedElement.width(t)},t}(),e.exports=i},{"./utils.coffee":42,jquery:2,rivets:4,sightglass:5}],40:[function(t,e,n){var r;r=function(){function t(){}return t.open=function(t){var e;return this.app=t,e=JSON.stringify({listenTo:"subscribeButtonTrigger",id:this.app.options.id,detail:{title:this.app.podcast.title,subtitle:this.app.podcast.subtitle,cover:this.app.episode.coverUrl,feeds:[{url:this.app.podcast.feed.feedUrl,type:"audio",format:"mp3"}],options:{language:this.app.podcast.language}}}),window.parent.postMessage(e,"*")},t}(),e.exports=r},{}],41:[function(t,e,n){var r,i,o,s,a,u,c,l=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),a=t("lodash"),c=t("sightglass"),u=t("rivets"),i=t("./custom_styles.coffee"),o=t("./subscribe_button.coffee"),s=function(){function t(t){this.app=t,this.togglePanel=l(this.togglePanel,this),this.addExtension=l(this.addExtension,this),this.addButton=l(this.addButton,this),this.removePanels=l(this.removePanels,this),this.removeButtons=l(this.removeButtons,this),this.changeActiveButton=l(this.changeActiveButton,this),this.bindCoverLoad=l(this.bindCoverLoad,this),this.loadCss=l(this.loadCss,this),this.loadHtml=l(this.loadHtml,this),this.loadInternalTheme=l(this.loadInternalTheme,this),this.loadThemeFiles=l(this.loadThemeFiles,this),this.addCustomStyles=l(this.addCustomStyles,this),this.updateView=l(this.updateView,this),this.render=l(this.render,this),this.context=l(this.context,this),this.orFunction=l(this.orFunction,this),this.themeConfig=l(this.themeConfig,this),this.loadThemeFiles(),this.addCustomStyles()}return t.prototype.themeConfig=function(){var t;return t=this.app.extensionOptions.SubscribeBar,{showSubscribeBar:(null!=t?t.disabled:void 0)===!1,translations:{playPause:this.t("theme.playPause"),backward:this.t("theme.backward"),forward:this.t("theme.forward"),speed:this.t("theme.changePlaybackSpeed"),allEpisodes:this.t("subscribeBar.allEpisodes"),podcastOnItunes:this.t("subscribeBar.podcastOnItunes"),podcastOnSpotify:this.t("subscribeBar.podcastOnSpotify"),podcastOnDeezer:this.t("subscribeBar.podcastOnDeezer"),subscribe:this.t("subscribeBar.subscribe")},customOptions:this.app.customOptions,or:this.orFunction}},t.prototype.orFunction=function(t,e){return t||e},t.prototype.context=function(){return a.merge(this.app.episode,this.app.podcast.forTheme(),this.themeConfig())},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.html=null,t.prototype.render=function(){return this.elem=r(this.html),this.view=u.bind(this.elem,this.context()),r(this.app.elemClass).replaceWith(this.elem),this.addEmbedModeClass(),this.findElements(),this.bindCoverLoad(),this.elem},t.prototype.updateView=function(){return this.view.update(this.context())},t.prototype.addCustomStyles=function(){var t;if(t=new i(this.app.options.customStyle).toStyleTag())return r("head").append(t)},t.prototype.loadThemeFiles=function(){var t,e,n;return t=this.app.options.theme||"default",n=this.app.options.themeHtml||t.html,e=this.app.options.themeCss||t.css,n&&e?(this.loadCss(e),this.loadHtml(n)):t.constructor===String?this.loadInternalTheme(t):void 0},t.prototype.loadInternalTheme=function(t){var e;return e="themes/"+t+"/index",this.loadCss(e+".css"),this.loadHtml(e+".html")},t.prototype.loadHtml=function(t){var e,n;return e=r.Deferred(),n=this,r.get(t).done(function(t){return function(t){return n.html=t,e.resolve()}}(this)),this.loaded=e.promise()},t.prototype.loadCss=function(t){var e;return e=r("<link>").attr({href:t,rel:"stylesheet",type:"text/css",media:"all"}),r("head").append(e)},t.prototype.addPlayingClass=function(){return this.elem.addClass("playing")},t.prototype.removePlayingClass=function(){return this.elem.removeClass("playing")},t.prototype.addLoadingClass=function(){return this.removePlayingClass(),this.elem.addClass("loading")},t.prototype.removeLoadingClass=function(){return this.elem.removeClass("loading")},t.prototype.addFailedLoadingClass=function(){return this.elem.addClass("error-loading")},t.prototype.addEmbedModeClass=function(){var t;return t="mode-"+this.app.options.iframeMode,this.elem.addClass(t)},t.prototype.findElements=function(){if(this.audioElement=this.elem.find("audio"),this.progressBarElement=this.elem.find("progressbar"),this.playPauseElement=this.elem.find(".play-button"),this.backwardElement=this.elem.find(".backward-button"),this.forwardElement=this.elem.find(".forward-button"),this.skipForwardElement=this.elem.find(".skip-forward-button"),this.skipBackwardElement=this.elem.find(".skip-backward-button"),this.speedElement=this.elem.find(".speed-toggle"),this.coverImage=this.elem.find(".cover-image"),this.subscribeButton=this.elem.find(".subscribe-button"),this.subscribeButton.on("click",function(t){return function(){return o.open(t.app)}}(this)),this.buttons=this.elem.find(".buttons"),this.panels=this.elem.find(".panels"),!this.app.isInIframeMode())return this.panels.hide()},t.prototype.bindCoverLoad=function(){return this.coverImage.on("load",function(t){return function(){return t.app.sendSizeChange()}}(this))},t.prototype.changeActiveButton=function(t){var e;return e=r(t.target),e.hasClass("button-active")?void e.removeClass("button-active"):(this.buttons.find(".button-active").removeClass("button-active"),e.addClass("button-active"))},t.prototype.removeButtons=function(){return this.buttons.empty()},t.prototype.removePanels=function(){return this.panels.empty()},t.prototype.addButton=function(t){return this.buttons.append(t),t.on("click",this.changeActiveButton)},t.prototype.addExtension=function(t){if(this.addButton(t.button),this.panels.append(t.panel),t.name()===this.app.options.startPanel&&t.button.trigger("click"),!this.app.options.startPanel&&this.app.isInIframeMode())return this.buttons.hide(),this.panels.hide()},t.prototype.animationOptions=function(){return{duration:300,step:a.debounce(this.app.sendSizeChange,50)}},t.prototype.activePanel=null,t.prototype.togglePanel=function(t){if(t)return null==this.activePanel?(this.app.isInIframeMode()||this.panels.slideToggle(this.animationOptions()),t.slideToggle(this.animationOptions()),this.activePanel=t):this.activePanel!==t?(this.activePanel.slideToggle(this.animationOptions()),t.slideToggle(this.animationOptions()),this.activePanel=t):this.app.isInIframeMode()?void 0:(this.activePanel.slideToggle(this.animationOptions()),this.panels.slideToggle(this.animationOptions()),this.activePanel=null)},t}(),e.exports=s},{"./custom_styles.coffee":20,"./subscribe_button.coffee":40,jquery:2,lodash:3,rivets:4,sightglass:5}],42:[function(t,e,n){var r;r=function(){function t(){}return t.locationToOptions=function(t){var e,n,r,i,o,s;for(i={},s=window.location.search.replace(/^\?/,""),o=s.split("&"),n=0,r=o.length;n<r;n++)s=o[n],e=s.split("="),i[e[0]]=decodeURIComponent(e[1]);return i},t.secondsToHHMMSS=function(t){var e,n;if("number"==typeof t)return e=Math.floor(t/3600),n=Math.floor((t-3600*e)/60),t=t-3600*e-60*n,t=t.toFixed(0),e=this.padNumber(e),n=this.padNumber(n),t=this.padNumber(t),e+":"+n+":"+t},t.hhmmssToSeconds=function(t){var e,n,r,i,o;return r=t.split(":"),o=parseInt(r[2],10),n=parseInt(r[1],10),e=parseInt(r[0],10),i=o+60*n+60*e*60},t.padNumber=function(t,e){for(null==e&&(e=2),t=t.toString();t.length<e;)t="0"+t;return t},t.calculateCursorPosition=function(t,e){var n,r;return n=(null!=(r=t.originalEvent.changedTouches)?r.length:void 0)?t.originalEvent.changedTouches[0].pageX:t.pageX,n-e.getBoundingClientRect().left},t.isIE9=function(){var t,e;try{return(t=navigator.appVersion.indexOf("MSIE")!==-1)&&(e=parseFloat(navigator.appVersion.split("MSIE")[1]),!(e>9))}catch(n){return!0}},t}(),e.exports=r},{}]},{},[17]);
|
@@ -0,0 +1 @@
|
|
1
|
+
!function t(e,i,r){function n(s,a){if(!i[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=i[s]={exports:{}};e[s][0].call(c.exports,function(t){var i=e[s][1][t];return n(i?i:t)},c,c.exports,t,e,i,r)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)n(r[s]);return n}({1:[function(t,e,i){var r,n,o,s;o=t("./iframe_resizer.coffee"),s=t("./subscribe_button_trigger.coffee"),n=function(){function t(t){var e;this.elem=t,e=this.elem.getAttribute("data-configuration").replace(/\s/g,""),this.id=this.randomId(e),this.configuration="string"==typeof e?e.match(/^{/)?JSON.parse(e):window[e]||{json_config:e}:e,this.configuration.parentLocationHash=window.location.hash,this.configuration.embedCode=this.elem.outerHTML;try{this.configuration.customOptions=JSON.parse(this.elem.getAttribute("data-options"))}catch(i){console.debug("[Podigee Podcast Player] data-options has invalid JSON")}this.url=this.origin()+"/podigee-podcast-player.html?id="+this.id+"&iframeMode=script",this.buildIframe(),this.setupListeners(),this.replaceElem(),this.configuration&&this.injectConfiguration(),this.setupSubscribeButton()}return t.prototype.randomId=function(t){var e,i,r,n,o;if(e=0,0===t.length)return e;for(i=function(t){return function(t){if(!isNaN(t))return e=(e<<5)-e+t,e&=e}}(this),r=n=0,o=t.length;0<=o?n<=o:n>=o;r=0<=o?++n:--n)i(t.charCodeAt(r));return e.toString(16).substring(1)},t.prototype.origin=function(){var t;return t=this.elem.src||this.elem.getAttribute("src"),window.location.protocol.match(/^https/)||(t=t.replace(/^https/,"http")),t.match(/(^.*\/)/)[0].replace(/javascripts\/$/,"").replace(/\/$/,"")},t.prototype.buildIframe=function(){return this.iframe=document.createElement("iframe"),this.iframe.id=this.id,this.iframe.scrolling="no",this.iframe.src=this.url,this.iframe.style.border="0",this.iframe.style.overflowY="hidden",this.iframe.style.transition="height 100ms linear",this.iframe.width="100%",this.iframe},t.prototype.setupListeners=function(){return o.listen("resizePlayer",this.iframe)},t.prototype.setupSubscribeButton=function(){var t;return t=new s(this.iframe),t.listen()},t.prototype.replaceElem=function(){return this.iframe.className+=this.elem.className,this.elem.parentNode.replaceChild(this.iframe,this.elem)},t.prototype.injectConfiguration=function(){return window.addEventListener("message",function(t){return function(e){var i,r;try{r=JSON.parse(e.data||e.originalEvent.data)}catch(n){return}if(r.id===t.iframe.id&&"sendConfig"===r.listenTo)return i=t.configuration.constructor===String?t.configuration:JSON.stringify(t.configuration),t.iframe.contentWindow.postMessage(i,"*")}}(this),!1)},t}(),new(r=function(){function t(){var t,e,i,r,o;if(o=[],e=document.querySelectorAll("script.podigee-podcast-player, div.podigee-podcast-player"),0!==e.length){for(i=0,r=e.length;i<r;i++)t=e[i],o.push(new n(t));window.podigeePodcastPlayers=o}}return t}())},{"./iframe_resizer.coffee":2,"./subscribe_button_trigger.coffee":3}],2:[function(t,e,i){var r;r=function(){function t(){}return t.listen=function(t,e,i,r){return null==i&&(i={}),window.addEventListener("message",function(n){return function(n){var o,s,a;try{s=JSON.parse(n.data||n.originalEvent.data)}catch(u){return}if(s.id===e.id&&s.listenTo===t)return o=s.height+(i.height||0),a=/%$/.test(s.width)?s.width:s.width+(i.width||0),e.style.height=o+"px",e.style.maxHeight=o+"px",e.style.width=a+"px",e.style.maxWidth=a+"px",null!=r?r(e):void 0}}(this),!1)},t}(),e.exports=r},{}],3:[function(t,e,i){var r;r=function(){function t(t){this.referenceElement=t,this.referenceId=this.referenceElement.id,this.id=this.randomId(this.referenceElement.toString()),this.buildTags(),this.insert()}return t.prototype.buildTags=function(){return this.scriptTag=document.createElement("script"),this.scriptTag.className="podlove-subscribe-button",this.scriptTag.src="/subscribe-button/javascripts/app.js",this.scriptTag.dataset.language="en",this.scriptTag.dataset.size="medium",this.scriptTag.setAttribute("data-hide",!0),this.scriptTag.setAttribute("data-buttonid",this.id),this.button=document.createElement("button"),this.button.style.display="none",this.button.className="podlove-subscribe-button-"+this.id},t.prototype.insert=function(){return this.referenceElement.parentNode.insertBefore(this.scriptTag,this.referenceElement.nextSibling),this.referenceElement.parentNode.insertBefore(this.button,this.referenceElement.nextSibling)},t.prototype.randomId=function(t){var e,i,r,n,o,s;if(o=Math.floor(65536*(1+Math.random())).toString(16).substring(1),t+=o,e=0,0===t.length)return e;for(i=function(t){return function(t){if(!isNaN(t))return e=(e<<5)-e+t,e&=e}}(this),r=n=0,s=t.length;0<=s?n<=s:n>=s;r=0<=s?++n:--n)i(t.charCodeAt(r));return e.toString(16).substring(1)},t.prototype.listen=function(){return window.addEventListener("message",function(t){return function(e){var i,r;try{i=JSON.parse(e.data||e.originalEvent.data)}catch(n){return}if("subscribeButtonTrigger"===i.listenTo&&i.id===t.referenceId)return r=i.detail,r.id=t.id,e=new CustomEvent("openSubscribeButtonPopup",{detail:r}),document.body.dispatchEvent(e)}}(this),!1)},t}(),e.exports=r},{}]},{},[1]);
|
Binary file
|
@@ -0,0 +1,329 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<!-- inject:head:css -->
|
5
|
+
<style>@charset "UTF-8";
|
6
|
+
*, *:before, *:after {
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
-webkit-box-sizing: border-box;
|
9
|
+
box-sizing: border-box; }
|
10
|
+
|
11
|
+
@font-face {
|
12
|
+
font-family: 'podigee-podcast-player';
|
13
|
+
src: url("fonts/podigee-podcast-player.ttf?kq1u8x") format("truetype"), url("../fonts/podigee-podcast-player.woff?kq1u8x") format("woff"), url("../fonts/podigee-podcast-player.svg?kq1u8x#podigee-podcast-player") format("svg");
|
14
|
+
font-weight: normal;
|
15
|
+
font-style: normal; }
|
16
|
+
|
17
|
+
.icon, .play-button, .backward-button, .forward-button, .skip-backward-button, .skip-forward-button, .chaptermarks-button, .download-button, .episode-info-button, .playlist-button, .share-button, .transcript-button, .search-result-next, .search-result-prev, .panels .share-social-links a {
|
18
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
19
|
+
font-family: 'podigee-podcast-player' !important;
|
20
|
+
speak: none;
|
21
|
+
font-style: normal;
|
22
|
+
font-weight: normal;
|
23
|
+
font-variant: normal;
|
24
|
+
text-transform: none;
|
25
|
+
line-height: 1;
|
26
|
+
/* Better Font Rendering =========== */
|
27
|
+
-webkit-font-smoothing: antialiased;
|
28
|
+
-moz-osx-font-smoothing: grayscale; }
|
29
|
+
|
30
|
+
.icon-cast:before {
|
31
|
+
content: ""; }
|
32
|
+
|
33
|
+
.icon-close:before {
|
34
|
+
content: ""; }
|
35
|
+
|
36
|
+
.icon-download:before, .download-button:before {
|
37
|
+
content: ""; }
|
38
|
+
|
39
|
+
.icon-chaptermarks:before, .chaptermarks-button:before {
|
40
|
+
content: ""; }
|
41
|
+
|
42
|
+
.icon-error_outline:before, .error-loading .play-button:before {
|
43
|
+
content: ""; }
|
44
|
+
|
45
|
+
.icon-transcript:before, .transcript-button:before {
|
46
|
+
content: ""; }
|
47
|
+
|
48
|
+
.icon-forward-30:before, .forward-button:before {
|
49
|
+
content: ""; }
|
50
|
+
|
51
|
+
.icon-episode-info:before, .episode-info-button:before {
|
52
|
+
content: ""; }
|
53
|
+
|
54
|
+
.icon-keyboard_arrow_left:before, .search-result-prev:before {
|
55
|
+
content: ""; }
|
56
|
+
|
57
|
+
.icon-keyboard_arrow_right:before, .search-result-next:before {
|
58
|
+
content: ""; }
|
59
|
+
|
60
|
+
.icon-playlist:before, .playlist-button:before {
|
61
|
+
content: ""; }
|
62
|
+
|
63
|
+
.icon-mail_outline:before {
|
64
|
+
content: ""; }
|
65
|
+
|
66
|
+
.icon-pause:before, .playing .play-button:before {
|
67
|
+
content: ""; }
|
68
|
+
|
69
|
+
.icon-play:before, .play-button:before {
|
70
|
+
content: ""; }
|
71
|
+
|
72
|
+
.icon-backward-10:before, .backward-button:before {
|
73
|
+
content: ""; }
|
74
|
+
|
75
|
+
.icon-share:before, .share-button:before {
|
76
|
+
content: ""; }
|
77
|
+
|
78
|
+
.icon-skip-next:before, .skip-forward-button:before {
|
79
|
+
content: ""; }
|
80
|
+
|
81
|
+
.icon-skip-previous:before, .skip-backward-button:before {
|
82
|
+
content: ""; }
|
83
|
+
|
84
|
+
.icon-twitter:before {
|
85
|
+
content: ""; }
|
86
|
+
|
87
|
+
.icon-facebook:before {
|
88
|
+
content: ""; }
|
89
|
+
|
90
|
+
.icon-facebook-f:before {
|
91
|
+
content: ""; }
|
92
|
+
|
93
|
+
.icon-google-plus:before {
|
94
|
+
content: ""; }
|
95
|
+
|
96
|
+
.icon-whatsapp:before {
|
97
|
+
content: ""; }
|
98
|
+
|
99
|
+
.loading .play-button:before {
|
100
|
+
content: ''; }
|
101
|
+
|
102
|
+
.loading .play-button {
|
103
|
+
animation: sk-scaleout 1.0s infinite ease-in-out;
|
104
|
+
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
|
105
|
+
background-color: #666;
|
106
|
+
border-radius: 100%; }
|
107
|
+
|
108
|
+
@-webkit-keyframes sk-scaleout {
|
109
|
+
0% {
|
110
|
+
-webkit-transform: scale(0); }
|
111
|
+
100% {
|
112
|
+
-webkit-transform: scale(1);
|
113
|
+
opacity: 0; } }
|
114
|
+
|
115
|
+
@keyframes sk-scaleout {
|
116
|
+
0% {
|
117
|
+
-webkit-transform: scale(0);
|
118
|
+
transform: scale(0); }
|
119
|
+
100% {
|
120
|
+
-webkit-transform: scale(1);
|
121
|
+
transform: scale(1);
|
122
|
+
opacity: 0; } }
|
123
|
+
|
124
|
+
.error-loading .play-button {
|
125
|
+
color: red !important;
|
126
|
+
font-size: 36px !important; }
|
127
|
+
|
128
|
+
body {
|
129
|
+
margin: 0;
|
130
|
+
padding: 0; }
|
131
|
+
|
132
|
+
.video-player {
|
133
|
+
margin: 0;
|
134
|
+
width: 100%; }
|
135
|
+
|
136
|
+
.panels .share-social-links {
|
137
|
+
height: 48px;
|
138
|
+
list-style: none;
|
139
|
+
padding: 0;
|
140
|
+
text-align: center; }
|
141
|
+
.panels .share-social-links li {
|
142
|
+
display: inline-block;
|
143
|
+
height: 48px;
|
144
|
+
padding: 0 5px;
|
145
|
+
position: relative;
|
146
|
+
overflow: hidden; }
|
147
|
+
.panels .share-social-links li:hover:after {
|
148
|
+
background: rgba(0, 0, 0, 0.2);
|
149
|
+
bottom: 0;
|
150
|
+
content: '';
|
151
|
+
display: block;
|
152
|
+
height: 5px;
|
153
|
+
left: 5px;
|
154
|
+
position: absolute;
|
155
|
+
width: calc(100% - 10px);
|
156
|
+
z-index: 10; }
|
157
|
+
.panels .share-social-links a {
|
158
|
+
color: transparent;
|
159
|
+
display: block;
|
160
|
+
font-size: 1px;
|
161
|
+
letter-spacing: -1px;
|
162
|
+
position: relative;
|
163
|
+
text-decoration: none; }
|
164
|
+
.panels .share-social-links a:hover {
|
165
|
+
text-decoration: none; }
|
166
|
+
.panels .share-social-links a:before {
|
167
|
+
border-radius: 3px;
|
168
|
+
color: #fff;
|
169
|
+
font-size: 2rem;
|
170
|
+
letter-spacing: normal;
|
171
|
+
top: 8px;
|
172
|
+
position: relative; }
|
173
|
+
.panels .share-social-links .share-link-facebook:before {
|
174
|
+
background: #3b5998;
|
175
|
+
content: "";
|
176
|
+
padding: 8px 14px; }
|
177
|
+
.panels .share-social-links .share-link-googleplus:before {
|
178
|
+
background: #dd4b39;
|
179
|
+
font-size: 1.6rem;
|
180
|
+
content: "";
|
181
|
+
padding: 10px 9px 12px;
|
182
|
+
top: 11px; }
|
183
|
+
.panels .share-social-links .share-link-twitter:before {
|
184
|
+
background: #00aced;
|
185
|
+
content: "";
|
186
|
+
padding: 8px 9px; }
|
187
|
+
.panels .share-social-links .share-link-whatsapp:before {
|
188
|
+
background: #43d854;
|
189
|
+
content: "";
|
190
|
+
padding: 8px 10px; }
|
191
|
+
.panels .share-social-links .share-link-email:before {
|
192
|
+
background: #999999;
|
193
|
+
content: "";
|
194
|
+
padding: 8px 8px; }
|
195
|
+
|
196
|
+
.panels .download .icon-download, .panels .download .download-button {
|
197
|
+
display: block;
|
198
|
+
font-size: 3rem;
|
199
|
+
text-align: center; }
|
200
|
+
|
201
|
+
.panels .download .download-links {
|
202
|
+
padding: 0;
|
203
|
+
text-align: center; }
|
204
|
+
.panels .download .download-links li {
|
205
|
+
display: inline-block;
|
206
|
+
font-size: 18px;
|
207
|
+
padding: 0 10px; }
|
208
|
+
.panels .download .download-links li + li {
|
209
|
+
border-left: 1px solid; }
|
210
|
+
|
211
|
+
.transcript .search button {
|
212
|
+
padding: 0; }
|
213
|
+
|
214
|
+
.transcript .search .search-result button {
|
215
|
+
font-size: 110%;
|
216
|
+
color: inherit;
|
217
|
+
padding-bottom: 0;
|
218
|
+
padding-top: 0;
|
219
|
+
position: relative;
|
220
|
+
top: 2px; }
|
221
|
+
|
222
|
+
.transcript .search input {
|
223
|
+
border: 1px solid #ccc;
|
224
|
+
border-radius: 0;
|
225
|
+
font-size: 110%;
|
226
|
+
margin: 0;
|
227
|
+
width: 300px; }
|
228
|
+
</style>
|
229
|
+
<!-- endinject -->
|
230
|
+
<script>
|
231
|
+
window.inEmbed = true
|
232
|
+
</script>
|
233
|
+
<!-- inject:head:js -->
|
234
|
+
<script>!function t(e,n,r){function i(s,a){if(!n[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return i(n?n:t)},c,c.exports,t,e,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){!function(){function t(t){if(null===t||"object"!=typeof t)return t;var e=t.constructor();for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var r=function(t){var e=new r.Index;return e.pipeline.add(r.trimmer,r.stopWordFilter,r.stemmer),t&&t.call(e,e),e};r.version="0.9.5",lunr=r,r.utils={},r.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),r.utils.toString=function(t){return void 0===t||null===t?"":t.toString()},r.EventEmitter=function(){this.events={}},r.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},r.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);n!==-1&&(this.events[t].splice(n,1),0==this.events[t].length&&delete this.events[t])}},r.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)},this)}},r.EventEmitter.prototype.hasHandler=function(t){return t in this.events},r.tokenizer=function(t){if(!arguments.length||null===t||void 0===t)return[];if(Array.isArray(t)){var e=t.filter(function(t){return null!==t&&void 0!==t});e=e.map(function(t){return r.utils.toString(t).toLowerCase()});var n=[];return e.forEach(function(t){var e=t.split(r.tokenizer.seperator);n=n.concat(e)},this),n}return t.toString().trim().toLowerCase().split(r.tokenizer.seperator)},r.tokenizer.defaultSeperator=/[\s\-]+/,r.tokenizer.seperator=r.tokenizer.defaultSeperator,r.tokenizer.setSeperator=function(t){null!==t&&void 0!==t&&"object"==typeof t&&(r.tokenizer.seperator=t)},r.tokenizer.resetSeperator=function(){r.tokenizer.seperator=r.tokenizer.defaultSeperator},r.tokenizer.getSeperator=function(){return r.tokenizer.seperator},r.Pipeline=function(){this._queue=[]},r.Pipeline.registeredFunctions={},r.Pipeline.registerFunction=function(t,e){e in r.Pipeline.registeredFunctions&&r.utils.warn("Overwriting existing registered function: "+e),t.label=e,r.Pipeline.registeredFunctions[e]=t},r.Pipeline.getRegisteredFunction=function(t){return t in r.Pipeline.registeredFunctions!=!0?null:r.Pipeline.registeredFunctions[t]},r.Pipeline.warnIfFunctionNotRegistered=function(t){var e=t.label&&t.label in this.registeredFunctions;e||r.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},r.Pipeline.load=function(t){var e=new r.Pipeline;return t.forEach(function(t){var n=r.Pipeline.getRegisteredFunction(t);if(!n)throw new Error("Cannot load un-registered function: "+t);e.add(n)}),e},r.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){r.Pipeline.warnIfFunctionNotRegistered(t),this._queue.push(t)},this)},r.Pipeline.prototype.after=function(t,e){r.Pipeline.warnIfFunctionNotRegistered(e);var n=this._queue.indexOf(t);if(n===-1)throw new Error("Cannot find existingFn");this._queue.splice(n+1,0,e)},r.Pipeline.prototype.before=function(t,e){r.Pipeline.warnIfFunctionNotRegistered(e);var n=this._queue.indexOf(t);if(n===-1)throw new Error("Cannot find existingFn");this._queue.splice(n,0,e)},r.Pipeline.prototype.remove=function(t){var e=this._queue.indexOf(t);e!==-1&&this._queue.splice(e,1)},r.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,r=this._queue.length,i=0;i<n;i++){for(var o=t[i],s=0;s<r&&(o=this._queue[s](o,i,t),void 0!==o&&null!==o);s++);void 0!==o&&null!==o&&e.push(o)}return e},r.Pipeline.prototype.reset=function(){this._queue=[]},r.Pipeline.prototype.get=function(){return this._queue},r.Pipeline.prototype.toJSON=function(){return this._queue.map(function(t){return r.Pipeline.warnIfFunctionNotRegistered(t),t.label})},r.Index=function(){this._fields=[],this._ref="id",this.pipeline=new r.Pipeline,this.documentStore=new r.DocumentStore,this.index={},this.eventEmitter=new r.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},r.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},r.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},r.Index.load=function(t){t.version!==r.version&&r.utils.warn("version mismatch: current "+r.version+" importing "+t.version);var e=new this;e._fields=t.fields,e._ref=t.ref,e.documentStore=r.DocumentStore.load(t.documentStore),e.pipeline=r.Pipeline.load(t.pipeline),e.index={};for(var n in t.index)e.index[n]=r.InvertedIndex.load(t.index[n]);return e},r.Index.prototype.addField=function(t){return this._fields.push(t),this.index[t]=new r.InvertedIndex,this},r.Index.prototype.setRef=function(t){return this._ref=t,this},r.Index.prototype.saveDocument=function(t){return this.documentStore=new r.DocumentStore(t),this},r.Index.prototype.addDoc=function(t,e){if(t){var e=void 0===e||e,n=t[this._ref];this.documentStore.addDoc(n,t),this._fields.forEach(function(e){var i=this.pipeline.run(r.tokenizer(t[e]));this.documentStore.addFieldLength(n,e,i.length);var o={};i.forEach(function(t){t in o?o[t]+=1:o[t]=1},this);for(var s in o){var a=o[s];a=Math.sqrt(a),this.index[e].addToken(s,{ref:n,tf:a})}},this),e&&this.eventEmitter.emit("add",t,this)}},r.Index.prototype.removeDocByRef=function(t,e){if(t&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(t)){var n=this.documentStore.getDoc(t);this.removeDoc(n,!1)}},r.Index.prototype.removeDoc=function(t,e){if(t){var e=void 0===e||e,n=t[this._ref];this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(e){var i=this.pipeline.run(r.tokenizer(t[e]));i.forEach(function(t){this.index[e].removeToken(t,n)},this)},this),e&&this.eventEmitter.emit("remove",t,this))}},r.Index.prototype.updateDoc=function(t,e){var e=void 0===e||e;this.removeDocByRef(t[this._ref],!1),this.addDoc(t,!1),e&&this.eventEmitter.emit("update",t,this)},r.Index.prototype.idf=function(t,e){var n="@"+e+"/"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var r=this.index[e].getDocFreq(t),i=1+Math.log(this.documentStore.length/(r+1));return this._idfCache[n]=i,i},r.Index.prototype.getFields=function(){return this._fields.slice()},r.Index.prototype.search=function(t,e){if(!t)return[];var n=null;null!=e&&(n=JSON.stringify(e));var i=new r.Configuration(n,this.getFields()).get(),o=this.pipeline.run(r.tokenizer(t)),s={};for(var a in i){var u=this.fieldSearch(o,a,i),c=i[a].boost;for(var l in u)u[l]=u[l]*c;for(var l in u)l in s?s[l]+=u[l]:s[l]=u[l]}var h=[];for(var l in s)h.push({ref:l,score:s[l]});return h.sort(function(t,e){return e.score-t.score}),h},r.Index.prototype.fieldSearch=function(t,e,n){var r=n[e].bool,i=n[e].expand,o=n[e].boost,s=null,a={};if(0!==o)return t.forEach(function(t){var n=[t];1==i&&(n=this.index[e].expandToken(t));var o={};n.forEach(function(n){var i=this.index[e].getDocs(n),u=this.idf(n,e);if(s&&"AND"==r){var c={};for(var l in s)l in i&&(c[l]=i[l]);i=c}n==t&&this.fieldSearchStats(a,n,i);for(var l in i){var h=this.index[e].getTermFrequency(n,l),p=this.documentStore.getFieldLength(l,e),f=1;0!=p&&(f=1/Math.sqrt(p));var d=1;n!=t&&(d=.15*(1-(n.length-t.length)/n.length));var g=h*u*f*d;l in o?o[l]+=g:o[l]=g}},this),s=this.mergeScores(s,o,r)},this),s=this.coordNorm(s,a,t.length)},r.Index.prototype.mergeScores=function(t,e,n){if(!t)return e;if("AND"==n){var r={};for(var i in e)i in t&&(r[i]=t[i]+e[i]);return r}for(var i in e)i in t?t[i]+=e[i]:t[i]=e[i];return t},r.Index.prototype.fieldSearchStats=function(t,e,n){for(var r in n)r in t?t[r].push(e):t[r]=[e]},r.Index.prototype.coordNorm=function(t,e,n){for(var r in t)if(r in e){var i=e[r].length;t[r]=t[r]*i/n}return t},r.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:r.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},r.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},r.DocumentStore=function(t){null===t||void 0===t?this._save=!0:this._save=t,this.docs={},this.docInfo={},this.length=0},r.DocumentStore.load=function(t){var e=new this;return e.length=t.length,e.docs=t.docs,e.docInfo=t.docInfo,e._save=t.save,e},r.DocumentStore.prototype.isDocStored=function(){return this._save},r.DocumentStore.prototype.addDoc=function(e,n){this.hasDoc(e)||this.length++,this._save===!0?this.docs[e]=t(n):this.docs[e]=null},r.DocumentStore.prototype.getDoc=function(t){return this.hasDoc(t)===!1?null:this.docs[t]},r.DocumentStore.prototype.hasDoc=function(t){return t in this.docs},r.DocumentStore.prototype.removeDoc=function(t){this.hasDoc(t)&&(delete this.docs[t],delete this.docInfo[t],this.length--)},r.DocumentStore.prototype.addFieldLength=function(t,e,n){null!==t&&void 0!==t&&0!=this.hasDoc(t)&&(this.docInfo[t]||(this.docInfo[t]={}),this.docInfo[t][e]=n)},r.DocumentStore.prototype.updateFieldLength=function(t,e,n){null!==t&&void 0!==t&&0!=this.hasDoc(t)&&this.addFieldLength(t,e,n)},r.DocumentStore.prototype.getFieldLength=function(t,e){return null===t||void 0===t?0:t in this.docs&&e in this.docInfo[t]?this.docInfo[t][e]:0},r.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},r.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",r="[aeiouy]",i=n+"[^aeiouy]*",o=r+"[aeiou]*",s="^("+i+")?"+o+i,a="^("+i+")?"+o+i+"("+o+")?$",u="^("+i+")?"+o+i+o+i,c="^("+i+")?"+r,l=new RegExp(s),h=new RegExp(u),p=new RegExp(a),f=new RegExp(c),d=/^(.+?)(ss|i)es$/,g=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,b=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+i+r+"[^aeiouwxy]$"),_=/^(.+?[^aeiou])y$/,k=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,T=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,E=/^(.+?)(s|t)(ion)$/,C=/^(.+?)e$/,A=/ll$/,P=new RegExp("^"+i+r+"[^aeiouwxy]$"),j=function(n){var r,i,o,s,a,u,c;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=d,a=g,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=m,s.test(n)){var j=s.exec(n);s=l,s.test(j[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var j=a.exec(n);r=j[1],a=f,a.test(r)&&(n=r,a=b,u=w,c=x,a.test(n)?n+="e":u.test(n)?(s=y,n=n.replace(s,"")):c.test(n)&&(n+="e"))}if(s=_,s.test(n)){var j=s.exec(n);r=j[1],n=r+"i"}if(s=k,s.test(n)){var j=s.exec(n);r=j[1],i=j[2],s=l,s.test(r)&&(n=r+t[i])}if(s=S,s.test(n)){var j=s.exec(n);r=j[1],i=j[2],s=l,s.test(r)&&(n=r+e[i])}if(s=T,a=E,s.test(n)){var j=s.exec(n);r=j[1],s=h,s.test(r)&&(n=r)}else if(a.test(n)){var j=a.exec(n);r=j[1]+j[2],a=h,a.test(r)&&(n=r)}if(s=C,s.test(n)){var j=s.exec(n);r=j[1],s=h,a=p,u=P,(s.test(r)||a.test(r)&&!u.test(r))&&(n=r)}return s=A,a=h,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return j}(),r.Pipeline.registerFunction(r.stemmer,"stemmer"),r.stopWordFilter=function(t){if(t&&r.stopWordFilter.stopWords[t]!==!0)return t},r.clearStopWords=function(){r.stopWordFilter.stopWords={}},r.addStopWords=function(t){null!=t&&Array.isArray(t)!==!1&&t.forEach(function(t){r.stopWordFilter.stopWords[t]=!0},this)},r.resetStopWords=function(){r.stopWordFilter.stopWords=r.defaultStopWords},r.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,"do":!0,does:!0,either:!0,"else":!0,ever:!0,every:!0,"for":!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,"if":!0,"in":!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,"let":!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,"this":!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,"while":!0,who:!0,whom:!0,why:!0,will:!0,"with":!0,would:!0,yet:!0,you:!0,your:!0},r.stopWordFilter.stopWords=r.defaultStopWords,r.Pipeline.registerFunction(r.stopWordFilter,"stopWordFilter"),r.trimmer=function(t){if(null===t||void 0===t)throw new Error("token should not be undefined");return t.replace(/^\W+/,"").replace(/\W+$/,"")},r.Pipeline.registerFunction(r.trimmer,"trimmer"),r.InvertedIndex=function(){this.root={docs:{},df:0}},r.InvertedIndex.load=function(t){var e=new this;return e.root=t.root,e},r.InvertedIndex.prototype.addToken=function(t,e,n){for(var n=n||this.root,r=0;r<=t.length-1;){var i=t[r];i in n||(n[i]={docs:{},df:0}),r+=1,n=n[i]}var o=e.ref;n.docs[o]?n.docs[o]={tf:e.tf}:(n.docs[o]={tf:e.tf},n.df+=1)},r.InvertedIndex.prototype.hasToken=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},r.InvertedIndex.prototype.getNode=function(t){if(!t)return null;for(var e=this.root,n=0;n<t.length;n++){if(!e[t[n]])return null;e=e[t[n]]}return e},r.InvertedIndex.prototype.getDocs=function(t){var e=this.getNode(t);return null==e?{}:e.docs},r.InvertedIndex.prototype.getTermFrequency=function(t,e){var n=this.getNode(t);return null==n?0:e in n.docs?n.docs[e].tf:0},r.InvertedIndex.prototype.getDocFreq=function(t){var e=this.getNode(t);return null==e?0:e.df},r.InvertedIndex.prototype.removeToken=function(t,e){if(t){var n=this.getNode(t);null!=n&&e in n.docs&&(delete n.docs[e],n.df-=1)}},r.InvertedIndex.prototype.expandToken=function(t,e,n){if(null==t||""==t)return[];var e=e||[];if(void 0==n&&(n=this.getNode(t),null==n))return e;n.df>0&&e.push(t);for(var r in n)"docs"!==r&&"df"!==r&&this.expandToken(t+r,e,n[r]);return e},r.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},r.Configuration=function(t,e){var t=t||"";if(void 0==e||null==e)throw new Error("fields should not be null");this.config={};var n;try{n=JSON.parse(t),this.buildUserConfig(n,e)}catch(i){r.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(e)}},r.Configuration.prototype.buildDefaultConfig=function(t){this.reset(),t.forEach(function(t){this.config[t]={boost:1,bool:"OR",expand:!1}},this)},r.Configuration.prototype.buildUserConfig=function(t,e){var n="OR",i=!1;if(this.reset(),"bool"in t&&(n=t.bool||n),"expand"in t&&(i=t.expand||i),"fields"in t)for(var o in t.fields)if(e.indexOf(o)>-1){var s=t.fields[o],a=i;void 0!=s.expand&&(a=s.expand),this.config[o]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||n,expand:a}}else r.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(n,i,e)},r.Configuration.prototype.addAllFields2UserConfig=function(t,e,n){n.forEach(function(n){this.config[n]={boost:1,bool:t,expand:e}},this)},r.Configuration.prototype.get=function(){return this.config},r.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},lunr.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},lunr.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},lunr.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elements.length,r=n-e,i=e+Math.floor(r/2),o=this.elements[i];r>1;){if(o===t)return i;o<t&&(e=i),o>t&&(n=i),r=n-e,i=e+Math.floor(r/2),o=this.elements[i]}return o===t?i:-1},lunr.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,r=n-e,i=e+Math.floor(r/2),o=this.elements[i];r>1;)o<t&&(e=i),o>t&&(n=i),r=n-e,i=e+Math.floor(r/2),o=this.elements[i];return o>t?i:o<t?i+1:void 0},lunr.SortedSet.prototype.intersect=function(t){for(var e=new lunr.SortedSet,n=0,r=0,i=this.length,o=t.length,s=this.elements,a=t.elements;;){if(n>i-1||r>o-1)break;s[n]!==a[r]?s[n]<a[r]?n++:s[n]>a[r]&&r++:(e.add(s[n]),n++,r++)}return e},lunr.SortedSet.prototype.clone=function(){var t=new lunr.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},lunr.SortedSet.prototype.union=function(t){var e,n,r;this.length>=t.length?(e=this,n=t):(e=t,n=this),r=e.clone();for(var i=0,o=n.toArray();i<o.length;i++)r.add(o[i]);return r},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},function(t,r){"function"==typeof define&&define.amd?define(r):"object"==typeof n?e.exports=r():t.elasticlunr=r()}(this,function(){return r})}()},{}],2:[function(t,e,n){!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=ot.type(t);return"function"!==n&&!ot.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function r(t,e,n){if(ot.isFunction(e))return ot.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return ot.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(gt.test(e))return ot.filter(e,t,n);e=ot.filter(e,t)}return ot.grep(t,function(t){return K.call(e,t)>-1!==n})}function i(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e={};return ot.each(t.match(xt)||[],function(t,n){e[n]=!0}),e}function s(){J.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),ot.ready()}function a(){this.expando=ot.expando+a.uid++}function u(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(At,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ct.test(n)?ot.parseJSON(n):n)}catch(i){}Et.set(t,e,n)}else n=void 0;return n}function c(t,e,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return ot.css(t,e,"")},u=a(),c=n&&n[3]||(ot.cssNumber[e]?"":"px"),l=(ot.cssNumber[e]||"px"!==c&&+u)&&jt.exec(ot.css(t,e));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do o=o||".5",l/=o,ot.style(t,e,l+c);while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function l(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],n):n}function h(t,e){for(var n=0,r=t.length;n<r;n++)Tt.set(t[n],"globalEval",!e||Tt.get(e[n],"globalEval"))}function p(t,e,n,r,i){for(var o,s,a,u,c,p,f=e.createDocumentFragment(),d=[],g=0,v=t.length;g<v;g++)if(o=t[g],o||0===o)if("object"===ot.type(o))ot.merge(d,o.nodeType?[o]:o);else if(Ft.test(o)){for(s=s||f.appendChild(e.createElement("div")),a=(Dt.exec(o)||["",""])[1].toLowerCase(),u=Nt[a]||Nt._default,s.innerHTML=u[1]+ot.htmlPrefilter(o)+u[2],p=u[0];p--;)s=s.lastChild;ot.merge(d,s.childNodes),s=f.firstChild,s.textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",g=0;o=d[g++];)if(r&&ot.inArray(o,r)>-1)i&&i.push(o);else if(c=ot.contains(o.ownerDocument,o),s=l(f.appendChild(o),"script"),c&&h(s),n)for(p=0;o=s[p++];)Rt.test(o.type||"")&&n.push(o);return f}function f(){return!0}function d(){return!1}function g(){try{return J.activeElement}catch(t){}}function v(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)v(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=d;else if(!i)return t;return 1===o&&(s=i,i=function(t){return ot().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=ot.guid++)),t.each(function(){ot.event.add(this,e,i,r,n)})}function m(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function b(t){var e=Wt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){var n,r,i,o,s,a,u,c;if(1===e.nodeType){if(Tt.hasData(t)&&(o=Tt.access(t),s=Tt.set(e,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;n<r;n++)ot.event.add(e,i,c[i][n])}Et.hasData(t)&&(a=Et.access(t),u=ot.extend({},a),Et.set(e,u))}}function x(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Lt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function _(t,e,n,r){e=Z.apply([],e);var i,o,s,a,u,c,h=0,f=t.length,d=f-1,g=e[0],v=ot.isFunction(g);if(v||f>1&&"string"==typeof g&&!rt.checkClone&&Ut.test(g))return t.each(function(i){var o=t.eq(i);v&&(e[0]=g.call(this,i,o.html())),_(o,e,n,r)});if(f&&(i=p(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=ot.map(l(i,"script"),y),a=s.length;h<f;h++)u=i,h!==d&&(u=ot.clone(u,!0,!0),a&&ot.merge(s,l(u,"script"))),n.call(t[h],u,h);if(a)for(c=s[s.length-1].ownerDocument,ot.map(s,b),h=0;h<a;h++)u=s[h],Rt.test(u.type||"")&&!Tt.access(u,"globalEval")&&ot.contains(c,u)&&(u.src?ot._evalUrl&&ot._evalUrl(u.src):ot.globalEval(u.textContent.replace($t,"")))}return t}function k(t,e,n){for(var r,i=e?ot.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ot.cleanData(l(r)),r.parentNode&&(n&&ot.contains(r.ownerDocument,r)&&h(l(r,"script")),r.parentNode.removeChild(r));return t}function S(t,e){var n=ot(e.createElement(t)).appendTo(e.body),r=ot.css(n[0],"display");return n.detach(),r}function T(t){var e=J,n=Qt[t];return n||(n=S(t,e),"none"!==n&&n||(Vt=(Vt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Vt[0].contentDocument,e.write(),e.close(),n=S(t,e),Vt.detach()),Qt[t]=n),n}function E(t,e,n){var r,i,o,s,a=t.style;return n=n||Yt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||ot.contains(t.ownerDocument,t)||(s=ot.style(t,e)),n&&!rt.pixelMarginRight()&&Jt.test(s)&&Xt.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function C(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function A(t){if(t in re)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in re)return t}function P(t,e,n){var r=jt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function j(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=ot.css(t,n+It[o],!0,i)),r?("content"===n&&(s-=ot.css(t,"padding"+It[o],!0,i)),"margin"!==n&&(s-=ot.css(t,"border"+It[o]+"Width",!0,i))):(s+=ot.css(t,"padding"+It[o],!0,i),"padding"!==n&&(s+=ot.css(t,"border"+It[o]+"Width",!0,i)));return s}function I(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=Yt(t),s="border-box"===ot.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(i=E(t,e,o),(i<0||null==i)&&(i=t.style[e]),Jt.test(i))return i;r=s&&(rt.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+j(t,e,n||(s?"border":"content"),r,o)+"px"}function O(t,e){for(var n,r,i,o=[],s=0,a=t.length;s<a;s++)r=t[s],r.style&&(o[s]=Tt.get(r,"olddisplay"),n=r.style.display,e?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Ot(r)&&(o[s]=Tt.access(r,"olddisplay",T(r.nodeName)))):(i=Ot(r),"none"===n&&i||Tt.set(r,"olddisplay",i?n:ot.css(r,"display"))));for(s=0;s<a;s++)r=t[s],r.style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[s]||"":"none"));return t}function L(t,e,n,r,i){return new L.prototype.init(t,e,n,r,i)}function D(){return t.setTimeout(function(){ie=void 0}),ie=ot.now()}function R(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=It[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function N(t,e,n){for(var r,i=(B.tweeners[e]||[]).concat(B.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function F(t,e,n){var r,i,o,s,a,u,c,l,h=this,p={},f=t.style,d=t.nodeType&&Ot(t),g=Tt.get(t,"fxshow");n.queue||(a=ot._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,ot.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=ot.css(t,"display"),l="none"===c?Tt.get(t,"olddisplay")||T(t.nodeName):c,"inline"===l&&"none"===ot.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],se.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;d=!0}p[r]=g&&g[r]||ot.style(t,r)}else c=void 0;if(ot.isEmptyObject(p))"inline"===("none"===c?T(t.nodeName):c)&&(f.display=c);else{g?"hidden"in g&&(d=g.hidden):g=Tt.access(t,"fxshow",{}),o&&(g.hidden=!d),d?ot(t).show():h.done(function(){ot(t).hide()}),h.done(function(){var e;Tt.remove(t,"fxshow");for(e in p)ot.style(t,e,p[e])});for(r in p)s=N(d?g[r]:0,r,h),r in g||(g[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function z(t,e){var n,r,i,o,s;for(n in t)if(r=ot.camelCase(n),i=e[r],o=t[n],ot.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),s=ot.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function B(t,e,n){var r,i,o=0,s=B.prefilters.length,a=ot.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ie||D(),n=Math.max(0,c.startTime+c.duration-e),r=n/c.duration||0,o=1-r,s=0,u=c.tweens.length;s<u;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),o<1&&u?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:ot.extend({},e),opts:ot.extend(!0,{specialEasing:{},easing:ot.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||D(),duration:n.duration,tweens:[],createTween:function(e,n){var r=ot.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),l=c.props;for(z(l,c.opts.specialEasing);o<s;o++)if(r=B.prefilters[o].call(c,t,l,c.opts))return ot.isFunction(r.stop)&&(ot._queueHooks(c.elem,c.opts.queue).stop=ot.proxy(r.stop,r)),r;return ot.map(l,N,c),ot.isFunction(c.opts.start)&&c.opts.start.call(t,c),ot.fx.timer(ot.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(t){return t.getAttribute&&t.getAttribute("class")||""}function q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(xt)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function M(t,e,n,r){function i(a){var u;return o[a]=!0,ot.each(t[a]||[],function(t,a){var c=a(e,n,r);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(e.dataTypes.unshift(c),i(c),!1)}),u}var o={},s=t===Ee;return i(e.dataTypes[0])||!o["*"]&&i("*")}function U(t,e){var n,r,i=ot.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&ot.extend(!0,t,r),t}function W(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function $(t,e,n,r){var i,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function V(t,e,n,r){var i;if(ot.isArray(e))ot.each(e,function(e,i){n||je.test(t)?r(t,i):V(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==ot.type(e))r(t,e);else for(i in e)V(t+"["+i+"]",e[i],n,r)}function Q(t){return ot.isWindow(t)?t:9===t.nodeType&&t.defaultView}var X=[],J=t.document,Y=X.slice,Z=X.concat,G=X.push,K=X.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,rt={},it="2.2.4",ot=function(t,e){return new ot.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,ut=/-([\da-z])/gi,ct=function(t,e){return e.toUpperCase()};ot.fn=ot.prototype={jquery:it,constructor:ot,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:Y.call(this)},pushStack:function(t){var e=ot.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ot.each(this,t)},map:function(t){return this.pushStack(ot.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:G,sort:X.sort,splice:X.splice},ot.extend=ot.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||ot.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],r=t[e],s!==r&&(c&&r&&(ot.isPlainObject(r)||(i=ot.isArray(r)))?(i?(i=!1,o=n&&ot.isArray(n)?n:[]):o=n&&ot.isPlainObject(n)?n:{},s[e]=ot.extend(c,o,r)):void 0!==r&&(s[e]=r));return s},ot.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ot.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!ot.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return!1;
|
235
|
+
if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=ot.trim(t),t&&(1===t.indexOf("use strict")?(e=J.createElement("script"),e.text=t,J.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(at,"ms-").replace(ut,ct)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var r,i=0;if(n(t))for(r=t.length;i<r&&e.call(t[i],i,t[i])!==!1;i++);else for(i in t)if(e.call(t[i],i,t[i])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var r=e||[];return null!=t&&(n(Object(t))?ot.merge(r,"string"==typeof t?[t]:t):G.call(r,t)),r},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,s=t.length,a=!n;o<s;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,r){var i,o,s=0,a=[];if(n(t))for(i=t.length;s<i;s++)o=e(t[s],s,r),null!=o&&a.push(o);else for(s in t)o=e(t[s],s,r),null!=o&&a.push(o);return Z.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),ot.isFunction(t))return r=Y.call(arguments,2),i=function(){return t.apply(e||this,r.concat(Y.call(arguments)))},i.guid=t.guid=t.guid||ot.guid++,i},now:Date.now,support:rt}),"function"==typeof Symbol&&(ot.fn[Symbol.iterator]=X[Symbol.iterator]),ot.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var lt=function(t){function e(t,e,n,r){var i,o,s,a,u,c,h,f,d=e&&e.ownerDocument,g=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==g&&9!==g&&11!==g)return n;if(!r&&((e?e.ownerDocument||e:H)!==O&&I(e),e=e||O,D)){if(11!==g&&(c=mt.exec(t)))if(i=c[1]){if(9===g){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(d&&(s=d.getElementById(i))&&z(e,s)&&s.id===i)return n.push(s),n}else{if(c[2])return G.apply(n,e.getElementsByTagName(t)),n;if((i=c[3])&&x.getElementsByClassName&&e.getElementsByClassName)return G.apply(n,e.getElementsByClassName(i)),n}if(x.qsa&&!$[t+" "]&&(!R||!R.test(t))){if(1!==g)d=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(bt,"\\$&"):e.setAttribute("id",a=B),h=T(t),o=h.length,u=pt.test(a)?"#"+a:"[id='"+a+"']";o--;)h[o]=u+" "+p(h[o]);f=h.join(","),d=yt.test(t)&&l(e.parentNode)||e}if(f)try{return G.apply(n,d.querySelectorAll(f)),n}catch(v){}finally{a===B&&e.removeAttribute("id")}}}return C(t.replace(at,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>_.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[B]=!0,t}function i(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function l(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function f(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=M++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,s){var a,u,c,l=[q,o];if(s){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if(c=e[B]||(e[B]={}),u=c[e.uniqueID]||(c[e.uniqueID]={}),(a=u[r])&&a[0]===q&&a[1]===o)return l[2]=a[2];if(u[r]=l,l[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function v(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,c=null!=e;a<u;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),c&&e.push(a)));return s}function m(t,e,n,i,o,s){return i&&!i[B]&&(i=m(i)),o&&!o[B]&&(o=m(o,s)),r(function(r,s,a,u){var c,l,h,p=[],f=[],d=s.length,m=r||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?m:v(m,p,t,a,u),b=n?o||(r?t:d||i)?[]:s:y;if(n&&n(y,b,a,u),i)for(c=v(b,f),i(c,[],a,u),l=c.length;l--;)(h=c[l])&&(b[f[l]]=!(y[f[l]]=h));if(r){if(o||t){if(o){for(c=[],l=b.length;l--;)(h=b[l])&&c.push(y[l]=h);o(null,b=[],c,u)}for(l=b.length;l--;)(h=b[l])&&(c=o?tt(r,h):p[l])>-1&&(r[c]=!(s[c]=h))}}else b=v(b===s?b.splice(d,b.length):b),o?o(null,s,b,u):G.apply(s,b)})}function y(t){for(var e,n,r,i=t.length,o=_.relative[t[0].type],s=o||_.relative[" "],a=o?1:0,u=f(function(t){return t===e},s,!0),c=f(function(t){return tt(e,t)>-1},s,!0),l=[function(t,n,r){var i=!o&&(r||n!==A)||((e=n).nodeType?u(t,n,r):c(t,n,r));return e=null,i}];a<i;a++)if(n=_.relative[t[a].type])l=[f(d(l),n)];else{if(n=_.filter[t[a].type].apply(null,t[a].matches),n[B]){for(r=++a;r<i&&!_.relative[t[r].type];r++);return m(a>1&&d(l),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,a<r&&y(t.slice(a,r)),r<i&&y(t=t.slice(r)),r<i&&p(t))}l.push(n)}return d(l)}function b(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,c){var l,h,p,f=0,d="0",g=r&&[],m=[],y=A,b=r||o&&_.find.TAG("*",c),w=q+=null==y?1:Math.random()||.1,x=b.length;for(c&&(A=s===O||s||c);d!==x&&null!=(l=b[d]);d++){if(o&&l){for(h=0,s||l.ownerDocument===O||(I(l),a=!D);p=t[h++];)if(p(l,s||O,a)){u.push(l);break}c&&(q=w)}i&&((l=!p&&l)&&f--,r&&g.push(l))}if(f+=d,i&&d!==f){for(h=0;p=n[h++];)p(g,m,s,a);if(r){if(f>0)for(;d--;)g[d]||m[d]||(m[d]=Y.call(u));m=v(m)}G.apply(u,m),c&&!r&&m.length>0&&f+n.length>1&&e.uniqueSort(u)}return c&&(q=w,A=y),g};return i?r(s):s}var w,x,_,k,S,T,E,C,A,P,j,I,O,L,D,R,N,F,z,B="sizzle"+1*new Date,H=t.document,q=0,M=0,U=n(),W=n(),$=n(),V=function(t,e){return t===e&&(j=!0),0},Q=1<<31,X={}.hasOwnProperty,J=[],Y=J.pop,Z=J.push,G=J.push,K=J.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),lt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(ot),pt=new RegExp("^"+rt+"$"),ft={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_t=function(){I()};try{G.apply(J=K.call(H.childNodes),H.childNodes),J[H.childNodes.length].nodeType}catch(kt){G={apply:J.length?function(t,e){Z.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}x=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},I=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:H;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,L=O.documentElement,D=!S(O),(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_t,!1):n.attachEvent&&n.attachEvent("onunload",_t)),x.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=i(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(O.getElementsByClassName),x.getById=i(function(t){return L.appendChild(t).id=B,!O.getElementsByName||!O.getElementsByName(B).length}),x.getById?(_.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&D){var n=e.getElementById(t);return n?[n]:[]}},_.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute("id")===e}}):(delete _.find.ID,_.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),_.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},_.find.CLASS=x.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&D)return e.getElementsByClassName(t)},N=[],R=[],(x.qsa=vt.test(O.querySelectorAll))&&(i(function(t){L.appendChild(t).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+B+"-]").length||R.push("~="),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+B+"+*").length||R.push(".#.+[+~]")}),i(function(t){var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=vt.test(F=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(t){x.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),N.push("!=",ot)}),R=R.length&&new RegExp(R.join("|")),N=N.length&&new RegExp(N.join("|")),e=vt.test(L.compareDocumentPosition),z=e||vt.test(L.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!x.sortDetached&&e.compareDocumentPosition(t)===n?t===O||t.ownerDocument===H&&z(H,t)?-1:e===O||e.ownerDocument===H&&z(H,e)?1:P?tt(P,t)-tt(P,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===O?-1:e===O?1:i?-1:o?1:P?tt(P,t)-tt(P,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===H?-1:u[r]===H?1:0},O):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&I(t),n=n.replace(lt,"='$1']"),x.matchesSelector&&D&&!$[n+" "]&&(!N||!N.test(n))&&(!R||!R.test(n)))try{var r=F.call(t,n);if(r||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&I(t),z(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&I(t);var n=_.attrHandle[e.toLowerCase()],r=n&&X.call(_.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==r?r:x.attributes||!D?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(j=!x.detectDuplicates,P=!x.sortStable&&t.slice(0),t.sort(V),j){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return P=null,t},k=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=k(e);return n},_=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(st," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,h,p,f,d,g=o!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!u&&!a,b=!1;if(v){if(o){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?v.firstChild:v.lastChild],s&&y){for(p=v,h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),c=l[t]||[],f=c[0]===q&&c[1],b=f&&c[2],p=f&&v.childNodes[f];p=++f&&p&&p[g]||(b=f=0)||d.pop();)if(1===p.nodeType&&++b&&p===e){l[t]=[q,f,b];break}}else if(y&&(p=e,h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),c=l[t]||[],f=c[0]===q&&c[1],b=f),b===!1)for(;(p=++f&&p&&p[g]||(b=f=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&(h=p[B]||(p[B]={}),l=h[p.uniqueID]||(h[p.uniqueID]={}),l[t]=[q,b]),p!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=_.pseudos[t]||_.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[B]?o(n):o.length>1?(i=[t,t,"",n],_.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=tt(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=E(t.replace(at,"$1"));return i[B]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(wt,xt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},_.pseudos.nth=_.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})_.pseudos[w]=u(w);return h.prototype=_.filters=_.pseudos,_.setFilters=new h,T=e.tokenize=function(t,n){var r,i,o,s,a,u,c,l=W[t+" "];if(l)return n?0:l.slice(0);for(a=t,u=[],c=_.preFilter;a;){r&&!(i=ut.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ct.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(at," ")}),a=a.slice(r.length));for(s in _.filter)!(i=ft[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):W(t,u).slice(0)},E=e.compile=function(t,e){var n,r=[],i=[],o=$[t+" "];if(!o){for(e||(e=T(t)),n=e.length;n--;)o=y(e[n]),o[B]?r.push(o):i.push(o);o=$(t,b(i,r)),o.selector=t}return o},C=e.select=function(t,e,n,r){var i,o,s,a,u,c="function"==typeof t&&t,h=!r&&T(t=c.selector||t);if(n=n||[],1===h.length){if(o=h[0]=h[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&x.getById&&9===e.nodeType&&D&&_.relative[o[1].type]){if(e=(_.find.ID(s.matches[0].replace(wt,xt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(s=o[i],!_.relative[a=s.type]);)if((u=_.find[a])&&(r=u(s.matches[0].replace(wt,xt),yt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&p(o),!t)return G.apply(n,r),n;break}}return(c||E(t,h))(r,e,!D,n,!e||yt.test(t)&&l(e.parentNode)||e),n},x.sortStable=B.split("").sort(V).join("")===B,x.detectDuplicates=!!j,I(),x.sortDetached=i(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(t);ot.find=lt,ot.expr=lt.selectors,ot.expr[":"]=ot.expr.pseudos,ot.uniqueSort=ot.unique=lt.uniqueSort,ot.text=lt.getText,ot.isXMLDoc=lt.isXML,ot.contains=lt.contains;var ht=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&ot(t).is(n))break;r.push(t)}return r},pt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},ft=ot.expr.match.needsContext,dt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,gt=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?ot.find.matchesSelector(r,t)?[r]:[]:ot.find.matches(t,ot.grep(e,function(t){return 1===t.nodeType}))},ot.fn.extend({find:function(t){var e,n=this.length,r=[],i=this;if("string"!=typeof t)return this.pushStack(ot(t).filter(function(){for(e=0;e<n;e++)if(ot.contains(i[e],this))return!0}));for(e=0;e<n;e++)ot.find(t,i[e],r);return r=this.pushStack(n>1?ot.unique(r):r),r.selector=this.selector?this.selector+" "+t:t,r},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(t){return!!r(this,"string"==typeof t&&ft.test(t)?ot(t):t||[],!1).length}});var vt,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,yt=ot.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||vt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:mt.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),dt.test(r[1])&&ot.isPlainObject(e))for(r in e)ot.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=J.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?void 0!==n.ready?n.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))};yt.prototype=ot.fn,vt=ot(J);var bt=/^(?:parents|prev(?:Until|All))/,wt={children:!0,contents:!0,next:!0,prev:!0};ot.fn.extend({has:function(t){var e=ot(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(ot.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],s=ft.test(t)||"string"!=typeof t?ot(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?ot.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?K.call(ot(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.uniqueSort(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ht(t,"parentNode")},parentsUntil:function(t,e,n){return ht(t,"parentNode",n)},next:function(t){return i(t,"nextSibling")},prev:function(t){return i(t,"previousSibling")},nextAll:function(t){return ht(t,"nextSibling")},prevAll:function(t){return ht(t,"previousSibling")},nextUntil:function(t,e,n){return ht(t,"nextSibling",n)},prevUntil:function(t,e,n){return ht(t,"previousSibling",n)},siblings:function(t){return pt((t.parentNode||{}).firstChild,t)},children:function(t){return pt(t.firstChild)},contents:function(t){return t.contentDocument||ot.merge([],t.childNodes)}},function(t,e){ot.fn[t]=function(n,r){var i=ot.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&(wt[t]||ot.uniqueSort(i),bt.test(t)&&i.reverse()),this.pushStack(i)}});var xt=/\S+/g;ot.Callbacks=function(t){t="string"==typeof t?o(t):ot.extend({},t);var e,n,r,i,s=[],a=[],u=-1,c=function(){for(i=t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<s.length;)s[u].apply(n[0],n[1])===!1&&t.stopOnFalse&&(u=s.length,n=!1);t.memory||(n=!1),e=!1,i&&(s=n?[]:"")},l={add:function(){return s&&(n&&!e&&(u=s.length-1,a.push(n)),function r(e){ot.each(e,function(e,n){ot.isFunction(n)?t.unique&&l.has(n)||s.push(n):n&&n.length&&"string"!==ot.type(n)&&r(n)})}(arguments),n&&!e&&c()),this},remove:function(){return ot.each(arguments,function(t,e){for(var n;(n=ot.inArray(e,s,n))>-1;)s.splice(n,1),n<=u&&u--}),this},has:function(t){return t?ot.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return i=a=[],n||(s=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred(function(n){ot.each(e,function(e,o){var s=ot.isFunction(t[e])&&t[e];i[o[1]](function(){var t=s&&s.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ot.extend(t,r):r}},i={};return r.pipe=r.then,ot.each(e,function(t,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,r,i=0,o=Y.call(arguments),s=o.length,a=1!==s||t&&ot.isFunction(t.promise)?s:0,u=1===a?t:ot.Deferred(),c=function(t,n,r){return function(i){n[t]=this,r[t]=arguments.length>1?Y.call(arguments):i,r===e?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(e=new Array(s),n=new Array(s),r=new Array(s);i<s;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().progress(c(i,n,e)).done(c(i,r,o)).fail(u.reject):--a;return a||u.resolveWith(r,o),u.promise()}});var _t;ot.fn.ready=function(t){return ot.ready.promise().done(t),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ot.readyWait++:ot.ready(!0)},ready:function(t){(t===!0?--ot.readyWait:ot.isReady)||(ot.isReady=!0,t!==!0&&--ot.readyWait>0||(_t.resolveWith(J,[ot]),ot.fn.triggerHandler&&(ot(J).triggerHandler("ready"),ot(J).off("ready"))))}}),ot.ready.promise=function(e){return _t||(_t=ot.Deferred(),"complete"===J.readyState||"loading"!==J.readyState&&!J.documentElement.doScroll?t.setTimeout(ot.ready):(J.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s))),_t.promise(e)},ot.ready.promise();var kt=function(t,e,n,r,i,o,s){var a=0,u=t.length,c=null==n;if("object"===ot.type(n)){i=!0;for(a in n)kt(t,e,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,ot.isFunction(r)||(s=!0),c&&(s?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(ot(t),n)})),e))for(;a<u;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:c?e.call(t):u?e(t[0],n):o},St=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};a.uid=1,a.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!St(t))return{};var e=t[this.expando];return e||(e={},St(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[e]=n;else for(r in e)i[r]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var r;return void 0===e||e&&"string"==typeof e&&void 0===n?(r=this.get(t,e),void 0!==r?r:this.get(t,ot.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r,i,o=t[this.expando];if(void 0!==o){if(void 0===e)this.register(t);else{ot.isArray(e)?r=e.concat(e.map(ot.camelCase)):(i=ot.camelCase(e),e in o?r=[e,i]:(r=i,r=r in o?[r]:r.match(xt)||[])),n=r.length;for(;n--;)delete o[r[n]]}(void 0===e||ot.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!ot.isEmptyObject(e)}};var Tt=new a,Et=new a,Ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,At=/[A-Z]/g;ot.extend({hasData:function(t){return Et.hasData(t)||Tt.hasData(t)},data:function(t,e,n){return Et.access(t,e,n)},removeData:function(t,e){Et.remove(t,e)},_data:function(t,e,n){return Tt.access(t,e,n)},_removeData:function(t,e){Tt.remove(t,e)}}),ot.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Et.get(o),1===o.nodeType&&!Tt.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=ot.camelCase(r.slice(5)),u(o,r,i[r])));Tt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Et.set(this,t)}):kt(this,function(e){var n,r;if(o&&void 0===e){if(n=Et.get(o,t)||Et.get(o,t.replace(At,"-$&").toLowerCase()),void 0!==n)return n;if(r=ot.camelCase(t),n=Et.get(o,r),void 0!==n)return n;if(n=u(o,r,void 0),void 0!==n)return n}else r=ot.camelCase(t),this.each(function(){var n=Et.get(this,r);Et.set(this,r,e),t.indexOf("-")>-1&&void 0!==n&&Et.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Et.remove(this,t)})}}),ot.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Tt.get(t,e),n&&(!r||ot.isArray(n)?r=Tt.access(t,e,ot.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=ot.queue(t,e),r=n.length,i=n.shift(),o=ot._queueHooks(t,e),s=function(){ot.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Tt.get(t,n)||Tt.access(t,n,{empty:ot.Callbacks("once memory").add(function(){Tt.remove(t,[e+"queue",n])})})}}),ot.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ot.queue(this[0],t):void 0===e?this:this.each(function(){var n=ot.queue(this,t,e);ot._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ot.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ot.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=ot.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Tt.get(o[s],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var Pt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,jt=new RegExp("^(?:([+-])=|)("+Pt+")([a-z%]*)$","i"),It=["Top","Right","Bottom","Left"],Ot=function(t,e){return t=e||t,"none"===ot.css(t,"display")||!ot.contains(t.ownerDocument,t)},Lt=/^(?:checkbox|radio)$/i,Dt=/<([\w:-]+)/,Rt=/^$|\/(?:java|ecma)script/i,Nt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td;var Ft=/<|&#?\w+;/;
|
236
|
+
!function(){var t=J.createDocumentFragment(),e=t.appendChild(J.createElement("div")),n=J.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),rt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",rt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var zt=/^key/,Bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ht=/^([^.]*)(?:\.(.+)|)/;ot.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,c,l,h,p,f,d,g,v=Tt.get(t);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),n.guid||(n.guid=ot.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return"undefined"!=typeof ot&&ot.event.triggered!==e.type?ot.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(xt)||[""],c=e.length;c--;)a=Ht.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f&&(h=ot.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,h=ot.event.special[f]||{},l=ot.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ot.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=u[f])||(p=u[f]=[],p.delegateCount=0,h.setup&&h.setup.call(t,r,d,s)!==!1||t.addEventListener&&t.addEventListener(f,s)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),ot.event.global[f]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,c,l,h,p,f,d,g,v=Tt.hasData(t)&&Tt.get(t);if(v&&(u=v.events)){for(e=(e||"").match(xt)||[""],c=e.length;c--;)if(a=Ht.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f){for(h=ot.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,p=u[f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)l=p[o],!i&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,h.remove&&h.remove.call(t,l));s&&!p.length&&(h.teardown&&h.teardown.call(t,d,v.handle)!==!1||ot.removeEvent(t,f,v.handle),delete u[f])}else for(f in u)ot.event.remove(t,f+e[c],n,r,!0);ot.isEmptyObject(u)&&Tt.remove(t,"handle events")}},dispatch:function(t){t=ot.event.fix(t);var e,n,r,i,o,s=[],a=Y.call(arguments),u=(Tt.get(this,"events")||{})[t.type]||[],c=ot.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=ot.event.handlers.call(this,t,u),e=0;(i=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,r=((ot.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),void 0!==r&&(t.result=r)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(r=[],n=0;n<a;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?ot(i,this).index(u)>-1:ot.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||J,r=n.documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[ot.expando])return t;var e,n,r,i=t.type,o=t,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Bt.test(i)?this.mouseHooks:zt.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,t=new ot.Event(o),e=r.length;e--;)n=r[e],t[n]=o[n];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==g()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===g()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ot.nodeName(this,"input"))return this.click(),!1},_default:function(t){return ot.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},ot.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},ot.Event=function(t,e){return this instanceof ot.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?f:d):this.type=t,e&&ot.extend(this,e),this.timeStamp=t&&t.timeStamp||ot.now(),void(this[ot.expando]=!0)):new ot.Event(t,e)},ot.Event.prototype={constructor:ot.Event,isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=f,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ot.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||ot.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),ot.fn.extend({on:function(t,e,n,r){return v(this,t,e,n,r)},one:function(t,e,n,r){return v(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,ot(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=d),this.each(function(){ot.event.remove(this,t,n,e)})}});var qt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Mt=/<script|<style|<link/i,Ut=/checked\s*(?:[^=]|=\s*.checked.)/i,Wt=/^true\/(.*)/,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ot.extend({htmlPrefilter:function(t){return t.replace(qt,"<$1></$2>")},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),u=ot.contains(t.ownerDocument,t);if(!(rt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))for(s=l(a),o=l(t),r=0,i=o.length;r<i;r++)x(o[r],s[r]);if(e)if(n)for(o=o||l(t),s=s||l(a),r=0,i=o.length;r<i;r++)w(o[r],s[r]);else w(t,a);return s=l(a,"script"),s.length>0&&h(s,!u&&l(t,"script")),a},cleanData:function(t){for(var e,n,r,i=ot.event.special,o=0;void 0!==(n=t[o]);o++)if(St(n)){if(e=n[Tt.expando]){if(e.events)for(r in e.events)i[r]?ot.event.remove(n,r):ot.removeEvent(n,r,e.handle);n[Tt.expando]=void 0}n[Et.expando]&&(n[Et.expando]=void 0)}}}),ot.fn.extend({domManip:_,detach:function(t){return k(this,t,!0)},remove:function(t){return k(this,t)},text:function(t){return kt(this,function(t){return void 0===t?ot.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return _(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.appendChild(t)}})},prepend:function(){return _(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return _(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return _(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(ot.cleanData(l(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ot.clone(this,t,e)})},html:function(t){return kt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Mt.test(t)&&!Nt[(Dt.exec(t)||["",""])[1].toLowerCase()]){t=ot.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(ot.cleanData(l(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return _(this,arguments,function(e){var n=this.parentNode;ot.inArray(this,t)<0&&(ot.cleanData(l(this)),n&&n.replaceChild(e,this))},t)}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ot.fn[t]=function(t){for(var n,r=[],i=ot(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),ot(i[s])[e](n),G.apply(r,n.get());return this.pushStack(r)}});var Vt,Qt={HTML:"block",BODY:"block"},Xt=/^margin/,Jt=new RegExp("^("+Pt+")(?!px)[a-z%]+$","i"),Yt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Zt=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i},Gt=J.documentElement;!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Gt.appendChild(s);var e=t.getComputedStyle(a);n="1%"!==e.top,o="2px"===e.marginLeft,r="4px"===e.width,a.style.marginRight="50%",i="4px"===e.marginRight,Gt.removeChild(s)}var n,r,i,o,s=J.createElement("div"),a=J.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),ot.extend(rt,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),i},reliableMarginLeft:function(){return null==r&&e(),o},reliableMarginRight:function(){var e,n=a.appendChild(J.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Gt.appendChild(s),e=!parseFloat(t.getComputedStyle(n).marginRight),Gt.removeChild(s),a.removeChild(n),e}}))}();var Kt=/^(none|table(?!-c[ea]).+)/,te={position:"absolute",visibility:"hidden",display:"block"},ee={letterSpacing:"0",fontWeight:"400"},ne=["Webkit","O","Moz","ms"],re=J.createElement("div").style;ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=E(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=ot.camelCase(e),u=t.style;return e=ot.cssProps[a]||(ot.cssProps[a]=A(a)||a),s=ot.cssHooks[e]||ot.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e]:(o=typeof n,"string"===o&&(i=jt.exec(n))&&i[1]&&(n=c(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(ot.cssNumber[a]?"":"px")),rt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(u[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,s,a=ot.camelCase(e);return e=ot.cssProps[a]||(ot.cssProps[a]=A(a)||a),s=ot.cssHooks[e]||ot.cssHooks[a],s&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=E(t,e,r)),"normal"===i&&e in ee&&(i=ee[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),ot.each(["height","width"],function(t,e){ot.cssHooks[e]={get:function(t,n,r){if(n)return Kt.test(ot.css(t,"display"))&&0===t.offsetWidth?Zt(t,te,function(){return I(t,e,r)}):I(t,e,r)},set:function(t,n,r){var i,o=r&&Yt(t),s=r&&j(t,e,r,"border-box"===ot.css(t,"boxSizing",!1,o),o);return s&&(i=jt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=ot.css(t,e)),P(t,n,s)}}}),ot.cssHooks.marginLeft=C(rt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(E(t,"marginLeft"))||t.getBoundingClientRect().left-Zt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),ot.cssHooks.marginRight=C(rt.reliableMarginRight,function(t,e){if(e)return Zt(t,{display:"inline-block"},E,[t,"marginRight"])}),ot.each({margin:"",padding:"",border:"Width"},function(t,e){ot.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+It[r]+e]=o[r]||o[r-2]||o[0];return i}},Xt.test(t)||(ot.cssHooks[t+e].set=P)}),ot.fn.extend({css:function(t,e){return kt(this,function(t,e,n){var r,i,o={},s=0;if(ot.isArray(e)){for(r=Yt(t),i=e.length;s<i;s++)o[e[s]]=ot.css(t,e[s],!1,r);return o}return void 0!==n?ot.style(t,e,n):ot.css(t,e)},t,e,arguments.length>1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ot(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=L,L.prototype={constructor:L,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||ot.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var t=L.propHooks[this.prop];return t&&t.get?t.get(this):L.propHooks._default.get(this)},run:function(t){var e,n=L.propHooks[this.prop];return this.options.duration?this.pos=e=ot.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ot.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ot.cssProps[t.prop]]&&!ot.cssHooks[t.prop]?t.elem[t.prop]=t.now:ot.style(t.elem,t.prop,t.now+t.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ot.fx=L.prototype.init,ot.fx.step={};var ie,oe,se=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;ot.Animation=ot.extend(B,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return c(n.elem,t,jt.exec(e),n),n}]},tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.match(xt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(e)},prefilters:[F],prefilter:function(t,e){e?B.prefilters.unshift(t):B.prefilters.push(t)}}),ot.speed=function(t,e,n){var r=t&&"object"==typeof t?ot.extend({},t):{complete:n||!n&&e||ot.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ot.isFunction(e)&&e};return r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ot).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=ot.isEmptyObject(t),o=ot.speed(e,n,r),s=function(){var e=B(this,ot.extend({},t),o);(i||Tt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=ot.timers,s=Tt.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ae.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||ot.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Tt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=ot.timers,s=r?r.length:0;for(n.finish=!0,ot.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(t,e){var n=ot.fn[e];ot.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(R(e,!0),t,r,i)}}),ot.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ot.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),ot.timers=[],ot.fx.tick=function(){var t,e=0,n=ot.timers;for(ie=ot.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||ot.fx.stop(),ie=void 0},ot.fx.timer=function(t){ot.timers.push(t),t()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){oe||(oe=t.setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){t.clearInterval(oe),oe=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,n){return e=ot.fx?ot.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,r){var i=t.setTimeout(n,e);r.stop=function(){t.clearTimeout(i)}})},function(){var t=J.createElement("input"),e=J.createElement("select"),n=e.appendChild(J.createElement("option"));t.type="checkbox",rt.checkOn=""!==t.value,rt.optSelected=n.selected,e.disabled=!0,rt.optDisabled=!n.disabled,t=J.createElement("input"),t.value="t",t.type="radio",rt.radioValue="t"===t.value}();var ue,ce=ot.expr.attrHandle;ot.fn.extend({attr:function(t,e){return kt(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ot.removeAttr(this,t)})}}),ot.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?ot.prop(t,e,n):(1===o&&ot.isXMLDoc(t)||(e=e.toLowerCase(),i=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?ue:void 0)),void 0!==n?null===n?void ot.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=ot.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!rt.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(xt);if(o&&1===t.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)&&(t[r]=!1),t.removeAttribute(n)}}),ue={set:function(t,e,n){return e===!1?ot.removeAttr(t,n):t.setAttribute(n,n),n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ce[e]||ot.find.attr;ce[e]=function(t,e,r){var i,o;return r||(o=ce[e],ce[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,ce[e]=o),i}});var le=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return kt(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[ot.propFix[t]||t]})}}),ot.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ot.isXMLDoc(t)||(e=ot.propFix[e]||e,i=ot.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):le.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),rt.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this});var pe=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(ot.isFunction(t))return this.each(function(e){ot(this).addClass(t.call(this,e,H(this)))});if("string"==typeof t&&t)for(e=t.match(xt)||[];n=this[u++];)if(i=H(n),r=1===n.nodeType&&(" "+i+" ").replace(pe," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=ot.trim(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(ot.isFunction(t))return this.each(function(e){ot(this).removeClass(t.call(this,e,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(xt)||[];n=this[u++];)if(i=H(n),r=1===n.nodeType&&(" "+i+" ").replace(pe," ")){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=ot.trim(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ot.isFunction(t)?this.each(function(n){ot(this).toggleClass(t.call(this,n,H(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=ot(this),o=t.match(xt)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=H(this),e&&Tt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Tt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(pe," ").indexOf(e)>-1)return!0;return!1}});var fe=/\r/g,de=/[\x20\t\r\n\f]+/g;ot.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=ot.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,ot(this).val()):t,null==i?i="":"number"==typeof i?i+="":ot.isArray(i)&&(i=ot.map(i,function(t){return null==t?"":t+""})),e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=ot.valHooks[i.type]||ot.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(fe,""):null==n?"":n)}}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t)).replace(de," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(n=r[u],(n.selected||u===i)&&(rt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ot.nodeName(n.parentNode,"optgroup"))){if(e=ot(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=ot.makeArray(e),s=i.length;s--;)r=i[s],(r.selected=ot.inArray(ot.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(t,e){if(ot.isArray(e))return t.checked=ot.inArray(ot(t).val(),e)>-1}},rt.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ge=/^(?:focusinfocus|focusoutblur)$/;ot.extend(ot.event,{trigger:function(e,n,r,i){var o,s,a,u,c,l,h,p=[r||J],f=nt.call(e,"type")?e.type:e,d=nt.call(e,"namespace")?e.namespace.split("."):[];if(s=a=r=r||J,3!==r.nodeType&&8!==r.nodeType&&!ge.test(f+ot.event.triggered)&&(f.indexOf(".")>-1&&(d=f.split("."),f=d.shift(),d.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[ot.expando]?e:new ot.Event(f,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:ot.makeArray(n,[e]),h=ot.event.special[f]||{},i||!h.trigger||h.trigger.apply(r,n)!==!1)){if(!i&&!h.noBubble&&!ot.isWindow(r)){for(u=h.delegateType||f,ge.test(u+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||J)&&p.push(a.defaultView||a.parentWindow||t)}for(o=0;(s=p[o++])&&!e.isPropagationStopped();)e.type=o>1?u:h.bindType||f,l=(Tt.get(s,"events")||{})[e.type]&&Tt.get(s,"handle"),l&&l.apply(s,n),l=c&&s[c],l&&l.apply&&St(s)&&(e.result=l.apply(s,n),e.result===!1&&e.preventDefault());return e.type=f,i||e.isDefaultPrevented()||h._default&&h._default.apply(p.pop(),n)!==!1||!St(r)||c&&ot.isFunction(r[f])&&!ot.isWindow(r)&&(a=r[c],a&&(r[c]=null),ot.event.triggered=f,r[f](),ot.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(t,e,n){var r=ot.extend(new ot.Event,n,{type:t,isSimulated:!0});ot.event.trigger(r,null,e)}}),ot.fn.extend({trigger:function(t,e){return this.each(function(){ot.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ot.event.trigger(t,e,n,!0)}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ot.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ot.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),rt.focusin="onfocusin"in t,rt.focusin||ot.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){ot.event.simulate(e,t.target,ot.event.fix(t))};ot.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Tt.access(r,e);i||r.addEventListener(t,n,!0),Tt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Tt.access(r,e)-1;i?Tt.access(r,e,i):(r.removeEventListener(t,n,!0),Tt.remove(r,e))}}});var ve=t.location,me=ot.now(),ye=/\?/;ot.parseJSON=function(t){return JSON.parse(t+"")},ot.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(r){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),n};var be=/#.*$/,we=/([?&])_=[^&]*/,xe=/^(.*?):[ \t]*([^\r\n]*)$/gm,_e=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ke=/^(?:GET|HEAD)$/,Se=/^\/\//,Te={},Ee={},Ce="*/".concat("*"),Ae=J.createElement("a");Ae.href=ve.href,ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ve.href,type:"GET",isLocal:_e.test(ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ce,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?U(U(t,ot.ajaxSettings),e):U(ot.ajaxSettings,t)},ajaxPrefilter:q(Te),ajaxTransport:q(Ee),ajax:function(e,n){function r(e,n,r,a){var c,h,y,b,x,k=n;2!==w&&(w=2,u&&t.clearTimeout(u),i=void 0,s=a||"",_.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(b=W(p,_,r)),b=$(p,b,_,c),c?(p.ifModified&&(x=_.getResponseHeader("Last-Modified"),x&&(ot.lastModified[o]=x),x=_.getResponseHeader("etag"),x&&(ot.etag[o]=x)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=b.state,h=b.data,y=b.error,c=!y)):(y=k,!e&&k||(k="error",e<0&&(e=0))),_.status=e,_.statusText=(n||k)+"",c?g.resolveWith(f,[h,k,_]):g.rejectWith(f,[_,k,y]),_.statusCode(m),m=void 0,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[_,p,c?h:y]),v.fireWith(f,[_,k]),l&&(d.trigger("ajaxComplete",[_,p]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,o,s,a,u,c,l,h,p=ot.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?ot(f):ot.event,g=ot.Deferred(),v=ot.Callbacks("once memory"),m=p.statusCode||{},y={},b={},w=0,x="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!a)for(a={};e=xe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=b[n]=b[n]||t,y[t]=e),this},overrideMimeType:function(t){return w||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)m[e]=[m[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||x;return i&&i.abort(e),r(0,e),this}};if(g.promise(_).complete=v.add,_.success=_.done,_.error=_.fail,p.url=((e||p.url||ve.href)+"").replace(be,"").replace(Se,ve.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ot.trim(p.dataType||"*").toLowerCase().match(xt)||[""],null==p.crossDomain){c=J.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Ae.protocol+"//"+Ae.host!=c.protocol+"//"+c.host}catch(k){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ot.param(p.data,p.traditional)),M(Te,p,n,_),2===w)return _;l=ot.event&&p.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!ke.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(ye.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=we.test(o)?o.replace(we,"$1_="+me++):o+(ye.test(o)?"&":"?")+"_="+me++)),p.ifModified&&(ot.lastModified[o]&&_.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&_.setRequestHeader("If-None-Match",ot.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ce+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)_.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(f,_,p)===!1||2===w))return _.abort();x="abort";for(h in{success:1,error:1,complete:1})_[h](p[h]);if(i=M(Ee,p,n,_)){if(_.readyState=1,l&&d.trigger("ajaxSend",[_,p]),2===w)return _;p.async&&p.timeout>0&&(u=t.setTimeout(function(){_.abort("timeout")},p.timeout));try{w=1,i.send(y,r)}catch(k){if(!(w<2))throw k;r(-1,k)}}else r(-1,"No Transport");return _},getJSON:function(t,e,n){return ot.get(t,e,n,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],function(t,e){ot[e]=function(t,n,r,i){return ot.isFunction(n)&&(i=i||r,r=n,n=void 0),ot.ajax(ot.extend({url:t,type:e,dataType:i,data:n,success:r},ot.isPlainObject(t)&&t))}}),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(t){var e;return ot.isFunction(t)?this.each(function(e){ot(this).wrapAll(t.call(this,e))}):(this[0]&&(e=ot(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return ot.isFunction(t)?this.each(function(e){ot(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ot(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ot.isFunction(t);
|
237
|
+
return this.each(function(n){ot(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(t){return!ot.expr.filters.visible(t)},ot.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Pe=/%20/g,je=/\[\]$/,Ie=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var n,r=[],i=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,function(){i(this.name,this.value)});else for(n in t)V(n,t[n],e,i);return r.join("&").replace(Pe,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&Le.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!Lt.test(t))}).map(function(t,e){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:n.replace(Ie,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var De={0:200,1223:204},Re=ot.ajaxSettings.xhr();rt.cors=!!Re&&"withCredentials"in Re,rt.ajax=Re=!!Re,ot.ajaxTransport(function(e){var n,r;if(rt.cors||Re&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);n=function(t){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(De[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),ot.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=ot("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ne=[],Fe=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ne.pop()||ot.expando+"_"+me++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,s,a=e.jsonp!==!1&&(Fe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fe.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Fe,"$1"+i):e.jsonp!==!1&&(e.url+=(ye.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||ot.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){s=arguments},r.always(function(){void 0===o?ot(t).removeProp(i):t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,Ne.push(i)),s&&ot.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),ot.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||J;var r=dt.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=p([t],e,i),i&&i.length&&ot(i).remove(),ot.merge([],r.childNodes))};var ze=ot.fn.load;ot.fn.load=function(t,e,n){if("string"!=typeof t&&ze)return ze.apply(this,arguments);var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=ot.trim(t.slice(a)),t=t.slice(0,a)),ot.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&ot.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?ot("<div>").append(ot.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ot.fn[e]=function(t){return this.on(e,t)}}),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,function(e){return t===e.elem}).length},ot.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,c,l=ot.css(t,"position"),h=ot(t),p={};"static"===l&&(t.style.position="relative"),a=h.offset(),o=ot.css(t,"top"),u=ot.css(t,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=h.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),ot.isFunction(e)&&(e=e.call(t,n,ot.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+i),"using"in e?e.using.call(t,p):h.css(p)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ot.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return e=o.documentElement,ot.contains(e,r)?(i=r.getBoundingClientRect(),n=Q(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===ot.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(r=t.offset()),r.top+=ot.css(t[0],"borderTopWidth",!0),r.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-r.top-ot.css(n,"marginTop",!0),left:e.left-r.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||Gt})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;ot.fn[t]=function(r){return kt(this,function(t,r,i){var o=Q(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),ot.each(["top","left"],function(t,e){ot.cssHooks[e]=C(rt.pixelPosition,function(t,n){if(n)return n=E(t,e),Jt.test(n)?ot(t).position()[e]+"px":n})}),ot.each({Height:"height",Width:"width"},function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){ot.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||i===!0?"margin":"border");return kt(this,function(e,n,r){var i;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?ot.css(e,n,s):ot.style(e,n,r,s)},e,o?r:void 0,o,null)}})}),ot.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var Be=t.jQuery,He=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=He),e&&t.jQuery===ot&&(t.jQuery=Be),ot},e||(t.jQuery=t.$=ot),ot})},{}],3:[function(t,e,n){(function(t){(function(){function r(t,e){return t.set(e[0],e[1]),t}function i(t,e){return t.add(e),t}function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function s(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function u(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function l(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function h(t,e){var n=null==t?0:t.length;return!!n&&_(t,e,0)>-1}function p(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function f(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function d(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function g(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function v(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function m(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function y(t){return t.split("")}function b(t){return t.match(qe)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function x(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function _(t,e,n){return e===e?J(t,e,n):x(t,S,n)}function k(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function S(t){return t!==t}function T(t,e){var n=null==t?0:t.length;return n?j(t,e)/n:Rt}function E(t){return function(e){return null==e?nt:e[t]}}function C(t){return function(e){return null==t?nt:t[e]}}function A(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function P(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function j(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==nt&&(n=n===nt?o:n+o)}return n}function I(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function O(t,e){return f(e,function(e){return[e,t[e]]})}function L(t){return function(e){return t(e)}}function D(t,e){return f(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function N(t,e){for(var n=-1,r=t.length;++n<r&&_(e,t[n],0)>-1;);return n}function F(t,e){for(var n=t.length;n--&&_(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function B(t){return"\\"+tr[t]}function H(t,e){return null==t?nt:t[e]}function q(t){return $n.test(t)}function M(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function $(t,e){return function(n){return t(e(n))}}function V(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==ct||(t[n]=ct,o[i++]=n)}return o}function Q(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function J(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Y(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Z(t){return q(t)?K(t):mr(t)}function G(t){return q(t)?tt(t):y(t)}function K(t){for(var e=Un.lastIndex=0;Un.test(t);)++e;return e}function tt(t){return t.match(Un)||[]}function et(t){return t.match(Wn)||[]}var nt,rt="4.17.4",it=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",at="__lodash_hash_undefined__",ut=500,ct="__lodash_placeholder__",lt=1,ht=2,pt=4,ft=1,dt=2,gt=1,vt=2,mt=4,yt=8,bt=16,wt=32,xt=64,_t=128,kt=256,St=512,Tt=30,Et="...",Ct=800,At=16,Pt=1,jt=2,It=3,Ot=1/0,Lt=9007199254740991,Dt=1.7976931348623157e308,Rt=NaN,Nt=4294967295,Ft=Nt-1,zt=Nt>>>1,Bt=[["ary",_t],["bind",gt],["bindKey",vt],["curry",yt],["curryRight",bt],["flip",St],["partial",wt],["partialRight",xt],["rearg",kt]],Ht="[object Arguments]",qt="[object Array]",Mt="[object AsyncFunction]",Ut="[object Boolean]",Wt="[object Date]",$t="[object DOMException]",Vt="[object Error]",Qt="[object Function]",Xt="[object GeneratorFunction]",Jt="[object Map]",Yt="[object Number]",Zt="[object Null]",Gt="[object Object]",Kt="[object Promise]",te="[object Proxy]",ee="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ae="[object WeakSet]",ue="[object ArrayBuffer]",ce="[object DataView]",le="[object Float32Array]",he="[object Float64Array]",pe="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",ge="[object Uint8Array]",ve="[object Uint8ClampedArray]",me="[object Uint16Array]",ye="[object Uint32Array]",be=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,ke=/[&<>"']/g,Se=RegExp(_e.source),Te=RegExp(ke.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Ie=/^\./,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Le.source),Re=/^\s+|\s+$/g,Ne=/^\s+/,Fe=/\s+$/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Me=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,We=/\w*$/,$e=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",tn="\\u0300-\\u036f",en="\\ufe20-\\ufe2f",nn="\\u20d0-\\u20ff",rn=tn+en+nn,on="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",an="\\xac\\xb1\\xd7\\xf7",un="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cn="\\u2000-\\u206f",ln=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hn="A-Z\\xc0-\\xd6\\xd8-\\xde",pn="\\ufe0e\\ufe0f",fn=an+un+cn+ln,dn="['’]",gn="["+Ke+"]",vn="["+fn+"]",mn="["+rn+"]",yn="\\d+",bn="["+on+"]",wn="["+sn+"]",xn="[^"+Ke+fn+yn+on+sn+hn+"]",_n="\\ud83c[\\udffb-\\udfff]",kn="(?:"+mn+"|"+_n+")",Sn="[^"+Ke+"]",Tn="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+hn+"]",An="\\u200d",Pn="(?:"+wn+"|"+xn+")",jn="(?:"+Cn+"|"+xn+")",In="(?:"+dn+"(?:d|ll|m|re|s|t|ve))?",On="(?:"+dn+"(?:D|LL|M|RE|S|T|VE))?",Ln=kn+"?",Dn="["+pn+"]?",Rn="(?:"+An+"(?:"+[Sn,Tn,En].join("|")+")"+Dn+Ln+")*",Nn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Fn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",zn=Dn+Ln+Rn,Bn="(?:"+[bn,Tn,En].join("|")+")"+zn,Hn="(?:"+[Sn+mn+"?",mn,Tn,En,gn].join("|")+")",qn=RegExp(dn,"g"),Mn=RegExp(mn,"g"),Un=RegExp(_n+"(?="+_n+")|"+Hn+zn,"g"),Wn=RegExp([Cn+"?"+wn+"+"+In+"(?="+[vn,Cn,"$"].join("|")+")",jn+"+"+On+"(?="+[vn,Cn+Pn,"$"].join("|")+")",Cn+"?"+Pn+"+"+In,Cn+"+"+On,Fn,Nn,yn,Bn].join("|"),"g"),$n=RegExp("["+An+Ke+rn+pn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Qn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Jn={};Jn[le]=Jn[he]=Jn[pe]=Jn[fe]=Jn[de]=Jn[ge]=Jn[ve]=Jn[me]=Jn[ye]=!0,Jn[Ht]=Jn[qt]=Jn[ue]=Jn[Ut]=Jn[ce]=Jn[Wt]=Jn[Vt]=Jn[Qt]=Jn[Jt]=Jn[Yt]=Jn[Gt]=Jn[ee]=Jn[ne]=Jn[re]=Jn[se]=!1;var Yn={};Yn[Ht]=Yn[qt]=Yn[ue]=Yn[ce]=Yn[Ut]=Yn[Wt]=Yn[le]=Yn[he]=Yn[pe]=Yn[fe]=Yn[de]=Yn[Jt]=Yn[Yt]=Yn[Gt]=Yn[ee]=Yn[ne]=Yn[re]=Yn[ie]=Yn[ge]=Yn[ve]=Yn[me]=Yn[ye]=!0,Yn[Vt]=Yn[Qt]=Yn[se]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&","<":"<",">":">",'"':""","'":"'"},Kn={"&":"&","<":"<",">":">",""":'"',"'":"'"},tr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},er=parseFloat,nr=parseInt,rr="object"==typeof t&&t&&t.Object===Object&&t,ir="object"==typeof self&&self&&self.Object===Object&&self,or=rr||ir||Function("return this")(),sr="object"==typeof n&&n&&!n.nodeType&&n,ar=sr&&"object"==typeof e&&e&&!e.nodeType&&e,ur=ar&&ar.exports===sr,cr=ur&&rr.process,lr=function(){try{return cr&&cr.binding&&cr.binding("util")}catch(t){}}(),hr=lr&&lr.isArrayBuffer,pr=lr&&lr.isDate,fr=lr&&lr.isMap,dr=lr&&lr.isRegExp,gr=lr&&lr.isSet,vr=lr&&lr.isTypedArray,mr=E("length"),yr=C(Zn),br=C(Gn),wr=C(Kn),xr=function kr(t){function e(t){if(cu(t)&&!wp(t)&&!(t instanceof C)){if(t instanceof y)return t;if(wl.call(t,"__wrapped__"))return ss(t)}return new y(t)}function n(){}function y(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=nt}function C(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Nt,this.__views__=[]}function J(){var t=new C(this.__wrapped__);return t.__actions__=Hi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Hi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Hi(this.__views__),t}function K(){if(this.__filtered__){var t=new C(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function tt(){var t=this.__wrapped__.value(),e=this.__dir__,n=wp(t),r=e<0,i=n?t.length:0,o=jo(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,h=l.length,p=0,f=Yl(u,this.__takeCount__);if(!n||!r&&i==u&&f==u)return xi(t,this.__actions__);var d=[];t:for(;u--&&p<f;){c+=e;for(var g=-1,v=t[c];++g<h;){var m=l[g],y=m.iteratee,b=m.type,w=y(v);if(b==jt)v=w;else if(!w){if(b==Pt)continue t;break t}}d[p++]=v}return d}function qe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ke(){this.__data__=sh?sh(null):{},this.size=0}function tn(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function en(t){var e=this.__data__;if(sh){var n=e[t];return n===at?nt:n}return wl.call(e,t)?e[t]:nt}function nn(t){var e=this.__data__;return sh?e[t]!==nt:wl.call(e,t)}function rn(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=sh&&e===nt?at:e,this}function on(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function an(t){var e=this.__data__,n=On(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Dl.call(e,n,1),--this.size,!0}function un(t){var e=this.__data__,n=On(e,t);return n<0?nt:e[n][1]}function cn(t){return On(this.__data__,t)>-1}function ln(t,e){var n=this.__data__,r=On(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new qe,map:new(nh||on),string:new qe}}function fn(t){var e=Eo(this,t)["delete"](t);return this.size-=e?1:0,e}function dn(t){return Eo(this,t).get(t)}function gn(t){return Eo(this,t).has(t)}function vn(t,e){var n=Eo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function mn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new hn;++e<n;)this.add(t[e])}function yn(t){return this.__data__.set(t,at),this}function bn(t){return this.__data__.has(t)}function wn(t){var e=this.__data__=new on(t);this.size=e.size}function xn(){this.__data__=new on,this.size=0}function _n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function kn(t){return this.__data__.get(t)}function Sn(t){return this.__data__.has(t)}function Tn(t,e){var n=this.__data__;if(n instanceof on){var r=n.__data__;if(!nh||r.length<it-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new hn(r)}return n.set(t,e),this.size=n.size,this}function En(t,e){var n=wp(t),r=!n&&bp(t),i=!n&&!r&&_p(t),o=!n&&!r&&!i&&Cp(t),s=n||r||i||o,a=s?I(t.length,fl):[],u=a.length;for(var c in t)!e&&!wl.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||zo(c,u))||a.push(c);return a}function Cn(t){var e=t.length;return e?t[ni(0,e-1)]:nt}function An(t,e){return ns(Hi(t),zn(e,0,t.length))}function Pn(t){return ns(Hi(t))}function jn(t,e,n){(n===nt||Ja(t[e],n))&&(n!==nt||e in t)||Nn(t,e,n)}function In(t,e,n){var r=t[e];wl.call(t,e)&&Ja(r,n)&&(n!==nt||e in t)||Nn(t,e,n)}function On(t,e){for(var n=t.length;n--;)if(Ja(t[n][0],e))return n;return-1}function Ln(t,e,n,r){return yh(t,function(t,i,o){e(r,t,n(t),o)}),r}function Dn(t,e){return t&&qi(e,Wu(e),t)}function Rn(t,e){return t&&qi(e,$u(e),t)}function Nn(t,e,n){"__proto__"==e&&zl?zl(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,i=sl(r),o=null==t;++n<r;)i[n]=o?nt:qu(t,e[n]);return i}function zn(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function Bn(t,e,n,r,i,o){var s,u=e<,c=e&ht,l=e&pt;if(n&&(s=i?n(t,r,i,o):n(t)),s!==nt)return s;if(!uu(t))return t;var h=wp(t);if(h){if(s=Lo(t),!u)return Hi(t,s)}else{var p=jh(t),f=p==Qt||p==Xt;if(_p(t))return Ai(t,u);if(p==Gt||p==Ht||f&&!i){if(s=c||f?{}:Do(t),!u)return c?Ui(t,Rn(s,t)):Mi(t,Dn(s,t))}else{if(!Yn[p])return i?t:{};s=Ro(t,p,Bn,u)}}o||(o=new wn);var d=o.get(t);if(d)return d;o.set(t,s);var g=l?c?_o:xo:c?$u:Wu,v=h?nt:g(t);return a(v||t,function(r,i){v&&(i=r,r=t[i]),In(s,i,Bn(r,e,n,i,t,o))}),s}function Hn(t){var e=Wu(t);return function(n){return Un(n,t,e)}}function Un(t,e,n){var r=n.length;if(null==t)return!r;for(t=hl(t);r--;){var i=n[r],o=e[i],s=t[i];if(s===nt&&!(i in t)||!o(s))return!1}return!0}function Wn(t,e,n){if("function"!=typeof t)throw new dl(st);return Lh(function(){t.apply(nt,n)},e)}function $n(t,e,n,r){var i=-1,o=h,s=!0,a=t.length,u=[],c=e.length;if(!a)return u;n&&(e=f(e,L(n))),r?(o=p,s=!1):e.length>=it&&(o=R,s=!1,e=new mn(e));t:for(;++i<a;){var l=t[i],d=null==n?l:n(l);if(l=r||0!==l?l:0,s&&d===d){for(var g=c;g--;)if(e[g]===d)continue t;u.push(l)}else o(e,d,r)||u.push(l)}return u}function Vn(t,e){var n=!0;return yh(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Zn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],s=e(o);if(null!=s&&(a===nt?s===s&&!wu(s):n(s,a)))var a=s,u=o}return u}function Gn(t,e,n,r){var i=t.length;for(n=Eu(n),n<0&&(n=-n>i?0:i+n),r=r===nt||r>i?i:Eu(r),r<0&&(r+=i),r=n>r?0:Cu(r);n<r;)t[n++]=e;return t}function Kn(t,e){var n=[];return yh(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function tr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Fo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?tr(a,e-1,n,r,i):d(i,a):r||(i[i.length]=a)}return i}function rr(t,e){return t&&wh(t,e,Wu)}function ir(t,e){return t&&xh(t,e,Wu)}function sr(t,e){return l(e,function(e){return ou(t[e])})}function ar(t,e){e=Ei(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[rs(e[n++])];return n&&n==r?t:nt}function cr(t,e,n){var r=e(t);return wp(t)?r:d(r,n(t))}function lr(t){return null==t?t===nt?oe:Zt:Fl&&Fl in hl(t)?Po(t):Yo(t)}function mr(t,e){return t>e}function xr(t,e){return null!=t&&wl.call(t,e)}function Sr(t,e){return null!=t&&e in hl(t)}function Tr(t,e,n){return t>=Yl(e,n)&&t<Jl(e,n)}function Er(t,e,n){for(var r=n?p:h,i=t[0].length,o=t.length,s=o,a=sl(o),u=1/0,c=[];s--;){var l=t[s];s&&e&&(l=f(l,L(e))),u=Yl(l.length,u),a[s]=!n&&(e||i>=120&&l.length>=120)?new mn(s&&l):nt}l=t[0];var d=-1,g=a[0];t:for(;++d<i&&c.length<u;){var v=l[d],m=e?e(v):v;if(v=n||0!==v?v:0,!(g?R(g,m):r(c,m,n))){for(s=o;--s;){var y=a[s];if(!(y?R(y,m):r(t[s],m,n)))continue t}g&&g.push(m),c.push(v)}}return c}function Cr(t,e,n,r){return rr(t,function(t,i,o){e(r,n(t),i,o)}),r}function Ar(t,e,n){e=Ei(e,t),t=Go(t,e);var r=null==t?t:t[rs(Ts(e))];return null==r?nt:o(r,t,n)}function Pr(t){return cu(t)&&lr(t)==Ht}function jr(t){return cu(t)&&lr(t)==ue}function Ir(t){return cu(t)&&lr(t)==Wt}function Or(t,e,n,r,i){return t===e||(null==t||null==e||!cu(t)&&!cu(e)?t!==t&&e!==e:Lr(t,e,n,r,Or,i))}function Lr(t,e,n,r,i,o){var s=wp(t),a=wp(e),u=s?qt:jh(t),c=a?qt:jh(e);u=u==Ht?Gt:u,c=c==Ht?Gt:c;var l=u==Gt,h=c==Gt,p=u==c;if(p&&_p(t)){if(!_p(e))return!1;s=!0,l=!1}if(p&&!l)return o||(o=new wn),s||Cp(t)?mo(t,e,n,r,i,o):yo(t,e,u,n,r,i,o);if(!(n&ft)){var f=l&&wl.call(t,"__wrapped__"),d=h&&wl.call(e,"__wrapped__");if(f||d){var g=f?t.value():t,v=d?e.value():e;return o||(o=new wn),i(g,v,n,r,o)}}return!!p&&(o||(o=new wn),bo(t,e,n,r,i,o))}function Dr(t){return cu(t)&&jh(t)==Jt}function Rr(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=hl(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var u=a[0],c=t[u],l=a[1];if(s&&a[2]){if(c===nt&&!(u in t))return!1}else{var h=new wn;if(r)var p=r(c,l,u,t,e,h);if(!(p===nt?Or(l,c,ft|dt,r,h):p))return!1}}return!0}function Nr(t){if(!uu(t)||Uo(t))return!1;var e=ou(t)?El:Qe;return e.test(is(t))}function Fr(t){return cu(t)&&lr(t)==ee}function zr(t){return cu(t)&&jh(t)==ne}function Br(t){return cu(t)&&au(t.length)&&!!Jn[lr(t)]}function Hr(t){return"function"==typeof t?t:null==t?Dc:"object"==typeof t?wp(t)?Vr(t[0],t[1]):$r(t):Mc(t)}function qr(t){if(!Wo(t))return Xl(t);var e=[];for(var n in hl(t))wl.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Mr(t){if(!uu(t))return Jo(t);var e=Wo(t),n=[];for(var r in t)("constructor"!=r||!e&&wl.call(t,r))&&n.push(r);return n}function Ur(t,e){return t<e}function Wr(t,e){var n=-1,r=Ya(t)?sl(t.length):[];return yh(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function $r(t){var e=Co(t);return 1==e.length&&e[0][2]?Vo(e[0][0],e[0][1]):function(n){return n===t||Rr(n,t,e)}}function Vr(t,e){return Ho(t)&&$o(e)?Vo(rs(t),e):function(n){var r=qu(n,t);return r===nt&&r===e?Uu(n,t):Or(e,r,ft|dt)}}function Qr(t,e,n,r,i){t!==e&&wh(e,function(o,s){if(uu(o))i||(i=new wn),Xr(t,e,s,n,Qr,r,i);else{var a=r?r(t[s],o,s+"",t,e,i):nt;a===nt&&(a=o),jn(t,s,a)}},$u)}function Xr(t,e,n,r,i,o,s){var a=t[n],u=e[n],c=s.get(u);if(c)return void jn(t,n,c);var l=o?o(a,u,n+"",t,e,s):nt,h=l===nt;if(h){var p=wp(u),f=!p&&_p(u),d=!p&&!f&&Cp(u);l=u,p||f||d?wp(a)?l=a:Za(a)?l=Hi(a):f?(h=!1,l=Ai(u,!0)):d?(h=!1,l=Ri(u,!0)):l=[]:mu(u)||bp(u)?(l=a,bp(a)?l=Pu(a):(!uu(a)||r&&ou(a))&&(l=Do(u))):h=!1}h&&(s.set(u,l),i(l,u,r,o,s),s["delete"](u)),jn(t,n,l)}function Jr(t,e){var n=t.length;if(n)return e+=e<0?n:0,zo(e,n)?t[e]:nt}function Yr(t,e,n){var r=-1;e=f(e.length?e:[Dc],L(To()));var i=Wr(t,function(t,n,i){var o=f(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return P(i,function(t,e){return Fi(t,e,n)})}function Zr(t,e){return Gr(t,e,function(e,n){return Uu(t,n)})}function Gr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=ar(t,s);n(a,s)&&ui(o,Ei(s,t),a)}return o}function Kr(t){return function(e){return ar(e,t)}}function ti(t,e,n,r){var i=r?k:_,o=-1,s=e.length,a=t;for(t===e&&(e=Hi(e)),n&&(a=f(t,L(n)));++o<s;)for(var u=0,c=e[o],l=n?n(c):c;(u=i(a,l,u,r))>-1;)a!==t&&Dl.call(a,u,1),Dl.call(t,u,1);return t}function ei(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;zo(i)?Dl.call(t,i,1):yi(t,i)}}return t}function ni(t,e){return t+Ul(Kl()*(e-t+1))}function ri(t,e,n,r){for(var i=-1,o=Jl(Ml((e-t)/(n||1)),0),s=sl(o);o--;)s[r?o:++i]=t,t+=n;return s}function ii(t,e){var n="";if(!t||e<1||e>Lt)return n;do e%2&&(n+=t),e=Ul(e/2),e&&(t+=t);while(e);return n}function oi(t,e){return Dh(Zo(t,e,Dc),t+"")}function si(t){return Cn(rc(t))}function ai(t,e){var n=rc(t);return ns(n,zn(e,0,n.length))}function ui(t,e,n,r){if(!uu(t))return t;e=Ei(e,t);for(var i=-1,o=e.length,s=o-1,a=t;null!=a&&++i<o;){var u=rs(e[i]),c=n;if(i!=s){var l=a[u];c=r?r(l,u,a):nt,c===nt&&(c=uu(l)?l:zo(e[i+1])?[]:{})}In(a,u,c),a=a[u]}return t}function ci(t){return ns(rc(t))}function li(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=sl(i);++r<i;)o[r]=t[r+e];return o}function hi(t,e){var n;return yh(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function pi(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=zt){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!wu(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return fi(t,e,Dc,n)}function fi(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,s=e!==e,a=null===e,u=wu(e),c=e===nt;i<o;){var l=Ul((i+o)/2),h=n(t[l]),p=h!==nt,f=null===h,d=h===h,g=wu(h);if(s)var v=r||d;else v=c?d&&(r||p):a?d&&p&&(r||!f):u?d&&p&&!f&&(r||!g):!f&&!g&&(r?h<=e:h<e);v?i=l+1:o=l}return Yl(o,Ft)}function di(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!Ja(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function gi(t){return"number"==typeof t?t:wu(t)?Rt:+t}function vi(t){if("string"==typeof t)return t;if(wp(t))return f(t,vi)+"";if(wu(t))return vh?vh.call(t):"";var e=t+"";return"0"==e&&1/t==-Ot?"-0":e}function mi(t,e,n){var r=-1,i=h,o=t.length,s=!0,a=[],u=a;if(n)s=!1,i=p;else if(o>=it){var c=e?null:Eh(t);if(c)return Q(c);s=!1,i=R,u=new mn}else u=e?[]:a;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,s&&f===f){for(var d=u.length;d--;)if(u[d]===f)continue t;e&&u.push(f),a.push(l)}else i(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function yi(t,e){return e=Ei(e,t),t=Go(t,e),null==t||delete t[rs(Ts(e))]}function bi(t,e,n,r){return ui(t,e,n(ar(t,e)),r)}function wi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?li(t,r?0:o,r?o+1:i):li(t,r?o+1:0,r?i:o)}function xi(t,e){var n=t;return n instanceof C&&(n=n.value()),g(e,function(t,e){return e.func.apply(e.thisArg,d([t],e.args))},n)}function _i(t,e,n){var r=t.length;if(r<2)return r?mi(t[0]):[];for(var i=-1,o=sl(r);++i<r;)for(var s=t[i],a=-1;++a<r;)a!=i&&(o[i]=$n(o[i]||s,t[a],e,n));return mi(tr(o,1),e,n)}function ki(t,e,n){for(var r=-1,i=t.length,o=e.length,s={};++r<i;){var a=r<o?e[r]:nt;n(s,t[r],a)}return s}function Si(t){return Za(t)?t:[]}function Ti(t){return"function"==typeof t?t:Dc}function Ei(t,e){return wp(t)?t:Ho(t,e)?[t]:Rh(Iu(t))}function Ci(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:li(t,e,n)}function Ai(t,e){if(e)return t.slice();var n=t.length,r=jl?jl(n):new t.constructor(n);return t.copy(r),r}function Pi(t){var e=new t.constructor(t.byteLength);return new Pl(e).set(new Pl(t)),e}function ji(t,e){var n=e?Pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ii(t,e,n){var i=e?n(W(t),lt):W(t);return g(i,r,new t.constructor)}function Oi(t){
|
238
|
+
var e=new t.constructor(t.source,We.exec(t));return e.lastIndex=t.lastIndex,e}function Li(t,e,n){var r=e?n(Q(t),lt):Q(t);return g(r,i,new t.constructor)}function Di(t){return gh?hl(gh.call(t)):{}}function Ri(t,e){var n=e?Pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ni(t,e){if(t!==e){var n=t!==nt,r=null===t,i=t===t,o=wu(t),s=e!==nt,a=null===e,u=e===e,c=wu(e);if(!a&&!c&&!o&&t>e||o&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function Fi(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var u=Ni(i[r],o[r]);if(u){if(r>=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}function zi(t,e,n,r){for(var i=-1,o=t.length,s=n.length,a=-1,u=e.length,c=Jl(o-s,0),l=sl(u+c),h=!r;++a<u;)l[a]=e[a];for(;++i<s;)(h||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[a++]=t[i++];return l}function Bi(t,e,n,r){for(var i=-1,o=t.length,s=-1,a=n.length,u=-1,c=e.length,l=Jl(o-a,0),h=sl(l+c),p=!r;++i<l;)h[i]=t[i];for(var f=i;++u<c;)h[f+u]=e[u];for(;++s<a;)(p||i<o)&&(h[f+n[s]]=t[i++]);return h}function Hi(t,e){var n=-1,r=t.length;for(e||(e=sl(r));++n<r;)e[n]=t[n];return e}function qi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],u=r?r(n[a],t[a],a,n,t):nt;u===nt&&(u=t[a]),i?Nn(n,a,u):In(n,a,u)}return n}function Mi(t,e){return qi(t,Ah(t),e)}function Ui(t,e){return qi(t,Ph(t),e)}function Wi(t,e){return function(n,r){var i=wp(n)?s:Ln,o=e?e():{};return i(n,t,To(r,2),o)}}function $i(t){return oi(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:nt,s=i>2?n[2]:nt;for(o=t.length>3&&"function"==typeof o?(i--,o):nt,s&&Bo(n[0],n[1],s)&&(o=i<3?nt:o,i=1),e=hl(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function Vi(t,e){return function(n,r){if(null==n)return n;if(!Ya(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=hl(n);(e?o--:++o<i)&&r(s[o],o,s)!==!1;);return n}}function Qi(t){return function(e,n,r){for(var i=-1,o=hl(e),s=r(e),a=s.length;a--;){var u=s[t?a:++i];if(n(o[u],u,o)===!1)break}return e}}function Xi(t,e,n){function r(){var e=this&&this!==or&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e>,o=Zi(t);return r}function Ji(t){return function(e){e=Iu(e);var n=q(e)?G(e):nt,r=n?n[0]:e.charAt(0),i=n?Ci(n,1).join(""):e.slice(1);return r[t]()+i}}function Yi(t){return function(e){return g(Pc(cc(e).replace(qn,"")),t,"")}}function Zi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=mh(t.prototype),r=t.apply(n,e);return uu(r)?r:n}}function Gi(t,e,n){function r(){for(var s=arguments.length,a=sl(s),u=s,c=So(r);u--;)a[u]=arguments[u];var l=s<3&&a[0]!==c&&a[s-1]!==c?[]:V(a,c);if(s-=l.length,s<n)return co(t,e,eo,r.placeholder,nt,a,l,nt,nt,n-s);var h=this&&this!==or&&this instanceof r?i:t;return o(h,this,a)}var i=Zi(t);return r}function Ki(t){return function(e,n,r){var i=hl(e);if(!Ya(e)){var o=To(n,3);e=Wu(e),n=function(t){return o(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[o?e[s]:s]:nt}}function to(t){return wo(function(e){var n=e.length,r=n,i=y.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new dl(st);if(i&&!s&&"wrapper"==ko(o))var s=new y([],(!0))}for(r=s?r:n;++r<n;){o=e[r];var a=ko(o),u="wrapper"==a?Ch(o):nt;s=u&&Mo(u[0])&&u[1]==(_t|yt|wt|kt)&&!u[4].length&&1==u[9]?s[ko(u[0])].apply(s,u[3]):1==o.length&&Mo(o)?s[a]():s.thru(o)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&wp(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function eo(t,e,n,r,i,o,s,a,u,c){function l(){for(var m=arguments.length,y=sl(m),b=m;b--;)y[b]=arguments[b];if(d)var w=So(l),x=z(y,w);if(r&&(y=zi(y,r,i,d)),o&&(y=Bi(y,o,s,d)),m-=x,d&&m<c){var _=V(y,w);return co(t,e,eo,l.placeholder,n,y,_,a,u,c-m)}var k=p?n:this,S=f?k[t]:t;return m=y.length,a?y=Ko(y,a):g&&m>1&&y.reverse(),h&&u<m&&(y.length=u),this&&this!==or&&this instanceof l&&(S=v||Zi(S)),S.apply(k,y)}var h=e&_t,p=e>,f=e&vt,d=e&(yt|bt),g=e&St,v=f?nt:Zi(t);return l}function no(t,e){return function(n,r){return Cr(n,t,e(r),{})}}function ro(t,e){return function(n,r){var i;if(n===nt&&r===nt)return e;if(n!==nt&&(i=n),r!==nt){if(i===nt)return r;"string"==typeof n||"string"==typeof r?(n=vi(n),r=vi(r)):(n=gi(n),r=gi(r)),i=t(n,r)}return i}}function io(t){return wo(function(e){return e=f(e,L(To())),oi(function(n){var r=this;return t(e,function(t){return o(t,r,n)})})})}function oo(t,e){e=e===nt?" ":vi(e);var n=e.length;if(n<2)return n?ii(e,t):e;var r=ii(e,Ml(t/Z(e)));return q(e)?Ci(G(r),0,t).join(""):r.slice(0,t)}function so(t,e,n,r){function i(){for(var e=-1,u=arguments.length,c=-1,l=r.length,h=sl(l+u),p=this&&this!==or&&this instanceof i?a:t;++c<l;)h[c]=r[c];for(;u--;)h[c++]=arguments[++e];return o(p,s?n:this,h)}var s=e>,a=Zi(t);return i}function ao(t){return function(e,n,r){return r&&"number"!=typeof r&&Bo(e,n,r)&&(n=r=nt),e=Tu(e),n===nt?(n=e,e=0):n=Tu(n),r=r===nt?e<n?1:-1:Tu(r),ri(e,n,r,t)}}function uo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Au(e),n=Au(n)),t(e,n)}}function co(t,e,n,r,i,o,s,a,u,c){var l=e&yt,h=l?s:nt,p=l?nt:s,f=l?o:nt,d=l?nt:o;e|=l?wt:xt,e&=~(l?xt:wt),e&mt||(e&=~(gt|vt));var g=[t,e,i,f,h,d,p,a,u,c],v=n.apply(nt,g);return Mo(t)&&Oh(v,g),v.placeholder=r,ts(v,t,e)}function lo(t){var e=ll[t];return function(t,n){if(t=Au(t),n=null==n?0:Yl(Eu(n),292)){var r=(Iu(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Iu(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ho(t){return function(e){var n=jh(e);return n==Jt?W(e):n==ne?X(e):O(e,t(e))}}function po(t,e,n,r,i,o,s,a){var u=e&vt;if(!u&&"function"!=typeof t)throw new dl(st);var c=r?r.length:0;if(c||(e&=~(wt|xt),r=i=nt),s=s===nt?s:Jl(Eu(s),0),a=a===nt?a:Eu(a),c-=i?i.length:0,e&xt){var l=r,h=i;r=i=nt}var p=u?nt:Ch(t),f=[t,e,n,r,i,l,h,o,s,a];if(p&&Xo(f,p),t=f[0],e=f[1],n=f[2],r=f[3],i=f[4],a=f[9]=f[9]===nt?u?0:t.length:Jl(f[9]-c,0),!a&&e&(yt|bt)&&(e&=~(yt|bt)),e&&e!=gt)d=e==yt||e==bt?Gi(t,e,a):e!=wt&&e!=(gt|wt)||i.length?eo.apply(nt,f):so(t,e,n,r);else var d=Xi(t,e,n);var g=p?_h:Oh;return ts(g(d,f),t,e)}function fo(t,e,n,r){return t===nt||Ja(t,ml[n])&&!wl.call(r,n)?e:t}function go(t,e,n,r,i,o){return uu(t)&&uu(e)&&(o.set(e,t),Qr(t,e,nt,go,o),o["delete"](e)),t}function vo(t){return mu(t)?nt:t}function mo(t,e,n,r,i,o){var s=n&ft,a=t.length,u=e.length;if(a!=u&&!(s&&u>a))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,h=!0,p=n&dt?new mn:nt;for(o.set(t,e),o.set(e,t);++l<a;){var f=t[l],d=e[l];if(r)var g=s?r(d,f,l,e,t,o):r(f,d,l,t,e,o);if(g!==nt){if(g)continue;h=!1;break}if(p){if(!m(e,function(t,e){if(!R(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){h=!1;break}}else if(f!==d&&!i(f,d,n,r,o)){h=!1;break}}return o["delete"](t),o["delete"](e),h}function yo(t,e,n,r,i,o,s){switch(n){case ce:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ue:return!(t.byteLength!=e.byteLength||!o(new Pl(t),new Pl(e)));case Ut:case Wt:case Yt:return Ja(+t,+e);case Vt:return t.name==e.name&&t.message==e.message;case ee:case re:return t==e+"";case Jt:var a=W;case ne:var u=r&ft;if(a||(a=Q),t.size!=e.size&&!u)return!1;var c=s.get(t);if(c)return c==e;r|=dt,s.set(t,e);var l=mo(a(t),a(e),r,i,o,s);return s["delete"](t),l;case ie:if(gh)return gh.call(t)==gh.call(e)}return!1}function bo(t,e,n,r,i,o){var s=n&ft,a=xo(t),u=a.length,c=xo(e),l=c.length;if(u!=l&&!s)return!1;for(var h=u;h--;){var p=a[h];if(!(s?p in e:wl.call(e,p)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);for(var g=s;++h<u;){p=a[h];var v=t[p],m=e[p];if(r)var y=s?r(m,v,p,e,t,o):r(v,m,p,t,e,o);if(!(y===nt?v===m||i(v,m,n,r,o):y)){d=!1;break}g||(g="constructor"==p)}if(d&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(d=!1)}return o["delete"](t),o["delete"](e),d}function wo(t){return Dh(Zo(t,nt,ms),t+"")}function xo(t){return cr(t,Wu,Ah)}function _o(t){return cr(t,$u,Ph)}function ko(t){for(var e=t.name+"",n=uh[e],r=wl.call(uh,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function So(t){var n=wl.call(e,"placeholder")?e:t;return n.placeholder}function To(){var t=e.iteratee||Rc;return t=t===Rc?Hr:t,arguments.length?t(arguments[0],arguments[1]):t}function Eo(t,e){var n=t.__data__;return qo(e)?n["string"==typeof e?"string":"hash"]:n.map}function Co(t){for(var e=Wu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,$o(i)]}return e}function Ao(t,e){var n=H(t,e);return Nr(n)?n:nt}function Po(t){var e=wl.call(t,Fl),n=t[Fl];try{t[Fl]=nt;var r=!0}catch(i){}var o=kl.call(t);return r&&(e?t[Fl]=n:delete t[Fl]),o}function jo(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Yl(e,t+s);break;case"takeRight":t=Jl(t,e-s)}}return{start:t,end:e}}function Io(t){var e=t.match(Be);return e?e[1].split(He):[]}function Oo(t,e,n){e=Ei(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var s=rs(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&au(i)&&zo(s,i)&&(wp(t)||bp(t)))}function Lo(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&wl.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Do(t){return"function"!=typeof t.constructor||Wo(t)?{}:mh(Il(t))}function Ro(t,e,n,r){var i=t.constructor;switch(e){case ue:return Pi(t);case Ut:case Wt:return new i((+t));case ce:return ji(t,r);case le:case he:case pe:case fe:case de:case ge:case ve:case me:case ye:return Ri(t,r);case Jt:return Ii(t,r,n);case Yt:case re:return new i(t);case ee:return Oi(t);case ne:return Li(t,r,n);case ie:return Di(t)}}function No(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ze,"{\n/* [wrapped with "+e+"] */\n")}function Fo(t){return wp(t)||bp(t)||!!(Rl&&t&&t[Rl])}function zo(t,e){return e=null==e?Lt:e,!!e&&("number"==typeof t||Je.test(t))&&t>-1&&t%1==0&&t<e}function Bo(t,e,n){if(!uu(n))return!1;var r=typeof e;return!!("number"==r?Ya(n)&&zo(e,n.length):"string"==r&&e in n)&&Ja(n[e],t)}function Ho(t,e){if(wp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wu(t))||(je.test(t)||!Pe.test(t)||null!=e&&t in hl(e))}function qo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mo(t){var n=ko(t),r=e[n];if("function"!=typeof r||!(n in C.prototype))return!1;if(t===r)return!0;var i=Ch(r);return!!i&&t===i[0]}function Uo(t){return!!_l&&_l in t}function Wo(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ml;return t===n}function $o(t){return t===t&&!uu(t)}function Vo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==nt||t in hl(n)))}}function Qo(t){var e=Ra(t,function(t){return n.size===ut&&n.clear(),t}),n=e.cache;return e}function Xo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(gt|vt|_t),s=r==_t&&n==yt||r==_t&&n==kt&&t[7].length<=e[8]||r==(_t|kt)&&e[7].length<=e[8]&&n==yt;if(!o&&!s)return t;r>&&(t[2]=e[2],i|=n>?0:mt);var a=e[3];if(a){var u=t[3];t[3]=u?zi(u,a,e[4]):a,t[4]=u?V(t[3],ct):e[4]}return a=e[5],a&&(u=t[5],t[5]=u?Bi(u,a,e[6]):a,t[6]=u?V(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&_t&&(t[8]=null==t[8]?e[8]:Yl(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Jo(t){var e=[];if(null!=t)for(var n in hl(t))e.push(n);return e}function Yo(t){return kl.call(t)}function Zo(t,e,n){return e=Jl(e===nt?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=Jl(r.length-e,0),a=sl(s);++i<s;)a[i]=r[e+i];i=-1;for(var u=sl(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),o(t,this,u)}}function Go(t,e){return e.length<2?t:ar(t,li(e,0,-1))}function Ko(t,e){for(var n=t.length,r=Yl(e.length,n),i=Hi(t);r--;){var o=e[r];t[r]=zo(o,n)?i[o]:nt}return t}function ts(t,e,n){var r=e+"";return Dh(t,No(r,os(Io(r),n)))}function es(t){var e=0,n=0;return function(){var r=Zl(),i=At-(r-n);if(n=r,i>0){if(++e>=Ct)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function ns(t,e){var n=-1,r=t.length,i=r-1;for(e=e===nt?r:e;++n<e;){var o=ni(n,i),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}function rs(t){if("string"==typeof t||wu(t))return t;var e=t+"";return"0"==e&&1/t==-Ot?"-0":e}function is(t){if(null!=t){try{return bl.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function os(t,e){return a(Bt,function(n){var r="_."+n[0];e&n[1]&&!h(t,r)&&t.push(r)}),t.sort()}function ss(t){if(t instanceof C)return t.clone();var e=new y(t.__wrapped__,t.__chain__);return e.__actions__=Hi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function as(t,e,n){e=(n?Bo(t,e,n):e===nt)?1:Jl(Eu(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,s=sl(Ml(r/e));i<r;)s[o++]=li(t,i,i+=e);return s}function us(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function cs(){var t=arguments.length;if(!t)return[];for(var e=sl(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return d(wp(n)?Hi(n):[n],tr(e,1))}function ls(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),li(t,e<0?0:e,r)):[]}function hs(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),e=r-e,li(t,0,e<0?0:e)):[]}function ps(t,e){return t&&t.length?wi(t,To(e,3),!0,!0):[]}function fs(t,e){return t&&t.length?wi(t,To(e,3),!0):[]}function ds(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Bo(t,e,n)&&(n=0,r=i),Gn(t,e,n,r)):[]}function gs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Eu(n);return i<0&&(i=Jl(r+i,0)),x(t,To(e,3),i)}function vs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==nt&&(i=Eu(n),i=n<0?Jl(r+i,0):Yl(i,r-1)),x(t,To(e,3),i,!0)}function ms(t){var e=null==t?0:t.length;return e?tr(t,1):[]}function ys(t){var e=null==t?0:t.length;return e?tr(t,Ot):[]}function bs(t,e){var n=null==t?0:t.length;return n?(e=e===nt?1:Eu(e),tr(t,e)):[]}function ws(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function xs(t){return t&&t.length?t[0]:nt}function _s(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Eu(n);return i<0&&(i=Jl(r+i,0)),_(t,e,i)}function ks(t){var e=null==t?0:t.length;return e?li(t,0,-1):[]}function Ss(t,e){return null==t?"":Ql.call(t,e)}function Ts(t){var e=null==t?0:t.length;return e?t[e-1]:nt}function Es(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==nt&&(i=Eu(n),i=i<0?Jl(r+i,0):Yl(i,r-1)),e===e?Y(t,e,i):x(t,S,i,!0)}function Cs(t,e){return t&&t.length?Jr(t,Eu(e)):nt}function As(t,e){return t&&t.length&&e&&e.length?ti(t,e):t}function Ps(t,e,n){return t&&t.length&&e&&e.length?ti(t,e,To(n,2)):t}function js(t,e,n){return t&&t.length&&e&&e.length?ti(t,e,nt,n):t}function Is(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=To(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return ei(t,i),n}function Os(t){return null==t?t:th.call(t)}function Ls(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Bo(t,e,n)?(e=0,n=r):(e=null==e?0:Eu(e),n=n===nt?r:Eu(n)),li(t,e,n)):[]}function Ds(t,e){return pi(t,e)}function Rs(t,e,n){return fi(t,e,To(n,2))}function Ns(t,e){var n=null==t?0:t.length;if(n){var r=pi(t,e);if(r<n&&Ja(t[r],e))return r}return-1}function Fs(t,e){return pi(t,e,!0)}function zs(t,e,n){return fi(t,e,To(n,2),!0)}function Bs(t,e){var n=null==t?0:t.length;if(n){var r=pi(t,e,!0)-1;if(Ja(t[r],e))return r}return-1}function Hs(t){return t&&t.length?di(t):[]}function qs(t,e){return t&&t.length?di(t,To(e,2)):[]}function Ms(t){var e=null==t?0:t.length;return e?li(t,1,e):[]}function Us(t,e,n){return t&&t.length?(e=n||e===nt?1:Eu(e),li(t,0,e<0?0:e)):[]}function Ws(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:Eu(e),e=r-e,li(t,e<0?0:e,r)):[]}function $s(t,e){return t&&t.length?wi(t,To(e,3),!1,!0):[]}function Vs(t,e){return t&&t.length?wi(t,To(e,3)):[]}function Qs(t){return t&&t.length?mi(t):[]}function Xs(t,e){return t&&t.length?mi(t,To(e,2)):[]}function Js(t,e){return e="function"==typeof e?e:nt,t&&t.length?mi(t,nt,e):[]}function Ys(t){if(!t||!t.length)return[];var e=0;return t=l(t,function(t){if(Za(t))return e=Jl(t.length,e),!0}),I(e,function(e){return f(t,E(e))})}function Zs(t,e){if(!t||!t.length)return[];var n=Ys(t);return null==e?n:f(n,function(t){return o(e,nt,t)})}function Gs(t,e){return ki(t||[],e||[],In)}function Ks(t,e){return ki(t||[],e||[],ui)}function ta(t){var n=e(t);return n.__chain__=!0,n}function ea(t,e){return e(t),t}function na(t,e){return e(t)}function ra(){return ta(this)}function ia(){return new y(this.value(),this.__chain__)}function oa(){this.__values__===nt&&(this.__values__=Su(this.value()));var t=this.__index__>=this.__values__.length,e=t?nt:this.__values__[this.__index__++];return{done:t,value:e}}function sa(){return this}function aa(t){for(var e,r=this;r instanceof n;){var i=ss(r);i.__index__=0,i.__values__=nt,e?o.__wrapped__=i:e=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,e}function ua(){var t=this.__wrapped__;if(t instanceof C){var e=t;return this.__actions__.length&&(e=new C(this)),e=e.reverse(),e.__actions__.push({func:na,args:[Os],thisArg:nt}),new y(e,this.__chain__)}return this.thru(Os)}function ca(){return xi(this.__wrapped__,this.__actions__)}function la(t,e,n){var r=wp(t)?c:Vn;return n&&Bo(t,e,n)&&(e=nt),r(t,To(e,3))}function ha(t,e){var n=wp(t)?l:Kn;return n(t,To(e,3))}function pa(t,e){return tr(ya(t,e),1)}function fa(t,e){return tr(ya(t,e),Ot)}function da(t,e,n){return n=n===nt?1:Eu(n),tr(ya(t,e),n)}function ga(t,e){var n=wp(t)?a:yh;return n(t,To(e,3))}function va(t,e){var n=wp(t)?u:bh;return n(t,To(e,3))}function ma(t,e,n,r){t=Ya(t)?t:rc(t),n=n&&!r?Eu(n):0;var i=t.length;return n<0&&(n=Jl(i+n,0)),bu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_(t,e,n)>-1}function ya(t,e){var n=wp(t)?f:Wr;return n(t,To(e,3))}function ba(t,e,n,r){return null==t?[]:(wp(e)||(e=null==e?[]:[e]),n=r?nt:n,wp(n)||(n=null==n?[]:[n]),Yr(t,e,n))}function wa(t,e,n){var r=wp(t)?g:A,i=arguments.length<3;return r(t,To(e,4),n,i,yh)}function xa(t,e,n){var r=wp(t)?v:A,i=arguments.length<3;return r(t,To(e,4),n,i,bh)}function _a(t,e){var n=wp(t)?l:Kn;return n(t,Na(To(e,3)))}function ka(t){var e=wp(t)?Cn:si;return e(t)}function Sa(t,e,n){e=(n?Bo(t,e,n):e===nt)?1:Eu(e);var r=wp(t)?An:ai;return r(t,e)}function Ta(t){var e=wp(t)?Pn:ci;return e(t)}function Ea(t){if(null==t)return 0;if(Ya(t))return bu(t)?Z(t):t.length;var e=jh(t);return e==Jt||e==ne?t.size:qr(t).length}function Ca(t,e,n){var r=wp(t)?m:hi;return n&&Bo(t,e,n)&&(e=nt),r(t,To(e,3))}function Aa(t,e){if("function"!=typeof e)throw new dl(st);return t=Eu(t),function(){if(--t<1)return e.apply(this,arguments)}}function Pa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,po(t,_t,nt,nt,nt,nt,e)}function ja(t,e){var n;if("function"!=typeof e)throw new dl(st);return t=Eu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function Ia(t,e,n){e=n?nt:e;var r=po(t,yt,nt,nt,nt,nt,nt,e);return r.placeholder=Ia.placeholder,r}function Oa(t,e,n){e=n?nt:e;var r=po(t,bt,nt,nt,nt,nt,nt,e);return r.placeholder=Oa.placeholder,r}function La(t,e,n){function r(e){var n=p,r=f;return p=f=nt,y=e,g=t.apply(r,n)}function i(t){return y=t,v=Lh(a,e),b?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return w?Yl(i,d-r):i}function s(t){var n=t-m,r=t-y;return m===nt||n>=e||n<0||w&&r>=d}function a(){var t=up();return s(t)?u(t):void(v=Lh(a,o(t)))}function u(t){return v=nt,x&&p?r(t):(p=f=nt,g)}function c(){v!==nt&&Th(v),y=0,p=m=f=v=nt}function l(){return v===nt?g:u(up())}function h(){var t=up(),n=s(t);if(p=arguments,f=this,m=t,n){if(v===nt)return i(m);if(w)return v=Lh(a,e),r(m)}return v===nt&&(v=Lh(a,e)),g}var p,f,d,g,v,m,y=0,b=!1,w=!1,x=!0;if("function"!=typeof t)throw new dl(st);return e=Au(e)||0,uu(n)&&(b=!!n.leading,w="maxWait"in n,d=w?Jl(Au(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),h.cancel=c,h.flush=l,h}function Da(t){return po(t,St)}function Ra(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new dl(st);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ra.Cache||hn),n}function Na(t){if("function"!=typeof t)throw new dl(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Fa(t){return ja(2,t)}function za(t,e){if("function"!=typeof t)throw new dl(st);return e=e===nt?e:Eu(e),oi(t,e)}function Ba(t,e){if("function"!=typeof t)throw new dl(st);return e=null==e?0:Jl(Eu(e),0),oi(function(n){var r=n[e],i=Ci(n,0,e);return r&&d(i,r),o(t,this,i)})}function Ha(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new dl(st);return uu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(t,e,{leading:r,maxWait:e,trailing:i})}function qa(t){return Pa(t,1)}function Ma(t,e){return dp(Ti(e),t)}function Ua(){if(!arguments.length)return[];var t=arguments[0];return wp(t)?t:[t]}function Wa(t){return Bn(t,pt)}function $a(t,e){return e="function"==typeof e?e:nt,Bn(t,pt,e)}function Va(t){return Bn(t,lt|pt)}function Qa(t,e){return e="function"==typeof e?e:nt,Bn(t,lt|pt,e)}function Xa(t,e){return null==e||Un(t,e,Wu(e))}function Ja(t,e){return t===e||t!==t&&e!==e}function Ya(t){return null!=t&&au(t.length)&&!ou(t)}function Za(t){return cu(t)&&Ya(t)}function Ga(t){return t===!0||t===!1||cu(t)&&lr(t)==Ut}function Ka(t){return cu(t)&&1===t.nodeType&&!mu(t)}function tu(t){if(null==t)return!0;if(Ya(t)&&(wp(t)||"string"==typeof t||"function"==typeof t.splice||_p(t)||Cp(t)||bp(t)))return!t.length;var e=jh(t);if(e==Jt||e==ne)return!t.size;if(Wo(t))return!qr(t).length;for(var n in t)if(wl.call(t,n))return!1;return!0}function eu(t,e){return Or(t,e)}function nu(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Or(t,e,nt,n):!!r}function ru(t){if(!cu(t))return!1;var e=lr(t);return e==Vt||e==$t||"string"==typeof t.message&&"string"==typeof t.name&&!mu(t)}function iu(t){return"number"==typeof t&&Vl(t)}function ou(t){if(!uu(t))return!1;var e=lr(t);return e==Qt||e==Xt||e==Mt||e==te}function su(t){return"number"==typeof t&&t==Eu(t)}function au(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Lt}function uu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function cu(t){return null!=t&&"object"==typeof t}function lu(t,e){return t===e||Rr(t,e,Co(e))}function hu(t,e,n){return n="function"==typeof n?n:nt,Rr(t,e,Co(e),n)}function pu(t){return vu(t)&&t!=+t}function fu(t){if(Ih(t))throw new ul(ot);return Nr(t)}function du(t){return null===t}function gu(t){return null==t}function vu(t){return"number"==typeof t||cu(t)&&lr(t)==Yt}function mu(t){if(!cu(t)||lr(t)!=Gt)return!1;var e=Il(t);if(null===e)return!0;var n=wl.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&bl.call(n)==Sl}function yu(t){return su(t)&&t>=-Lt&&t<=Lt}function bu(t){return"string"==typeof t||!wp(t)&&cu(t)&&lr(t)==re}function wu(t){return"symbol"==typeof t||cu(t)&&lr(t)==ie}function xu(t){return t===nt}function _u(t){return cu(t)&&jh(t)==se}function ku(t){return cu(t)&&lr(t)==ae}function Su(t){if(!t)return[];if(Ya(t))return bu(t)?G(t):Hi(t);if(Nl&&t[Nl])return U(t[Nl]());var e=jh(t),n=e==Jt?W:e==ne?Q:rc;return n(t)}function Tu(t){if(!t)return 0===t?t:0;if(t=Au(t),t===Ot||t===-Ot){var e=t<0?-1:1;return e*Dt}return t===t?t:0}function Eu(t){var e=Tu(t),n=e%1;return e===e?n?e-n:e:0}function Cu(t){return t?zn(Eu(t),0,Nt):0}function Au(t){if("number"==typeof t)return t;if(wu(t))return Rt;if(uu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=uu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Re,"");var n=Ve.test(t);return n||Xe.test(t)?nr(t.slice(2),n?2:8):$e.test(t)?Rt:+t}function Pu(t){return qi(t,$u(t))}function ju(t){return t?zn(Eu(t),-Lt,Lt):0===t?t:0}function Iu(t){return null==t?"":vi(t)}function Ou(t,e){var n=mh(t);return null==e?n:Dn(n,e)}function Lu(t,e){return w(t,To(e,3),rr)}function Du(t,e){return w(t,To(e,3),ir)}function Ru(t,e){return null==t?t:wh(t,To(e,3),$u)}function Nu(t,e){return null==t?t:xh(t,To(e,3),$u)}function Fu(t,e){return t&&rr(t,To(e,3))}function zu(t,e){return t&&ir(t,To(e,3))}function Bu(t){return null==t?[]:sr(t,Wu(t))}function Hu(t){return null==t?[]:sr(t,$u(t))}function qu(t,e,n){var r=null==t?nt:ar(t,e);return r===nt?n:r}function Mu(t,e){return null!=t&&Oo(t,e,xr)}function Uu(t,e){return null!=t&&Oo(t,e,Sr)}function Wu(t){return Ya(t)?En(t):qr(t)}function $u(t){return Ya(t)?En(t,!0):Mr(t)}function Vu(t,e){var n={};return e=To(e,3),rr(t,function(t,r,i){Nn(n,e(t,r,i),t)}),n}function Qu(t,e){var n={};return e=To(e,3),rr(t,function(t,r,i){Nn(n,r,e(t,r,i))}),n}function Xu(t,e){return Ju(t,Na(To(e)))}function Ju(t,e){if(null==t)return{};var n=f(_o(t),function(t){return[t]});return e=To(e),Gr(t,n,function(t,n){return e(t,n[0])})}function Yu(t,e,n){e=Ei(e,t);var r=-1,i=e.length;for(i||(i=1,t=nt);++r<i;){var o=null==t?nt:t[rs(e[r])];o===nt&&(r=i,o=n),t=ou(o)?o.call(t):o}return t}function Zu(t,e,n){return null==t?t:ui(t,e,n)}function Gu(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:ui(t,e,n,r)}function Ku(t,e,n){var r=wp(t),i=r||_p(t)||Cp(t);if(e=To(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:uu(t)&&ou(o)?mh(Il(t)):{}}return(i?a:rr)(t,function(t,r,i){return e(n,t,r,i)}),n}function tc(t,e){return null==t||yi(t,e)}function ec(t,e,n){return null==t?t:bi(t,e,Ti(n))}function nc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:bi(t,e,Ti(n),r)}function rc(t){return null==t?[]:D(t,Wu(t))}function ic(t){return null==t?[]:D(t,$u(t))}function oc(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=Au(n),n=n===n?n:0),e!==nt&&(e=Au(e),e=e===e?e:0),zn(Au(t),e,n)}function sc(t,e,n){return e=Tu(e),n===nt?(n=e,e=0):n=Tu(n),t=Au(t),Tr(t,e,n)}function ac(t,e,n){if(n&&"boolean"!=typeof n&&Bo(t,e,n)&&(e=n=nt),n===nt&&("boolean"==typeof e?(n=e,e=nt):"boolean"==typeof t&&(n=t,t=nt)),t===nt&&e===nt?(t=0,e=1):(t=Tu(t),e===nt?(e=t,t=0):e=Tu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kl();return Yl(t+i*(e-t+er("1e-"+((i+"").length-1))),e)}return ni(t,e)}function uc(t){return Kp(Iu(t).toLowerCase())}function cc(t){return t=Iu(t),t&&t.replace(Ye,yr).replace(Mn,"")}function lc(t,e,n){t=Iu(t),e=vi(e);var r=t.length;n=n===nt?r:zn(Eu(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function hc(t){return t=Iu(t),t&&Te.test(t)?t.replace(ke,br):t}function pc(t){return t=Iu(t),t&&De.test(t)?t.replace(Le,"\\$&"):t}function fc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return oo(Ul(i),n)+t+oo(Ml(i),n)}function dc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;return e&&r<e?t+oo(e-r,n):t}function gc(t,e,n){t=Iu(t),e=Eu(e);var r=e?Z(t):0;return e&&r<e?oo(e-r,n)+t:t}function vc(t,e,n){return n||null==e?e=0:e&&(e=+e),Gl(Iu(t).replace(Ne,""),e||0)}function mc(t,e,n){return e=(n?Bo(t,e,n):e===nt)?1:Eu(e),ii(Iu(t),e)}function yc(){var t=arguments,e=Iu(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function bc(t,e,n){return n&&"number"!=typeof n&&Bo(t,e,n)&&(e=n=nt),(n=n===nt?Nt:n>>>0)?(t=Iu(t),t&&("string"==typeof e||null!=e&&!Tp(e))&&(e=vi(e),!e&&q(t))?Ci(G(t),0,n):t.split(e,n)):[]}function wc(t,e,n){return t=Iu(t),n=null==n?0:zn(Eu(n),0,t.length),e=vi(e),t.slice(n,n+e.length)==e}function xc(t,n,r){var i=e.templateSettings;r&&Bo(t,n,r)&&(n=nt),t=Iu(t),n=Op({},n,i,fo);var o,s,a=Op({},n.imports,i.imports,fo),u=Wu(a),c=D(a,u),l=0,h=n.interpolate||Ze,p="__p += '",f=pl((n.escape||Ze).source+"|"+h.source+"|"+(h===Ae?Ue:Ze).source+"|"+(n.evaluate||Ze).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";t.replace(f,function(e,n,r,i,a,u){return r||(r=i),p+=t.slice(l,u).replace(Ge,B),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e}),p+="';\n";var g=n.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(s?p.replace(be,""):p).replace(we,"$1").replace(xe,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=tf(function(){return cl(u,d+"return "+p).apply(nt,c)});if(v.source=p,ru(v))throw v;return v}function _c(t){return Iu(t).toLowerCase()}function kc(t){return Iu(t).toUpperCase()}function Sc(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Re,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=G(e),o=N(r,i),s=F(r,i)+1;return Ci(r,o,s).join("")}function Tc(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Fe,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=F(r,G(e))+1;return Ci(r,0,i).join("")}function Ec(t,e,n){if(t=Iu(t),t&&(n||e===nt))return t.replace(Ne,"");if(!t||!(e=vi(e)))return t;var r=G(t),i=N(r,G(e));return Ci(r,i).join("")}function Cc(t,e){var n=Tt,r=Et;if(uu(e)){var i="separator"in e?e.separator:i;n="length"in e?Eu(e.length):n,r="omission"in e?vi(e.omission):r}t=Iu(t);var o=t.length;if(q(t)){var s=G(t);o=s.length}if(n>=o)return t;var a=n-Z(r);if(a<1)return r;var u=s?Ci(s,0,a).join(""):t.slice(0,a);if(i===nt)return u+r;if(s&&(a+=u.length-a),Tp(i)){if(t.slice(a).search(i)){var c,l=u;for(i.global||(i=pl(i.source,Iu(We.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var h=c.index;u=u.slice(0,h===nt?a:h)}}else if(t.indexOf(vi(i),a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function Ac(t){return t=Iu(t),t&&Se.test(t)?t.replace(_e,wr):t}function Pc(t,e,n){return t=Iu(t),e=n?nt:e,e===nt?M(t)?et(t):b(t):t.match(e)||[]}function jc(t){var e=null==t?0:t.length,n=To();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new dl(st);return[n(t[0]),t[1]]}):[],oi(function(n){for(var r=-1;++r<e;){var i=t[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function Ic(t){return Hn(Bn(t,lt))}function Oc(t){return function(){return t}}function Lc(t,e){return null==t||t!==t?e:t}function Dc(t){return t}function Rc(t){return Hr("function"==typeof t?t:Bn(t,lt))}function Nc(t){return $r(Bn(t,lt))}function Fc(t,e){return Vr(t,Bn(e,lt))}function zc(t,e,n){var r=Wu(e),i=sr(e,r);null!=n||uu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=sr(e,Wu(e)));var o=!(uu(n)&&"chain"in n&&!n.chain),s=ou(t);return a(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Hi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,d([this.value()],arguments))})}),t}function Bc(){return or._===this&&(or._=Tl),this}function Hc(){}function qc(t){return t=Eu(t),oi(function(e){return Jr(e,t)})}function Mc(t){return Ho(t)?E(rs(t)):Kr(t)}function Uc(t){return function(e){return null==t?nt:ar(t,e)}}function Wc(){return[]}function $c(){return!1}function Vc(){return{}}function Qc(){return""}function Xc(){return!0}function Jc(t,e){if(t=Eu(t),t<1||t>Lt)return[];var n=Nt,r=Yl(t,Nt);e=To(e),t-=Nt;for(var i=I(r,e);++n<t;)e(n);return i}function Yc(t){return wp(t)?f(t,rs):wu(t)?[t]:Hi(Rh(Iu(t)))}function Zc(t){var e=++xl;return Iu(t)+e}function Gc(t){return t&&t.length?Zn(t,Dc,mr):nt}function Kc(t,e){return t&&t.length?Zn(t,To(e,2),mr):nt}function tl(t){return T(t,Dc)}function el(t,e){return T(t,To(e,2))}function nl(t){return t&&t.length?Zn(t,Dc,Ur):nt}function rl(t,e){return t&&t.length?Zn(t,To(e,2),Ur):nt}function il(t){return t&&t.length?j(t,Dc):0}function ol(t,e){return t&&t.length?j(t,To(e,2)):0}t=null==t?or:_r.defaults(or.Object(),t,_r.pick(or,Qn));var sl=t.Array,al=t.Date,ul=t.Error,cl=t.Function,ll=t.Math,hl=t.Object,pl=t.RegExp,fl=t.String,dl=t.TypeError,gl=sl.prototype,vl=cl.prototype,ml=hl.prototype,yl=t["__core-js_shared__"],bl=vl.toString,wl=ml.hasOwnProperty,xl=0,_l=function(){
|
239
|
+
var t=/[^.]+$/.exec(yl&&yl.keys&&yl.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),kl=ml.toString,Sl=bl.call(hl),Tl=or._,El=pl("^"+bl.call(wl).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cl=ur?t.Buffer:nt,Al=t.Symbol,Pl=t.Uint8Array,jl=Cl?Cl.allocUnsafe:nt,Il=$(hl.getPrototypeOf,hl),Ol=hl.create,Ll=ml.propertyIsEnumerable,Dl=gl.splice,Rl=Al?Al.isConcatSpreadable:nt,Nl=Al?Al.iterator:nt,Fl=Al?Al.toStringTag:nt,zl=function(){try{var t=Ao(hl,"defineProperty");return t({},"",{}),t}catch(e){}}(),Bl=t.clearTimeout!==or.clearTimeout&&t.clearTimeout,Hl=al&&al.now!==or.Date.now&&al.now,ql=t.setTimeout!==or.setTimeout&&t.setTimeout,Ml=ll.ceil,Ul=ll.floor,Wl=hl.getOwnPropertySymbols,$l=Cl?Cl.isBuffer:nt,Vl=t.isFinite,Ql=gl.join,Xl=$(hl.keys,hl),Jl=ll.max,Yl=ll.min,Zl=al.now,Gl=t.parseInt,Kl=ll.random,th=gl.reverse,eh=Ao(t,"DataView"),nh=Ao(t,"Map"),rh=Ao(t,"Promise"),ih=Ao(t,"Set"),oh=Ao(t,"WeakMap"),sh=Ao(hl,"create"),ah=oh&&new oh,uh={},ch=is(eh),lh=is(nh),hh=is(rh),ph=is(ih),fh=is(oh),dh=Al?Al.prototype:nt,gh=dh?dh.valueOf:nt,vh=dh?dh.toString:nt,mh=function(){function t(){}return function(e){if(!uu(e))return{};if(Ol)return Ol(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();e.templateSettings={escape:Ee,evaluate:Ce,interpolate:Ae,variable:"",imports:{_:e}},e.prototype=n.prototype,e.prototype.constructor=e,y.prototype=mh(n.prototype),y.prototype.constructor=y,C.prototype=mh(n.prototype),C.prototype.constructor=C,qe.prototype.clear=Ke,qe.prototype["delete"]=tn,qe.prototype.get=en,qe.prototype.has=nn,qe.prototype.set=rn,on.prototype.clear=sn,on.prototype["delete"]=an,on.prototype.get=un,on.prototype.has=cn,on.prototype.set=ln,hn.prototype.clear=pn,hn.prototype["delete"]=fn,hn.prototype.get=dn,hn.prototype.has=gn,hn.prototype.set=vn,mn.prototype.add=mn.prototype.push=yn,mn.prototype.has=bn,wn.prototype.clear=xn,wn.prototype["delete"]=_n,wn.prototype.get=kn,wn.prototype.has=Sn,wn.prototype.set=Tn;var yh=Vi(rr),bh=Vi(ir,!0),wh=Qi(),xh=Qi(!0),_h=ah?function(t,e){return ah.set(t,e),t}:Dc,kh=zl?function(t,e){return zl(t,"toString",{configurable:!0,enumerable:!1,value:Oc(e),writable:!0})}:Dc,Sh=oi,Th=Bl||function(t){return or.clearTimeout(t)},Eh=ih&&1/Q(new ih([,-0]))[1]==Ot?function(t){return new ih(t)}:Hc,Ch=ah?function(t){return ah.get(t)}:Hc,Ah=Wl?function(t){return null==t?[]:(t=hl(t),l(Wl(t),function(e){return Ll.call(t,e)}))}:Wc,Ph=Wl?function(t){for(var e=[];t;)d(e,Ah(t)),t=Il(t);return e}:Wc,jh=lr;(eh&&jh(new eh(new ArrayBuffer(1)))!=ce||nh&&jh(new nh)!=Jt||rh&&jh(rh.resolve())!=Kt||ih&&jh(new ih)!=ne||oh&&jh(new oh)!=se)&&(jh=function(t){var e=lr(t),n=e==Gt?t.constructor:nt,r=n?is(n):"";if(r)switch(r){case ch:return ce;case lh:return Jt;case hh:return Kt;case ph:return ne;case fh:return se}return e});var Ih=yl?ou:$c,Oh=es(_h),Lh=ql||function(t,e){return or.setTimeout(t,e)},Dh=es(kh),Rh=Qo(function(t){var e=[];return Ie.test(t)&&e.push(""),t.replace(Oe,function(t,n,r,i){e.push(r?i.replace(Me,"$1"):n||t)}),e}),Nh=oi(function(t,e){return Za(t)?$n(t,tr(e,1,Za,!0)):[]}),Fh=oi(function(t,e){var n=Ts(e);return Za(n)&&(n=nt),Za(t)?$n(t,tr(e,1,Za,!0),To(n,2)):[]}),zh=oi(function(t,e){var n=Ts(e);return Za(n)&&(n=nt),Za(t)?$n(t,tr(e,1,Za,!0),nt,n):[]}),Bh=oi(function(t){var e=f(t,Si);return e.length&&e[0]===t[0]?Er(e):[]}),Hh=oi(function(t){var e=Ts(t),n=f(t,Si);return e===Ts(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?Er(n,To(e,2)):[]}),qh=oi(function(t){var e=Ts(t),n=f(t,Si);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?Er(n,nt,e):[]}),Mh=oi(As),Uh=wo(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return ei(t,f(e,function(t){return zo(t,n)?+t:t}).sort(Ni)),r}),Wh=oi(function(t){return mi(tr(t,1,Za,!0))}),$h=oi(function(t){var e=Ts(t);return Za(e)&&(e=nt),mi(tr(t,1,Za,!0),To(e,2))}),Vh=oi(function(t){var e=Ts(t);return e="function"==typeof e?e:nt,mi(tr(t,1,Za,!0),nt,e)}),Qh=oi(function(t,e){return Za(t)?$n(t,e):[]}),Xh=oi(function(t){return _i(l(t,Za))}),Jh=oi(function(t){var e=Ts(t);return Za(e)&&(e=nt),_i(l(t,Za),To(e,2))}),Yh=oi(function(t){var e=Ts(t);return e="function"==typeof e?e:nt,_i(l(t,Za),nt,e)}),Zh=oi(Ys),Gh=oi(function(t){var e=t.length,n=e>1?t[e-1]:nt;return n="function"==typeof n?(t.pop(),n):nt,Zs(t,n)}),Kh=wo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof C&&zo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:na,args:[i],thisArg:nt}),new y(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(i)}),tp=Wi(function(t,e,n){wl.call(t,n)?++t[n]:Nn(t,n,1)}),ep=Ki(gs),np=Ki(vs),rp=Wi(function(t,e,n){wl.call(t,n)?t[n].push(e):Nn(t,n,[e])}),ip=oi(function(t,e,n){var r=-1,i="function"==typeof e,s=Ya(t)?sl(t.length):[];return yh(t,function(t){s[++r]=i?o(e,t,n):Ar(t,e,n)}),s}),op=Wi(function(t,e,n){Nn(t,n,e)}),sp=Wi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ap=oi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Bo(t,e[0],e[1])?e=[]:n>2&&Bo(e[0],e[1],e[2])&&(e=[e[0]]),Yr(t,tr(e,1),[])}),up=Hl||function(){return or.Date.now()},cp=oi(function(t,e,n){var r=gt;if(n.length){var i=V(n,So(cp));r|=wt}return po(t,r,e,n,i)}),lp=oi(function(t,e,n){var r=gt|vt;if(n.length){var i=V(n,So(lp));r|=wt}return po(e,r,t,n,i)}),hp=oi(function(t,e){return Wn(t,1,e)}),pp=oi(function(t,e,n){return Wn(t,Au(e)||0,n)});Ra.Cache=hn;var fp=Sh(function(t,e){e=1==e.length&&wp(e[0])?f(e[0],L(To())):f(tr(e,1),L(To()));var n=e.length;return oi(function(r){for(var i=-1,s=Yl(r.length,n);++i<s;)r[i]=e[i].call(this,r[i]);return o(t,this,r)})}),dp=oi(function(t,e){var n=V(e,So(dp));return po(t,wt,nt,e,n)}),gp=oi(function(t,e){var n=V(e,So(gp));return po(t,xt,nt,e,n)}),vp=wo(function(t,e){return po(t,kt,nt,nt,nt,e)}),mp=uo(mr),yp=uo(function(t,e){return t>=e}),bp=Pr(function(){return arguments}())?Pr:function(t){return cu(t)&&wl.call(t,"callee")&&!Ll.call(t,"callee")},wp=sl.isArray,xp=hr?L(hr):jr,_p=$l||$c,kp=pr?L(pr):Ir,Sp=fr?L(fr):Dr,Tp=dr?L(dr):Fr,Ep=gr?L(gr):zr,Cp=vr?L(vr):Br,Ap=uo(Ur),Pp=uo(function(t,e){return t<=e}),jp=$i(function(t,e){if(Wo(e)||Ya(e))return void qi(e,Wu(e),t);for(var n in e)wl.call(e,n)&&In(t,n,e[n])}),Ip=$i(function(t,e){qi(e,$u(e),t)}),Op=$i(function(t,e,n,r){qi(e,$u(e),t,r)}),Lp=$i(function(t,e,n,r){qi(e,Wu(e),t,r)}),Dp=wo(Fn),Rp=oi(function(t){return t.push(nt,fo),o(Op,nt,t)}),Np=oi(function(t){return t.push(nt,go),o(qp,nt,t)}),Fp=no(function(t,e,n){t[e]=n},Oc(Dc)),zp=no(function(t,e,n){wl.call(t,e)?t[e].push(n):t[e]=[n]},To),Bp=oi(Ar),Hp=$i(function(t,e,n){Qr(t,e,n)}),qp=$i(function(t,e,n,r){Qr(t,e,n,r)}),Mp=wo(function(t,e){var n={};if(null==t)return n;var r=!1;e=f(e,function(e){return e=Ei(e,t),r||(r=e.length>1),e}),qi(t,_o(t),n),r&&(n=Bn(n,lt|ht|pt,vo));for(var i=e.length;i--;)yi(n,e[i]);return n}),Up=wo(function(t,e){return null==t?{}:Zr(t,e)}),Wp=ho(Wu),$p=ho($u),Vp=Yi(function(t,e,n){return e=e.toLowerCase(),t+(n?uc(e):e)}),Qp=Yi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Xp=Yi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Jp=Ji("toLowerCase"),Yp=Yi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Zp=Yi(function(t,e,n){return t+(n?" ":"")+Kp(e)}),Gp=Yi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kp=Ji("toUpperCase"),tf=oi(function(t,e){try{return o(t,nt,e)}catch(n){return ru(n)?n:new ul(n)}}),ef=wo(function(t,e){return a(e,function(e){e=rs(e),Nn(t,e,cp(t[e],t))}),t}),nf=to(),rf=to(!0),of=oi(function(t,e){return function(n){return Ar(n,t,e)}}),sf=oi(function(t,e){return function(n){return Ar(t,n,e)}}),af=io(f),uf=io(c),cf=io(m),lf=ao(),hf=ao(!0),pf=ro(function(t,e){return t+e},0),ff=lo("ceil"),df=ro(function(t,e){return t/e},1),gf=lo("floor"),vf=ro(function(t,e){return t*e},1),mf=lo("round"),yf=ro(function(t,e){return t-e},0);return e.after=Aa,e.ary=Pa,e.assign=jp,e.assignIn=Ip,e.assignInWith=Op,e.assignWith=Lp,e.at=Dp,e.before=ja,e.bind=cp,e.bindAll=ef,e.bindKey=lp,e.castArray=Ua,e.chain=ta,e.chunk=as,e.compact=us,e.concat=cs,e.cond=jc,e.conforms=Ic,e.constant=Oc,e.countBy=tp,e.create=Ou,e.curry=Ia,e.curryRight=Oa,e.debounce=La,e.defaults=Rp,e.defaultsDeep=Np,e.defer=hp,e.delay=pp,e.difference=Nh,e.differenceBy=Fh,e.differenceWith=zh,e.drop=ls,e.dropRight=hs,e.dropRightWhile=ps,e.dropWhile=fs,e.fill=ds,e.filter=ha,e.flatMap=pa,e.flatMapDeep=fa,e.flatMapDepth=da,e.flatten=ms,e.flattenDeep=ys,e.flattenDepth=bs,e.flip=Da,e.flow=nf,e.flowRight=rf,e.fromPairs=ws,e.functions=Bu,e.functionsIn=Hu,e.groupBy=rp,e.initial=ks,e.intersection=Bh,e.intersectionBy=Hh,e.intersectionWith=qh,e.invert=Fp,e.invertBy=zp,e.invokeMap=ip,e.iteratee=Rc,e.keyBy=op,e.keys=Wu,e.keysIn=$u,e.map=ya,e.mapKeys=Vu,e.mapValues=Qu,e.matches=Nc,e.matchesProperty=Fc,e.memoize=Ra,e.merge=Hp,e.mergeWith=qp,e.method=of,e.methodOf=sf,e.mixin=zc,e.negate=Na,e.nthArg=qc,e.omit=Mp,e.omitBy=Xu,e.once=Fa,e.orderBy=ba,e.over=af,e.overArgs=fp,e.overEvery=uf,e.overSome=cf,e.partial=dp,e.partialRight=gp,e.partition=sp,e.pick=Up,e.pickBy=Ju,e.property=Mc,e.propertyOf=Uc,e.pull=Mh,e.pullAll=As,e.pullAllBy=Ps,e.pullAllWith=js,e.pullAt=Uh,e.range=lf,e.rangeRight=hf,e.rearg=vp,e.reject=_a,e.remove=Is,e.rest=za,e.reverse=Os,e.sampleSize=Sa,e.set=Zu,e.setWith=Gu,e.shuffle=Ta,e.slice=Ls,e.sortBy=ap,e.sortedUniq=Hs,e.sortedUniqBy=qs,e.split=bc,e.spread=Ba,e.tail=Ms,e.take=Us,e.takeRight=Ws,e.takeRightWhile=$s,e.takeWhile=Vs,e.tap=ea,e.throttle=Ha,e.thru=na,e.toArray=Su,e.toPairs=Wp,e.toPairsIn=$p,e.toPath=Yc,e.toPlainObject=Pu,e.transform=Ku,e.unary=qa,e.union=Wh,e.unionBy=$h,e.unionWith=Vh,e.uniq=Qs,e.uniqBy=Xs,e.uniqWith=Js,e.unset=tc,e.unzip=Ys,e.unzipWith=Zs,e.update=ec,e.updateWith=nc,e.values=rc,e.valuesIn=ic,e.without=Qh,e.words=Pc,e.wrap=Ma,e.xor=Xh,e.xorBy=Jh,e.xorWith=Yh,e.zip=Zh,e.zipObject=Gs,e.zipObjectDeep=Ks,e.zipWith=Gh,e.entries=Wp,e.entriesIn=$p,e.extend=Ip,e.extendWith=Op,zc(e,e),e.add=pf,e.attempt=tf,e.camelCase=Vp,e.capitalize=uc,e.ceil=ff,e.clamp=oc,e.clone=Wa,e.cloneDeep=Va,e.cloneDeepWith=Qa,e.cloneWith=$a,e.conformsTo=Xa,e.deburr=cc,e.defaultTo=Lc,e.divide=df,e.endsWith=lc,e.eq=Ja,e.escape=hc,e.escapeRegExp=pc,e.every=la,e.find=ep,e.findIndex=gs,e.findKey=Lu,e.findLast=np,e.findLastIndex=vs,e.findLastKey=Du,e.floor=gf,e.forEach=ga,e.forEachRight=va,e.forIn=Ru,e.forInRight=Nu,e.forOwn=Fu,e.forOwnRight=zu,e.get=qu,e.gt=mp,e.gte=yp,e.has=Mu,e.hasIn=Uu,e.head=xs,e.identity=Dc,e.includes=ma,e.indexOf=_s,e.inRange=sc,e.invoke=Bp,e.isArguments=bp,e.isArray=wp,e.isArrayBuffer=xp,e.isArrayLike=Ya,e.isArrayLikeObject=Za,e.isBoolean=Ga,e.isBuffer=_p,e.isDate=kp,e.isElement=Ka,e.isEmpty=tu,e.isEqual=eu,e.isEqualWith=nu,e.isError=ru,e.isFinite=iu,e.isFunction=ou,e.isInteger=su,e.isLength=au,e.isMap=Sp,e.isMatch=lu,e.isMatchWith=hu,e.isNaN=pu,e.isNative=fu,e.isNil=gu,e.isNull=du,e.isNumber=vu,e.isObject=uu,e.isObjectLike=cu,e.isPlainObject=mu,e.isRegExp=Tp,e.isSafeInteger=yu,e.isSet=Ep,e.isString=bu,e.isSymbol=wu,e.isTypedArray=Cp,e.isUndefined=xu,e.isWeakMap=_u,e.isWeakSet=ku,e.join=Ss,e.kebabCase=Qp,e.last=Ts,e.lastIndexOf=Es,e.lowerCase=Xp,e.lowerFirst=Jp,e.lt=Ap,e.lte=Pp,e.max=Gc,e.maxBy=Kc,e.mean=tl,e.meanBy=el,e.min=nl,e.minBy=rl,e.stubArray=Wc,e.stubFalse=$c,e.stubObject=Vc,e.stubString=Qc,e.stubTrue=Xc,e.multiply=vf,e.nth=Cs,e.noConflict=Bc,e.noop=Hc,e.now=up,e.pad=fc,e.padEnd=dc,e.padStart=gc,e.parseInt=vc,e.random=ac,e.reduce=wa,e.reduceRight=xa,e.repeat=mc,e.replace=yc,e.result=Yu,e.round=mf,e.runInContext=kr,e.sample=ka,e.size=Ea,e.snakeCase=Yp,e.some=Ca,e.sortedIndex=Ds,e.sortedIndexBy=Rs,e.sortedIndexOf=Ns,e.sortedLastIndex=Fs,e.sortedLastIndexBy=zs,e.sortedLastIndexOf=Bs,e.startCase=Zp,e.startsWith=wc,e.subtract=yf,e.sum=il,e.sumBy=ol,e.template=xc,e.times=Jc,e.toFinite=Tu,e.toInteger=Eu,e.toLength=Cu,e.toLower=_c,e.toNumber=Au,e.toSafeInteger=ju,e.toString=Iu,e.toUpper=kc,e.trim=Sc,e.trimEnd=Tc,e.trimStart=Ec,e.truncate=Cc,e.unescape=Ac,e.uniqueId=Zc,e.upperCase=Gp,e.upperFirst=Kp,e.each=ga,e.eachRight=va,e.first=xs,zc(e,function(){var t={};return rr(e,function(n,r){wl.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=rt,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),a(["drop","take"],function(t,e){C.prototype[t]=function(n){n=n===nt?1:Jl(Eu(n),0);var r=this.__filtered__&&!e?new C(this):this.clone();return r.__filtered__?r.__takeCount__=Yl(n,r.__takeCount__):r.__views__.push({size:Yl(n,Nt),type:t+(r.__dir__<0?"Right":"")}),r},C.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Pt||n==It;C.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:To(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");C.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");C.prototype[t]=function(){return this.__filtered__?new C(this):this[n](1)}}),C.prototype.compact=function(){return this.filter(Dc)},C.prototype.find=function(t){return this.filter(t).head()},C.prototype.findLast=function(t){return this.reverse().find(t)},C.prototype.invokeMap=oi(function(t,e){return"function"==typeof t?new C(this):this.map(function(n){return Ar(n,t,e)})}),C.prototype.reject=function(t){return this.filter(Na(To(t)))},C.prototype.slice=function(t,e){t=Eu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new C(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==nt&&(e=Eu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},C.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},C.prototype.toArray=function(){return this.take(Nt)},rr(C.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=e[i?"take"+("last"==n?"Right":""):n],s=i||/^find/.test(n);o&&(e.prototype[n]=function(){var n=this.__wrapped__,a=i?[1]:arguments,u=n instanceof C,c=a[0],l=u||wp(n),h=function(t){var n=o.apply(e,d([t],a));return i&&p?n[0]:n};l&&r&&"function"==typeof c&&1!=c.length&&(u=l=!1);var p=this.__chain__,f=!!this.__actions__.length,g=s&&!p,v=u&&!f;if(!s&&l){n=v?n:new C(this);var m=t.apply(n,a);return m.__actions__.push({func:na,args:[h],thisArg:nt}),new y(m,p)}return g&&v?t.apply(this,a):(m=this.thru(h),g?i?m.value()[0]:m.value():m)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var n=gl[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(wp(e)?e:[],t)}return this[r](function(e){return n.apply(wp(e)?e:[],t)})}}),rr(C.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=uh[i]||(uh[i]=[]);o.push({name:n,func:r})}}),uh[eo(nt,vt).name]=[{name:"wrapper",func:nt}],C.prototype.clone=J,C.prototype.reverse=K,C.prototype.value=tt,e.prototype.at=Kh,e.prototype.chain=ra,e.prototype.commit=ia,e.prototype.next=oa,e.prototype.plant=aa,e.prototype.reverse=ua,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=ca,e.prototype.first=e.prototype.head,Nl&&(e.prototype[Nl]=sa),e},_r=xr();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(or._=_r,define(function(){return _r})):ar?((ar.exports=_r)._=_r,sr._=_r):or._=_r}).call(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,n){(function(){var n,r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}},u=[].slice,c={}.hasOwnProperty,l=function(t,e){function n(){this.constructor=t}for(var r in e)c.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};n={options:["prefix","templateDelimiters","rootInterface","preloadData","handler","executeFunctions"],extensions:["binders","formatters","components","adapters"],"public":{binders:{},components:{},formatters:{},adapters:{},prefix:"rv",templateDelimiters:["{","}"],rootInterface:".",preloadData:!0,executeFunctions:!1,iterationAlias:function(t){return"%"+t+"%"},handler:function(t,e,n){return this.call(t,e,n.view.models)},configure:function(t){var e,r,i,o;null==t&&(t={});for(i in t)if(o=t[i],"binders"===i||"components"===i||"formatters"===i||"adapters"===i)for(r in o)e=o[r],n[i][r]=e;else n["public"][i]=o},bind:function(t,e,r){var i;return null==e&&(e={}),null==r&&(r={}),i=new n.View(t,e,r),i.bind(),i},init:function(t,e,r){var i,o,s;if(null==r&&(r={}),null==e&&(e=document.createElement("div")),t=n["public"].components[t],o=t.template.call(this,e),o instanceof HTMLElement){for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(o)}else e.innerHTML=o;return i=t.initialize.call(this,e,r),s=new n.View(e,i),s.bind(),s}}},window.jQuery||window.$?(i=window.jQuery||window.$,s="on"in i.prototype?["on","off"]:["bind","unbind"],r=s[0],o=s[1],n.Util={bindEvent:function(t,e,n){return i(t)[r](e,n)},unbindEvent:function(t,e,n){return i(t)[o](e,n)},getInputValue:function(t){var e;return e=i(t),"checkbox"===e.attr("type")?e.is(":checked"):e.val()}}):n.Util={bindEvent:function(){return"addEventListener"in window?function(t,e,n){return t.addEventListener(e,n,!1)}:function(t,e,n){return t.attachEvent("on"+e,n)}}(),unbindEvent:function(){return"removeEventListener"in window?function(t,e,n){return t.removeEventListener(e,n,!1)}:function(t,e,n){return t.detachEvent("on"+e,n)}}(),getInputValue:function(t){var e,n,r,i;if("checkbox"===t.type)return t.checked;if("select-multiple"===t.type){for(i=[],n=0,r=t.length;n<r;n++)e=t[n],e.selected&&i.push(e.value);return i}return t.value}},n.TypeParser=function(){function t(){}return t.types={primitive:0,keypath:1},t.parse=function(t){return/^'.*'$|^".*"$/.test(t)?{type:this.types.primitive,value:t.slice(1,-1)}:"true"===t?{type:this.types.primitive,value:!0}:"false"===t?{type:this.types.primitive,value:!1}:"null"===t?{type:this.types.primitive,value:null}:"undefined"===t?{type:this.types.primitive,value:void 0}:""===t?{type:this.types.primitive,value:void 0}:isNaN(Number(t))===!1?{type:this.types.primitive,value:Number(t)}:{type:this.types.keypath,value:t}},t}(),n.TextTemplateParser=function(){function t(){}return t.types={text:0,binding:1},t.parse=function(t,e){var n,r,i,o,s,a,u;for(a=[],o=t.length,n=0,r=0;r<o;){if(n=t.indexOf(e[0],r),n<0){a.push({type:this.types.text,value:t.slice(r)});break}if(n>0&&r<n&&a.push({type:this.types.text,value:t.slice(r,n)}),r=n+e[0].length,n=t.indexOf(e[1],r),n<0){s=t.slice(r-e[1].length),i=a[a.length-1],(null!=i?i.type:void 0)===this.types.text?i.value+=s:a.push({type:this.types.text,value:s});break}u=t.slice(r,n).trim(),a.push({type:this.types.binding,value:u}),r=n+e[1].length}return a},t}(),n.View=function(){function t(t,e,r){var i,o,s,u,c,l,h,p,f,d,g,v,m;for(this.els=t,this.models=e,null==r&&(r={}),this.update=a(this.update,this),this.publish=a(this.publish,this),this.sync=a(this.sync,this),this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.select=a(this.select,this),this.traverse=a(this.traverse,this),this.build=a(this.build,this),this.buildBinding=a(this.buildBinding,this),this.bindingRegExp=a(this.bindingRegExp,this),this.options=a(this.options,this),this.els.jquery||this.els instanceof Array||(this.els=[this.els]),f=n.extensions,c=0,h=f.length;c<h;c++){if(o=f[c],this[o]={},r[o]){d=r[o];for(i in d)s=d[i],this[o][i]=s}g=n["public"][o];for(i in g)s=g[i],null==(u=this[o])[i]&&(u[i]=s)}for(v=n.options,l=0,p=v.length;l<p;l++)o=v[l],this[o]=null!=(m=r[o])?m:n["public"][o];this.build()}return t.prototype.options=function(){var t,e,r,i,o;for(e={},o=n.extensions.concat(n.options),r=0,i=o.length;r<i;r++)t=o[r],e[t]=this[t];return e},t.prototype.bindingRegExp=function(){return new RegExp("^"+this.prefix+"-")},t.prototype.buildBinding=function(t,e,r,i){var o,s,a,u,c,l,h;return c={},h=function(){var t,e,n,r;for(n=i.match(/((?:'[^']*')*(?:(?:[^\|']*(?:'[^']*')+[^\|']*)+|[^\|]+))|^$/g),r=[],t=0,e=n.length;t<e;t++)l=n[t],r.push(l.trim());return r}(),o=function(){var t,e,n,r;for(n=h.shift().split("<"),r=[],t=0,e=n.length;t<e;t++)s=n[t],r.push(s.trim());return r}(),u=o.shift(),c.formatters=h,(a=o.shift())&&(c.dependencies=a.split(/\s+/)),this.bindings.push(new n[t](this,e,r,u,c))},t.prototype.build=function(){var t,e,r,i,o;for(this.bindings=[],e=function(t){return function(r){var i,o,s,a,u,c,l,h,p,f,d,g,v;if(3===r.nodeType){if(u=n.TextTemplateParser,(s=t.templateDelimiters)&&(h=u.parse(r.data,s)).length&&(1!==h.length||h[0].type!==u.types.text)){for(p=0,d=h.length;p<d;p++)l=h[p],c=document.createTextNode(l.value),r.parentNode.insertBefore(c,r),1===l.type&&t.buildBinding("TextBinding",c,null,l.value);r.parentNode.removeChild(r)}}else 1===r.nodeType&&(i=t.traverse(r));if(!i)for(v=function(){var t,e,n,i;for(n=r.childNodes,i=[],t=0,e=n.length;t<e;t++)a=n[t],i.push(a);return i}(),f=0,g=v.length;f<g;f++)o=v[f],e(o)}}(this),o=this.els,r=0,i=o.length;r<i;r++)t=o[r],e(t);this.bindings.sort(function(t,e){var n,r;return((null!=(n=e.binder)?n.priority:void 0)||0)-((null!=(r=t.binder)?r.priority:void 0)||0)})},t.prototype.traverse=function(t){var e,r,i,o,s,a,u,c,l,h,p,f,d,g,v,m;for(o=this.bindingRegExp(),s="SCRIPT"===t.nodeName||"STYLE"===t.nodeName,g=t.attributes,h=0,f=g.length;h<f;h++)if(e=g[h],o.test(e.name)){if(c=e.name.replace(o,""),!(i=this.binders[c])){v=this.binders;for(a in v)l=v[a],"*"!==a&&a.indexOf("*")!==-1&&(u=new RegExp("^"+a.replace(/\*/g,".+")+"$"),u.test(c)&&(i=l))}i||(i=this.binders["*"]),i.block&&(s=!0,r=[e])}for(m=r||t.attributes,p=0,d=m.length;p<d;p++)e=m[p],o.test(e.name)&&(c=e.name.replace(o,""),this.buildBinding("Binding",t,c,e.value));return s||(c=t.nodeName.toLowerCase(),this.components[c]&&!t._bound&&(this.bindings.push(new n.ComponentBinding(this,t,c)),s=!0)),s},t.prototype.select=function(t){var e,n,r,i,o;for(i=this.bindings,o=[],n=0,r=i.length;n<r;n++)e=i[n],t(e)&&o.push(e);return o},t.prototype.bind=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],t.bind()},t.prototype.unbind=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],t.unbind()},t.prototype.sync=function(){var t,e,n,r;for(r=this.bindings,e=0,n=r.length;e<n;e++)t=r[e],"function"==typeof t.sync&&t.sync()},t.prototype.publish=function(){var t,e,n,r;for(r=this.select(function(t){var e;return null!=(e=t.binder)?e.publishes:void 0}),e=0,n=r.length;e<n;e++)t=r[e],t.publish()},t.prototype.update=function(t){var e,n,r,i,o,s;null==t&&(t={});for(n in t)r=t[n],this.models[n]=r;for(s=this.bindings,i=0,o=s.length;i<o;i++)e=s[i],"function"==typeof e.update&&e.update(t)},t}(),n.Binding=function(){function t(t,e,n,r,i){this.view=t,this.el=e,this.type=n,this.keypath=r,this.options=null!=i?i:{},this.getValue=a(this.getValue,this),this.update=a(this.update,this),this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.publish=a(this.publish,this),this.sync=a(this.sync,this),this.set=a(this.set,this),this.eventHandler=a(this.eventHandler,this),this.formattedValue=a(this.formattedValue,this),this.parseFormatterArguments=a(this.parseFormatterArguments,this),this.parseTarget=a(this.parseTarget,this),this.observe=a(this.observe,this),this.setBinder=a(this.setBinder,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={},this.model=void 0,this.setBinder()}return t.prototype.setBinder=function(){var t,e,n,r;if(!(this.binder=this.view.binders[this.type])){r=this.view.binders;for(t in r)n=r[t],"*"!==t&&t.indexOf("*")!==-1&&(e=new RegExp("^"+t.replace(/\*/g,".+")+"$"),e.test(this.type)&&(this.binder=n,this.args=new RegExp("^"+t.replace(/\*/g,"(.+)")+"$").exec(this.type),this.args.shift()))}if(this.binder||(this.binder=this.view.binders["*"]),this.binder instanceof Function)return this.binder={routine:this.binder}},t.prototype.observe=function(t,e,r){return n.sightglass(t,e,r,{root:this.view.rootInterface,adapters:this.view.adapters})},t.prototype.parseTarget=function(){var t;return t=n.TypeParser.parse(this.keypath),t.type===n.TypeParser.types.primitive?this.value=t.value:(this.observer=this.observe(this.view.models,this.keypath,this.sync),this.model=this.observer.target)},t.prototype.parseFormatterArguments=function(t,e){var r,i,o,s,a,u,c;for(t=function(){var e,r,o;for(o=[],e=0,r=t.length;e<r;e++)i=t[e],o.push(n.TypeParser.parse(i));return o}(),s=[],r=u=0,c=t.length;u<c;r=++u)i=t[r],s.push(i.type===n.TypeParser.types.primitive?i.value:((a=this.formatterObservers)[e]||(a[e]={}),(o=this.formatterObservers[e][r])?void 0:(o=this.observe(this.view.models,i.value,this.sync),this.formatterObservers[e][r]=o),o.value()));return s},t.prototype.formattedValue=function(t){var e,n,r,i,o,s,a,c,l;for(c=this.formatters,n=s=0,a=c.length;s<a;n=++s)r=c[n],e=r.match(/[^\s']+|'([^']|'[^\s])*'|"([^"]|"[^\s])*"/g),i=e.shift(),r=this.view.formatters[i],o=this.parseFormatterArguments(e,n),(null!=r?r.read:void 0)instanceof Function?t=(l=r.read).call.apply(l,[this.model,t].concat(u.call(o))):r instanceof Function&&(t=r.call.apply(r,[this.model,t].concat(u.call(o))));return t},t.prototype.eventHandler=function(t){var e,n;return n=(e=this).view.handler,function(r){return n.call(t,this,r,e)}},t.prototype.set=function(t){var e;return t=t instanceof Function&&!this.binder["function"]&&n["public"].executeFunctions?this.formattedValue(t.call(this.model)):this.formattedValue(t),null!=(e=this.binder.routine)?e.call(this,this.el,t):void 0},t.prototype.sync=function(){var t,e;return this.set(function(){var n,r,i,o,s,a,u;if(this.observer){if(this.model!==this.observer.target){for(s=this.dependencies,n=0,i=s.length;n<i;n++)e=s[n],e.unobserve();if(this.dependencies=[],null!=(this.model=this.observer.target)&&(null!=(a=this.options.dependencies)?a.length:void 0))for(u=this.options.dependencies,r=0,o=u.length;r<o;r++)t=u[r],e=this.observe(this.model,t,this.sync),this.dependencies.push(e)}return this.observer.value()}return this.value}.call(this))},t.prototype.publish=function(){var t,e,n,r,i,o,s,a,c,l,h,p,f;if(this.observer){for(a=this.getValue(this.el),o=this.formatters.length-1,h=this.formatters.slice(0).reverse(),n=c=0,l=h.length;c<l;n=++c)r=h[n],e=o-n,t=r.split(/\s+/),i=t.shift(),s=this.parseFormatterArguments(t,e),(null!=(p=this.view.formatters[i])?p.publish:void 0)&&(a=(f=this.view.formatters[i]).publish.apply(f,[a].concat(u.call(s))));return this.observer.setValue(a)}},t.prototype.bind=function(){var t,e,n,r,i,o,s;if(this.parseTarget(),null!=(i=this.binder.bind)&&i.call(this,this.el),null!=this.model&&(null!=(o=this.options.dependencies)?o.length:void 0))for(s=this.options.dependencies,n=0,r=s.length;n<r;n++)t=s[n],e=this.observe(this.model,t,this.sync),this.dependencies.push(e);if(this.view.preloadData)return this.sync()},t.prototype.unbind=function(){var t,e,n,r,i,o,s,a,u,c;for(null!=(s=this.binder.unbind)&&s.call(this,this.el),null!=(a=this.observer)&&a.unobserve(),u=this.dependencies,i=0,o=u.length;i<o;i++)r=u[i],r.unobserve();this.dependencies=[],c=this.formatterObservers;for(n in c){e=c[n];for(t in e)r=e[t],r.unobserve()}return this.formatterObservers={}},t.prototype.update=function(t){var e,n;return null==t&&(t={}),this.model=null!=(e=this.observer)?e.target:void 0,null!=(n=this.binder.update)?n.call(this,t):void 0},t.prototype.getValue=function(t){return this.binder&&null!=this.binder.getValue?this.binder.getValue.call(this,t):n.Util.getInputValue(t)},t}(),n.ComponentBinding=function(t){function e(t,e,r){var i,o,s,u,c,l,p,f;for(this.view=t,this.el=e,this.type=r,this.unbind=a(this.unbind,this),this.bind=a(this.bind,this),this.locals=a(this.locals,this),this.component=this.view.components[this.type],this["static"]={},this.observers={},this.upstreamObservers={},o=t.bindingRegExp(),p=this.el.attributes||[],c=0,l=p.length;c<l;c++)i=p[c],o.test(i.name)||(s=this.camelCase(i.name),u=n.TypeParser.parse(i.value),h.call(null!=(f=this.component["static"])?f:[],s)>=0?this["static"][s]=i.value:u.type===n.TypeParser.types.primitive?this["static"][s]=u.value:this.observers[s]=i.value)}return l(e,t),e.prototype.sync=function(){},e.prototype.update=function(){},e.prototype.publish=function(){},e.prototype.locals=function(){var t,e,n,r,i,o;n={},i=this["static"];for(t in i)r=i[t],n[t]=r;o=this.observers;for(t in o)e=o[t],n[t]=e.value();return n},e.prototype.camelCase=function(t){return t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})},e.prototype.bind=function(){var t,e,r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b,w;if(!this.bound){d=this.observers;for(e in d)r=d[e],this.observers[e]=this.observe(this.view.models,r,function(t){return function(e){return function(){return t.componentView.models[e]=t.observers[e].value()}}}(this).call(this,e));this.bound=!0}if(null!=this.componentView)this.componentView.bind();else{for(this.el.innerHTML=this.component.template.call(this),a=this.component.initialize.call(this,this.el,this.locals()),this.el._bound=!0,s={},g=n.extensions,l=0,p=g.length;l<p;l++){if(o=g[l],s[o]={},this.component[o]){v=this.component[o];for(t in v)u=v[t],s[o][t]=u}m=this.view[o];for(t in m)u=m[t],null==(c=s[o])[t]&&(c[t]=u)}for(y=n.options,h=0,f=y.length;h<f;h++)o=y[h],s[o]=null!=(b=this.component[o])?b:this.view[o];this.componentView=new n.View(Array.prototype.slice.call(this.el.childNodes),a,s),this.componentView.bind(),w=this.observers;for(e in w)i=w[e],this.upstreamObservers[e]=this.observe(this.componentView.models,e,function(t){return function(e,n){return function(){return n.setValue(t.componentView.models[e])}}}(this).call(this,e,i))}},e.prototype.unbind=function(){var t,e,n,r,i;n=this.upstreamObservers;for(t in n)e=n[t],e.unobserve();r=this.observers;for(t in r)e=r[t],e.unobserve();return null!=(i=this.componentView)?i.unbind.call(this):void 0},e}(n.Binding),n.TextBinding=function(t){function e(t,e,n,r,i){this.view=t,this.el=e,this.type=n,this.keypath=r,this.options=null!=i?i:{},this.sync=a(this.sync,this),this.formatters=this.options.formatters||[],this.dependencies=[],this.formatterObservers={}}return l(e,t),e.prototype.binder={routine:function(t,e){return t.data=null!=e?e:""}},e.prototype.sync=function(){return e.__super__.sync.apply(this,arguments)},e}(n.Binding),n["public"].binders.text=function(t,e){return null!=t.textContent?t.textContent=null!=e?e:"":t.innerText=null!=e?e:""},n["public"].binders.html=function(t,e){return t.innerHTML=null!=e?e:""},n["public"].binders.show=function(t,e){return t.style.display=e?"":"none"},n["public"].binders.hide=function(t,e){return t.style.display=e?"none":""},n["public"].binders.enabled=function(t,e){return t.disabled=!e},n["public"].binders.disabled=function(t,e){return t.disabled=!!e},n["public"].binders.checked={publishes:!0,priority:2e3,bind:function(t){return n.Util.bindEvent(t,"change",this.publish)},unbind:function(t){return n.Util.unbindEvent(t,"change",this.publish)},routine:function(t,e){var n;return"radio"===t.type?t.checked=(null!=(n=t.value)?n.toString():void 0)===(null!=e?e.toString():void 0):t.checked=!!e}},n["public"].binders.unchecked={publishes:!0,priority:2e3,bind:function(t){return n.Util.bindEvent(t,"change",this.publish)},unbind:function(t){return n.Util.unbindEvent(t,"change",this.publish)},routine:function(t,e){var n;return"radio"===t.type?t.checked=(null!=(n=t.value)?n.toString():void 0)!==(null!=e?e.toString():void 0):t.checked=!e}},n["public"].binders.value={publishes:!0,priority:3e3,bind:function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return this.event="SELECT"===t.tagName?"change":"input",n.Util.bindEvent(t,this.event,this.publish)},unbind:function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return n.Util.unbindEvent(t,this.event,this.publish)},routine:function(t,e){var n,r,o,s,a,u,c;if("INPUT"===t.tagName&&"radio"===t.type)return t.setAttribute("value",e);if(null!=window.jQuery){if(t=i(t),(null!=e?e.toString():void 0)!==(null!=(s=t.val())?s.toString():void 0))return t.val(null!=e?e:"")}else if("select-multiple"===t.type){if(null!=e){for(c=[],r=0,o=t.length;r<o;r++)n=t[r],
|
240
|
+
c.push(n.selected=(a=n.value,h.call(e,a)>=0));return c}}else if((null!=e?e.toString():void 0)!==(null!=(u=t.value)?u.toString():void 0))return t.value=null!=e?e:""}},n["public"].binders["if"]={block:!0,priority:4e3,bind:function(t){var e,n;if(null==this.marker)return e=[this.view.prefix,this.type].join("-").replace("--","-"),n=t.getAttribute(e),this.marker=document.createComment(" rivets: "+this.type+" "+n+" "),this.bound=!1,t.removeAttribute(e),t.parentNode.insertBefore(this.marker,t),t.parentNode.removeChild(t)},unbind:function(){if(this.nested)return this.nested.unbind(),this.bound=!1},routine:function(t,e){var r,i,o,s;if(!!e==!this.bound){if(e){o={},s=this.view.models;for(r in s)i=s[r],o[r]=i;return(this.nested||(this.nested=new n.View(t,o,this.view.options()))).bind(),this.marker.parentNode.insertBefore(t,this.marker.nextSibling),this.bound=!0}return t.parentNode.removeChild(t),this.nested.unbind(),this.bound=!1}},update:function(t){var e;return null!=(e=this.nested)?e.update(t):void 0}},n["public"].binders.unless={block:!0,priority:4e3,bind:function(t){return n["public"].binders["if"].bind.call(this,t)},unbind:function(){return n["public"].binders["if"].unbind.call(this)},routine:function(t,e){return n["public"].binders["if"].routine.call(this,t,!e)},update:function(t){return n["public"].binders["if"].update.call(this,t)}},n["public"].binders["on-*"]={"function":!0,priority:1e3,unbind:function(t){if(this.handler)return n.Util.unbindEvent(t,this.args[0],this.handler)},routine:function(t,e){return this.handler&&n.Util.unbindEvent(t,this.args[0],this.handler),n.Util.bindEvent(t,this.args[0],this.handler=this.eventHandler(e))}},n["public"].binders["each-*"]={block:!0,priority:4e3,bind:function(t){var e,n,r,i,o;if(null==this.marker)e=[this.view.prefix,this.type].join("-").replace("--","-"),this.marker=document.createComment(" rivets: "+this.type+" "),this.iterated=[],t.removeAttribute(e),t.parentNode.insertBefore(this.marker,t),t.parentNode.removeChild(t);else for(o=this.iterated,r=0,i=o.length;r<i;r++)n=o[r],n.bind()},unbind:function(t){var e,n,r,i;if(null!=this.iterated)for(i=this.iterated,n=0,r=i.length;n<r;n++)e=i[n],e.unbind()},routine:function(t,e){var r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b,w,x,_;if(c=this.args[0],e=e||[],this.iterated.length>e.length)for(w=Array(this.iterated.length-e.length),d=0,m=w.length;d<m;d++)o=w[d],f=this.iterated.pop(),f.unbind(),this.marker.parentNode.removeChild(f.els[0]);for(s=g=0,y=e.length;g<y;s=++g)if(u=e[s],i={index:s},i[n["public"].iterationAlias(c)]=s,i[c]=u,null==this.iterated[s]){x=this.view.models;for(a in x)u=x[a],null==i[a]&&(i[a]=u);h=this.iterated.length?this.iterated[this.iterated.length-1].els[0]:this.marker,l=this.view.options(),l.preloadData=!0,p=t.cloneNode(!0),f=new n.View(p,i,l),f.bind(),this.iterated.push(f),this.marker.parentNode.insertBefore(p,h.nextSibling)}else this.iterated[s].models[c]!==u&&this.iterated[s].update(i);if("OPTION"===t.nodeName)for(_=this.view.bindings,v=0,b=_.length;v<b;v++)r=_[v],r.el===this.marker.parentNode&&"value"===r.type&&r.sync()},update:function(t){var e,n,r,i,o,s,a;e={};for(n in t)r=t[n],n!==this.args[0]&&(e[n]=r);for(a=this.iterated,o=0,s=a.length;o<s;o++)i=a[o],i.update(e)}},n["public"].binders["class-*"]=function(t,e){var n;if(n=" "+t.className+" ",!e==(n.indexOf(" "+this.args[0]+" ")!==-1))return t.className=e?""+t.className+" "+this.args[0]:n.replace(" "+this.args[0]+" "," ").trim()},n["public"].binders["*"]=function(t,e){return null!=e?t.setAttribute(this.type,e):t.removeAttribute(this.type)},n["public"].formatters.call=function(){var t,e;return e=arguments[0],t=2<=arguments.length?u.call(arguments,1):[],e.call.apply(e,[this].concat(u.call(t)))},n["public"].adapters["."]={id:"_rv",counter:0,weakmap:{},weakReference:function(t){var e,n,r;return t.hasOwnProperty(this.id)||(e=this.counter++,Object.defineProperty(t,this.id,{value:e})),(n=this.weakmap)[r=t[this.id]]||(n[r]={callbacks:{}})},cleanupWeakReference:function(t,e){if(!(Object.keys(t.callbacks).length||t.pointers&&Object.keys(t.pointers).length))return delete this.weakmap[e]},stubFunction:function(t,e){var n,r,i;return r=t[e],n=this.weakReference(t),i=this.weakmap,t[e]=function(){var e,o,s,a,u,c,l,h,p,f;a=r.apply(t,arguments),l=n.pointers;for(s in l)for(o=l[s],f=null!=(h=null!=(p=i[s])?p.callbacks[o]:void 0)?h:[],u=0,c=f.length;u<c;u++)(e=f[u])();return a}},observeMutations:function(t,e,n){var r,i,o,s,a,u;if(Array.isArray(t)){if(o=this.weakReference(t),null==o.pointers)for(o.pointers={},i=["push","pop","shift","unshift","sort","reverse","splice"],a=0,u=i.length;a<u;a++)r=i[a],this.stubFunction(t,r);if(null==(s=o.pointers)[e]&&(s[e]=[]),h.call(o.pointers[e],n)<0)return o.pointers[e].push(n)}},unobserveMutations:function(t,e,n){var r,i,o;if(Array.isArray(t)&&null!=t[this.id]&&(i=this.weakmap[t[this.id]])&&(o=i.pointers[e]))return(r=o.indexOf(n))>=0&&o.splice(r,1),o.length||delete i.pointers[e],this.cleanupWeakReference(i,t[this.id])},observe:function(t,e,n){var r,i,o;return r=this.weakReference(t).callbacks,null==r[e]&&(r[e]=[],i=Object.getOwnPropertyDescriptor(t,e),(null!=i?i.get:void 0)||(null!=i?i.set:void 0)||(o=t[e],Object.defineProperty(t,e,{enumerable:!0,get:function(){return o},set:function(n){return function(i){var s,a,u,c,l;if(i!==o&&(n.unobserveMutations(o,t[n.id],e),o=i,a=n.weakmap[t[n.id]])){if(r=a.callbacks,r[e])for(l=r[e].slice(),u=0,c=l.length;u<c;u++)s=l[u],h.call(r[e],s)>=0&&s();return n.observeMutations(i,t[n.id],e)}}}(this)}))),h.call(r[e],n)<0&&r[e].push(n),this.observeMutations(t[e],t[this.id],e)},unobserve:function(t,e,n){var r,i,o;if((o=this.weakmap[t[this.id]])&&(r=o.callbacks[e]))return(i=r.indexOf(n))>=0&&(r.splice(i,1),r.length||(delete o.callbacks[e],this.unobserveMutations(t[e],t[this.id],e))),this.cleanupWeakReference(o,t[this.id])},get:function(t,e){return t[e]},set:function(t,e,n){return t[e]=n}},n.factory=function(t){return n.sightglass=t,n["public"]._=n,n["public"]},"object"==typeof("undefined"!=typeof e&&null!==e?e.exports:void 0)?e.exports=n.factory(t("sightglass")):"function"==typeof define&&define.amd?define(["sightglass"],function(t){return this.rivets=n.factory(t)}):this.rivets=n.factory(sightglass)}).call(this)},{sightglass:5}],5:[function(t,e,n){(function(){function t(t,e,r,i){return new n(t,e,r,i)}function n(t,e,n,i){this.options=i||{},this.options.adapters=this.options.adapters||{},this.obj=t,this.keypath=e,this.callback=n,this.objectPath=[],this.update=this.update.bind(this),this.parse(),r(this.target=this.realize())&&this.set(!0,this.key,this.target,this.callback)}function r(t){return"object"==typeof t&&null!==t}function i(t){throw new Error("[sightglass] "+t)}t.adapters={},n.tokenize=function(t,e,n){var r,i,o=[],s={i:n,path:""};for(r=0;r<t.length;r++)i=t.charAt(r),~e.indexOf(i)?(o.push(s),s={i:i,path:""}):s.path+=i;return o.push(s),o},n.prototype.parse=function(){var e,r,o=this.interfaces();o.length||i("Must define at least one adapter interface."),~o.indexOf(this.keypath[0])?(e=this.keypath[0],r=this.keypath.substr(1)):("undefined"==typeof(e=this.options.root||t.root)&&i("Must define a default root adapter."),r=this.keypath),this.tokens=n.tokenize(r,o,e),this.key=this.tokens.pop()},n.prototype.realize=function(){var t,e=this.obj,n=!1;return this.tokens.forEach(function(i,o){r(e)?("undefined"!=typeof this.objectPath[o]?e!==(t=this.objectPath[o])&&(this.set(!1,i,t,this.update),this.set(!0,i,e,this.update),this.objectPath[o]=e):(this.set(!0,i,e,this.update),this.objectPath[o]=e),e=this.get(i,e)):(n===!1&&(n=o),(t=this.objectPath[o])&&this.set(!1,i,t,this.update))},this),n!==!1&&this.objectPath.splice(n),e},n.prototype.update=function(){var t,e;(t=this.realize())!==this.target&&(r(this.target)&&this.set(!1,this.key,this.target,this.callback),r(t)&&this.set(!0,this.key,t,this.callback),e=this.value(),this.target=t,(this.value()instanceof Function||this.value()!==e)&&this.callback())},n.prototype.value=function(){if(r(this.target))return this.get(this.key,this.target)},n.prototype.setValue=function(t){r(this.target)&&this.adapter(this.key).set(this.target,this.key.path,t)},n.prototype.get=function(t,e){return this.adapter(t).get(e,t.path)},n.prototype.set=function(t,e,n,r){var i=t?"observe":"unobserve";this.adapter(e)[i](n,e.path,r)},n.prototype.interfaces=function(){var e=Object.keys(this.options.adapters);return Object.keys(t.adapters).forEach(function(t){~e.indexOf(t)||e.push(t)}),e},n.prototype.adapter=function(e){return this.options.adapters[e.i]||t.adapters[e.i]},n.prototype.unobserve=function(){var t;this.tokens.forEach(function(e,n){(t=this.objectPath[n])&&this.set(!1,e,t,this.update)},this),r(this.target)&&this.set(!1,this.key,this.target,this.callback)},"undefined"!=typeof e&&e.exports?e.exports=t:"function"==typeof define&&define.amd?define([],function(){return this.sightglass=t}):this.sightglass=t}).call(this)},{}],6:[function(t,e,n){!function(t){function n(t,e){if(t=t?t:"",e=e||{},t instanceof n)return t;if(!(this instanceof n))return new n(t,e);var i=r(t);this._originalInput=t,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=M(100*this._a)/100,this._format=e.format||i.format,this._gradientType=e.gradientType,this._r<1&&(this._r=M(this._r)),this._g<1&&(this._g=M(this._g)),this._b<1&&(this._b=M(this._b)),this._ok=i.ok,this._tc_id=q++}function r(t){var e={r:0,g:0,b:0},n=1,r=null,o=null,a=null,c=!1,l=!1;return"string"==typeof t&&(t=F(t)),"object"==typeof t&&(N(t.r)&&N(t.g)&&N(t.b)?(e=i(t.r,t.g,t.b),c=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):N(t.h)&&N(t.s)&&N(t.v)?(r=L(t.s),o=L(t.v),e=u(t.h,r,o),c=!0,l="hsv"):N(t.h)&&N(t.s)&&N(t.l)&&(r=L(t.s),a=L(t.l),e=s(t.h,r,a),c=!0,l="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=E(n),{ok:c,format:t.format||l,r:U(255,W(e.r,0)),g:U(255,W(e.g,0)),b:U(255,W(e.b,0)),a:n}}function i(t,e,n){return{r:255*C(t,255),g:255*C(e,255),b:255*C(n,255)}}function o(t,e,n){t=C(t,255),e=C(e,255),n=C(n,255);var r,i,o=W(t,e,n),s=U(t,e,n),a=(o+s)/2;if(o==s)r=i=0;else{var u=o-s;switch(i=a>.5?u/(2-o-s):u/(o+s),o){case t:r=(e-n)/u+(e<n?6:0);break;case e:r=(n-t)/u+2;break;case n:r=(t-e)/u+4}r/=6}return{h:r,s:i,l:a}}function s(t,e,n){function r(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var i,o,s;if(t=C(t,360),e=C(e,100),n=C(n,100),0===e)i=o=s=n;else{var a=n<.5?n*(1+e):n+e-n*e,u=2*n-a;i=r(u,a,t+1/3),o=r(u,a,t),s=r(u,a,t-1/3)}return{r:255*i,g:255*o,b:255*s}}function a(t,e,n){t=C(t,255),e=C(e,255),n=C(n,255);var r,i,o=W(t,e,n),s=U(t,e,n),a=o,u=o-s;if(i=0===o?0:u/o,o==s)r=0;else{switch(o){case t:r=(e-n)/u+(e<n?6:0);break;case e:r=(n-t)/u+2;break;case n:r=(t-e)/u+4}r/=6}return{h:r,s:i,v:a}}function u(e,n,r){e=6*C(e,360),n=C(n,100),r=C(r,100);var i=t.floor(e),o=e-i,s=r*(1-n),a=r*(1-o*n),u=r*(1-(1-o)*n),c=i%6,l=[r,a,s,s,u,r][c],h=[u,r,r,a,s,s][c],p=[s,s,u,r,r,a][c];return{r:255*l,g:255*h,b:255*p}}function c(t,e,n,r){var i=[O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function l(t,e,n,r,i){var o=[O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16)),O(D(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function h(t,e,n,r){var i=[O(D(r)),O(M(t).toString(16)),O(M(e).toString(16)),O(M(n).toString(16))];return i.join("")}function p(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.s-=e/100,r.s=A(r.s),n(r)}function f(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.s+=e/100,r.s=A(r.s),n(r)}function d(t){return n(t).desaturate(100)}function g(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.l+=e/100,r.l=A(r.l),n(r)}function v(t,e){e=0===e?0:e||10;var r=n(t).toRgb();return r.r=W(0,U(255,r.r-M(255*-(e/100)))),r.g=W(0,U(255,r.g-M(255*-(e/100)))),r.b=W(0,U(255,r.b-M(255*-(e/100)))),n(r)}function m(t,e){e=0===e?0:e||10;var r=n(t).toHsl();return r.l-=e/100,r.l=A(r.l),n(r)}function y(t,e){var r=n(t).toHsl(),i=(r.h+e)%360;return r.h=i<0?360+i:i,n(r)}function b(t){var e=n(t).toHsl();return e.h=(e.h+180)%360,n(e)}function w(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+120)%360,s:e.s,l:e.l}),n({h:(r+240)%360,s:e.s,l:e.l})]}function x(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+90)%360,s:e.s,l:e.l}),n({h:(r+180)%360,s:e.s,l:e.l}),n({h:(r+270)%360,s:e.s,l:e.l})]}function _(t){var e=n(t).toHsl(),r=e.h;return[n(t),n({h:(r+72)%360,s:e.s,l:e.l}),n({h:(r+216)%360,s:e.s,l:e.l})]}function k(t,e,r){e=e||6,r=r||30;var i=n(t).toHsl(),o=360/r,s=[n(t)];for(i.h=(i.h-(o*e>>1)+720)%360;--e;)i.h=(i.h+o)%360,s.push(n(i));return s}function S(t,e){e=e||6;for(var r=n(t).toHsv(),i=r.h,o=r.s,s=r.v,a=[],u=1/e;e--;)a.push(n({h:i,s:o,v:s})),s=(s+u)%1;return a}function T(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function E(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function C(e,n){j(e)&&(e="100%");var r=I(e);return e=U(n,W(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function A(t){return U(1,W(0,t))}function P(t){return parseInt(t,16)}function j(t){return"string"==typeof t&&t.indexOf(".")!=-1&&1===parseFloat(t)}function I(t){return"string"==typeof t&&t.indexOf("%")!=-1}function O(t){return 1==t.length?"0"+t:""+t}function L(t){return t<=1&&(t=100*t+"%"),t}function D(e){return t.round(255*parseFloat(e)).toString(16)}function R(t){return P(t)/255}function N(t){return!!X.CSS_UNIT.exec(t)}function F(t){t=t.replace(B,"").replace(H,"").toLowerCase();var e=!1;if(V[t])t=V[t],e=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=X.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=X.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=X.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=X.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=X.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=X.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=X.hex8.exec(t))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),a:R(n[4]),format:e?"name":"hex8"}:(n=X.hex6.exec(t))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),format:e?"name":"hex"}:(n=X.hex4.exec(t))?{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),a:R(n[4]+""+n[4]),format:e?"name":"hex8"}:!!(n=X.hex3.exec(t))&&{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),format:e?"name":"hex"}}function z(t){var e,n;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:e,size:n}}var B=/^\s+/,H=/\s+$/,q=0,M=t.round,U=t.min,W=t.max,$=t.random;n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var e,n,r,i,o,s,a=this.toRgb();return e=a.r/255,n=a.g/255,r=a.b/255,i=e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4),o=n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4),s=r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4),.2126*i+.7152*o+.0722*s},setAlpha:function(t){return this._a=E(t),this._roundA=M(100*this._a)/100,this},toHsv:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=a(this._r,this._g,this._b),e=M(360*t.h),n=M(100*t.s),r=M(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=o(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=o(this._r,this._g,this._b),e=M(360*t.h),n=M(100*t.s),r=M(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return l(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:M(this._r),g:M(this._g),b:M(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+M(this._r)+", "+M(this._g)+", "+M(this._b)+")":"rgba("+M(this._r)+", "+M(this._g)+", "+M(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:M(100*C(this._r,255))+"%",g:M(100*C(this._g,255))+"%",b:M(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+M(100*C(this._r,255))+"%, "+M(100*C(this._g,255))+"%, "+M(100*C(this._b,255))+"%)":"rgba("+M(100*C(this._r,255))+"%, "+M(100*C(this._g,255))+"%, "+M(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Q[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+h(this._r,this._g,this._b,this._a),r=e,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=n(t);r="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0,i=!e&&r&&("hex"===t||"hex6"===t||"hex3"===t||"hex4"===t||"hex8"===t||"name"===t);return i?"name"===t&&0===this._a?this.toName():this.toRgbString():("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(f,arguments)},greyscale:function(){return this._applyModification(d,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},n.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var i in t)t.hasOwnProperty(i)&&("a"===i?r[i]=t[i]:r[i]=L(t[i]));t=r}return n(t,e)},n.equals=function(t,e){return!(!t||!e)&&n(t).toRgbString()==n(e).toRgbString()},n.random=function(){return n.fromRatio({r:$(),g:$(),b:$()})},n.mix=function(t,e,r){r=0===r?0:r||50;var i=n(t).toRgb(),o=n(e).toRgb(),s=r/100,a={r:(o.r-i.r)*s+i.r,g:(o.g-i.g)*s+i.g,b:(o.b-i.b)*s+i.b,a:(o.a-i.a)*s+i.a};return n(a)},n.readability=function(e,r){var i=n(e),o=n(r);return(t.max(i.getLuminance(),o.getLuminance())+.05)/(t.min(i.getLuminance(),o.getLuminance())+.05)},n.isReadable=function(t,e,r){var i,o,s=n.readability(t,e);switch(o=!1,i=z(r),i.level+i.size){case"AAsmall":case"AAAlarge":o=s>=4.5;break;case"AAlarge":o=s>=3;break;case"AAAsmall":o=s>=7}return o},n.mostReadable=function(t,e,r){var i,o,s,a,u=null,c=0;r=r||{},o=r.includeFallbackColors,s=r.level,a=r.size;for(var l=0;l<e.length;l++)i=n.readability(t,e[l]),i>c&&(c=i,u=n(e[l]));return n.isReadable(t,u,{level:s,size:a})||!o?u:(r.includeFallbackColors=!1,n.mostReadable(t,["#fff","#000"],r))};var V=n.names={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",burntsienna:"ea7e5d",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",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"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",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",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",slategrey:"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"},Q=n.hexNames=T(V),X=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",n="(?:"+e+")|(?:"+t+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof e&&e.exports?e.exports=n:"function"==typeof define&&define.amd?define(function(){return n}):window.tinycolor=n}(Math)},{}],7:[function(t,e,n){!function(t,n){"use strict";"object"==typeof e&&e.exports?e.exports=n():"function"==typeof define&&define.amd?define(n):t.IPv6=n(t)}(this,function(t){"use strict";function e(t){var e=t.toLowerCase(),n=e.split(":"),r=n.length,i=8;""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),r=n.length,n[r-1].indexOf(".")!==-1&&(i=7);var o;for(o=0;o<r&&""!==n[o];o++);if(o<i)for(n.splice(o,1,"0000");n.length<i;)n.splice(o,0,"0000");for(var s,a=0;a<i;a++){s=n[a].split("");for(var u=0;u<3&&("0"===s[0]&&s.length>1);u++)s.splice(0,1);n[a]=s.join("")}var c=-1,l=0,h=0,p=-1,f=!1;for(a=0;a<i;a++)f?"0"===n[a]?h+=1:(f=!1,h>l&&(c=p,l=h)):"0"===n[a]&&(f=!0,p=a,h=1);h>l&&(c=p,l=h),l>1&&n.splice(c,l,""),r=n.length;var d="";for(""===n[0]&&(d=":"),a=0;a<r&&(d+=n[a],a!==r-1);a++)d+=":";return""===n[r-1]&&(d+=":"),d}function n(){return t.IPv6===this&&(t.IPv6=r),this}var r=t&&t.IPv6;return{best:e,noConflict:n}})},{}],8:[function(t,e,n){!function(t,n){"use strict";"object"==typeof e&&e.exports?e.exports=n():"function"==typeof define&&define.amd?define(n):t.SecondLevelDomains=n(t)}(this,function(t){"use strict";var e=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ","do":" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ","in":" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",
|
241
|
+
zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var i=n.list[t.slice(e+1)];return!!i&&i.indexOf(" "+t.slice(r+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r>=0)return!1;var i=n.list[t.slice(e+1)];return!!i&&i.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return null;var i=n.list[t.slice(e+1)];return i?i.indexOf(" "+t.slice(r+1,e)+" ")<0?null:t.slice(r+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return n})},{}],9:[function(t,e,n){!function(n,r){"use strict";"object"==typeof e&&e.exports?e.exports=r(t("./punycode"),t("./IPv6"),t("./SecondLevelDomains")):"function"==typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],r):n.URI=r(n.punycode,n.IPv6,n.SecondLevelDomains,n)}(this,function(t,e,n,r){"use strict";function i(t,e){var n=arguments.length>=1,r=arguments.length>=2;if(!(this instanceof i))return n?r?new i(t,e):new i(t):new i;if(void 0===t){if(n)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&n)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}function o(t){return/^[0-9]+$/.test(t)}function s(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function a(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function u(t){return"Array"===a(t)}function c(t,e){var n,r,i={};if("RegExp"===a(e))i=null;else if(u(e))for(n=0,r=e.length;n<r;n++)i[e[n]]=!0;else i[e]=!0;for(n=0,r=t.length;n<r;n++){var o=i&&void 0!==i[t[n]]||!i&&e.test(t[n]);o&&(t.splice(n,1),r--,n--)}return t}function l(t,e){var n,r;if(u(e)){for(n=0,r=e.length;n<r;n++)if(!l(t,e[n]))return!1;return!0}var i=a(e);for(n=0,r=t.length;n<r;n++)if("RegExp"===i){if("string"==typeof t[n]&&t[n].match(e))return!0}else if(t[n]===e)return!0;return!1}function h(t,e){if(!u(t)||!u(e))return!1;if(t.length!==e.length)return!1;t.sort(),e.sort();for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function p(t){var e=/^\/+|\/+$/g;return t.replace(e,"")}function f(t){return escape(t)}function d(t){return encodeURIComponent(t).replace(/[!'()*]/g,f).replace(/\*/g,"%2A")}function g(t){return function(e,n){return void 0===e?this._parts[t]||"":(this._parts[t]=e||null,this.build(!n),this)}}function v(t,e){return function(n,r){return void 0===n?this._parts[t]||"":(null!==n&&(n+="",n.charAt(0)===e&&(n=n.substring(1))),this._parts[t]=n,this.build(!r),this)}}var m=r&&r.URI;i.version="1.18.12";var y=i.prototype,b=Object.prototype.hasOwnProperty;i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return i.domAttributes[e]}},i.encode=d,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=d,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(t,e){var n=i.encode(t+"");return void 0===e&&(e=i.escapeQuerySpace),e?n.replace(/%20/g,"+"):n},i.decodeQuery=function(t,e){t+="",void 0===e&&(e=i.escapeQuerySpace);try{return i.decode(e?t.replace(/\+/g,"%20"):t)}catch(n){return t}};var w,x={encode:"encode",decode:"decode"},_=function(t,e){return function(n){try{return i[e](n+"").replace(i.characters[t][e].expression,function(n){return i.characters[t][e].map[n]})}catch(r){return n}}};for(w in x)i[w+"PathSegment"]=_("pathname",x[w]),i[w+"UrnPathSegment"]=_("urnpath",x[w]);var k=function(t,e,n){return function(r){var o;o=n?function(t){return i[e](i[n](t))}:i[e];for(var s=(r+"").split(t),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(t)}};i.decodePath=k("/","decodePathSegment"),i.decodeUrnPath=k(":","decodeUrnPathSegment"),i.recodePath=k("/","encodePathSegment","decode"),i.recodeUrnPath=k(":","encodeUrnPathSegment","decode"),i.encodeReserved=_("reserved","encode"),i.parse=function(t,e){var n;return e||(e={}),n=t.indexOf("#"),n>-1&&(e.fragment=t.substring(n+1)||null,t=t.substring(0,n)),n=t.indexOf("?"),n>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===t.substring(0,2)?(e.protocol=null,t=t.substring(2),t=i.parseAuthority(t,e)):(n=t.indexOf(":"),n>-1&&(e.protocol=t.substring(0,n)||null,e.protocol&&!e.protocol.match(i.protocol_expression)?e.protocol=void 0:"//"===t.substring(n+1,n+3)?(t=t.substring(n+3),t=i.parseAuthority(t,e)):(t=t.substring(n+1),e.urn=!0))),e.path=t,e},i.parseHost=function(t,e){t=t.replace(/\\/g,"/");var n,r,o=t.indexOf("/");if(o===-1&&(o=t.length),"["===t.charAt(0))n=t.indexOf("]"),e.hostname=t.substring(1,n)||null,e.port=t.substring(n+2,o)||null,"/"===e.port&&(e.port=null);else{var s=t.indexOf(":"),a=t.indexOf("/"),u=t.indexOf(":",s+1);u!==-1&&(a===-1||u<a)?(e.hostname=t.substring(0,o)||null,e.port=null):(r=t.substring(0,o).split(":"),e.hostname=r[0]||null,e.port=r[1]||null)}return e.hostname&&"/"!==t.substring(o).charAt(0)&&(o++,t="/"+t),i.ensureValidHostname(e.hostname,e.protocol),e.port&&i.ensureValidPort(e.port),t.substring(o)||"/"},i.parseAuthority=function(t,e){return t=i.parseUserinfo(t,e),i.parseHost(t,e)},i.parseUserinfo=function(t,e){var n,r=t.indexOf("/"),o=t.lastIndexOf("@",r>-1?r:t.length-1);return o>-1&&(r===-1||o<r)?(n=t.substring(0,o).split(":"),e.username=n[0]?i.decode(n[0]):null,n.shift(),e.password=n[0]?i.decode(n.join(":")):null,t=t.substring(o+1)):(e.username=null,e.password=null),t},i.parseQuery=function(t,e){if(!t)return{};if(t=t.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!t)return{};for(var n,r,o,s={},a=t.split("&"),u=a.length,c=0;c<u;c++)n=a[c].split("="),r=i.decodeQuery(n.shift(),e),o=n.length?i.decodeQuery(n.join("="),e):null,b.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o;return s},i.build=function(t){var e="";return t.protocol&&(e+=t.protocol+":"),t.urn||!e&&!t.hostname||(e+="//"),e+=i.buildAuthority(t)||"","string"==typeof t.path&&("/"!==t.path.charAt(0)&&"string"==typeof t.hostname&&(e+="/"),e+=t.path),"string"==typeof t.query&&t.query&&(e+="?"+t.query),"string"==typeof t.fragment&&t.fragment&&(e+="#"+t.fragment),e},i.buildHost=function(t){var e="";return t.hostname?(e+=i.ip6_expression.test(t.hostname)?"["+t.hostname+"]":t.hostname,t.port&&(e+=":"+t.port),e):""},i.buildAuthority=function(t){return i.buildUserinfo(t)+i.buildHost(t)},i.buildUserinfo=function(t){var e="";return t.username&&(e+=i.encode(t.username)),t.password&&(e+=":"+i.encode(t.password)),e&&(e+="@"),e},i.buildQuery=function(t,e,n){var r,o,s,a,c="";for(o in t)if(b.call(t,o)&&o)if(u(t[o]))for(r={},s=0,a=t[o].length;s<a;s++)void 0!==t[o][s]&&void 0===r[t[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,t[o][s],n),e!==!0&&(r[t[o][s]+""]=!0));else void 0!==t[o]&&(c+="&"+i.buildQueryParameter(o,t[o],n));return c.substring(1)},i.buildQueryParameter=function(t,e,n){return i.encodeQuery(t,n)+(null!==e?"="+i.encodeQuery(e,n):"")},i.addQuery=function(t,e,n){if("object"==typeof e)for(var r in e)b.call(e,r)&&i.addQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===t[e])return void(t[e]=n);"string"==typeof t[e]&&(t[e]=[t[e]]),u(n)||(n=[n]),t[e]=(t[e]||[]).concat(n)}},i.removeQuery=function(t,e,n){var r,o,s;if(u(e))for(r=0,o=e.length;r<o;r++)t[e[r]]=void 0;else if("RegExp"===a(e))for(s in t)e.test(s)&&(t[s]=void 0);else if("object"==typeof e)for(s in e)b.call(e,s)&&i.removeQuery(t,s,e[s]);else{if("string"!=typeof e)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===a(n)?!u(t[e])&&n.test(t[e])?t[e]=void 0:t[e]=c(t[e],n):t[e]!==String(n)||u(n)&&1!==n.length?u(t[e])&&(t[e]=c(t[e],n)):t[e]=void 0:t[e]=void 0}},i.hasQuery=function(t,e,n,r){switch(a(e)){case"String":break;case"RegExp":for(var o in t)if(b.call(t,o)&&e.test(o)&&(void 0===n||i.hasQuery(t,o,n)))return!0;return!1;case"Object":for(var s in e)if(b.call(e,s)&&!i.hasQuery(t,s,e[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(a(n)){case"Undefined":return e in t;case"Boolean":var c=Boolean(u(t[e])?t[e].length:t[e]);return n===c;case"Function":return!!n(t[e],e,t);case"Array":if(!u(t[e]))return!1;var p=r?l:h;return p(t[e],n);case"RegExp":return u(t[e])?!!r&&l(t[e],n):Boolean(t[e]&&t[e].match(n));case"Number":n=String(n);case"String":return u(t[e])?!!r&&l(t[e],n):t[e]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var t=[],e=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);t.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&e.push(s[a]),s[a]&&n++}if(!e.length||!n)return new i("");var u=new i("").segment(e);return""!==t[0].path()&&"/"!==t[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n++)if(t.charAt(n)!==e.charAt(n)){n--;break}return n<1?t.charAt(0)===e.charAt(0)&&"/"===t.charAt(0)?"/":"":("/"===t.charAt(n)&&"/"===e.charAt(n)||(n=t.substring(0,n).lastIndexOf("/")),t.substring(0,n+1))},i.withinString=function(t,e,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(t);if(!c)break;var l=c.index;if(n.ignoreHtml){var h=t.slice(Math.max(l-3,0),l);if(h&&u.test(h))continue}for(var p=l+t.slice(l).search(o),f=t.slice(l,p),d=-1;;){var g=a.exec(f);if(!g)break;var v=g.index+g[0].length;d=Math.max(d,v)}if(f=d>-1?f.slice(0,d)+f.slice(d).replace(s,""):f.replace(s,""),!(f.length<=c[0].length||n.ignore&&n.ignore.test(f))){p=l+f.length;var m=e(f,l,p,t);void 0!==m?(m=String(m),t=t.slice(0,l)+m+t.slice(p),r.lastIndex=l+m.length):r.lastIndex=p}}return r.lastIndex=0,t},i.ensureValidHostname=function(e,n){var r=!!e,o=!!n,s=!1;if(o&&(s=l(i.hostProtocols,n)),s&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(e&&e.match(i.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(t){if(t){var e=Number(t);if(!(o(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},i.noConflict=function(t){if(t){var e={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(e.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(e.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=r.SecondLevelDomains.noConflict()),e}return r.URI===this&&(r.URI=m),this},y.build=function(t){return t===!0?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},y.clone=function(){return new i(this)},y.valueOf=y.toString=function(){return this.build(!1)._string},y.protocol=g("protocol"),y.username=g("username"),y.password=g("password"),y.hostname=g("hostname"),y.port=g("port"),y.query=v("query","?"),y.fragment=v("fragment","#"),y.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},y.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},y.pathname=function(t,e){if(void 0===t||t===!0){var n=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=t?i.recodeUrnPath(t):"":this._parts.path=t?i.recodePath(t):"/",this.build(!e),this},y.path=y.pathname,y.href=function(t,e){var n;if(void 0===t)return this.toString();this._string="",this._parts=i._parts();var r=t instanceof i,o="object"==typeof t&&(t.hostname||t.path||t.pathname);if(t.nodeName){var s=i.getDomAttribute(t);t=t[s]||"",o=!1}if(!r&&o&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=i.parse(String(t),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var a=r?t._parts:t;for(n in a)b.call(this._parts,n)&&(this._parts[n]=a[n])}return this.build(!e),this},y.is=function(t){var e=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),e=r||o,s=!e,a=s&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return e;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var S=y.protocol,T=y.port,E=y.hostname;y.protocol=function(t,e){if(void 0!==t&&t&&(t=t.replace(/:(\/\/)?$/,""),!t.match(i.protocol_expression)))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return S.call(this,t,e)},y.scheme=y.protocol,y.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(t+="",":"===t.charAt(0)&&(t=t.substring(1)),i.ensureValidPort(t))),T.call(this,t,e))},y.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var n={},r=i.parseHost(t,n);if("/"!==r)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=n.hostname,i.ensureValidHostname(t,this._parts.protocol)}return E.call(this,t,e)},y.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=this.protocol(),r=this.authority();return r?(n?n+"://":"")+this.authority():""}var o=i(t);return this.protocol(o.protocol()).authority(o.authority()).build(!e),this},y.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildHost(this._parts):"";var n=i.parseHost(t,this._parts);if("/"!==n)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},y.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildAuthority(this._parts):"";var n=i.parseAuthority(t,this._parts);if("/"!==n)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},y.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==t[t.length-1]&&(t+="@"),i.parseUserinfo(t,this._parts),this.build(!e),this},y.resource=function(t,e){var n;return void 0===t?this.path()+this.search()+this.hash():(n=i.parse(t),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!e),this)},y.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),a=new RegExp("^"+s(o));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),t.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return t&&i.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,t),this.build(!e),this},y.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(e).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!t)throw new TypeError("cannot set domain empty");if(t.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var o=new RegExp(s(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},y.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(r+1);return e!==!0&&n&&n.list[i.toLowerCase()]?n.get(this._parts.hostname)||i:i}var o;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');o=new RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");o=new RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},y.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||t===!0){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return t?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,o),u=new RegExp("^"+s(a));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=i.recodePath(t),this._parts.path=this._parts.path.replace(u,t),this.build(!e),this},y.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return t?i.decodePathSegment(r):r}var o=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(o=!0);var a=new RegExp(s(this.filename())+"$");return t=i.recodePath(t),this._parts.path=this._parts.path.replace(a,t),o?this.normalizePath(e):this.build(!e),this},y.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||t===!0){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),a=o.lastIndexOf(".");return a===-1?"":(n=o.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?i.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var u,c=this.suffix();if(c)u=t?new RegExp(s(c)+"$"):new RegExp(s("."+c)+"$");else{if(!t)return this;this._parts.path+="."+i.recodePath(t)}return u&&(t=i.recodePath(t),this._parts.path=this._parts.path.replace(u,t)),this.build(!e),this},y.segment=function(t,e,n){var r=this._parts.urn?":":"/",i=this.path(),o="/"===i.substring(0,1),s=i.split(r);if(void 0!==t&&"number"!=typeof t&&(n=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(o&&s.shift(),t<0&&(t=Math.max(s.length+t,0)),void 0===e)return void 0===t?s:s[t];if(null===t||void 0===s[t])if(u(e)){s=[];for(var a=0,c=e.length;a<c;a++)(e[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(e[a])))}else(e||"string"==typeof e)&&(e=p(e),""===s[s.length-1]?s[s.length-1]=e:s.push(e));else e?s[t]=p(e):s.splice(t,1);return o&&s.unshift(""),this.path(s.join(r),n)},y.segmentCoded=function(t,e,n){var r,o,s;if("number"!=typeof t&&(n=e,e=t,t=void 0),void 0===e){if(r=this.segment(t,e,n),u(r))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(u(e))for(o=0,s=e.length;o<s;o++)e[o]=i.encode(e[o]);else e="string"==typeof e||e instanceof String?i.encode(e):e;return this.segment(t,e,n)};var C=y.query;return y.query=function(t,e){if(t===!0)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof t){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=t.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this}return void 0!==t&&"string"!=typeof t?(this._parts.query=i.buildQuery(t,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this):C.call(this,t,e)},y.setQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof t||t instanceof String)r[t]=void 0!==e?e:null;else{if("object"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in t)b.call(t,o)&&(r[o]=t[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.addQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,t,void 0===e?null:e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.removeQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,t,e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},y.hasQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,t,e,n)},y.setSearch=y.setQuery,y.addSearch=y.addQuery,y.removeSearch=y.removeQuery,y.hasSearch=y.hasQuery,y.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},y.normalizeProtocol=function(t){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!t)),this},y.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&e&&(this._parts.hostname=e.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},y.normalizePort=function(t){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!t)),this},y.normalizePath=function(t){var e=this._parts.path;if(!e)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!t),this;if("/"===this._parts.path)return this;e=i.recodePath(e);var n,r,o,s="";for("/"!==e.charAt(0)&&(n=!0,e="/"+e),"/.."!==e.slice(-3)&&"/."!==e.slice(-2)||(e+="/"),e=e.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),n&&(s=e.substring(1).match(/^(\.\.\/)+/)||"",s&&(s=s[0]));;){if(r=e.search(/\/\.\.(\/|$)/),r===-1)break;0!==r?(o=e.substring(0,r).lastIndexOf("/"),o===-1&&(o=r),e=e.substring(0,o)+e.substring(r+3)):e=e.substring(3)}return n&&this.is("relative")&&(e=s+e.substring(1)),this._parts.path=e,this.build(!t),this},y.normalizePathname=y.normalizePath,y.normalizeQuery=function(t){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!t)),this},y.normalizeFragment=function(t){return this._parts.fragment||(this._parts.fragment=null,this.build(!t)),this},y.normalizeSearch=y.normalizeQuery,y.normalizeHash=y.normalizeFragment,y.iso8859=function(){var t=i.encode,e=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},y.unicode=function(){var t=i.encode,e=i.decode;i.encode=d,i.decode=unescape;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},y.readable=function(){var e=this.clone();e.username("").password("").normalize();var n="";if(e._parts.protocol&&(n+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&t?(n+=t.toUnicode(e._parts.hostname),e._parts.port&&(n+=":"+e._parts.port)):n+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(n+="/"),n+=e.path(!0),e._parts.query){for(var r="",o=0,s=e._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(e.hash(),!0)},y.absoluteTo=function(t){var e,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t instanceof i||(t=new i(t)),o._parts.protocol)return o;if(o._parts.protocol=t._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=t._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(e=t.directory(),e=e?e:0===t.path().indexOf("/")?"/":"",o._parts.path=(e?e+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=t._parts.path,o._parts.query||(o._parts.query=t._parts.query)),o.build(),o},y.relativeTo=function(t){var e,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t=new i(t).normalize(),e=a._parts,n=t._parts,o=a.path(),s=t.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(e.protocol===n.protocol&&(e.protocol=null),e.username!==n.username||e.password!==n.password)return a.build();if(null!==e.protocol||null!==e.username||null!==e.password)return a.build();if(e.hostname!==n.hostname||e.port!==n.port)return a.build();if(e.hostname=null,e.port=null,o===s)return e.path="",a.build();if(r=i.commonPath(o,s),!r)return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return e.path=u+e.path.substring(r.length)||"./",a.build()},y.equals=function(t){var e,n,r,o=this.clone(),s=new i(t),a={},c={},l={};if(o.normalize(),s.normalize(),o.toString()===s.toString())return!0;if(e=o.query(),n=s.query(),o.query(""),s.query(""),o.toString()!==s.toString())return!1;if(e.length!==n.length)return!1;a=i.parseQuery(e,this._parts.escapeQuerySpace),c=i.parseQuery(n,this._parts.escapeQuerySpace);for(r in a)if(b.call(a,r)){if(u(a[r])){if(!h(a[r],c[r]))return!1}else if(a[r]!==c[r])return!1;l[r]=!0}for(r in c)if(b.call(c,r)&&!l[r])return!1;return!0},y.duplicateQueryParameters=function(t){return this._parts.duplicateQueryParameters=!!t,this},y.escapeQuerySpace=function(t){return this._parts.escapeQuerySpace=!!t,this},i})},{"./IPv6":7,"./SecondLevelDomains":8,"./punycode":10}],10:[function(t,e,n){(function(t){!function(r){function i(t){throw new RangeError(L[t])}function o(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(O,".");var i=t.split("."),s=o(i,e).join(".");return r+s}function a(t){for(var e,n,r=[],i=0,o=t.length;i<o;)e=t.charCodeAt(i++),e>=55296&&e<=56319&&i<o?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);return r}function u(t){return o(t,function(t){var e="";return t>65535&&(t-=65536,e+=N(t>>>10&1023|55296),t=56320|1023&t),e+=N(t)}).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:_}function l(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function h(t,e,n){var r=0;for(t=n?R(t/E):t>>1,t+=R(t/e);t>D*S>>1;r+=_)t=R(t/D);return R(r+(D+1)*t/(t+T))}function p(t){var e,n,r,o,s,a,l,p,f,d,g=[],v=t.length,m=0,y=A,b=C;for(n=t.lastIndexOf(P),n<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&i("not-basic"),g.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<v;){for(s=m,a=1,l=_;o>=v&&i("invalid-input"),p=c(t.charCodeAt(o++)),(p>=_||p>R((x-m)/a))&&i("overflow"),m+=p*a,f=l<=b?k:l>=b+S?S:l-b,!(p<f);l+=_)d=_-f,a>R(x/d)&&i("overflow"),a*=d;e=g.length+1,b=h(m-s,e,0==s),R(m/e)>x-y&&i("overflow"),y+=R(m/e),m%=e,g.splice(m++,0,y)}return u(g)}function f(t){var e,n,r,o,s,u,c,p,f,d,g,v,m,y,b,w=[];for(t=a(t),v=t.length,e=A,n=0,s=C,u=0;u<v;++u)g=t[u],g<128&&w.push(N(g));for(r=o=w.length,o&&w.push(P);r<v;){
|
242
|
+
for(c=x,u=0;u<v;++u)g=t[u],g>=e&&g<c&&(c=g);for(m=r+1,c-e>R((x-n)/m)&&i("overflow"),n+=(c-e)*m,e=c,u=0;u<v;++u)if(g=t[u],g<e&&++n>x&&i("overflow"),g==e){for(p=n,f=_;d=f<=s?k:f>=s+S?S:f-s,!(p<d);f+=_)b=p-d,y=_-d,w.push(N(l(d+b%y,0))),p=R(b/y);w.push(N(l(p,0))),s=h(n,m,r==o),n=0,++r}++n,++e}return w.join("")}function d(t){return s(t,function(t){return j.test(t)?p(t.slice(4).toLowerCase()):t})}function g(t){return s(t,function(t){return I.test(t)?"xn--"+f(t):t})}var v="object"==typeof n&&n&&!n.nodeType&&n,m="object"==typeof e&&e&&!e.nodeType&&e,y="object"==typeof t&&t;y.global!==y&&y.window!==y&&y.self!==y||(r=y);var b,w,x=2147483647,_=36,k=1,S=26,T=38,E=700,C=72,A=128,P="-",j=/^xn--/,I=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=_-k,R=Math.floor,N=String.fromCharCode;if(b={version:"1.3.2",ucs2:{decode:a,encode:u},decode:p,encode:f,toASCII:g,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&m)if(e.exports==v)m.exports=b;else for(w in b)b.hasOwnProperty(w)&&(v[w]=b[w]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],11:[function(t,e,n){e.exports={WebVTT:t("./vtt.js").WebVTT,VTTCue:t("./vttcue-extended.js").VTTCue,VTTRegion:t("./vttregion-extended.js").VTTRegion}},{"./vtt.js":12,"./vttcue-extended.js":13,"./vttregion-extended.js":15}],12:[function(t,e,n){!function(t){function e(t,e){return void 0===e&&(e=1),"rgba("+[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16),e].join(",")+")"}function n(t,n,r){switch(r){case"webvtt.font.color":case"webvtt.font.opacity":var i=Services.prefs.getCharPref("webvtt.font.color"),o=Services.prefs.getIntPref("webvtt.font.opacity")/100;b.fontSet=e(i,o);break;case"webvtt.font.scale":y=Services.prefs.getIntPref("webvtt.font.scale")/100;break;case"webvtt.bg.color":case"webvtt.bg.opacity":var s=Services.prefs.getCharPref("webvtt.bg.color"),a=Services.prefs.getIntPref("webvtt.bg.opacity")/100;b.backgroundSet=e(s,a);break;case"webvtt.edge.color":case"webvtt.edge.type":var u=["","0px 0px ","4px 4px 4px ","-2px -2px ","2px 2px "],c=Services.prefs.getIntPref("webvtt.edge.type"),l=Services.prefs.getCharPref("webvtt.edge.color");b.edgeSet=u[c]+e(l)}}function r(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function i(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function o(){this.values=w(null)}function s(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],u=s[1];e(a,u)}}}function a(t,e,n){function a(){var e=i(t);if(null===e)throw new r(r.Errors.BadTimeStamp,"Malformed timestamp: "+l);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function u(t,e){var r=new o;s(t,function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),s=o[0];r.integer(t,s),r.percent(t,s)?r.set("snapToLines",!1):null,r.alt(t,s,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position","auto"),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function c(){t=t.replace(/^\s+/,"")}var l=t;if(c(),e.startTime=a(),c(),"-->"!==t.substr(0,3))throw new r(r.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+l);t=t.substr(3),c(),e.endTime=a(),c(),u(t,e)}function u(t,e){function n(){function t(t){return e=e.substr(t.length),t}if(!e)return null;var n=e.match(/^([^<]*)(<[^>]+>?)?/);return t(n[1]?n[1]:n[2])}function r(t){return x[t]}function o(t){for(;d=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(d[0],r);return t}function s(t,e){return!S[e.localName]||S[e.localName]===t.localName}function a(e,n){var r=_[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=k[e];return o&&n&&(i[o]=n.trim()),i}for(var u,c=t.document.createElement("div"),l=c,h=[];null!==(u=n());)if("<"!==u[0])l.appendChild(t.document.createTextNode(o(u)));else{if("/"===u[1]){h.length&&h[h.length-1]===u.substr(2).replace(">","")&&(h.pop(),l=l.parentNode);continue}var p,f=i(u.substr(1,u.length-2));if(f){p=t.document.createProcessingInstruction("timestamp",f),l.appendChild(p);continue}var d=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!d)continue;if(p=a(d[1],d[3]),!p)continue;if(!s(l,p))continue;d[2]&&(p.className=d[2].substr(1).replace("."," ")),h.push(d[1]),l.appendChild(p),l=p}return c}function c(t){for(var e=0;e<T.length;e++){var n=T[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function l(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var r=t.pop(),i=r.textContent||r.innerText;if(i){var o=i.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):i}return"ruby"===r.tagName?n(t):r.childNodes?(e(t,r),n(t)):void 0}var r,i=[],o="";if(!t||!t.childNodes)return"ltr";for(e(i,t);o=n(i);)for(var s=0;s<o.length;s++)if(r=o.charCodeAt(s),c(r))return"rtl";return"ltr"}function h(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;i<n.length&&n[i]!==e;i++)"showing"===n[i].mode&&r++;return++r*-1}function p(){}function f(t,e,n){var r="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)",s="";"undefined"!=typeof b&&(i=b.fontSet,o=b.backgroundSet,s=b.edgeSet),r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),p.call(this),this.cue=e,this.cueDiv=u(t,e.text);var a={color:i,backgroundColor:o,textShadow:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",a.unicodeBidi="plaintext"),this.applyStyles(a,this.cueDiv),this.div=t.document.createElement("div"),a={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(a.direction=l(this.cueDiv),a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(a),this.div.appendChild(this.cueDiv);var c=0;switch(e.positionAlign){case"start":c=e.position;break;case"middle":c=e.position-e.size/2;break;case"end":c=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(c,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(c,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function d(t){var e,n,r,i,o="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,r=t.div.offsetWidth,i=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||n,this.bottom=t.bottom||i+(t.height||n),this.width=t.width||r,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function g(t,e,n,r){function i(t,e){for(var i,o=new d(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(r);)t.move(e[a]);if(t.within(n))return t;var u=t.intersectPercentage(n);s>u&&(i=new d(t),s=u),t=new d(o)}return i||o}var o=new d(e),s=e.cue,a=h(s),u=[];if(s.snapToLines){var c;switch(s.vertical){case"":u=["+y","-y"],c="height";break;case"rl":u=["+x","-x"],c="width";break;case"lr":u=["-x","+x"],c="width"}var l=o.lineHeight,p=l*Math.round(a),f=n[c]+l,g=u[0];Math.abs(p)>f&&(p=p<0?-1:1,p*=Math.ceil(f/l)*l),a<0&&(p+=""===s.vertical?n.height:n.width,u=u.reverse()),o.move(g,p)}else{var v=o.lineHeight/n.height*100;switch(s.lineAlign){case"middle":a-=v/2;break;case"end":a-=v}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}u=["+y","-x","+x","-y"],o=new d(e)}var m=i(o,u);e.move(m.toCSSCompatValues(n))}function v(){}var m=["webvtt.font.color","webvtt.font.opacity","webvtt.font.scale","webvtt.bg.color","webvtt.bg.opacity","webvtt.edge.color","webvtt.edge.type"],y=1;if("undefined"!=typeof Services){var b={};m.forEach(function(t){n(void 0,void 0,t),Services.prefs.addObserver(t,n,!1)})}var w=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();r.prototype=w(Error.prototype),r.prototype.constructor=r,r.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var r=0;r<n.length;++r)if(e===n[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){var n;return!!((n=e.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var x={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},_={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},k={v:"title",lang:"lang"},S={rt:"ruby"},T=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];p.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},p.prototype.formatStyle=function(t,e){return 0===t?0:t+e},f.prototype=w(p.prototype),f.prototype.constructor=f,d.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},d.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},d.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},d.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},d.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},d.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),r=e*n;return r/(this.height*this.width)},d.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},d.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var i={left:t.left,right:t.right,top:t.top||r,height:t.height||e,bottom:t.bottom||r+(t.height||e),width:t.width||n};return i},v.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},v.convertCueToDOMTree=function(t,e){return t&&e?u(t,e):null};var E=.05,C="sans-serif",A="1.5%";v.processCues=function(t,e,n){function r(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin=A,n.appendChild(i),r(e)){var o=[],s=d.getSimpleBoxPosition(i),a=Math.round(s.height*E*100)/100,u={font:a*y+"px "+C};!function(){for(var n,r,a=0;a<e.length;a++)r=e[a],n=new f(t,r,u),i.appendChild(n.div),g(t,n,s,o),r.displayState=n.div,o.push(d.getSimpleBoxPosition(n))}()}else for(var c=0;c<e.length;c++)i.appendChild(e[c].displayState)},v.Parser=function(t,e){this.window=t,this.state="INITIAL",this.buffer="",this.decoder=e||new TextDecoder("utf8"),this.regionList=[]},v.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof r))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function e(){for(var t=u.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,u.buffer=t.substr(e),n}function n(t){var e=new o;if(s(t,function(t,n){switch(t){case"id":e.set(t,n);break;case"width":e.percent(t,n);break;case"lines":e.integer(t,n);break;case"regionanchor":case"viewportanchor":var r=n.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;e.set(t+"X",i.get("x")),e.set(t+"Y",i.get("y"));break;case"scroll":e.alt(t,n,["up"])}},/=/,/\s/),e.has("id")){var n=new u.window.VTTRegion;n.width=e.get("width",100),n.lines=e.get("lines",3),n.regionAnchorX=e.get("regionanchorX",0),n.regionAnchorY=e.get("regionanchorY",100),n.viewportAnchorX=e.get("viewportanchorX",0),n.viewportAnchorY=e.get("viewportanchorY",100),n.scroll=e.get("scroll",""),u.onregion&&u.onregion(n),u.regionList.push({id:e.get("id"),region:n})}}function i(t){s(t,function(t,e){switch(t){case"Region":n(e)}},/:/)}var u=this;t&&(u.buffer+=u.decoder.decode(t,{stream:!0}));try{var c;if("INITIAL"===u.state){if(!/\r\n|\n/.test(u.buffer))return this;c=e();var l=c.match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new r(r.Errors.BadSignature);u.state="HEADER"}for(var h=!1;u.buffer;){if(!/\r\n|\n/.test(u.buffer))return this;switch(h?h=!1:c=e(),u.state){case"HEADER":/:/.test(c)?i(c):c||(u.state="ID");continue;case"NOTE":c||(u.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(c)){u.state="NOTE";break}if(!c)continue;if(u.cue=new u.window.VTTCue(0,0,""),u.state="CUE",c.indexOf("-->")===-1){u.cue.id=c;continue}case"CUE":try{a(c,u.cue,u.regionList)}catch(p){u.reportOrThrowError(p),u.cue=null,u.state="BADCUE";continue}u.state="CUETEXT";continue;case"CUETEXT":var f=c.indexOf("-->")!==-1;if(!c||f&&(h=!0)){u.oncue&&u.oncue(u.cue),u.cue=null,u.state="ID";continue}u.cue.text&&(u.cue.text+="\n"),u.cue.text+=c;continue;case"BADCUE":c||(u.state="ID");continue}}}catch(p){u.reportOrThrowError(p),"CUETEXT"===u.state&&u.cue&&u.oncue&&u.oncue(u.cue),u.cue=null,u.state="INITIAL"===u.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new r(r.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.WebVTT=v}(this)},{}],13:[function(t,e,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||t("./vttcue").VTTCue),function(t){t.VTTCue.prototype.toJSON=function(){var t={},e=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(t[n]=e[n])}),t},t.VTTCue.create=function(e){if(!e.hasOwnProperty("startTime")||!e.hasOwnProperty("endTime")||!e.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new t.VTTCue(e.startTime,e.endTime,e.text);for(var r in e)n.hasOwnProperty(r)&&(n[r]=e[r]);return n},t.VTTCue.fromJSON=function(t){return this.create(JSON.parse(t))}}(this)},{"./vttcue":14}],14:[function(t,e,n){!function(t){function e(t){if("string"!=typeof t)return!1;var e=s[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){if("string"!=typeof t)return!1;var e=a[t.toLowerCase()];return!!e&&t.toLowerCase()}function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function i(t,i,s){var a=this,u=/MSIE\s8\.0/.test(navigator.userAgent),c={};u?a=document.createElement("custom"):c.enumerable=!0,a.hasBeenReset=!1;var l="",h=!1,p=t,f=i,d=s,g=null,v="",m=!0,y="auto",b="start",w=50,x="middle",_=50,k="middle";if(Object.defineProperty(a,"id",r({},c,{get:function(){return l},set:function(t){l=""+t}})),Object.defineProperty(a,"pauseOnExit",r({},c,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(a,"startTime",r({},c,{get:function(){return p},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",r({},c,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",r({},c,{get:function(){return d},set:function(t){d=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",r({},c,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",r({},c,{get:function(){return v},set:function(t){var n=e(t);if(n===!1)throw new SyntaxError("An invalid or illegal string was specified.");v=n,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",r({},c,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",r({},c,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==o)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",r({},c,{get:function(){return b},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",r({},c,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",r({},c,{get:function(){return x},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");x=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",r({},c,{get:function(){return _},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",r({},c,{get:function(){return k},set:function(t){var e=n(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");k=e,this.hasBeenReset=!0}})),a.displayState=void 0,u)return a}var o="auto",s={"":!0,lr:!0,rl:!0},a={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.VTTCue=t.VTTCue||i}(this)},{}],15:[function(t,e,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=t("./vttregion").VTTRegion),function(t){t.VTTRegion.create=function(e){var n=new t.VTTRegion;for(var r in e)n.hasOwnProperty(r)&&(n[r]=e[r]);return n},t.VTTRegion.fromJSON=function(t){return this.create(JSON.parse(t))}}(this)},{"./vttregion":16}],16:[function(t,e,n){!function(t){function e(t){if("string"!=typeof t)return!1;var e=i[t.toLowerCase()];return!!e&&t.toLowerCase()}function n(t){return"number"==typeof t&&t>=0&&t<=100}function r(){var t=100,r=3,i=0,o=100,s=0,a=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!n(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");r=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!n(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!n(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!n(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!n(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var n=e(t);if(n===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=n}}})}var i={"":!0,up:!0};t.VTTRegion=t.VTTRegion||r}(this)},{}],17:[function(t,e,n){var r,i,o,s,a,u,c,l,h,p,f,d,g,v,m,y,b=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),y=t("lodash"),o=t("./configuration.coffee"),v=t("./theme.coffee"),l=t("./player.coffee"),d=t("./progress_bar.coffee"),c=t("./feed.coffee"),u=t("./external_data.coffee"),i=t("./extensions/chaptermarks.coffee"),s=t("./extensions/download.coffee"),a=t("./extensions/episode_info.coffee"),p=t("./extensions/playlist.coffee"),h=t("./extensions/playerjs.coffee"),g=t("./extensions/share.coffee"),m=t("./extensions/transcript.coffee"),f=function(){function t(t){this.elemClass=t,this.sendSizeChange=b(this.sendSizeChange,this),this.bindWindowResizing=b(this.bindWindowResizing,this),this.initializeExtensions=b(this.initializeExtensions,this),this.bindButtons=b(this.bindButtons,this),this.adjustPlaySpeed=b(this.adjustPlaySpeed,this),this.mediaEnded=b(this.mediaEnded,this),this.updateTime=b(this.updateTime,this),this.togglePlayState=b(this.togglePlayState,this),this.mediaLoadError=b(this.mediaLoadError,this),this.mediaLoaded=b(this.mediaLoaded,this),this.init=b(this.init,this),this.initPlayer=b(this.initPlayer,this),this.renderTheme=b(this.renderTheme,this),this.getConfiguration().loaded.done(function(t){return function(){return t.renderTheme().done(function(){return t.initPlayer()})}}(this))}return t.defaultExtensions=[d,i,s,a,p,h,g,m],t.prototype.extensions={},t.prototype.getProductionData=function(){var t;if(this.episode.productionDataUrl)return t=this,r.getJSON(this.episode.productionDataUrl).done(function(e){return function(e){return t.episode.productionData=e.data}}(this))},t.prototype.getConfiguration=function(){return new o(this)},t.prototype.renderTheme=function(){var t;return t=r.Deferred(),this.theme=new v(this),this.theme.loaded.done(function(e){return function(){return e.elem=e.theme.render(),window.setTimeout(e.sendSizeChange,0),r(".loading-animation").remove(),t.resolve()}}(this)),t.promise()},t.prototype.initPlayer=function(){var t;return t=this.elem.find("audio")[0],new l(this,t,this.options,this.init)},t.prototype.init=function(t){return this.player=t,this.bindButtons(),this.initializeExtensions(),this.bindWindowResizing()},t.prototype.mediaLoaded=function(){return window.setTimeout(this.sendSizeChange,0),this.theme.removeLoadingClass()},t.prototype.mediaLoadError=function(){return window.setTimeout(this.sendSizeChange,0),this.theme.removeLoadingClass(),this.theme.removePlayingClass(),this.theme.addFailedLoadingClass(),this.extensions.ProgressBar.hideBuffering()},t.prototype.togglePlayState=function(){if(null!=this.player)return this.player.playing?this.theme.addPlayingClass():this.theme.removePlayingClass()},t.prototype.updateTime=function(t){var e;return e=this.extensions.ProgressBar.updateTime(t),this.adjustPlaySpeed(e)},t.prototype.mediaEnded=function(){return this.player.media.currentTime=0,this.extensions.ProgressBar.updateTime(),this.togglePlayState()},t.prototype.tempPlayBackSpeed=null,t.prototype.adjustPlaySpeed=function(t){var e,n;if(this.episode.productionData)return e=this.player.media.currentTime,n=r.grep(this.episode.productionData.statistics.music_speech,function(e,n){return e.start.indexOf(t)!==-1}),n.length&&("music"===n[0].label?1!==this.options.currentPlaybackRate&&(this.tempPlayBackSpeed=this.options.currentPlaybackRate,this.player.setPlaySpeed(1)):this.tempPlayBackSpeed&&(this.player.setPlaySpeed(this.tempPlayBackSpeed),this.tempPlayBackSpeed=null)),this.updateSpeedDisplay()},t.prototype.bindButtons=function(){var t;return t=function(t){return function(e){return e.preventDefault(),t.extensions.ChromeCast&&t.extensions.ChromeCast.active?t.extensions.ChromeCast.togglePlayState():t.player.playPause()}}(this),this.theme.playPauseElement.on("click",t),this.theme.backwardElement.click(function(t){return function(){return t.player.jumpBackward()}}(this)),this.theme.forwardElement.click(function(t){return function(){return t.player.jumpForward()}}(this)),this.theme.skipBackwardElement.click(function(t){return function(){return t.player.skipBackward()}}(this)),this.theme.skipForwardElement.click(function(t){return function(){return t.player.skipForward()}}(this)),this.theme.speedElement.click(function(t){return function(e){return t.player.changePlaySpeed(),t.updateSpeedDisplay()}}(this))},t.prototype.updateSpeedDisplay=function(){return this.theme.speedElement.text(this.options.currentPlaybackRate+"x")},t.prototype.initializeExtensions=function(e){var n;return n=this,this.extensions={},this.theme.removeButtons(),this.theme.removePanels(),t.defaultExtensions.forEach(function(t){return function(t){if(n.extensions[t.extension.name]=new t(n),e instanceof t)return n.theme.togglePanel(n.extensions[t.extension.name].panel)}}(this))},t.prototype.bindWindowResizing=function(){return r(window).on("resize",y.debounce(this.sendSizeChange,250))},t.prototype.sendSizeChange=function(){var t,e,n,r,i;return n=parseInt(this.elem.css("padding-top"),10),e=parseInt(this.elem.css("padding-bottom"),10),t=this.elem.height()+n+e,i=JSON.stringify({id:this.options.id,listenTo:"resizePlayer",height:t}),window.parent.postMessage(i,"*"),null!=(r=this.extensions.ProgressBar)?r.updateBarWidths():void 0},t.prototype.isInIframeMode=function(){return"iframe"===this.options.iframeMode},t}(),window.inEmbed&&(window.PodigeePodcastPlayer=f)},{"./configuration.coffee":19,"./extensions/chaptermarks.coffee":23,"./extensions/download.coffee":24,"./extensions/episode_info.coffee":25,"./extensions/playerjs.coffee":26,"./extensions/playlist.coffee":29,"./extensions/share.coffee":30,"./extensions/transcript.coffee":31,"./external_data.coffee":34,"./feed.coffee":35,"./player.coffee":37,"./progress_bar.coffee":39,"./theme.coffee":41,jquery:2,lodash:3}],18:[function(t,e,n){var r,i;i=t("lodash"),r=function(){function t(t,e,n){this.uri=e,this.media=n,this.format=t,this.findOutIfPlayable()}return t.formatMapping={m4a:"audio/mp4",mp3:"audio/mpeg",ogg:'audio/ogg; codecs="vorbis"',opus:'audio/ogg; codecs="opus"'},t.reverseFormatMapping=i.invert(t.formatMapping),t.prototype.findOutIfPlayable=function(){return this.playable=this.uri?this.media.canPlayType(this.fileFormat()):""},t.prototype.fileFormat=function(){return t.formatMapping[this.format]},t}(),e.exports=r},{lodash:3}],19:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),c=t("lodash"),u=t("./utils.coffee"),l=t("rivets"),o=t("./external_data.coffee"),s=t("./i18n.coffee"),a=t("./podcast.coffee"),i=function(){function t(t){this.app=t,this.configureTemplating=h(this.configureTemplating,this),this.setConfigurations=h(this.setConfigurations,this),this.fetchJsonConfiguration=h(this.fetchJsonConfiguration,this),this.receiveConfiguration=h(this.receiveConfiguration,this),this.loader=r.Deferred(),this.loaded=this.loader.promise(),this.frameOptions=u.locationToOptions(window.location.search),this.frameOptions.configuration?(this.configuration={json_config:this.frameOptions.configuration},this.fetchJsonConfiguration()):this.receiveConfiguration(),this.configureTemplating()}return t.prototype.receiveConfiguration=function(){var t;return r(window).on("message",function(t){return function(e){var n,r;if(e.originalEvent.data){n=e.originalEvent.data;try{t.configuration=JSON.parse(n)}catch(i){return void(r=i)}return t.configuration.json_config?t.fetchJsonConfiguration():t.setConfigurations()}}}(this)),t=JSON.stringify({id:this.frameOptions.id,listenTo:"sendConfig"}),window.parent.postMessage(t,"*")},t.prototype.fetchJsonConfiguration=function(){var t;if(this.configuration.json_config&&this.configuration.json_config.length)return t=this,r.ajax({dataType:"json",headers:{Accept:"application/json"},url:this.configuration.json_config}).done(function(e){return function(e){return t.configuration=c.extend(t.configuration,e),t.setConfigurations(!0)}}(this)).error(function(t,e,n){return console.log("[podigee podcast player] Error while fetching player configuration:"),console.log("xhr:",t),console.log("status:",e),console.log("trace:",n)})},t.prototype.setConfigurations=function(t){var e,n,r,i;if(this.configuration.episode)return this.app.podcast=new a(this.app,this.configuration.podcast||{}),this.app.extensionOptions=this.configuration.extensions||{},this.app.customOptions=this.configuration.customOptions,null==(e=this.configuration).options&&(e.options={}),this.app.options=c.extend(this.defaultOptions,this.configuration.options,this.frameOptions),this.app.options.parentLocationHash=this.configuration.parentLocationHash,this.app.options.configViaJSON=t,this.app.externalData=new o(this.app),i=new s(this.configuration.options.locale,this.defaultOptions.locale),this.app.i18n=i,this.configuration.episode?(this.app.episode=this.configuration.episode,null!=this.app.episode.cover_url&&(console.warn("Please use episode.coverUrl instead of episode.cover_url in player configuration"),null==(n=this.app.episode).coverUrl&&(n.coverUrl=this.configuration.episode.cover_url)),null==(r=this.app.episode).embedCode&&(r.embedCode=this.configuration.embedCode),
|
243
|
+
this.app.getProductionData(),this.loader.resolve()):void this.app.podcast.getEpisodes().done(function(e){return function(){if(e.app.podcast.episodes)return e.configuration.episode=e.app.podcast.episodes[0],e.setConfigurations(t)}}(this))},t.prototype.defaultOptions={currentPlaybackRate:1,playbackRates:[.5,1,1.5,2],timeMode:"countup",backwardSeconds:10,forwardSeconds:30,showChaptermarks:!1,showMoreInfo:!1,theme:"default",sslProxy:null,iframeMode:"iframe",locale:"en-US",theme:"default",themeHtml:null,themeCss:null,customStyle:null,startPanel:null},t.prototype.configureTemplating=function(){return l.configure({prefix:"pp"}),l.formatters.description=function(t){return function(t){var e;return e=document.createElement("div"),e.innerHTML=t.trim(),e.querySelectorAll("a").forEach(function(t){return t.target="_parent"}),e.innerHTML}}(this)},t}(),e.exports=i},{"./external_data.coffee":34,"./i18n.coffee":36,"./podcast.coffee":38,"./utils.coffee":42,jquery:2,lodash:3,rivets:4}],20:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};i=t("tinycolor2"),r=function(){function t(t){this.buildColors=o(this.buildColors,this),this.buildCSS=o(this.buildCSS,this),this.toStyleTag=o(this.toStyleTag,this),this.config=t}return t.prototype.toStyleTag=function(){var t;if(this.config)return t=document.createElement("style"),t.textContent=this.buildCSS(),t},t.prototype.buildCSS=function(){var t;return t=this.buildColors(),".podcast-player { background-color: "+this.background+"; color: "+this.text+"; } .podcast-player a, .podcast-player .episode-title a { color: "+this.primary+"; } .podcast-player a:hover, .podcast-player .episode-title a:hover { color: "+this.primaryHover+"; } .podcast-player .buttons button { color: "+this.text+"; } .podcast-player .buttons button:hover, .podcast-player .buttons button.button-active { color: "+this.primary+"; } .podcast-player .episode-basic-info .episode-subtitle { color: "+this.text+"; } .podcast-player .controls .play-button { border-color: "+this.progressBar+"; color: "+this.progressBar+"; } .podcast-player .controls .play-button:hover { border-color: "+this.progressBarAlt+"; color: "+this.progressBarAlt+"; } .podcast-player .progress-bar .progress-bar-rail { background: "+this.progressBar+"; } .podcast-player .progress-bar-played { background: "+this.primary+"; } .podcast-player .progress-bar-loaded { background: "+this.text+"; } .podcast-player .panels { color: "+this.text+"; } .podcast-player .panels .chaptermarks ul li:hover, .podcast-player .panels .playlist ul li:hover { background-color: "+this.backgroundHover+"; } .podcast-player .panels .transcript .transcript-text li:hover { color: "+this.textHover+"; } .podcast-player .panels .transcript .transcript-text li.active { color: "+this.primary+"; } .podcast-player .panels .share .share-copy-url, .podcast-player .panels .share .share-embed-code { border-color: "+this.text+"; color: "+this.text+"; } .podcast-player .footer button { border-color: "+this.primary+"; color: "+this.primary+"; } .podcast-player .footer button:hover { border-color: "+this.primaryHover+"; color: "+this.primaryHover+"; }"},t.prototype.buildColors=function(){return this.primary=new i(this.config.primary),this.primaryHover=this.getHoverColor(this.primary),this.background=new i(this.config.background),this.backgroundHover=this.getHoverColor(this.background),this.text=this.config.text?new i(this.config.text):this.getContrastColor(this.background),this.textHover=this.getHoverColor(this.text),this.progressBar=this.getProgressColor(this.textHover),this.progressBarAlt=this.getHoverColor(this.progressBar)},t.prototype.getContrastColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()>=190?t.darken(70):t.getBrightness()>=155&&t.getBrightness()<190?t.darken(45):t.getBrightness()<155&&t.getBrightness()>=50?t.lighten(45):t.lighten(70)},t.prototype.getHoverColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()<50?t.lighten(15):t.darken(10)},t.prototype.getProgressColor=function(t){var e;return t=t.clone(),e=t.clone(),t.getBrightness()<50?t.darken(10):t.lighten(30)},t}(),e.exports=r},{tinycolor2:6}],21:[function(t,e,n){var r,i,o;o=t("lodash"),i=t("./utils.coffee"),r=function(){function t(t){var e,n;n=this._parseLocation(t),e=this.parseTimes(n),this.startTime=e[0],this.endTime=e[1]}return t.prototype.parseTimes=function(t){var e;return null==t?[0]:t.split(",").length>2?[0]:(e=t.split(",").map(function(t){return""===t?0:t.match(":")?i.hhmmssToSeconds(t):parseInt(t,10)}),e[0]>e[1]?[0]:e)},t.prototype._parseLocation=function(t){var e,n;return t?(e=t.slice(1).split("&"),n=o(e).find(function(t){return o(t).startsWith("t")}),n?n.split("=")[1]:void 0):null},t}(),e.exports=r},{"./utils.coffee":42,lodash:3}],22:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=function(){function t(t){this.app=t,this.renderPanel=o(this.renderPanel,this),this.renderButton=o(this.renderButton,this)}return t.extension={name:"Extension",type:"default"},t.prototype.defaultOptions={},t.prototype.renderButton=function(){return this.button=r(this.buttonHtml()),this.button.on("click",function(t){return function(){return t.app.theme.togglePanel(t.panel)}}(this))},t.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),this.panel.hide()},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.buttonHtml=function(){return'<button class="fa fa-bookmark" title="Show example extension"></button>'},t.prototype.panelHtml=function(){return'<div class="example">\n <h3>Example</h3>\n\n <p>This is an example</p>\n</div>'},t.prototype.name=function(){return this.constructor.extension.name},t}(),e.exports=i},{jquery:2}],23:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}},p=function(t,e){function n(){this.constructor=t}for(var r in e)f.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f={}.hasOwnProperty;r=t("jquery"),u=t("lodash"),l=t("sightglass"),c=t("rivets"),a=t("../utils.coffee"),s=t("../extension.coffee"),i=function(){function t(t,e){this.render=h(this.render,this),this.cleanData=h(this.cleanData,this),this.data=t,this.cleanData(),this.callback=e}return t.prototype.cleanData=function(){return this.data.start=this.data.start.split(".")[0],this.data.startInSeconds=a.hhmmssToSeconds(this.data.start)},t.prototype.render=function(){return this.elem=r(this.defaultHtml),c.bind(this.elem,this.data),this.elem.on("click",this.data,this.callback),this.elem},t.prototype.defaultHtml='<li pp-data-start="start" class="chaptermark">\n <img pp-src="image" pp-if="image" class="chaptermark-image"/>\n <span class="chaptermark-start">{ start }</span>\n <span class="chaptermark-title">{ title }</span>\n <a pp-if="href" pp-href="href" target="_blank" class="chaptermark-href">\n <svg id="icon-chain" viewBox="0 0 26 28">\n <title>chain</title>\n <path d="M22.75 19c0-0.406-0.156-0.781-0.438-1.062l-3.25-3.25c-0.281-0.281-0.672-0.438-1.062-0.438-0.453 0-0.812 0.172-1.125 0.5 0.516 0.516 1.125 0.953 1.125 1.75 0 0.828-0.672 1.5-1.5 1.5-0.797 0-1.234-0.609-1.75-1.125-0.328 0.313-0.516 0.672-0.516 1.141 0 0.391 0.156 0.781 0.438 1.062l3.219 3.234c0.281 0.281 0.672 0.422 1.062 0.422s0.781-0.141 1.062-0.406l2.297-2.281c0.281-0.281 0.438-0.656 0.438-1.047zM11.766 7.984c0-0.391-0.156-0.781-0.438-1.062l-3.219-3.234c-0.281-0.281-0.672-0.438-1.062-0.438s-0.781 0.156-1.062 0.422l-2.297 2.281c-0.281 0.281-0.438 0.656-0.438 1.047 0 0.406 0.156 0.781 0.438 1.062l3.25 3.25c0.281 0.281 0.672 0.422 1.062 0.422 0.453 0 0.812-0.156 1.125-0.484-0.516-0.516-1.125-0.953-1.125-1.75 0-0.828 0.672-1.5 1.5-1.5 0.797 0 1.234 0.609 1.75 1.125 0.328-0.313 0.516-0.672 0.516-1.141zM25.75 19c0 1.188-0.484 2.344-1.328 3.172l-2.297 2.281c-0.844 0.844-1.984 1.297-3.172 1.297-1.203 0-2.344-0.469-3.187-1.328l-3.219-3.234c-0.844-0.844-1.297-1.984-1.297-3.172 0-1.234 0.5-2.406 1.375-3.266l-1.375-1.375c-0.859 0.875-2.016 1.375-3.25 1.375-1.188 0-2.344-0.469-3.187-1.313l-3.25-3.25c-0.859-0.859-1.313-1.984-1.313-3.187 0-1.188 0.484-2.344 1.328-3.172l2.297-2.281c0.844-0.844 1.984-1.297 3.172-1.297 1.203 0 2.344 0.469 3.187 1.328l3.219 3.234c0.844 0.844 1.297 1.984 1.297 3.172 0 1.234-0.5 2.406-1.375 3.266l1.375 1.375c0.859-0.875 2.016-1.375 3.25-1.375 1.188 0 2.344 0.469 3.187 1.313l3.25 3.25c0.859 0.859 1.313 1.984 1.313 3.187z"></path>\n </svg>\n </a>\n</li>',t}(),o=function(t){function e(t){this.app=t,this.panelHtml=h(this.panelHtml,this),this.buttonHtml=h(this.buttonHtml,this),this.deactivateAll=h(this.deactivateAll,this),this.activateMark=h(this.activateMark,this),this.setActiveMark=h(this.setActiveMark,this),this.attachEvents=h(this.attachEvents,this),this.renderPanel=h(this.renderPanel,this),this.click=h(this.click,this),this.options=u.extend(this.defaultOptions,this.app.extensionOptions.ChapterMarks),this.options.disabled||(this.chapters=this.app.episode.chaptermarks,this.chapters&&this.chapters.length&&(this.renderPanel(),this.renderButton(),this.attachEvents(),this.app.theme.addExtension(this)))}return p(e,t),e.extension={name:"ChapterMarks",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.click=function(t){var e;return e=t.data.start,this.app.player.setCurrentTime(a.hhmmssToSeconds(e))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),this.panel.hide(),this.chaptermarks=u.map(this.chapters,function(t){return function(e){return new i(e,t.click)}}(this)),this.chaptermarks=u.sortBy(this.chaptermarks,function(t){return function(t){return t.data.startInSeconds}}(this)),u.map(this.chaptermarks,function(t){return function(e){return t.panel.find("ul").append(e.render())}}(this))},e.prototype.attachEvents=function(){return r(this.app.player.media).on("timeupdate",this.setActiveMark)},e.prototype.setActiveMark=function(){var t;return t=this.app.player.currentTimeInSeconds,t<=a.hhmmssToSeconds(this.chaptermarks[0].data.start)?(this.deactivateAll(),this.activateMark(this.chaptermarks[0])):u(this.chaptermarks).findLast(function(e){return function(n){var r;if(r=a.hhmmssToSeconds(n.data.start),t>=r)return e.deactivateAll(),e.activateMark(n)}}(this))},e.prototype.activateMark=function(t){return t.elem.addClass("active")},e.prototype.deactivateAll=function(){return this.panel.find("li").removeClass("active")},e.prototype.buttonHtml=function(){return'<button class="chaptermarks-button" title="'+this.t("chaptermarks.show")+'" aria-label="'+this.t("chaptermarks.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="chaptermarks">\n <h3>'+this.t("chaptermarks.title")+"</h3>\n\n <ul></ul>\n</div>"},e}(s),e.exports=o},{"../extension.coffee":22,"../utils.coffee":42,jquery:2,lodash:3,rivets:4,sightglass:5}],24:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function n(){this.constructor=t}for(var r in e)h.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h={}.hasOwnProperty;r=t("jquery"),s=t("lodash"),u=t("sightglass"),a=t("rivets"),o=t("../extension.coffee"),i=function(t){function e(t){this.app=t,this.renderPanel=c(this.renderPanel,this),this.prepareDownloadLinks=c(this.prepareDownloadLinks,this),this.options=s.extend(this.defaultOptions,this.app.extensionOptions.Download),this.options.disabled||(this.episode=this.app.episode,this.episode&&this.episode.media&&(this.prepareDownloadLinks(),this.renderPanel(),this.renderButton(),this.app.theme.addExtension(this)))}return l(e,t),e.extension={name:"Download",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.prepareDownloadLinks=function(){return this.episode.downloadLinks=s.map(this.episode.media,function(t){return function(t,e,n){var r,i,o;if(t)return o=t.replace(/source=\w*/g,"source=webplayer-download"),r=t.substring(t.lastIndexOf("/")+1).split("?")[0],i={cssClass:"download-link download-link-"+e,filename:r,type:e,url:o}}}(this))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),a.bind(this.panel,this.episode),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="download-button" title="'+this.t("download.episode")+'" aria-label="'+this.t("download.episode")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="download">\n <h3 class="download-title">'+this.t("download.episode")+'</h3>\n <div class="icon icon-download"></div>\n <ul class="download-links">\n <li pp-each-link="downloadLinks">\n <a pp-href="link.url" pp-download="link.filename" pp-class="link.cssClass" target="_blank">{ link.type }</a>\n </li>\n </ul>\n</div>'},e}(o),e.exports=i},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5}],25:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function n(){this.constructor=t}for(var r in e)h.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},h={}.hasOwnProperty;r=t("jquery"),s=t("lodash"),u=t("sightglass"),a=t("rivets"),o=t("../extension.coffee"),i=function(t){function e(t){this.app=t,this.renderPanel=c(this.renderPanel,this),this.options=s.extend(this.defaultOptions,this.app.extensionOptions.EpisodeInfo),this.options.disabled||(this.episode=this.app.episode,this.episode&&this.episode.description&&(this.renderPanel(),this.renderButton(),this.app.theme.addExtension(this)))}return l(e,t),e.extension={name:"EpisodeInfo",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),a.bind(this.panel,this.episode),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="episode-info-button" title="'+this.t("episode_info.more_info")+'" aria-label="'+this.t("episode_info.more_info")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="episode-info">\n <h3>'+this.t("episode_info.title")+'</h3>\n <h3 class="episode-title" pp-html="title"></h3>\n <p class="episode-subtitle" pp-html="subtitle"></p>\n <p class="episode-description" pp-html="description | description"></p>\n</div>'},e}(o),e.exports=i},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5}],26:[function(t,e,n){var r,i,o,s,a=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;i=t("../extension.coffee"),r=t("./playerjs/adapter.coffee"),s=t("./playerjs/receiver.coffee"),o=function(t){function e(t){this.app=t,this.player=this.app.player,this.receiver=new s,new r(this.player,this.receiver),this.receiver.ready()}return a(e,t),e.extension={name:"Playerjs",type:"internal"},e}(i),e.exports=o},{"../extension.coffee":22,"./playerjs/adapter.coffee":27,"./playerjs/receiver.coffee":28}],27:[function(t,e,n){var r;r=function(){function t(t,e){this.player=t,this.receiver=e,this.setupEvents(),this.setupMethods()}return t.prototype.setupEvents=function(){return this.player.media.addEventListener("playing",function(t){return function(){return t.receiver.emit("play")}}(this)),this.player.media.addEventListener("pause",function(t){return function(){return t.receiver.emit("pause")}}(this)),this.player.media.addEventListener("ended",function(t){return function(){return t.receiver.emit("ended")}}(this)),this.player.media.addEventListener("timeupdate",function(t){return function(){return t.receiver.emit("timeupdate",{seconds:t.player.media.currentTime,duration:t.player.media.duration})}}(this)),this.player.media.addEventListener("progress",function(t){return function(){return t.receiver.emit("buffered",{percent:t.player.media.buffered.length})}}(this))},t.prototype.setupMethods=function(){return this.receiver.on("play",function(t){return function(){return t.player.play()}}(this)),this.receiver.on("pause",function(t){return function(){return t.player.pause()}}(this)),this.receiver.on("getPaused",function(t){return function(e){return e(t.player.media.paused)}}(this)),this.receiver.on("getCurrentTime",function(t){return function(e){return e(t.player.media.currentTime)}}(this)),this.receiver.on("setCurrentTime",function(t){return function(e){return t.player.media.currentTime=e}}(this)),this.receiver.on("getDuration",function(t){return function(e){return e(t.player.media.duration)}}(this))},t}(),e.exports=r},{}],28:[function(t,e,n){var r,i,o=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=function(){function t(){this.emit=o(this.emit,this),this.send=o(this.send,this),this.isReady=!1,r(window).on("message",function(t){return function(e){return t.receive(e)}}(this))}return t.prototype.context="player.js",t.prototype.version="0.0.11",t.prototype.supported={events:["play","pause","ended","error","timeupdate"],methods:["play","pause","addEventListener","removeEventListener","getPaused","getDuration","setCurrentTime","getCurrentTime"]},t.prototype.methods={},t.prototype.eventListeners={},t.prototype.receive=function(t){var e,n,r,i;try{e=window.JSON.parse(t.originalEvent.data)}catch(o){return void(n=o)}if(!e.method)return!1;if(e.context!==this.context)return!1;if(this.supported.methods.indexOf(e.method)===-1)return this.emit("error",{code:2,msg:"Invalid Method "+e.method}),!1;if(i=null!=e.listener?e.listener:null,"addEventListener"===e.method){if(this.eventListeners.hasOwnProperty(e.value)?this.eventListeners[e.value].indexOf(i)===-1&&this.eventListeners[e.value].push(i):this.eventListeners[e.value]=[i],"ready"===e.value&&this.isReady)return this.ready()}else{if("removeEventListener"!==e.method)return this.get(e.method,e.value,i);if(this.eventListeners.hasOwnProperty(e.value)&&(r=this.eventListeners[e.value].indexOf(i),r>-1&&this.eventListeners[e.value].splice(r,1),0===this.eventListeners[e.value].length))return delete this.eventListeners[e.value]}},t.prototype.get=function(t,e,n){var r,i;return this.methods.hasOwnProperty(t)?(i=this.methods[t],"get"===t.substr(0,3)?(r=function(e){return function(r){return e.send(t,r,n)}}(this),i.call(this,r)):i.call(this,e)):(this.emit("error",{code:3,msg:"Method Not Supported '"+t+"'"}),!1)},t.prototype.on=function(t,e){return this.methods[t]=e},t.prototype.send=function(t,e,n){var r,i;return r={context:this.context,version:this.version,event:t},null!=e&&(r.value=e),null!=n&&(r.listener=n),i=JSON.stringify(r),window.parent.postMessage(i,"*")},t.prototype.emit=function(t,e){return!!this.eventListeners.hasOwnProperty(t)&&(Object.keys(this.eventListeners).map(function(n){return function(r){return n.eventListeners[r].map(function(r){return n.send(t,e,r)})}}(this)),!0)},t.prototype.ready=function(){var t;if(this.isReady=!0,t={src:window.location.toString(),events:this.supported.events,methods:this.supported.methods},!this.emit("ready",t))return this.send("ready",t)},t}(),e.exports=i},{jquery:2}],29:[function(t,e,n){var r,i,o,s,a,u,c,l,h=function(t,e){return function(){return t.apply(e,arguments)}},p=function(t,e){function n(){this.constructor=t}for(var r in e)f.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f={}.hasOwnProperty;r=t("jquery"),u=t("lodash"),l=t("sightglass"),c=t("rivets"),a=t("../utils.coffee"),i=t("../extension.coffee"),s=function(){function t(t,e){this.episode=t,this.callback=e,this.render=h(this.render,this),this.media=this.context().media,this.episode.duration&&(this.humanDuration=a.secondsToHHMMSS(u.clone(this.episode.duration)))}return t.prototype.humanDuration=null,t.prototype.active=!1,t.prototype.context=function(){return u.merge(this.episode,{active:this.active,humanDuration:this.humanDuration})},t.prototype.activate=function(){if(!this.active)return this.active=!0,this.view.update(this.context())},t.prototype.deactivate=function(){if(this.active)return this.active=!1,this.view.update(this.context())},t.prototype.render=function(){return this.elem=r(this.defaultHtml),this.view=c.bind(this.elem,this.context()),this.elem.data("item",this.context()),this.elem.on("click",this.episode,this.callback),this.elem},t.prototype.defaultHtml='<li pp-class-active="active">\n <a class="episode-link" pp-if="url" pp-href="url" target="_blank">\n <svg id="icon-chain" viewBox="0 0 26 28">\n <title>chain</title>\n <path d="M22.75 19c0-0.406-0.156-0.781-0.438-1.062l-3.25-3.25c-0.281-0.281-0.672-0.438-1.062-0.438-0.453 0-0.812 0.172-1.125 0.5 0.516 0.516 1.125 0.953 1.125 1.75 0 0.828-0.672 1.5-1.5 1.5-0.797 0-1.234-0.609-1.75-1.125-0.328 0.313-0.516 0.672-0.516 1.141 0 0.391 0.156 0.781 0.438 1.062l3.219 3.234c0.281 0.281 0.672 0.422 1.062 0.422s0.781-0.141 1.062-0.406l2.297-2.281c0.281-0.281 0.438-0.656 0.438-1.047zM11.766 7.984c0-0.391-0.156-0.781-0.438-1.062l-3.219-3.234c-0.281-0.281-0.672-0.438-1.062-0.438s-0.781 0.156-1.062 0.422l-2.297 2.281c-0.281 0.281-0.438 0.656-0.438 1.047 0 0.406 0.156 0.781 0.438 1.062l3.25 3.25c0.281 0.281 0.672 0.422 1.062 0.422 0.453 0 0.812-0.156 1.125-0.484-0.516-0.516-1.125-0.953-1.125-1.75 0-0.828 0.672-1.5 1.5-1.5 0.797 0 1.234 0.609 1.75 1.125 0.328-0.313 0.516-0.672 0.516-1.141zM25.75 19c0 1.188-0.484 2.344-1.328 3.172l-2.297 2.281c-0.844 0.844-1.984 1.297-3.172 1.297-1.203 0-2.344-0.469-3.187-1.328l-3.219-3.234c-0.844-0.844-1.297-1.984-1.297-3.172 0-1.234 0.5-2.406 1.375-3.266l-1.375-1.375c-0.859 0.875-2.016 1.375-3.25 1.375-1.188 0-2.344-0.469-3.187-1.313l-3.25-3.25c-0.859-0.859-1.313-1.984-1.313-3.187 0-1.188 0.484-2.344 1.328-3.172l2.297-2.281c0.844-0.844 1.984-1.297 3.172-1.297 1.203 0 2.344 0.469 3.187 1.328l3.219 3.234c0.844 0.844 1.297 1.984 1.297 3.172 0 1.234-0.5 2.406-1.375 3.266l1.375 1.375c0.859-0.875 2.016-1.375 3.25-1.375 1.188 0 2.344 0.469 3.187 1.313l3.25 3.25c0.859 0.859 1.313 1.984 1.313 3.187z"></path>\n </svg>\n </a>\n <span class="playlist-episode-number" pp-if="number">{ number }.</span>\n <span class="playlist-episode-title" pp-html="title"></span>\n <span class="playlist-episode-duration" pp-if="humanDuration">{ humanDuration }</span>\n</li>',t}(),o=function(t){function e(t){this.app=t,this.renderPanel=h(this.renderPanel,this),this.setSkippingAvailability=h(this.setSkippingAvailability,this),this.isLastEntry=h(this.isLastEntry,this),this.isFirstEntry=h(this.isFirstEntry,this),this.playNext=h(this.playNext,this),this.playPrevious=h(this.playPrevious,this),this.playItem=h(this.playItem,this),this.click=h(this.click,this),this.setCurrentEpisode=h(this.setCurrentEpisode,this),this.currentIndex=h(this.currentIndex,this),this.options=u.extend(this.defaultOptions,this.app.extensionOptions.Playlist),this.options.disabled||this.app.podcast.hasEpisodes()&&this.app.podcast.getEpisodes().done(function(t){return function(){return t.episodes=t.app.podcast.episodes,t.renderPanel(),t.renderButton(),t.app.theme.addExtension(t),t.setCurrentEpisode()}}(this))}return p(e,t),e.extension={name:"Playlist",type:"panel"},e.prototype.defaultOptions={showOnStart:!1,disabled:!1},e.prototype.playlist=[],e.prototype.currentEpisode=null,e.prototype.currentIndex=function(){return this.playlist.indexOf(this.currentEpisode)},e.prototype.setCurrentEpisode=function(){var t,e;return e=this.app.player.currentFile(),e?(t=this.cleanFile(e),this.currentEpisode=u.find(this.playlist,function(e){return function(n){var r;return n.deactivate(),r=u.filter(n.media,function(n){var r;return r=e.cleanFile(n),t===r}),r.length}}(this))):this.currentEpisode=this.playlist[0],this.currentEpisode.activate(),this.setSkippingAvailability()},e.prototype.cleanFile=function(t){return t=t.split("?")[0],t=t.split("."),t.pop(),t.join(".")},e.prototype.click=function(t){return this.currentEpisode&&t.data===this.currentEpisode.feedItem?this.app.player.playPause():this.playItem(t.data)},e.prototype.playItem=function(t){return this.updateEpisodeData(t),this.app.player.loadFile(),this.app.player.play(),this.app.initializeExtensions(this),this.app.extensions.ProgressBar.updateView()},e.prototype.playPrevious=function(){var t;if(!this.isFirstEntry())return t=this.playlist[this.currentIndex()+1],this.playItem(t.episode)},e.prototype.playNext=function(){var t;if(!this.isLastEntry())return t=this.playlist[this.currentIndex()-1],this.playItem(t.episode)},e.prototype.isFirstEntry=function(){return this.currentIndex()+1>this.playlist.length},e.prototype.isLastEntry=function(){return 0===this.currentIndex()},e.prototype.setSkippingAvailability=function(){if(this.app.theme.skipBackwardElement.removeClass("disabled"),this.app.theme.skipForwardElement.removeClass("disabled"),this.isLastEntry()&&this.app.theme.skipForwardElement.addClass("disabled"),this.isFirstEntry())return this.app.theme.skipBackwardElement.addClass("disabled")},e.prototype.updateEpisodeData=function(t){return this.app.episode=t,this.app.theme.updateView()},e.prototype.renderPanel=function(){var t;return this.panel=r(this.panelHtml()),t=this.panel.find("ul"),u.each(this.episodes,function(e){return function(n,r){var i;return i=new s(n,e.click),e.playlist.push(i),t.append(i.render())}}(this)),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="playlist-button" title="'+this.t("playlist.show")+'" aria-label="'+this.t("playlist.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="playlist">\n <h3>'+this.t("playlist.title")+"</h3>\n\n <ul></ul>\n</div>"},e}(i),e.exports=o},{"../extension.coffee":22,"../utils.coffee":42,jquery:2,lodash:3,rivets:4,sightglass:5}],30:[function(t,e,n){var r,i,o,s,a,u,c,l=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function n(){this.constructor=t}for(var r in e)p.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},p={}.hasOwnProperty;r=t("jquery"),a=t("lodash"),c=t("sightglass"),u=t("rivets"),s=t("urijs"),i=t("../extension.coffee"),o=function(t){function e(t){this.app=t,this.copyUrlAction=l(this.copyUrlAction,this),this.bindEvents=l(this.bindEvents,this),this.attachEvents=l(this.attachEvents,this),this.renderPanel=l(this.renderPanel,this),this.shareUrl=l(this.shareUrl,this),this.updateContext=l(this.updateContext,this),this.buildContext=l(this.buildContext,this),this.shareLinks=l(this.shareLinks,this),this.episode=this.app.episode,this.episode&&this.episode.url&&(this.options=a.extend(this.defaultOptions,this.app.extensionOptions.Share),this.options.disabled||(this.buildContext(),this.renderPanel(),this.renderButton(),this.attachEvents(),this.app.theme.addExtension(this)))}return h(e,t),e.extension={name:"Share",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.shareLinks=function(t){var e,n,r,i,o;return o=encodeURI(this.shareUrl()),n=this.audioFileUrl(),i=encodeURI(this.episode.title),e=encodeURI(this.episode.coverUrl),r={email:"mailto:?subject=Podcast: "+i+"&body="+o,facebook:"https://www.facebook.com/sharer/sharer.php?u="+o+"&t="+i,googleplus:"https://plus.google.com/share?url="+o,twitter:"https://twitter.com/intent/tweet?url="+o+"&text="+i,whatsapp:"whatsapp://send?text="+i+": "+o}},e.prototype.audioFileUrl=function(){var t;return t=this.app.episode.media.mp3||this.app.episode.media.m4a,encodeURI(t)},e.prototype.buildContext=function(){var t;return null==this.context&&(this.context={}),this.context.currentTime=this.app.player.currentTime,this.context.currentTimeInSeconds=this.app.player.currentTimeInSeconds,this.context.shareLinks=this.shareLinks(this.context.currentTimeInSeconds),this.context.url=this.shareUrl(),null==(t=this.context).showUrlWithTime&&(t.showUrlWithTime=!1),this.context.updateContext=this.updateContext,this.context.embedCode=this.app.episode.embedCode,this.context.showEmbedUrl=this.app.options.configViaJSON},e.prototype.updateContext=function(){return this.buildContext()},e.prototype.shareUrl=function(){var t,e,n;return t=s(this.episode.url),(null!=(e=this.context)?e.showUrlWithTime:void 0)?(n=Math.round(this.context.currentTimeInSeconds),t.fragment("t="+n)):this.episode.url},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),u.bind(this.panel,this.context),this.panel.hide(),this.bindEvents()},e.prototype.attachEvents=function(){return r(this.app.player.media).on("timeupdate",this.buildContext)},e.prototype.bindEvents=function(){return this.panel.find(".share-copy-url").on("focus",this.copyUrlAction),this.panel.find(".share-embed-code").on("focus",this.copyUrlAction),this.panel.find("[name='enable-start-at']").on("change",this.toggleStartAt)},e.prototype.copyUrlAction=function(t){return t.target.select()},e.prototype.buttonHtml=function(){return'<button class="share-button" title="'+this.t("share.episode_url")+'" aria-label="'+this.t("share.episode_url")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="share">\n <h3 class="share-title">'+this.t("share.episode")+'</h3>\n <ul class="share-social-links">\n <li><a pp-href="shareLinks.facebook" class="share-link-facebook" target="_blank">Facebook</a></li>\n <li><a pp-href="shareLinks.googleplus" class="share-link-googleplus" target="_blank">Google+</a></li>\n <li><a pp-href="shareLinks.twitter" class="share-link-twitter" target="_blank">Twitter</a></li>\n <li><a pp-href="shareLinks.whatsapp" class="share-link-whatsapp" target="_blank">Whatsapp</a></li>\n <li><a pp-href="shareLinks.email" class="share-link-email" target="_blank">'+this.t("share.email")+'</a></li>\n </ul>\n <div class="share-episode-link">\n <h3>'+this.t("share.copy_episode_link")+'</h3>\n <p>\n <input class="share-copy-url" pp-value="url">\n </p>\n </div>\n <div class="share-deeplink">\n <input type="checkbox" pp-checked="showUrlWithTime" pp-on-change="updateContext">\n '+this.t("share.start_at")+'\n <input type="text" pp-value="currentTime" disabled="disabled">\n </div>\n <div class="share-embed" pp-show="showEmbedUrl">\n <h3>'+this.t("share.embed_player")+'</h3>\n <input class="share-embed-code" pp-value="embedCode"/>\n </div>\n</div>'},e}(i),e.exports=o},{"../extension.coffee":22,jquery:2,lodash:3,rivets:4,sightglass:5,urijs:9}],31:[function(t,e,n){var r,i,o,s,a,u,c,l,h,p,f,d=function(t,e){return function(){return t.apply(e,arguments)}},g=function(t,e){function n(){this.constructor=t}for(var r in e)v.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},v={}.hasOwnProperty;r=t("jquery"),h=t("lodash"),f=t("sightglass"),p=t("rivets"),window.WebVTT=l=t("vtt.js").WebVTT,window.navigator.appVersion.match(/Trident/)&&(window.VTTCue=c=t("vtt.js").VTTCue),i=t("../extension.coffee"),u=t("../utils.coffee"),a=t("./transcript/line.coffee"),o=t("./transcript/search.coffee"),s=function(t){function e(t){this.app=t,this.renderPanel=d(this.renderPanel,this),this.setActiveLine=d(this.setActiveLine,this),this.deactivateAll=d(this.deactivateAll,this),this.activateLine=d(this.activateLine,this),this.bindEvents=d(this.bindEvents,this),this.parseWebVTT=d(this.parseWebVTT,this),this.parseTimScript=d(this.parseTimScript,this),this.processTranscript=d(this.processTranscript,this),this.load=d(this.load,this),this.options=h.extend(this.defaultOptions,this.app.extensionOptions.Transcript),this.options.disabled||this.app.episode&&this.app.episode.transcript&&(this.transcript=this.app.episode.transcript,this.search=new o(this.app),this.load().done(function(t){return function(){return t.renderPanel(),t.renderButton(),t.app.theme.addExtension(t),t.bindEvents()}}(this)))}return g(e,t),e.extension={name:"Transcript",type:"panel"},e.prototype.defaultOptions={showOnStart:!1},e.prototype.transcriptFileFormat=function(){return h.last(this.transcript.split("."))},e.prototype.data={transcript:""},e.prototype.load=function(){var t;return t=this.app.externalData.get(this.transcript),t.done(function(t){return function(e){return t.processTranscript(e)}}(this))},e.prototype.processTranscript=function(t){var e;return e="vtt"===this.transcriptFileFormat()?this.parseWebVTT(t):"srt"===this.transcriptFileFormat()?this.parseSrt(t):"json"===this.transcriptFileFormat()?this.parseJson(t):this.parseTimScript(t),
|
244
|
+
this.data.transcript=e.join("")},e.prototype.parseTimScript=function(t){var e;return e=t.split("\n"),e.map(function(t){return function(e){var n,r,i,o;if(""!==e)return r=e.match(/^\[(.*) (.*)\]/),i=e.match(/\] (.*)/),o=r[1],n={time:o.split(".")[0],timestamp:u.hhmmssToSeconds(o),speaker:r[2],text:i?i[1]:void 0},t.renderLine(n)}}(this))},e.prototype.parseSrt=function(t){var e,n;return n=t.search("\n\r\n")>-1?"\n\r\n":"\n\n",e=t.split(n),e.map(function(t){return function(e){var n,r,i;return r=e.split("\n"),r.length<3?"":(i=r[1].split(" --> "),n={id:parseInt(r[0],10),time:i[0].split(",")[0],timestamp:u.hhmmssToSeconds(i[0]),text:r.slice(2).join("\n")},t.renderLine(n))}}(this))},e.prototype.parseWebVTT=function(t){var e,n,r;return e=[],n=new l.Parser(window,l.StringDecoder()),n.oncue=function(t){return e.push(t)},n.parse(t),n.flush(),r=this.app.player.media.addTextTrack("captions","Transcript"),r.mode="showing",e.map(function(t){return function(e){var n,i,o;return window.navigator.appVersion.match(/Trident/)||r.addCue(e),o=Math.round(e.startTime),n=e.getCueAsHTML().firstChild,i={time:u.secondsToHHMMSS(o),timestamp:o.toString(),speaker:n.title,text:n.textContent},t.renderLine(i)}}(this))},e.prototype.parseJson=function(t){return t.transcription.map(function(t){return function(e){var n;return n={time:u.secondsToHHMMSS(e.start),timestamp:e.start.toString(),speaker:e.speaker,text:e.text},t.renderLine(n)}}(this))},e.prototype.renderLine=function(t){var e;return e=new a(t),this.search.addLine(e),e.render().prop("outerHTML")},e.prototype.currentSearchResultIndex=0,e.prototype.bindEvents=function(){return r(this.app.player.media).on("timeupdate",this.setActiveLine),this.panel.find("li").click(function(t){return function(e){return t.app.player.setCurrentTime(e.currentTarget.dataset.timestamp)}}(this)),this.search.initInterface(this,this.panel)},e.prototype.activateLine=function(t){var e;if(e=r(t),!e.hasClass("active"))return e.addClass("active"),this.scrollToLine(t)},e.prototype.scrollToLine=function(t){if(t)return this.panel.find("ul").width()<517?this.panel.find("ul").scrollTop(t.offsetTop-80):this.panel.find("ul").scrollTop(t.offsetTop-50)},e.prototype.deactivateAll=function(t){return r(t).siblings().removeClass("active")},e.prototype.setActiveLine=function(){var t,e;return t=this.app.player.media.currentTime,e=this.panel.find("li"),t<=parseInt(e.first().data("timestamp"),10)?(this.activateLine(e[0]),this.deactivateAll(e[0])):h(e).findLast(function(e){return function(n){var r;if(r=parseInt(n.dataset.timestamp,10),t>=r)return e.activateLine(n),e.deactivateAll(n)}}(this))},e.prototype.renderPanel=function(){return this.panel=r(this.panelHtml()),p.bind(this.panel,this.data),this.panel.hide()},e.prototype.buttonHtml=function(){return'<button class="transcript-button" title="'+this.t("transcript.show")+'" aria-label="'+this.t("transcript.show")+'"></button>'},e.prototype.panelHtml=function(){return'<div class="transcript">\n <h3>'+this.t("transcript.title")+'</h3>\n\n <div class="search"></div>\n\n <ul class="transcript-text" pp-html="transcript"></ul>\n</div>'},e}(i),e.exports=s},{"../extension.coffee":22,"../utils.coffee":42,"./transcript/line.coffee":32,"./transcript/search.coffee":33,jquery:2,lodash:3,rivets:4,sightglass:5,"vtt.js":11}],32:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),s=t("sightglass"),o=t("rivets"),i=function(){function t(t){this.render=a(this.render,this),this.data=t}return t.prototype.render=function(){return this.line=r(this.defaultHtml),o.bind(this.line,this.data),this.line},t.prototype.defaultHtml='<li class="transcript-line" pp-data-timestamp="timestamp">\n <span class="transcript-line-timestamp" pp-if="time">{ time }</span>\n <span class="transcript-line-speaker" pp-if="speaker">\n [{ speaker }]\n </span>\n <span class="transcript-line-text" pp-if="text" pp-html="text"></span>\n</li>',t}(),e.exports=i},{jquery:2,rivets:4,sightglass:5}],33:[function(t,e,n){var r,i,o,s,a,u;r=t("jquery"),o=t("lodash"),s=t("elasticlunr"),u=t("sightglass"),a=t("rivets"),i=function(){function t(t){this.app=t,this.setupIndex()}return t.prototype.setupIndex=function(){return this.index=s(function(){return this.addField("time"),this.addField("speaker"),this.addField("text"),this.setRef("timestamp")}),this.index.pipeline.reset()},t.prototype.addLine=function(t){return this.index.addDoc(t.data)},t.prototype.find=function(t){return this.index.search(t,{fields:{speaker:{boost:1},text:{boost:1}},expand:!0})},t.prototype.results=[],t.prototype.initInterface=function(t,e){var n,i,s,a,u,c,l,h,p,f,d,g;return l=e.find(".search"),i=this.render(),l.append(i),f=l.find(".search-result"),c=l.find("input"),u=l.find(".search-clear"),p=f.find(".search-result-prev"),h=f.find(".search-result-next"),d=f.find(".search-result-size"),g=e.find(".transcript-text li"),n=[],s=function(e){return function(){return e.currentSearchResultIndex<e.results.length?e.currentSearchResultIndex=e.currentSearchResultIndex+1:e.currentSearchResultIndex=1,t.scrollToLine(n[e.currentSearchResultIndex-1]),e.updateSearchResult()}}(this),a=function(e){return function(){return e.currentSearchResultIndex>1?e.currentSearchResultIndex=e.currentSearchResultIndex-1:e.currentSearchResultIndex=e.results.length,t.scrollToLine(n[e.currentSearchResultIndex-1]),e.updateSearchResult()}}(this),c.on("keyup",function(i){return function(u){return 13===u.keyCode?s():(i.query=i.data.query=u.target.value,i.results=o.sortBy(i.find(i.query),function(t){return parseInt(t.ref,10)}),g.removeClass("search-highlight"),i.results.length?(n=i.results.map(function(t,n){return e=o.find(g,function(e){return function(e){return e.dataset.timestamp===t.ref}}(this))},i),r(n).addClass("search-highlight"),i.updateSearchResult(),t.scrollToLine(n[i.currentSearchResultIndex-1]),p.off("click").on("click",a),h.off("click").on("click",s)):(i.currentSearchResultIndex=1,i.updateSearchResult()))}}(this)),u.on("click",function(t){return c.val(null),c.trigger("keyup")})},t.prototype.currentSearchResultIndex=1,t.prototype.updateSearchResult=function(){return this.results.length?this.data.currentIndex=this.currentSearchResultIndex:this.data.currentIndex=0,this.data.resultCount=this.results.length},t.prototype.data={currentIndex:0,resultCount:0,query:null},t.prototype.render=function(){var t;return t=r(this.html()),a.bind(t,this.data),t},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.html=function(){return'<div class="search-result" pp-show="query">\n <button class="search-result-prev"></button>\n <span class="search-result-size">{currentIndex}/{resultCount}</span>\n <button class="search-result-next"></button>\n</div>\n<input type="text" class="search-input" placeholder="'+this.t("transcript.search")+'">\n<button class="search-clear" pp-show="query">×</button>'},t}(),e.exports=i},{elasticlunr:1,jquery:2,lodash:3,rivets:4,sightglass:5}],34:[function(t,e,n){var r,i;r=t("jquery"),i=function(){function t(t){this.sslProxy=t.options.sslProxy}return t.prototype.get=function(t,e){var n;return n=r.Deferred(),t=null!=t.match(/^http:/)&&this.sslProxy?""+this.sslProxy+t:t,r.get(t,e||{},function(t){return n.resolve(t)}),n.promise()},t}(),e.exports=i},{jquery:2}],35:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),i=t("./audio_file.coffee"),s=function(){function t(t,e){this.xml=t,this.podcastCoverUrl=e,this._mapEnclosure=a(this._mapEnclosure,this),this._extract=a(this._extract,this)}return t.prototype.episodeAttributes=function(){return{title:this._extract("title").html(),subtitle:this._findSubtitle(),href:this._extract("link").html(),url:this._extract("link").html(),media:this._mapEnclosure(),description:this._cleanDescription(this._extract("description").html()),duration:parseInt(this._extract("duration").text(),10),coverUrl:this._extract("image").attr("href")||this.podcastCoverUrl,number:null,chaptermarks:null,embedCode:null}},t.prototype._extract=function(t){return null!=this[t]?this[t]:this[t]=r(this.xml).find(t)},t.prototype._findSubtitle=function(){return this._extract("subtitle").html()},t.prototype._cleanDescription=function(t){return t.match(/^<!/)?t.match(/<!\[CDATA\[([\s\S]*)]]>$/)[1]:t},t.prototype._mapEnclosure=function(){var t,e,n,r;return e={},t=this._extract("enclosure"),r=t.attr("url"),n=t.attr("type"),e[this._enclosureMapping(n)]=r,e},t.prototype._enclosureMapping=function(t){return{"audio/aac":"m4a","audio/mp4":"m4a","audio/mpeg":"mp3",'audio/ogg; codecs="vorbis"':"ogg",'audio/ogg; codecs="opus"':"opus"}[t]},t}(),o=function(){function t(t,e){this.app=t,this.feedUrl=e}return t.prototype.fetch=function(){var t;return t=this,this.promise=this.app.externalData.get(this.feedUrl),this.promise.done(function(e){return t.episodes=r(e).find("item").map(function(n,r){return new s(r,t.podcastCover(e)).episodeAttributes()})}),t},t.prototype.podcastCover=function(t){return r(t).find("channel image").first().find("url").text()||r(t).find("channel > image").last().attr("href")},t}(),e.exports=o},{"./audio_file.coffee":18,jquery:2}],36:[function(t,e,n){var r;r=function(){function t(t,e){this.locale=t,this.defaultLocale=e,this.locale||(this.locale=this.locale||this.getLocale())}var e,n;return n=["en-US","de-DE"],e=["en","de"],t.prototype.getLocale=function(){var t,e,n;return n=this.getUserPreferredLocale(),e=this.getLanguageFromLocale(n),t=this.getLocaleForLanguage(e),t||this.defaultLocale},t.prototype.getUserPreferredLocale=function(){return navigator.language||navigator.userLanguage},t.prototype.getLanguageFromLocale=function(t){return t.substring(0,2)},t.prototype.getLocaleForLanguage=function(t){switch(t){case"en":return"en-US";case"de":return"de-DE"}},t.prototype.t=function(t){var e,n,r,i,o;for(r=t.split("."),o=this.translationMap[this.locale],e=0,i=r.length;e<i;e++)n=r[e],o=o[n];return o?o:t},t.prototype.translationMap={"en-US":{chaptermarks:{show:"Show chaptermarks",title:"Chaptermarks"},chromecast:{play:"Play on chromecast"},download:{episode:"Download episode"},episode_info:{more_info:"Show more info",title:"Episode info"},playlist:{show:"Show playlist",title:"Playlist"},share:{copy_episode_link:"Copy episode link",email:"Email",embed_player:"Embed player",episode:"Episode",episode_url:"Share link to episode",start_at:"Start at"},theme:{playPause:"Play/Pause",backward:"Backward 10s",forward:"Forward 30s",changePlaybackSpeed:"Change Playback Speed"},transcript:{search:"Search in transcript",show:"Show transcription",title:"Transcription"},subscribeBar:{allEpisodes:"All Episodes",podcastOnItunes:"View Podcast on iTunes",podcastOnSpotify:"View Podcast on Spotify",podcastOnDeezer:"View Podcast on Deezer",subscribe:"Subscribe"}},"de-DE":{chaptermarks:{show:"Kapitelmarken anzeigen",title:"Kapitelmarken"},chromecast:{play:"Auf Chromecast abspielen"},download:{episode:"Episode herunterladen"},episode_info:{more_info:"Mehr Infos anzeigen",title:"Episoden-Infos"},playlist:{show:"Wiedergabeliste anzeigen",title:"Wiedergabeliste"},share:{copy_episode_link:"Link zur Episode kopieren",email:"E-Mail",embed_player:"Player einbetten",episode:"Episode",episode_url:"Link zur Episode teilen",start_at:"Wiedergabe ab"},theme:{playPause:"Play/Pause",backward:"10s zurück",forward:"30s vorwärts",changePlaybackSpeed:"Abspielgeschwindigkeit ändern"},transcript:{search:"Transkript durchsuchen",show:"Transkript anzeigen",title:"Transkript"},subscribeBar:{allEpisodes:"Alle Episoden",podcastOnItunes:"Podcast auf iTunes ansehen",podcastOnSpotify:"Podcast auf Spotify ansehen",podcastOnDeezer:"Podcast auf Deezer ansehen",subscribe:"Abonnieren"}}},t}(),e.exports=r},{}],37:[function(t,e,n){var r,i,o,s,a,u,c=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),u=t("lodash"),i=t("./audio_file.coffee"),o=t("./deeplink_parser.coffee"),a=t("./utils.coffee"),s=function(){function t(t,e){var n;this.app=t,this.playPause=c(this.playPause,this),this.setPlaySpeed=c(this.setPlaySpeed,this),this.setDuration=c(this.setDuration,this),this.checkStopTime=c(this.checkStopTime,this),this.setCurrentTime=c(this.setCurrentTime,this),this.setInitialTime=c(this.setInitialTime,this),this.updateTime=c(this.updateTime,this),this.attachEvents=c(this.attachEvents,this),this.loadFile=c(this.loadFile,this),this.currentFile=c(this.currentFile,this),this.changePlaySpeed=c(this.changePlaySpeed,this),this.skipForward=c(this.skipForward,this),this.skipBackward=c(this.skipBackward,this),this.jumpForward=c(this.jumpForward,this),this.jumpBackward=c(this.jumpBackward,this),n=this,n.media=e,a.isIE9()?n.media.preload="metadata":n.media.preload="none",this.loadFile(),this.attachEvents(),this.app.init(n),this.setInitialTime()}return t.prototype.jumpBackward=function(t){return t=t||this.app.options.backwardSeconds,this.media.currentTime=this.media.currentTime-t},t.prototype.jumpForward=function(t){return t=t||this.app.options.forwardSeconds,this.media.currentTime=this.media.currentTime+t},t.prototype.skipBackward=function(){return this.pause(),this.app.extensions.Playlist.playPrevious()},t.prototype.skipForward=function(){return this.pause(),this.app.extensions.Playlist.playNext()},t.prototype.changePlaySpeed=function(){var t;return t=this.app.options.playbackRates.indexOf(this.app.options.currentPlaybackRate)+1,t>=this.app.options.playbackRates.length&&(t=0),this.setPlaySpeed(this.app.options.playbackRates[t])},t.prototype.currentFile=function(){return this.media.src},t.prototype.loadFile=function(){var t;return this.pause(),t=u.map(this.app.episode.media,function(t){return function(e,n){return new i(n,e,t.media)}}(this)),t=this.filterUnplayable(t),t=this.sortByPlayability(t),t=this.sortByFormat(t),this.media.src=t[0].uri,this.setDuration()},t.prototype.filterUnplayable=function(t){return u.filter(t,function(t){return""!==t.playable})},t.prototype.sortByPlayability=function(t){return u.sortBy(t,function(t){return"maybe"===t.playable?1:"probably"===t.playable?-1:0})},t.prototype.sortByFormat=function(t){return u.sortBy(t,function(t){return"probably"===t.playable&&"opus"===t.format?-100:"probably"===t.playable&&"m4a"===t.format?-90:"maybe"===t.playable&&"mp3"===t.format?-90:0})},t.prototype.attachEvents=function(){return r(this.media).on("timeupdate",this.updateTime),r(this.media).on("loadedmetadata",this.app.mediaLoaded),r(this.media).on("loadedmetadata",this.setInitialTime),r(this.media).on("durationchange",this.app.mediaLoaded),r(this.media).on("canplay",this.app.mediaLoaded),r(this.media).on("error",this.app.mediaLoadError),r(this.media).on("ended",this.app.mediaEnded)},t.prototype.updateTime=function(){return this.setCurrentTime(),this.checkStopTime()},t.prototype.setInitialTime=function(){var t;if(t=new o(this.app.options.parentLocationHash),t.startTime>0&&(this.currentTimeInSeconds=t.startTime,this.media.currentTime=t.startTime,this.app.updateTime(this.currentTimeInSeconds)),null!=t.endTime)return this.stopTime=t.endTime},t.prototype.setCurrentTime=function(t){return t?(this.currentTimeInSeconds=t,this.media.currentTime=t):this.currentTimeInSeconds=this.media.currentTime,this.currentTime=a.secondsToHHMMSS(this.currentTimeInSeconds),this.app.updateTime(this.currentTimeInSeconds)},t.prototype.checkStopTime=function(){if(null!=this.stopTime)return this.currentTimeInSeconds>=this.stopTime?(this.stopTime=null,this.pause()):void 0},t.prototype.setDuration=function(){var t,e;return this.app.episode.duration?(this.app.episode.humanDuration=a.secondsToHHMMSS(u.clone(this.app.episode.duration)),void(this.duration=this.app.episode.duration)):(t=function(){return window.clearInterval(e)},e=window.setInterval(function(e){return function(n){if(e.media.readyState>0)return e.app.episode.duration=e.media.duration,e.duration=e.media.duration,e.app.episode.humanDuration=a.secondsToHHMMSS(u.clone(e.app.episode.duration)),t()}}(this),500))},t.prototype.setPlaySpeed=function(t){return this.media.playbackRate=this.app.options.currentPlaybackRate=t},t.prototype.playPause=function(){return this.media.paused?this.play():this.pause()},t.prototype.play=function(){var t;if(this.media.paused)return this.media.readyState<2&&this.app.theme.addLoadingClass(),this.media.readyState<1&&this.currentTimeInSeconds&&this.currentTimeInSeconds!==this.media.currentTime&&(t=function(e){return function(){return e.media.currentTime=e.currentTimeInSeconds,r(e.media).off("loadedmetadata",t)}}(this),r(this.media).on("loadedmetadata",t)),this.media.play(),this.playing=!0,this.app.togglePlayState()},t.prototype.pause=function(){if(!this.media.paused)return this.media.pause(),this.playing=!1,this.app.togglePlayState()},t.prototype.playing=!1,t}(),e.exports=s},{"./audio_file.coffee":18,"./deeplink_parser.coffee":21,"./utils.coffee":42,jquery:2,lodash:3}],38:[function(t,e,n){var r,i,o,s,a=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),s=t("lodash"),i=t("./feed.coffee"),o=function(){function t(t,e){this.app=t,this.attributes=e,this.fetchEpisodes=a(this.fetchEpisodes,this),this.assignAttributes(),this.feed=null!=this.attributes.feed?new i(this.app,this.attributes.feed):void 0}return t.prototype.assignAttributes=function(){return this.title=this.attributes.title,this.subtitle=this.attributes.subtitle,this.url=this.attributes.url,this.connections=this.attributes.connections,this.language=this.attributes.language},t.prototype.forTheme=function(){return{podcastTitle:this.title,podcastSubtitle:this.subtitle,podcastUrl:this.url,podcastConnections:this.connections}},t.prototype.feed=null,t.prototype.hasEpisodes=function(){return!!this.attributes.episodes&&(!Array.isArray(this.attributes.episodes)||(this.attributes.episodes.length||null!=this.feed))},t.prototype.episodes=[],t.prototype.getEpisodes=function(){var t,e,n;return null!=this.attributes.episodes&&this.attributes.episodes.length?Array.isArray(this.attributes.episodes)?(t=r.Deferred(),this.episodes=this.attributes.episodes,t.resolve(),t.promise()):this.fetchEpisodes(this.attributes.episodes,0):null!=this.feed?(n=this,e=this.feed.fetch(),e.promise.done(function(t){return n.episodes=e.episodes}),e.promise):(t=r.Deferred(),t.resolve(),t.promise())},t.prototype.fetchEpisodes=function(t,e){var n,r,i,o;return o=this,n=10,r={page_size:n,offset:n*e},i=this.app.externalData.get(t,r),i.done(function(t){return o.episodes=t.episodes}),i},t}(),e.exports=o},{"./feed.coffee":35,jquery:2,lodash:3}],39:[function(t,e,n){var r,i,o,s,a,u=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),a=t("sightglass"),s=t("rivets"),o=t("./utils.coffee"),i=function(){function t(t){this.app=t,this.updatePlayed=u(this.updatePlayed,this),this.timeRailFactor=u(this.timeRailFactor,this),this.barWidth=u(this.barWidth,this),this.handleDrop=u(this.handleDrop,this),this.handleDrag=u(this.handleDrag,this),this.jumpToPosition=u(this.jumpToPosition,this),this.handlePickup=u(this.handlePickup,this),this.handleLetgo=u(this.handleLetgo,this),this.triggerLoaded=u(this.triggerLoaded,this),this.triggerPlaying=u(this.triggerPlaying,this),this.triggerLoading=u(this.triggerLoading,this),this.updateLoaded=u(this.updateLoaded,this),this.updateView=u(this.updateView,this),this.updateTime=u(this.updateTime,this),this.updateBarWidths=u(this.updateBarWidths,this),this.switchTimeDisplay=u(this.switchTimeDisplay,this),this.init=u(this.init,this),this.app.theme.progressBarElement.length&&(this.elem=this.app.theme.progressBarElement,this.player=this.app.player,this.media=this.app.player.media,this.init())}return t.extension={name:"ProgressBar",type:"progress"},t.prototype.init=function(){return this.render(),this.findElements(),this.bindEvents(),this.hideBuffering(),this.updateTime(0)},t.prototype.showBuffering=function(){return this.bufferingElement.show()},t.prototype.hideBuffering=function(){return this.bufferingElement.hide()},t.prototype.switchTimeDisplay=function(){return this.timeMode="countup"===this.timeMode?"countdown":"countup",this.updateTime()},t.prototype.updateBarWidths=function(){return this.updatePlayed(),this.updateLoaded()},t.prototype.updateTime=function(t){var e,n,r;if("number"==typeof t)return e=t||this.media.currentTime,t="countup"===this.timeMode?(n="",e):(n="-",this.player.duration-e),isNaN(t)&&(t=0),r=o.secondsToHHMMSS(t),this.currentTime=n+r,this.view.update(this.context()),this.updatePlayed(),r},t.prototype.updateView=function(){var t;return t=r("<progress-bar>"),this.elem.replaceWith(t),this.elem=r("progress-bar"),this.init(),this.view.update(this.context())},t.prototype.updateLoaded=function(t){var e;if(this.media.seekable.length)return e=this.media.seekable.end(this.media.seekable.length-1)*this.timeRailFactor(),this.loadedElement.css("margin-left",0).width(e)},t.prototype.context=function(){return{time:this.currentTime||o.secondsToHHMMSS(0)}},t.prototype.render=function(){var t;return t=r(this.template),this.view=s.bind(t,this.context()),this.elem.replaceWith(t),this.elem=r(".progress-bar")},t.prototype.template='<div class="progress-bar">\n <div class="progress-bar-time-played" title="Switch display mode">{ time }</div>\n <div class="progress-bar-rail">\n <span class="progress-bar-loaded"></span>\n <span class="progress-bar-buffering"></span>\n <span class="progress-bar-played"></span>\n </div>\n</div>',t.prototype.findElements=function(){return this.timeElement=this.elem.find(".progress-bar-time-played"),this.railElement=this.elem.find(".progress-bar-rail"),this.playedElement=this.elem.find(".progress-bar-played"),this.loadedElement=this.elem.find(".progress-bar-loaded"),this.bufferingElement=this.elem.find(".progress-bar-buffering")},t.prototype.triggerLoading=function(){return this.updateLoaded(),this.showBuffering()},t.prototype.triggerPlaying=function(){return this.updateLoaded(),this.hideBuffering()},t.prototype.triggerLoaded=function(){return this.updateLoaded(),this.hideBuffering()},t.prototype.handleLetgo=function(t){return r(this.app.elem).off("mousemove"),r(this.app.elem).off("mouseup"),r(this.app.elem).off("mouseleave"),r(this.app.elem).off("touchmove"),r(this.app.elem).off("touchend"),this.handleDrop(t)},t.prototype.handlePickup=function(t){return r(this.app.elem).on("mousemove",this.handleDrag),r(this.app.elem).on("mouseup",this.handleLetgo),r(this.app.elem).on("mouseleave",this.handleLetgo),r(this.app.elem).on("touchmove",this.handleDrag),r(this.app.elem).on("touchend",this.handleLetgo)},t.prototype.bindEvents=function(){return this.timeElement.on("click",this.switchTimeDisplay),r(this.media).on("timeupdate",this.updateTime).on("play",this.triggerPlaying).on("playing",this.triggerPlaying).on("waiting",this.triggerLoading).on("loadeddata",this.triggerLoaded).on("progress",this.updateLoaded),this.elem.on("mousedown",this.handlePickup),this.elem.on("touchstart",this.handlePickup)},t.prototype.jumpToPosition=function(t){var e,n;if(this.player.duration&&(n=this.player.duration/this.barWidth(),e=n*t,e!==this.media.currentTime))return this.player.setCurrentTime(e)},t.prototype.handleDrag=function(t){var e;if(e=o.calculateCursorPosition(t,this.elem[0]),e<=this.barWidth())return this.playedElement.width(e+"px")},t.prototype.handleDrop=function(t){var e;if(e=o.calculateCursorPosition(t,this.elem[0]),e<=this.barWidth())return this.jumpToPosition(e)},t.prototype.barWidth=function(){return this.railElement.width()},t.prototype.timeRailFactor=function(){return this.barWidth()/this.player.duration},t.prototype.updatePlayed=function(){var t;return t=this.media.currentTime*this.timeRailFactor(),this.playedElement.width(t)},t}(),e.exports=i},{"./utils.coffee":42,jquery:2,rivets:4,sightglass:5}],40:[function(t,e,n){var r;r=function(){function t(){}return t.open=function(t){var e;return this.app=t,e=JSON.stringify({listenTo:"subscribeButtonTrigger",id:this.app.options.id,detail:{title:this.app.podcast.title,subtitle:this.app.podcast.subtitle,cover:this.app.episode.coverUrl,feeds:[{url:this.app.podcast.feed.feedUrl,type:"audio",format:"mp3"}],options:{language:this.app.podcast.language}}}),window.parent.postMessage(e,"*")},t}(),e.exports=r},{}],41:[function(t,e,n){var r,i,o,s,a,u,c,l=function(t,e){return function(){return t.apply(e,arguments)}};r=t("jquery"),a=t("lodash"),c=t("sightglass"),u=t("rivets"),i=t("./custom_styles.coffee"),o=t("./subscribe_button.coffee"),s=function(){function t(t){this.app=t,this.togglePanel=l(this.togglePanel,this),this.addExtension=l(this.addExtension,this),this.addButton=l(this.addButton,this),this.removePanels=l(this.removePanels,this),this.removeButtons=l(this.removeButtons,this),this.changeActiveButton=l(this.changeActiveButton,this),this.bindCoverLoad=l(this.bindCoverLoad,this),this.loadCss=l(this.loadCss,this),this.loadHtml=l(this.loadHtml,this),this.loadInternalTheme=l(this.loadInternalTheme,this),this.loadThemeFiles=l(this.loadThemeFiles,this),this.addCustomStyles=l(this.addCustomStyles,this),this.updateView=l(this.updateView,this),this.render=l(this.render,this),this.context=l(this.context,this),this.orFunction=l(this.orFunction,this),this.themeConfig=l(this.themeConfig,this),this.loadThemeFiles(),this.addCustomStyles()}return t.prototype.themeConfig=function(){var t;return t=this.app.extensionOptions.SubscribeBar,{showSubscribeBar:(null!=t?t.disabled:void 0)===!1,translations:{playPause:this.t("theme.playPause"),backward:this.t("theme.backward"),forward:this.t("theme.forward"),speed:this.t("theme.changePlaybackSpeed"),allEpisodes:this.t("subscribeBar.allEpisodes"),podcastOnItunes:this.t("subscribeBar.podcastOnItunes"),podcastOnSpotify:this.t("subscribeBar.podcastOnSpotify"),podcastOnDeezer:this.t("subscribeBar.podcastOnDeezer"),subscribe:this.t("subscribeBar.subscribe")},customOptions:this.app.customOptions,or:this.orFunction}},t.prototype.orFunction=function(t,e){return t||e},t.prototype.context=function(){return a.merge(this.app.episode,this.app.podcast.forTheme(),this.themeConfig())},t.prototype.t=function(t){return this.app.i18n.t(t)},t.prototype.html=null,t.prototype.render=function(){return this.elem=r(this.html),this.view=u.bind(this.elem,this.context()),r(this.app.elemClass).replaceWith(this.elem),this.addEmbedModeClass(),this.findElements(),this.bindCoverLoad(),this.elem},t.prototype.updateView=function(){return this.view.update(this.context())},t.prototype.addCustomStyles=function(){var t;if(t=new i(this.app.options.customStyle).toStyleTag())return r("head").append(t)},t.prototype.loadThemeFiles=function(){var t,e,n;return t=this.app.options.theme||"default",n=this.app.options.themeHtml||t.html,e=this.app.options.themeCss||t.css,n&&e?(this.loadCss(e),this.loadHtml(n)):t.constructor===String?this.loadInternalTheme(t):void 0},t.prototype.loadInternalTheme=function(t){var e;return e="themes/"+t+"/index",this.loadCss(e+".css"),this.loadHtml(e+".html")},t.prototype.loadHtml=function(t){var e,n;return e=r.Deferred(),n=this,r.get(t).done(function(t){return function(t){return n.html=t,e.resolve()}}(this)),this.loaded=e.promise()},t.prototype.loadCss=function(t){var e;return e=r("<link>").attr({href:t,rel:"stylesheet",type:"text/css",media:"all"}),r("head").append(e)},t.prototype.addPlayingClass=function(){return this.elem.addClass("playing")},t.prototype.removePlayingClass=function(){return this.elem.removeClass("playing")},t.prototype.addLoadingClass=function(){return this.removePlayingClass(),this.elem.addClass("loading")},t.prototype.removeLoadingClass=function(){return this.elem.removeClass("loading")},t.prototype.addFailedLoadingClass=function(){return this.elem.addClass("error-loading")},t.prototype.addEmbedModeClass=function(){var t;return t="mode-"+this.app.options.iframeMode,this.elem.addClass(t)},t.prototype.findElements=function(){if(this.audioElement=this.elem.find("audio"),this.progressBarElement=this.elem.find("progressbar"),this.playPauseElement=this.elem.find(".play-button"),this.backwardElement=this.elem.find(".backward-button"),this.forwardElement=this.elem.find(".forward-button"),this.skipForwardElement=this.elem.find(".skip-forward-button"),this.skipBackwardElement=this.elem.find(".skip-backward-button"),this.speedElement=this.elem.find(".speed-toggle"),this.coverImage=this.elem.find(".cover-image"),this.subscribeButton=this.elem.find(".subscribe-button"),this.subscribeButton.on("click",function(t){return function(){return o.open(t.app)}}(this)),this.buttons=this.elem.find(".buttons"),this.panels=this.elem.find(".panels"),!this.app.isInIframeMode())return this.panels.hide()},t.prototype.bindCoverLoad=function(){return this.coverImage.on("load",function(t){return function(){return t.app.sendSizeChange()}}(this))},t.prototype.changeActiveButton=function(t){var e;return e=r(t.target),e.hasClass("button-active")?void e.removeClass("button-active"):(this.buttons.find(".button-active").removeClass("button-active"),e.addClass("button-active"))},t.prototype.removeButtons=function(){return this.buttons.empty()},t.prototype.removePanels=function(){return this.panels.empty()},t.prototype.addButton=function(t){return this.buttons.append(t),t.on("click",this.changeActiveButton)},t.prototype.addExtension=function(t){if(this.addButton(t.button),this.panels.append(t.panel),t.name()===this.app.options.startPanel&&t.button.trigger("click"),!this.app.options.startPanel&&this.app.isInIframeMode())return this.buttons.hide(),this.panels.hide()},t.prototype.animationOptions=function(){return{duration:300,step:a.debounce(this.app.sendSizeChange,50)}},t.prototype.activePanel=null,t.prototype.togglePanel=function(t){if(t)return null==this.activePanel?(this.app.isInIframeMode()||this.panels.slideToggle(this.animationOptions()),t.slideToggle(this.animationOptions()),this.activePanel=t):this.activePanel!==t?(this.activePanel.slideToggle(this.animationOptions()),t.slideToggle(this.animationOptions()),this.activePanel=t):this.app.isInIframeMode()?void 0:(this.activePanel.slideToggle(this.animationOptions()),this.panels.slideToggle(this.animationOptions()),this.activePanel=null)},t}(),e.exports=s},{"./custom_styles.coffee":20,"./subscribe_button.coffee":40,jquery:2,lodash:3,rivets:4,sightglass:5}],42:[function(t,e,n){var r;r=function(){function t(){}return t.locationToOptions=function(t){var e,n,r,i,o,s;for(i={},s=window.location.search.replace(/^\?/,""),o=s.split("&"),n=0,r=o.length;n<r;n++)s=o[n],e=s.split("="),i[e[0]]=decodeURIComponent(e[1]);return i},t.secondsToHHMMSS=function(t){var e,n;if("number"==typeof t)return e=Math.floor(t/3600),n=Math.floor((t-3600*e)/60),t=t-3600*e-60*n,t=t.toFixed(0),e=this.padNumber(e),n=this.padNumber(n),t=this.padNumber(t),e+":"+n+":"+t},t.hhmmssToSeconds=function(t){var e,n,r,i,o;return r=t.split(":"),o=parseInt(r[2],10),n=parseInt(r[1],10),e=parseInt(r[0],10),i=o+60*n+60*e*60},t.padNumber=function(t,e){for(null==e&&(e=2),t=t.toString();t.length<e;)t="0"+t;return t},t.calculateCursorPosition=function(t,e){var n,r;return n=(null!=(r=t.originalEvent.changedTouches)?r.length:void 0)?t.originalEvent.changedTouches[0].pageX:t.pageX,n-e.getBoundingClientRect().left},t.isIE9=function(){var t,e;try{return(t=navigator.appVersion.indexOf("MSIE")!==-1)&&(e=parseFloat(navigator.appVersion.split("MSIE")[1]),!(e>9))}catch(n){return!0}},t}(),e.exports=r},{}]},{},[17]);</script>
|
245
|
+
<!-- endinject -->
|
246
|
+
<style>
|
247
|
+
html,
|
248
|
+
body {
|
249
|
+
height: 100%;
|
250
|
+
}
|
251
|
+
|
252
|
+
.loading-animation {
|
253
|
+
left: calc(50% - 25px);
|
254
|
+
position: absolute;
|
255
|
+
top: calc(50% - 30px);
|
256
|
+
}
|
257
|
+
|
258
|
+
.spinner {
|
259
|
+
margin: 10px auto;
|
260
|
+
width: 50px;
|
261
|
+
height: 40px;
|
262
|
+
text-align: center;
|
263
|
+
font-size: 10px;
|
264
|
+
}
|
265
|
+
|
266
|
+
.spinner > div {
|
267
|
+
background-color: #ccc;
|
268
|
+
height: 100%;
|
269
|
+
width: 6px;
|
270
|
+
display: inline-block;
|
271
|
+
|
272
|
+
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
273
|
+
animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
274
|
+
}
|
275
|
+
|
276
|
+
.spinner .rect2 {
|
277
|
+
-webkit-animation-delay: -1.1s;
|
278
|
+
animation-delay: -1.1s;
|
279
|
+
}
|
280
|
+
|
281
|
+
.spinner .rect3 {
|
282
|
+
-webkit-animation-delay: -1.0s;
|
283
|
+
animation-delay: -1.0s;
|
284
|
+
}
|
285
|
+
|
286
|
+
.spinner .rect4 {
|
287
|
+
-webkit-animation-delay: -0.9s;
|
288
|
+
animation-delay: -0.9s;
|
289
|
+
}
|
290
|
+
|
291
|
+
.spinner .rect5 {
|
292
|
+
-webkit-animation-delay: -0.8s;
|
293
|
+
animation-delay: -0.8s;
|
294
|
+
}
|
295
|
+
|
296
|
+
@-webkit-keyframes sk-stretchdelay {
|
297
|
+
0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
|
298
|
+
20% { -webkit-transform: scaleY(1.0) }
|
299
|
+
}
|
300
|
+
|
301
|
+
@keyframes sk-stretchdelay {
|
302
|
+
0%, 40%, 100% {
|
303
|
+
transform: scaleY(0.4);
|
304
|
+
-webkit-transform: scaleY(0.4);
|
305
|
+
} 20% {
|
306
|
+
transform: scaleY(1.0);
|
307
|
+
-webkit-transform: scaleY(1.0);
|
308
|
+
}
|
309
|
+
}
|
310
|
+
</style>
|
311
|
+
</head>
|
312
|
+
<body>
|
313
|
+
<audio id="player"></audio>
|
314
|
+
|
315
|
+
<div class="loading-animation">
|
316
|
+
<div class="spinner">
|
317
|
+
<div class="rect1"></div>
|
318
|
+
<div class="rect2"></div>
|
319
|
+
<div class="rect3"></div>
|
320
|
+
<div class="rect4"></div>
|
321
|
+
<div class="rect5"></div>
|
322
|
+
</div>
|
323
|
+
</div>
|
324
|
+
|
325
|
+
<script>
|
326
|
+
var player = new PodigeePodcastPlayer('#player')
|
327
|
+
</script>
|
328
|
+
</body>
|
329
|
+
</html>
|
@@ -0,0 +1,223 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
*, *:before, *:after {
|
3
|
+
-moz-box-sizing: border-box;
|
4
|
+
-webkit-box-sizing: border-box;
|
5
|
+
box-sizing: border-box; }
|
6
|
+
|
7
|
+
@font-face {
|
8
|
+
font-family: 'podigee-podcast-player';
|
9
|
+
src: url("../fonts/podigee-podcast-player.ttf?kq1u8x") format("truetype"), url("../fonts/podigee-podcast-player.woff?kq1u8x") format("woff"), url("../fonts/podigee-podcast-player.svg?kq1u8x#podigee-podcast-player") format("svg");
|
10
|
+
font-weight: normal;
|
11
|
+
font-style: normal; }
|
12
|
+
|
13
|
+
.icon, .play-button, .backward-button, .forward-button, .skip-backward-button, .skip-forward-button, .chaptermarks-button, .download-button, .episode-info-button, .playlist-button, .share-button, .transcript-button, .search-result-next, .search-result-prev, .panels .share-social-links a {
|
14
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
15
|
+
font-family: 'podigee-podcast-player' !important;
|
16
|
+
speak: none;
|
17
|
+
font-style: normal;
|
18
|
+
font-weight: normal;
|
19
|
+
font-variant: normal;
|
20
|
+
text-transform: none;
|
21
|
+
line-height: 1;
|
22
|
+
/* Better Font Rendering =========== */
|
23
|
+
-webkit-font-smoothing: antialiased;
|
24
|
+
-moz-osx-font-smoothing: grayscale; }
|
25
|
+
|
26
|
+
.icon-cast:before {
|
27
|
+
content: ""; }
|
28
|
+
|
29
|
+
.icon-close:before {
|
30
|
+
content: ""; }
|
31
|
+
|
32
|
+
.icon-download:before, .download-button:before {
|
33
|
+
content: ""; }
|
34
|
+
|
35
|
+
.icon-chaptermarks:before, .chaptermarks-button:before {
|
36
|
+
content: ""; }
|
37
|
+
|
38
|
+
.icon-error_outline:before, .error-loading .play-button:before {
|
39
|
+
content: ""; }
|
40
|
+
|
41
|
+
.icon-transcript:before, .transcript-button:before {
|
42
|
+
content: ""; }
|
43
|
+
|
44
|
+
.icon-forward-30:before, .forward-button:before {
|
45
|
+
content: ""; }
|
46
|
+
|
47
|
+
.icon-episode-info:before, .episode-info-button:before {
|
48
|
+
content: ""; }
|
49
|
+
|
50
|
+
.icon-keyboard_arrow_left:before, .search-result-prev:before {
|
51
|
+
content: ""; }
|
52
|
+
|
53
|
+
.icon-keyboard_arrow_right:before, .search-result-next:before {
|
54
|
+
content: ""; }
|
55
|
+
|
56
|
+
.icon-playlist:before, .playlist-button:before {
|
57
|
+
content: ""; }
|
58
|
+
|
59
|
+
.icon-mail_outline:before {
|
60
|
+
content: ""; }
|
61
|
+
|
62
|
+
.icon-pause:before, .playing .play-button:before {
|
63
|
+
content: ""; }
|
64
|
+
|
65
|
+
.icon-play:before, .play-button:before {
|
66
|
+
content: ""; }
|
67
|
+
|
68
|
+
.icon-backward-10:before, .backward-button:before {
|
69
|
+
content: ""; }
|
70
|
+
|
71
|
+
.icon-share:before, .share-button:before {
|
72
|
+
content: ""; }
|
73
|
+
|
74
|
+
.icon-skip-next:before, .skip-forward-button:before {
|
75
|
+
content: ""; }
|
76
|
+
|
77
|
+
.icon-skip-previous:before, .skip-backward-button:before {
|
78
|
+
content: ""; }
|
79
|
+
|
80
|
+
.icon-twitter:before {
|
81
|
+
content: ""; }
|
82
|
+
|
83
|
+
.icon-facebook:before {
|
84
|
+
content: ""; }
|
85
|
+
|
86
|
+
.icon-facebook-f:before {
|
87
|
+
content: ""; }
|
88
|
+
|
89
|
+
.icon-google-plus:before {
|
90
|
+
content: ""; }
|
91
|
+
|
92
|
+
.icon-whatsapp:before {
|
93
|
+
content: ""; }
|
94
|
+
|
95
|
+
.loading .play-button:before {
|
96
|
+
content: ''; }
|
97
|
+
|
98
|
+
.loading .play-button {
|
99
|
+
animation: sk-scaleout 1.0s infinite ease-in-out;
|
100
|
+
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
|
101
|
+
background-color: #666;
|
102
|
+
border-radius: 100%; }
|
103
|
+
|
104
|
+
@-webkit-keyframes sk-scaleout {
|
105
|
+
0% {
|
106
|
+
-webkit-transform: scale(0); }
|
107
|
+
100% {
|
108
|
+
-webkit-transform: scale(1);
|
109
|
+
opacity: 0; } }
|
110
|
+
|
111
|
+
@keyframes sk-scaleout {
|
112
|
+
0% {
|
113
|
+
-webkit-transform: scale(0);
|
114
|
+
transform: scale(0); }
|
115
|
+
100% {
|
116
|
+
-webkit-transform: scale(1);
|
117
|
+
transform: scale(1);
|
118
|
+
opacity: 0; } }
|
119
|
+
|
120
|
+
.error-loading .play-button {
|
121
|
+
color: red !important;
|
122
|
+
font-size: 36px !important; }
|
123
|
+
|
124
|
+
body {
|
125
|
+
margin: 0;
|
126
|
+
padding: 0; }
|
127
|
+
|
128
|
+
.video-player {
|
129
|
+
margin: 0;
|
130
|
+
width: 100%; }
|
131
|
+
|
132
|
+
.panels .share-social-links {
|
133
|
+
height: 48px;
|
134
|
+
list-style: none;
|
135
|
+
padding: 0;
|
136
|
+
text-align: center; }
|
137
|
+
.panels .share-social-links li {
|
138
|
+
display: inline-block;
|
139
|
+
height: 48px;
|
140
|
+
padding: 0 5px;
|
141
|
+
position: relative;
|
142
|
+
overflow: hidden; }
|
143
|
+
.panels .share-social-links li:hover:after {
|
144
|
+
background: rgba(0, 0, 0, 0.2);
|
145
|
+
bottom: 0;
|
146
|
+
content: '';
|
147
|
+
display: block;
|
148
|
+
height: 5px;
|
149
|
+
left: 5px;
|
150
|
+
position: absolute;
|
151
|
+
width: calc(100% - 10px);
|
152
|
+
z-index: 10; }
|
153
|
+
.panels .share-social-links a {
|
154
|
+
color: transparent;
|
155
|
+
display: block;
|
156
|
+
font-size: 1px;
|
157
|
+
letter-spacing: -1px;
|
158
|
+
position: relative;
|
159
|
+
text-decoration: none; }
|
160
|
+
.panels .share-social-links a:hover {
|
161
|
+
text-decoration: none; }
|
162
|
+
.panels .share-social-links a:before {
|
163
|
+
border-radius: 3px;
|
164
|
+
color: #fff;
|
165
|
+
font-size: 2rem;
|
166
|
+
letter-spacing: normal;
|
167
|
+
top: 8px;
|
168
|
+
position: relative; }
|
169
|
+
.panels .share-social-links .share-link-facebook:before {
|
170
|
+
background: #3b5998;
|
171
|
+
content: "";
|
172
|
+
padding: 8px 14px; }
|
173
|
+
.panels .share-social-links .share-link-googleplus:before {
|
174
|
+
background: #dd4b39;
|
175
|
+
font-size: 1.6rem;
|
176
|
+
content: "";
|
177
|
+
padding: 10px 9px 12px;
|
178
|
+
top: 11px; }
|
179
|
+
.panels .share-social-links .share-link-twitter:before {
|
180
|
+
background: #00aced;
|
181
|
+
content: "";
|
182
|
+
padding: 8px 9px; }
|
183
|
+
.panels .share-social-links .share-link-whatsapp:before {
|
184
|
+
background: #43d854;
|
185
|
+
content: "";
|
186
|
+
padding: 8px 10px; }
|
187
|
+
.panels .share-social-links .share-link-email:before {
|
188
|
+
background: #999999;
|
189
|
+
content: "";
|
190
|
+
padding: 8px 8px; }
|
191
|
+
|
192
|
+
.panels .download .icon-download, .panels .download .download-button {
|
193
|
+
display: block;
|
194
|
+
font-size: 3rem;
|
195
|
+
text-align: center; }
|
196
|
+
|
197
|
+
.panels .download .download-links {
|
198
|
+
padding: 0;
|
199
|
+
text-align: center; }
|
200
|
+
.panels .download .download-links li {
|
201
|
+
display: inline-block;
|
202
|
+
font-size: 18px;
|
203
|
+
padding: 0 10px; }
|
204
|
+
.panels .download .download-links li + li {
|
205
|
+
border-left: 1px solid; }
|
206
|
+
|
207
|
+
.transcript .search button {
|
208
|
+
padding: 0; }
|
209
|
+
|
210
|
+
.transcript .search .search-result button {
|
211
|
+
font-size: 110%;
|
212
|
+
color: inherit;
|
213
|
+
padding-bottom: 0;
|
214
|
+
padding-top: 0;
|
215
|
+
position: relative;
|
216
|
+
top: 2px; }
|
217
|
+
|
218
|
+
.transcript .search input {
|
219
|
+
border: 1px solid #ccc;
|
220
|
+
border-radius: 0;
|
221
|
+
font-size: 110%;
|
222
|
+
margin: 0;
|
223
|
+
width: 300px; }
|