From cc2af5c699418b801edeb109bf54cf1a7d12f634 Mon Sep 17 00:00:00 2001 From: Zach Plata Date: Thu, 27 Jul 2017 14:47:53 -0500 Subject: [PATCH] Enhance UI for risk factors view for print layout (#5) --- build/css/styles.css | 2 +- build/js/bundle.js | 22 ++--- components/DetailBox/detail_box.css | 6 ++ components/DetailBox/detail_box.jsx | 18 ++-- components/Form/ButtonForm/button_form.css | 7 ++ components/Form/SendForm/send_form.css | 6 ++ components/Header/header.css | 6 ++ components/PatientBanner/banner.css | 10 ++- components/Results/Graph/graph.css | 26 ++++++ components/Results/Graph/graph.jsx | 13 +-- components/Results/GraphBar/graph_bar.css | 88 ++++++++++++++++++- components/Results/GraphBar/graph_bar.jsx | 86 ++++++++++++------ .../Results/SimulatedRisk/simulated_risk.css | 56 ++++++++++++ .../Results/SimulatedRisk/simulated_risk.jsx | 1 + tests/components/DetailBox/DetailBox.spec.js | 4 +- tests/components/Results/Graph/Graph.spec.js | 7 +- .../Results/GraphBar/GraphBar.spec.js | 23 +++-- tests/nightwatch/ascvd-risk.spec.js | 78 ++++++++++++++++ views/Results/index.css | 18 ++++ views/RiskFactors/index.css | 15 ++++ views/RiskFactors/index.jsx | 1 + 21 files changed, 418 insertions(+), 75 deletions(-) diff --git a/build/css/styles.css b/build/css/styles.css index 204279b..50c1265 100644 --- a/build/css/styles.css +++ b/build/css/styles.css @@ -1 +1 @@ -.banner__container___ZHs7S{width:100%;background-color:#0065a3;height:30px;display:table}.banner__name___SWuPP{font-size:18px}.banner__details___g41gj,.banner__name___SWuPP{display:table-row;font-family:Helvetica;font-weight:700;color:#fff}.banner__details___g41gj{text-align:left;font-size:16px}.banner__age___oqLBl{padding-right:10px}.banner__dob___1mkpV{padding-left:10px;vertical-align:text-bottom;font-size:16px;color:#fff;font-weight:400}.banner__hidden___CjTDQ{display:none}.banner__patient-container___1sDx6{padding:5px 10px}.header__header___CGBNf{height:55px;width:100%;background-color:#f4f4f4;color:#000;font-size:18px;font-family:Helvetica;text-align:center;vertical-align:middle;line-height:55px;-moz-box-shadow:inset 0 -1px #dedfe0;-webkit-box-shadow:inset 0 -1px #dedfe0;box-shadow:inset 0 -1px #dedfe0}.navbar__hidden___ec8v_{display:none}.navbar__container___gDEoQ{width:100%;height:43px;border-bottom:1px solid #dedfe0}.navbar__tab___3MI4X{height:41px;font-family:Helvetica;font-size:14px;text-align:center;line-height:41px}.navbar__tab___3MI4X.navbar__active___iyQq0{color:#0065a3;border-bottom:2px solid #007cc3;cursor:pointer}.navbar__tab___3MI4X.navbar__default___1ASZy{color:#000;cursor:pointer}.navbar__tab___3MI4X.navbar__disabled___fkjPP{cursor:default;opacity:.6}.navbar__tab___3MI4X.navbar__one___1_gWr{width:67px;display:inline-block;margin-left:7px}.navbar__tab___3MI4X.navbar__two___1eUQm{width:98px;display:inline-block}.navbar__tab___3MI4X.navbar__three___13cuC{width:137px;display:inline-block}input[name=nav_tabs]{background:none;border:none;outline:0;cursor:pointer;text-decoration:none}input[name=nav_tabs]:hover{text-decoration:none}@media only screen and (max-width:860px){.navbar__container___gDEoQ{display:block;margin:auto;text-align:center}}.button_form__container___38I26{width:180px;height:100%;display:inline-block;padding-top:40px;text-align:left;vertical-align:top}.button_form__btn___2G-Ff{border-radius:3px;height:30px;width:66px;font-family:Helvetica;font-size:14px}.button_form__left___21IWC{float:left;display:inline-block;padding-right:7px}.button_form__right___SzO8A{display:inline-block}.button_form__btn___2G-Ff.button_form__active___37LzP{background-color:#007cc3;border:1px solid #0065a3;color:#fff}.button_form__btn___2G-Ff.button_form__default___3xSmY{background-color:#dedfe0;border:1px solid #c8cacb;color:#1c1f21}.button_form__prompt___2jCpS{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:110%}.button_form__required___3-DTN:before{color:red;content:"*";padding-right:3px}.input_text_form__container___1CeRx{width:180px;height:100%;display:inline-block;padding-right:110px;padding-top:36px;text-align:left;vertical-align:top}.input_text_form__prompt___14drD{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:190px}.input_text_form__text-entry___3txA5{width:180px;line-height:30px;font-size:18px;height:30px;float:left;border-radius:3px;border:1px solid #dedfe0;padding-left:4px}.input_text_form__required___2xQFR:before{color:red;content:"*";padding-right:3px}.input_text_form__form-error___3t4qF{padding-top:5px;width:100%;outline:0;color:#e50000;font-family:Helvetica;display:inline-block}.input_text_form__hidden___1bMhH{display:none}@media only screen and (max-width:860px){.input_text_form__container___1CeRx{padding-right:0}}.radio_button_form__container___3vUW_{width:180px;height:100%;display:inline-block;padding-right:110px;padding-top:40px;text-align:left;vertical-align:top}.radio_button_form__prompt___1xpMt{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:110%}.radio_button_form__label___2-oKW{font-size:14px;font-family:Helvetica;color:#000;display:block}.radio_button_form__label___2-oKW.radio_button_form__middle___W-SXK{padding-top:8px;padding-bottom:8px}input[type=radio]{width:14px;height:14px;margin-right:8px}input[type=radio]::-ms-check{color:#3b99fc;background-color:none}.radio_button_form__required___1woVI:before{color:red;content:"*";padding-right:3px}@media only screen and (max-width:860px){.radio_button_form__container___3vUW_{padding-right:0}}.send_form__container___2zxLJ{display:inline-block;text-align:left;vertical-align:top;padding-top:40px;padding-bottom:40px}.send_form__btn___1sdL2{border-radius:3px;height:50px;width:210px;font-family:Helvetica;font-size:14px}.send_form__btn___1sdL2.send_form__disabled___3hjOb{background-color:#e9f5e0;border:1px solid #bce1a3;color:#9b9fa1}.send_form__btn___1sdL2.send_form__active___2igXD{background-color:#8ccc63;border:1px solid #78c346;cursor:pointer}.send_form__left___CUl49{float:left;display:inline-block;padding-right:13px;padding-bottom:13px}.send_form__right___2qrw3{float:left;width:calc(100% - 11px);width:-webkit-calc(100% - 11px);height:-moz-calc(100% - 11px);font-size:16px;font-family:Helvetica;line-height:18px;color:#868a8c;display:inline-block}.send_form__required___NcjQq:before{color:red;content:"*";padding-right:3px}.send_form__right-container___3pJc5{float:left;display:inline-block;max-width:537px}.send_form__left-asterisk___2j0L0{float:left;display:inline-block}.index__container___RgiEz{display:block;margin:auto;width:100%;text-align:center}.index__inner___2Ot8j{margin:0 auto;display:inline-block;margin-left:5%;margin-right:5%}.index__column___1zkdU{width:180px;display:inline-block;position:relative;padding-right:110px;text-align:left;vertical-align:top}.index__grouped-column___3QMSz{display:inline-block}.index__no-right-padding___8cAb1{padding-right:0}.index__row___3kz49{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-right:0}.index__row___3kz49.index__padding___2GxAy{padding-top:40px}@media screen and (max-width:860px){.index__grouped-column___3QMSz{width:180px;display:block;margin:0 auto}.index__column___1zkdU{padding-right:0}.index__row___3kz49{display:block;margin:0 auto;width:230px}}.graph_bar__container___3CbYj{width:100px;display:inline-block;height:100px}.graph_bar__percent___tpyHM{color:#2d3539;font-size:16px;font-family:Helvetica;text-align:center;padding-bottom:6px;height:16px;width:100px;position:absolute}.graph_bar__bar___1nL8o{width:100px;position:absolute;bottom:0;border:none}@media only screen and (max-width:860px){.graph_bar__bar___1nL8o,.graph_bar__container___3CbYj,.graph_bar__percent___tpyHM{width:80px}}@media only screen and (max-width:700px){.graph_bar__container___3CbYj{width:20px}.graph_bar__percent___tpyHM{width:30px}.graph_bar__bar___1nL8o{width:20px}}.graph__container___25mSN{padding-top:45px;width:100%}.graph__graph-border___1O4eV{height:250px;width:600px;border-left:1px solid #c1c1c1;border-bottom:1px solid #c1c1c1;display:inline-block;position:relative;float:left}.graph__ten-year-group___WV2zA{padding-left:64px;width:200px;display:inline-block}.graph__lifetime-group___123AL{padding-left:68px;width:200px;display:inline-block}.graph__bar-container___1T6_3{position:absolute;bottom:0;width:100%}.graph__zero-increment___2nGaa{height:12px}.graph__last-increment___LVSkr{height:12px;padding-bottom:35px}.graph__middle-increments___3Xljq{height:12px;padding-bottom:38px}.graph__first-increment___2ZdED{height:12px;padding-bottom:32px}.graph__yaxis___2TCv5{padding-right:10px;color:#868a8c;height:250px;position:relative;text-align:right}.graph__label___3DY0f,.graph__yaxis___2TCv5{font-size:12px;font-family:Helvetica;float:left}.graph__label___3DY0f{color:#2d3539;height:12px;padding-bottom:160px;padding-right:70px;text-align:left;white-space:nowrap;position:absolute;margin:0;transform:rotate(270deg);transform-origin:right,top;-ms-transform:rotate(-90deg);-ms-transform-origin:right,top;-webkit-transform:rotate(-90deg);-webkit-transform-origin:right,top}.graph__inner___lv3m-{margin:0 auto;display:inline-block;margin-right:10%}.graph__bar-label___3nQ1w{width:200px;position:absolute;padding-top:12px}.graph__bar-label___3nQ1w,.graph__graph-title___1fbCT{color:#2d3539;font-size:16px;font-family:Helvetica;text-align:center}.graph__graph-title___1fbCT{width:100%;font-weight:700;margin-left:10%;padding-bottom:44px}.graph__legend-container___3eNUv{display:inline-block;padding-left:30px;padding-top:75px;position:absolute;text-align:left}.graph__legend-bar___CIvxn{width:80px;height:10px}.graph__legend-label___am4lX{width:90px;height:16px;padding-top:5px;padding-bottom:20px;font-size:12px;font-family:Helvetica}.graph__hidden___3YcmT{display:none;height:0}@media only screen and (max-width:860px){.graph__graph-border___1O4eV{height:250px;width:520px}.graph__ten-year-group___WV2zA{width:160px;padding-left:44px}.graph__lifetime-group___123AL{width:160px;padding-left:70px}.graph__graph-title___1fbCT{width:580px}.graph__bar-label___3nQ1w{width:160px}.graph__legend-bar___CIvxn,.graph__legend-label___am4lX{width:50px}.graph__bar-container___1T6_3{width:100%}}@media only screen and (max-width:700px){.graph__graph-border___1O4eV{height:250px;width:155px}.graph__graph-title___1fbCT{width:165px;margin-left:35px}.graph__bar-label___3nQ1w{width:60px;margin-left:-10px}.graph__ten-year-group___WV2zA{width:40px;padding-left:15px}.graph__lifetime-group___123AL{width:40px;padding-left:40px}.graph__legend-bar___CIvxn{width:30px}.graph__legend-label___am4lX{width:45px}.graph__bar-container___1T6_3{width:100%}}.risk_action__container___10q5l{width:350px;text-align:left}.risk_action__prompt___1enqF{color:#2d3539;font-size:16px;font-family:Helvetica;line-height:19px}.risk_action__hidden___1ViLA{display:none}.risk_action__option___34gA9{padding-top:15px;display:block;color:#2d3539;font-size:14px;font-family:Helvetica}input[type=checkbox]{margin-right:7px}input[type=checkbox]::-ms-check{color:#3b99fc}.risk_action__input-area___1hijg{padding-left:10px}@media only screen and (max-width:860px){.risk_action__container___10q5l{width:292px}.risk_action__input-area___1hijg{padding-left:0}}@media only screen and (max-width:700px){.risk_action__container___10q5l{width:160px}.risk_action__input-area___1hijg{padding-left:5px}}.simulated_risk__container___hwplB{padding-top:101px;padding-bottom:45px}.simulated_risk__title___32AvW{width:100%;color:#2d3539;font-size:16px;font-family:Helvetica;font-weight:700;text-align:center;padding-bottom:38px}.simulated_risk__left___3rEEE{display:inline-block;width:50%;float:left}.simulated_risk__right___-nez9{display:inline-block;width:50%;float:right;padding-top:12px}.simulated_risk__bar-total___1DZyO{width:100px;height:472px;margin-top:12px;margin-right:40px;margin-bottom:45px;display:inline-block}.simulated_risk__partial-border___3wy36{border:2px solid #ffb166;border-bottom:none}.simulated_risk__full-border___1-j0y{border:2px solid #ffb166}.simulated_risk__bar-lowest-risk___2_LQ6{background-color:#ff9733;width:100%}.simulated_risk__bar-potential-risk___3Bj9D{background-color:#fff;width:100%}.simulated_risk__bar-current-risk___1yLw-{background:repeating-linear-gradient(135deg,#ffb166,#fff 1px,#fff 0,#ffb166 2px,#ffb166 13px);width:100%}.simulated_risk__bar-labels___eNdPU{width:115px;height:472px;margin-right:11px;margin-bottom:45px;float:left;text-align:right;font-size:12px;font-family:Helvetica}.simulated_risk__float-right___2zGhN{float:right}.simulated_risk__last-increment___1U16r{padding-top:6px}.simulated_risk__hidden___1gYNx{font-size:0}.simulated_risk__show___cE3Xl{font-size:12px}.simulated_risk__remove___1oeUq{display:none}@media only screen and (max-width:860px){.simulated_risk__bar-total___1DZyO{width:80px}}@media only screen and (max-width:700px){.simulated_risk__bar-total___1DZyO{width:40px}.simulated_risk__bar-labels___eNdPU{width:50px}}.index__container___2dddc{width:100%;display:block;margin:auto;text-align:center}.index__divide___1QgKu{width:80%;height:1px;padding-top:50px;padding-bottom:50px;background-color:#c1c1c1;position:absolute;left:0;right:0;margin:auto;background-clip:content-box}.detail_box__container___3zdQ5{width:100%;background-color:#fff;padding-top:45px}.detail_box__header___B66Dm{width:100%;height:40px;border:1px solid #e2e3e3}.detail_box__title___2Il7t{padding:11px 0 12px;color:#007cc3;font-size:14px;font-family:Helvetica;display:inline-block}.detail_box__body___iNiUd{width:100%;border:1px solid #e2e3e3;border-top:none}.detail_box__description___3K4yj{color:#505456;font-size:14px;font-family:Helvetica;padding:16px 10px 20px 11px}.detail_box__arrow-right___12yAh{width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid #007cc3;display:inline-block;padding-right:8px;margin-left:11px}.detail_box__arrow-down___1y-tV{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:11px solid #007cc3;display:inline-block;margin-left:11px;margin-right:8px}.detail_box__collapsed___3hosd{display:none}input[name=dropdown]{cursor:pointer}.index__container___3yKbS{width:90%;display:block;margin:auto}.index__hidden___3yUCu{display:none}.index__show___2EZc5{display:block} \ No newline at end of file +.banner__container___ZHs7S{width:100%;background-color:#0065a3;height:30px;display:table;color:#fff}.banner__name___SWuPP{font-size:18px}.banner__details___g41gj,.banner__name___SWuPP{display:table-row;font-family:Helvetica;font-weight:700}.banner__details___g41gj{text-align:left;font-size:16px}.banner__age___oqLBl{padding-right:10px}.banner__dob___1mkpV{padding-left:10px;vertical-align:text-bottom;font-size:16px;font-weight:400}.banner__hidden___CjTDQ{display:none}.banner__patient-container___1sDx6{padding:5px 10px}@media print{.banner__container___ZHs7S{-webkit-print-color-adjust:exact}}.header__header___CGBNf{height:55px;width:100%;background-color:#f4f4f4;color:#000;font-size:18px;font-family:Helvetica;text-align:center;vertical-align:middle;line-height:55px;-moz-box-shadow:inset 0 -1px #dedfe0;-webkit-box-shadow:inset 0 -1px #dedfe0;box-shadow:inset 0 -1px #dedfe0}@media print{.header__header___CGBNf{-webkit-print-color-adjust:exact}}.navbar__hidden___ec8v_{display:none}.navbar__container___gDEoQ{width:100%;height:43px;border-bottom:1px solid #dedfe0}.navbar__tab___3MI4X{height:41px;font-family:Helvetica;font-size:14px;text-align:center;line-height:41px}.navbar__tab___3MI4X.navbar__active___iyQq0{color:#0065a3;border-bottom:2px solid #007cc3;cursor:pointer}.navbar__tab___3MI4X.navbar__default___1ASZy{color:#000;cursor:pointer}.navbar__tab___3MI4X.navbar__disabled___fkjPP{cursor:default;opacity:.6}.navbar__tab___3MI4X.navbar__one___1_gWr{width:67px;display:inline-block;margin-left:7px}.navbar__tab___3MI4X.navbar__two___1eUQm{width:98px;display:inline-block}.navbar__tab___3MI4X.navbar__three___13cuC{width:137px;display:inline-block}input[name=nav_tabs]{background:none;border:none;outline:0;cursor:pointer;text-decoration:none}input[name=nav_tabs]:hover{text-decoration:none}@media only screen and (max-width:860px){.navbar__container___gDEoQ{display:block;margin:auto;text-align:center}}.button_form__container___38I26{width:180px;height:100%;display:inline-block;padding-top:40px;text-align:left;vertical-align:top}.button_form__btn___2G-Ff{border-radius:3px;height:30px;width:66px;font-family:Helvetica;font-size:14px}.button_form__left___21IWC{float:left;display:inline-block;padding-right:7px}.button_form__right___SzO8A{display:inline-block}.button_form__btn___2G-Ff.button_form__active___37LzP{background-color:#007cc3;border:1px solid #0065a3;color:#fff}.button_form__btn___2G-Ff.button_form__default___3xSmY{background-color:#dedfe0;border:1px solid #c8cacb;color:#1c1f21}.button_form__prompt___2jCpS{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:110%}.button_form__required___3-DTN:before{color:red;content:"*";padding-right:3px}@media print{.button_form__btn___2G-Ff,.button_form__btn___2G-Ff.button_form__active___37LzP{-webkit-print-color-adjust:exact}}.input_text_form__container___1CeRx{width:180px;height:100%;display:inline-block;padding-right:110px;padding-top:36px;text-align:left;vertical-align:top}.input_text_form__prompt___14drD{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:190px}.input_text_form__text-entry___3txA5{width:180px;line-height:30px;font-size:18px;height:30px;float:left;border-radius:3px;border:1px solid #dedfe0;padding-left:4px}.input_text_form__required___2xQFR:before{color:red;content:"*";padding-right:3px}.input_text_form__form-error___3t4qF{padding-top:5px;width:100%;outline:0;color:#e50000;font-family:Helvetica;display:inline-block}.input_text_form__hidden___1bMhH{display:none}@media only screen and (max-width:860px){.input_text_form__container___1CeRx{padding-right:0}}.radio_button_form__container___3vUW_{width:180px;height:100%;display:inline-block;padding-right:110px;padding-top:40px;text-align:left;vertical-align:top}.radio_button_form__prompt___1xpMt{font-size:14px;font-family:Helvetica;font-weight:700;color:#000;padding-bottom:5px;width:110%}.radio_button_form__label___2-oKW{font-size:14px;font-family:Helvetica;color:#000;display:block}.radio_button_form__label___2-oKW.radio_button_form__middle___W-SXK{padding-top:8px;padding-bottom:8px}input[type=radio]{width:14px;height:14px;margin-right:8px}input[type=radio]::-ms-check{color:#3b99fc;background-color:none}.radio_button_form__required___1woVI:before{color:red;content:"*";padding-right:3px}@media only screen and (max-width:860px){.radio_button_form__container___3vUW_{padding-right:0}}.send_form__container___2zxLJ{display:inline-block;text-align:left;vertical-align:top;padding-top:40px;padding-bottom:40px}.send_form__btn___1sdL2{border-radius:3px;height:50px;width:210px;font-family:Helvetica;font-size:14px}.send_form__btn___1sdL2.send_form__disabled___3hjOb{background-color:#e9f5e0;border:1px solid #bce1a3;color:#9b9fa1}.send_form__btn___1sdL2.send_form__active___2igXD{background-color:#8ccc63;border:1px solid #78c346;cursor:pointer}.send_form__left___CUl49{float:left;display:inline-block;padding-right:13px;padding-bottom:13px}.send_form__right___2qrw3{float:left;width:calc(100% - 11px);width:-webkit-calc(100% - 11px);height:-moz-calc(100% - 11px);font-size:16px;font-family:Helvetica;line-height:18px;color:#868a8c;display:inline-block}.send_form__required___NcjQq:before{color:red;content:"*";padding-right:3px}.send_form__right-container___3pJc5{float:left;display:inline-block;max-width:537px}.send_form__left-asterisk___2j0L0{float:left;display:inline-block}@media print{.send_form__btn___1sdL2,.send_form__btn___1sdL2.send_form__disabled___3hjOb{-webkit-print-color-adjust:exact}}.index__container___RgiEz{display:block;margin:auto;width:100%;text-align:center}.index__inner___2Ot8j{margin:0 auto;display:inline-block;margin-left:5%;margin-right:5%}.index__column___1zkdU{width:180px;display:inline-block;position:relative;padding-right:110px;text-align:left;vertical-align:top}.index__grouped-column___3QMSz{display:inline-block}.index__no-right-padding___8cAb1{padding-right:0}.index__row___3kz49{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-right:0}.index__row___3kz49.index__padding___2GxAy{padding-top:40px}@media screen and (max-width:860px){.index__grouped-column___3QMSz{width:180px;display:block;margin:0 auto}.index__column___1zkdU{padding-right:0}.index__row___3kz49{display:block;margin:0 auto;width:230px}}@media print{.index__grouped-column___3QMSz{width:180px;display:block;margin:0 auto}.index__column___1zkdU{padding-right:0}.index__row___3kz49{display:block;margin:0 auto;width:230px}}.graph_bar__container___3CbYj{width:100px;display:inline-block;height:100px}.graph_bar__percent-label___2DgeR{display:none}.graph_bar__percent___tpyHM{color:#2d3539;font-size:16px;font-family:Helvetica;height:16px;bottom:0}.graph_bar__percent-container___2EUt4,.graph_bar__percent___tpyHM{text-align:center;width:100px;vertical-align:bottom;position:absolute}.graph_bar__bar___1nL8o{width:100px;bottom:0;border:none;position:absolute;vertical-align:bottom}.graph_bar__current-risk___3BNLw{background:repeating-linear-gradient(135deg,#ffb166,#fff 1px,#fff 0,#ffb166 2px,#ffb166 13px)}.graph_bar__lowest-possible-risk___37xAz{background-color:#ff9733}.graph_bar__percent-left___1lFxR,.graph_bar__percent-right___1HOOi{text-align:center}@media only screen and (max-width:860px){.graph_bar__bar___1nL8o,.graph_bar__container___3CbYj,.graph_bar__percent___tpyHM{width:80px}}@media only screen and (max-width:700px){.graph_bar__container___3CbYj{width:20px}.graph_bar__percent___tpyHM{width:30px}.graph_bar__bar___1nL8o{width:20px}.graph_bar__percent-left___1lFxR{text-align:left;margin-left:-13px}.graph_bar__percent-right___1HOOi{text-align:right;margin-left:5px}}@media print and (max-width:700px){.graph_bar__percent-left___1lFxR,.graph_bar__percent-right___1HOOi{text-align:center;margin-left:0}}@media print{.graph_bar__lowest-possible-risk___37xAz{background:none;width:100px;border:solid #2d3539;-webkit-print-color-adjust:exact}.graph_bar__current-risk___3BNLw{background:none;width:97px;border:solid #6f7477;-webkit-print-color-adjust:exact}.graph_bar__percent-label___2DgeR{position:relative;display:block;text-align:center;width:70px;font-size:12px;margin:0 auto;font-family:Helvetica;vertical-align:bottom}.graph_bar__percent___tpyHM{position:relative;padding-bottom:5px;margin:0 auto}}.graph__container___25mSN{padding-top:45px;width:100%}.graph__graph-border___1O4eV{height:250px;width:600px;border-left:1px solid #c1c1c1;border-bottom:1px solid #c1c1c1;display:inline-block;position:relative;float:left}.graph__ten-year-group___WV2zA{padding-left:64px;width:200px;display:inline-block}.graph__lifetime-group___123AL{padding-left:68px;width:200px;display:inline-block}.graph__bar-container___1T6_3{position:absolute;bottom:0;width:100%}.graph__zero-increment___2nGaa{height:12px}.graph__last-increment___LVSkr{height:12px;padding-bottom:35px}.graph__middle-increments___3Xljq{height:12px;padding-bottom:38px}.graph__first-increment___2ZdED{height:12px;padding-bottom:32px}.graph__yaxis___2TCv5{padding-right:10px;color:#868a8c;height:250px;position:relative;text-align:right}.graph__label___3DY0f,.graph__yaxis___2TCv5{font-size:12px;font-family:Helvetica;float:left}.graph__label___3DY0f{color:#2d3539;height:12px;padding-bottom:160px;padding-right:70px;text-align:left;white-space:nowrap;position:absolute;margin:0;transform:rotate(270deg);transform-origin:right,top;-ms-transform:rotate(-90deg);-ms-transform-origin:right,top;-webkit-transform:rotate(-90deg);-webkit-transform-origin:right,top}.graph__inner___lv3m-{margin:0 auto;display:inline-block;margin-right:10%}.graph__bar-label___3nQ1w{width:200px;position:absolute;padding-top:12px}.graph__bar-label___3nQ1w,.graph__graph-title___1fbCT{color:#2d3539;font-size:16px;font-family:Helvetica;text-align:center}.graph__graph-title___1fbCT{width:100%;font-weight:700;margin-left:10%;padding-bottom:44px}.graph__legend-container___3eNUv{display:inline-block;padding-left:30px;padding-top:75px;position:absolute;text-align:left}.graph__legend-bar___CIvxn{width:80px;height:10px}.graph__legend-label___am4lX{width:90px;height:16px;padding-top:5px;padding-bottom:20px;font-size:12px;font-family:Helvetica}.graph__hidden___3YcmT{display:none;height:0}.graph__current-risk___3X5BN{background:repeating-linear-gradient(135deg,#ffb166,#fff 1px,#fff 0,#ffb166 2px,#ffb166 13px)}.graph__lowest-risk___1UFN4{background-color:#ff9733}@media only screen and (max-width:860px){.graph__graph-border___1O4eV{height:250px;width:520px}.graph__ten-year-group___WV2zA{width:160px;padding-left:44px}.graph__lifetime-group___123AL{width:160px;padding-left:70px}.graph__graph-title___1fbCT{width:580px}.graph__bar-label___3nQ1w{width:160px}.graph__legend-bar___CIvxn,.graph__legend-label___am4lX{width:50px}.graph__bar-container___1T6_3{width:100%}}@media only screen and (max-width:700px){.graph__graph-border___1O4eV{height:250px;width:155px}.graph__graph-title___1fbCT{width:165px;margin-left:35px}.graph__bar-label___3nQ1w{width:60px;margin-left:-10px}.graph__ten-year-group___WV2zA{width:40px;padding-left:15px}.graph__lifetime-group___123AL{width:40px;padding-left:40px}.graph__legend-bar___CIvxn{width:30px}.graph__legend-label___am4lX{width:45px}.graph__bar-container___1T6_3{width:100%}}@media print{.graph__graph-title___1fbCT{margin-left:0}.graph__inner___lv3m-{margin-right:0}.graph__legend-bar___CIvxn,.graph__legend-label___am4lX{display:none}}.risk_action__container___10q5l{width:350px;text-align:left}.risk_action__prompt___1enqF{color:#2d3539;font-size:16px;font-family:Helvetica;line-height:19px}.risk_action__hidden___1ViLA{display:none}.risk_action__option___34gA9{padding-top:15px;display:block;color:#2d3539;font-size:14px;font-family:Helvetica}input[type=checkbox]{margin-right:7px}input[type=checkbox]::-ms-check{color:#3b99fc}.risk_action__input-area___1hijg{padding-left:10px}@media only screen and (max-width:860px){.risk_action__container___10q5l{width:292px}.risk_action__input-area___1hijg{padding-left:0}}@media only screen and (max-width:700px){.risk_action__container___10q5l{width:160px}.risk_action__input-area___1hijg{padding-left:5px}}.simulated_risk__container___hwplB{padding-top:101px;padding-bottom:45px}.simulated_risk__title___32AvW{width:100%;color:#2d3539;font-size:16px;font-family:Helvetica;font-weight:700;text-align:center;padding-bottom:38px}.simulated_risk__left___3rEEE{display:inline-block;width:50%;float:left}.simulated_risk__right___-nez9{display:inline-block;width:50%;float:right;padding-top:12px}.simulated_risk__bar-total___1DZyO{width:100px;height:472px;margin-top:12px;margin-right:40px;margin-bottom:45px;display:inline-block}.simulated_risk__partial-border___3wy36{border:2px solid #ffb166;border-bottom:none}.simulated_risk__full-border___1-j0y{border:2px solid #ffb166}.simulated_risk__bar-lowest-risk___2_LQ6{background-color:#ff9733;width:100%}.simulated_risk__bar-potential-risk___3Bj9D{background-color:#fff;width:100%}.simulated_risk__bar-current-risk___1yLw-{background:repeating-linear-gradient(135deg,#ffb166,#fff 1px,#fff 0,#ffb166 2px,#ffb166 13px);width:100%}.simulated_risk__bar-labels___eNdPU{width:115px;height:472px;margin-right:11px;margin-bottom:45px;float:left;text-align:right;font-size:12px;font-family:Helvetica}.simulated_risk__float-right___2zGhN{float:right}.simulated_risk__last-increment___1U16r{padding-top:6px}.simulated_risk__hidden___1gYNx{font-size:0}.simulated_risk__show___cE3Xl{font-size:12px}.simulated_risk__page-break___3LJbE,.simulated_risk__remove___1oeUq{display:none}@media only screen and (max-width:860px){.simulated_risk__page-break___3LJbE{display:none}.simulated_risk__bar-total___1DZyO{width:80px}}@media only screen and (max-width:700px){.simulated_risk__page-break___3LJbE{display:none}.simulated_risk__bar-total___1DZyO{width:40px}.simulated_risk__bar-labels___eNdPU{width:50px}}@media print{.simulated_risk__container___hwplB{padding-top:0}.simulated_risk__page-break___3LJbE{page-break-before:avoid}.simulated_risk__bar-total___1DZyO{-webkit-print-color-adjust:exact}.simulated_risk__bar-lowest-risk___2_LQ6{background:none;border:solid #2d3539;-webkit-print-color-adjust:exact}.simulated_risk__bar-current-risk___1yLw-{background:none;border:solid #6f7477;border-bottom:none;width:50px;-webkit-print-color-adjust:exact}.simulated_risk__bar-potential-risk___3Bj9D{background:none;border:solid #b2b5b6;border-bottom:none;width:25px;-webkit-print-color-adjust:exact}.simulated_risk__full-border___1-j0y,.simulated_risk__partial-border___3wy36{border:none}}.index__container___2dddc{width:100%;display:block;margin:auto;text-align:center}.index__divide___1QgKu{width:80%;height:1px;padding-top:50px;padding-bottom:50px;background-color:#c1c1c1;position:absolute;left:0;right:0;margin:auto;background-clip:content-box}.index__page-break___2rJaK{display:none}@media print{.index__page-break___2rJaK{display:block;page-break-before:always}.index__divide___1QgKu{-webkit-print-color-adjust:exact}}.detail_box__container___3zdQ5{width:100%;background-color:#fff;padding-top:45px}.detail_box__header___B66Dm{width:100%;height:40px;border:1px solid #e2e3e3}.detail_box__title___2Il7t{padding:11px 0 12px;color:#007cc3;font-size:14px;font-family:Helvetica;display:inline-block}.detail_box__body___iNiUd{width:100%;border:1px solid #e2e3e3;border-top:none}.detail_box__description___3K4yj{color:#505456;font-size:14px;font-family:Helvetica;padding:16px 10px 20px 11px}.detail_box__arrow-right___12yAh{width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid #007cc3;display:inline-block;padding-right:8px;margin-left:11px}.detail_box__arrow-down___1y-tV{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:11px solid #007cc3;display:inline-block;margin-left:11px;margin-right:8px}.detail_box__collapsed___3hosd{display:none}input[name=dropdown]{cursor:pointer}@media print{.detail_box__page-break___NlAXK{page-break-inside:avoid}}.index__container___3yKbS{width:90%;display:block;margin:auto}.index__hidden___3yUCu{display:none}.index__show___2EZc5{display:block} \ No newline at end of file diff --git a/build/js/bundle.js b/build/js/bundle.js index 7ed50e0..06e2e26 100644 --- a/build/js/bundle.js +++ b/build/js/bundle.js @@ -3,8 +3,8 @@ (c) Sindre Sorhus @license MIT */ -"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l1){for(var v=Array(m),g=0;g1){for(var b=Array(y),_=0;_>"),P={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=P},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(6),i=n(8);n(7);e.exports=r},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";var r=n(30),o=n(34),i=n(157),a=n(55),s=n(52),u=n(162),l=n(163),c=n(164),p=n(165);n(10);o.inject();var d={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=d},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[v]=n}function a(e){var t=e._hostNode;t&&(delete t[v],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=o(u)._domID;if(0!==l){for(;null!==a;a=a.nextSibling)if(r(a,l)){i(u,a);continue e}p("32",l)}}e._flags|=m.hasCachedChildNodes}}function u(e){if(e[v])return e[v];for(var t=[];!e[v];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[v]);e=t.pop())n=r,t.length&&s(r,e);return n}function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?p("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:p("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var p=n(31),d=n(32),f=n(33),h=(n(7),d.ID_ATTRIBUTE_NAME),m=f,v="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:l,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=g},6,function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(31),i=(n(7),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)?o("48",p):void 0;var d=p.toLowerCase(),f=n[p],h={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(f,t.MUST_USE_PROPERTY),hasBooleanValue:r(f,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(f,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(f,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(f,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",p),u.hasOwnProperty(p)){var m=u[p];h.attributeName=m}a.hasOwnProperty(p)&&(h.attributeNamespace=a[p]),l.hasOwnProperty(p)&&(h.propertyName=l[p]),c.hasOwnProperty(p)&&(h.mutationMethod=c[p]),s.properties[p]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t8&&x<=11),E=32,T=String.fromCharCode(E),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},P=!1,N=null,O={eventTypes:k,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=O},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function l(e){v(e,i)}function c(e){v(e,a)}function p(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function d(e){v(e,u)}var f=n(38),h=n(40),m=n(42),v=n(43),g=(n(10),f.getListener),y={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};e.exports=y},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(31),a=n(39),s=n(40),u=n(41),l=n(42),c=n(43),p=(n(7),{}),d=null,f=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return f(e,!0)},m=function(e){return f(e,!1)},v=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=v(e),o=p[t]||(p[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=p[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=v(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=p[t];if(r){var o=v(e);delete r[o]}},deleteAllListeners:function(e){var t=v(e);for(var n in p)if(p.hasOwnProperty(n)&&p[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete p[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s-1?void 0:a("96",e),!l.plugins[n]){t.extractEvents?void 0:a("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(31),s=(n(7),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},[221,31],function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(44),i=null;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(3),i=n(46),a=n(11),s=(n(10),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n8));var R=!1;_.canUseDOM&&(R=T("input")&&(!document.documentMode||document.documentMode>11));var M={get:function(){return D.get.call(this)},set:function(e){S=""+e,D.set.call(this,e)}},I={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,s=t?x.getNodeFromInstance(t):window;if(r(s)?A?i=u:a=l:k(s)?R?i=f:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var p=w.getPooled(P.change,c,n,o);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(e,s,t)}};e.exports=I},function(e,t,n){"use strict";function r(){P.ReactReconcileTransaction&&x?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=P.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),x.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?c("124",t,g.length):void 0,g.sort(a),y++;for(var n=0;n1){for(var v=Array(m),g=0;g1){for(var b=Array(y),_=0;_>"),P={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=P},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(6),i=n(8);n(7);e.exports=r},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";var r=n(30),o=n(34),i=n(157),a=n(55),s=n(52),u=n(162),l=n(163),c=n(164),p=n(165);n(10);o.inject();var d={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=d},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[v]=n}function a(e){var t=e._hostNode;t&&(delete t[v],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=o(u)._domID;if(0!==l){for(;null!==a;a=a.nextSibling)if(r(a,l)){i(u,a);continue e}p("32",l)}}e._flags|=m.hasCachedChildNodes}}function u(e){if(e[v])return e[v];for(var t=[];!e[v];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[v]);e=t.pop())n=r,t.length&&s(r,e);return n}function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?p("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:p("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var p=n(31),d=n(32),f=n(33),h=(n(7),d.ID_ATTRIBUTE_NAME),m=f,v="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:l,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=g},6,function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(31),i=(n(7),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)?o("48",p):void 0;var d=p.toLowerCase(),f=n[p],h={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(f,t.MUST_USE_PROPERTY),hasBooleanValue:r(f,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(f,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(f,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(f,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",p),u.hasOwnProperty(p)){var m=u[p];h.attributeName=m}a.hasOwnProperty(p)&&(h.attributeNamespace=a[p]),l.hasOwnProperty(p)&&(h.propertyName=l[p]),c.hasOwnProperty(p)&&(h.mutationMethod=c[p]),s.properties[p]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t8&&C<=11),E=32,k=String.fromCharCode(E),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},P=!1,N=null,O={eventTypes:T,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=O},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function l(e){v(e,i)}function c(e){v(e,a)}function p(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function d(e){v(e,u)}var f=n(38),h=n(40),m=n(42),v=n(43),g=(n(10),f.getListener),y={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};e.exports=y},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(31),a=n(39),s=n(40),u=n(41),l=n(42),c=n(43),p=(n(7),{}),d=null,f=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return f(e,!0)},m=function(e){return f(e,!1)},v=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=v(e),o=p[t]||(p[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=p[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=v(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=p[t];if(r){var o=v(e);delete r[o]}},deleteAllListeners:function(e){var t=v(e);for(var n in p)if(p.hasOwnProperty(n)&&p[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete p[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s-1?void 0:a("96",e),!l.plugins[n]){t.extractEvents?void 0:a("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(31),s=(n(7),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},[221,31],function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(44),i=null;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(3),i=n(46),a=n(11),s=(n(10),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n8));var R=!1;_.canUseDOM&&(R=k("input")&&(!document.documentMode||document.documentMode>11));var M={get:function(){return D.get.call(this)},set:function(e){S=""+e,D.set.call(this,e)}},I={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,s=t?C.getNodeFromInstance(t):window;if(r(s)?A?i=u:a=l:T(s)?R?i=f:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var p=w.getPooled(P.change,c,n,o);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(e,s,t)}};e.exports=I},function(e,t,n){"use strict";function r(){P.ReactReconcileTransaction&&C?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=P.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),C.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?c("124",t,g.length):void 0,g.sort(a),y++;for(var n=0;n]/,u=n(75),l=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t,n){"use strict";var r=n(44),o=n(77),i=n(74),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a]/;e.exports=r},function(e,t,n){"use strict";var r=n(31),o=n(72),i=n(44),a=n(79),s=n(11),u=(n(7),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:u(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t?void 0:u(!1),a(p).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var i=n(44),a=n(80),s=n(81),u=n(7),l=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":a.innerHTML="<"+e+">",s[e]=!a.firstChild),s[e]?d[e]:null}var o=n(44),i=n(7),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'"],l=[1,"","
"],c=[3,"","
"],p=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(71),o=n(30),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&H in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof R)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===W,s=i?o._node:o._ownerDocument;F(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;w.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;N.postMountWrapper(e)}function u(){var e=this;D.postMountWrapper(e)}function l(){var e=this;O.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=j(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[T.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in Y)Y.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(n,Y[n],t));break;case"source":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t),T.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent("topReset","reset",t),T.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[T.trapBubbledEvent("topInvalid","invalid",t)]}}function p(){S.postUpdateWrapper(this)}function d(e){X.call(Q,e)||(G.test(e)?void 0:m("65",e),Q[e]=!0)}function f(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(31),v=n(3),g=n(84),y=n(86),b=n(72),_=n(73),x=n(32),C=n(94),w=n(38),E=n(39),T=n(96),k=n(33),P=n(30),N=n(99),O=n(102),S=n(103),D=n(104),A=(n(58),n(105)),R=n(124),M=(n(11),n(77)),I=(n(7),n(61),n(113),n(127),n(10),k),L=w.deleteListener,j=P.getNodeFromInstance,F=T.listenTo,U=E.registrationNameModules,B={string:!0,number:!0},q="style",H="__html",V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},W=11,Y={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},z={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},$=v({menuitem:!0},z),G=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q={},X={}.hasOwnProperty,Z=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=Z++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":O.mountWrapper(this,i,t),i=O.getHostProps(this,i);break;case"select":S.mountWrapper(this,i,t),i=S.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":D.mountWrapper(this,i,t),i=D.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===_.svg&&"foreignobject"===p)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);P.precacheNode(this,f),this._flags|=I.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=b(f);this._createInitialChildren(e,i,r,y),d=y}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),w=this._createContentMarkup(e,i,r);d=!w&&z[this._tag]?x+"/>":x+">"+w+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&i(this,r,o,e);else{r===q&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?V.hasOwnProperty(r)||(a=C.createMarkupForCustomAttribute(r,o)):a=C.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+C.createMarkupForRoot()),n+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=M(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return K[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u1)for(var n=1;n0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(31),s=(n(9),n(107)),u=(n(58),n(52)),l=(n(7),n(10),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=l},function(e,t,n){"use strict";var r=(n(3),n(11)),o=(n(10),r);e.exports=o},function(e,t,n){"use strict";var r=n(3),o=n(72),i=n(30),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,l=u.createComment(s);return i.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(u[l],"captured",i)}var u=n(31);n(7);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";var r=n(31),o=n(3),i=n(71),a=n(72),s=n(30),u=n(77),l=(n(7),n(127),function(e){ -this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(l),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),s.precacheNode(this,p),this._closingComment=d,f}var h=u(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(3),i=n(52),a=n(59),s=n(11),u={initialize:s,close:function(){d.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];o(r.prototype,a,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;return d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=f(e.nativeEvent),n=p.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=l(e,o),u=l(e,i);if(s&&u){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(u.node,u.offset)):(p.setEnd(u.node,u.offset),n.addRange(p))}}}var u=n(44),l=n(139),c=n(47),p=u.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:s};e.exports=d},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=t&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(141);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(142);e.exports=r},function(e,t){"use strict";function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!g||!d(g,n)){g=n;var o=l.getPooled(h.select,v,e,t);return o.type="select",o.target=m,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(37),a=n(44),s=n(30),u=n(137),l=n(49),c=n(143),p=n(62),d=n(113),f=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,v=null,g=null,y=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(p(i)||"true"===i.contentEditable)&&(m=i,v=t,g=null);break;case"topBlur":m=null,v=null,g=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(f)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(31),a=n(133),s=n(37),u=n(30),l=n(147),c=n(148),p=n(49),d=n(149),f=n(150),h=n(65),m=n(153),v=n(154),g=n(155),y=n(66),b=n(156),_=n(11),x=n(151),C=(n(7),{}),w={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};C[e]=o,w[r]=o});var E={},T={eventTypes:C,extractEvents:function(e,t,n,r){var o=w[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=p;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":a=f;break;case"topBlur":case"topFocus":a=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=l;break;case"topTransitionEnd":a=g;break;case"topScroll":a=y;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=c}a?void 0:i("86",e);var u=a.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),s=u.getNodeFromInstance(e);E[i]||(E[i]=a.listen(s,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);E[n].remove(),delete E[n]}}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(66),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(66),i=n(151),a=n(152),s=n(68),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(151),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(65),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(66),i=n(68),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(65),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=v.createElement(F,{child:t});if(e){var u=C.get(e);a=u._processChildContext(u._context)}else a=P;var c=d(n);if(c){var p=c._currentElement,h=p.props.child;if(S(h,t)){var m=c._renderedComponent.getPublicInstance(),g=r&&function(){r.call(m)};return U._updateRootComponent(c,s,a,n,g),m}U.unmountComponentAtNode(n)}var y=o(n),b=y&&!!i(y),_=l(n),x=b&&!c&&!_,w=U._renderNewRootComponent(s,n,x,a)._renderedComponent.getPublicInstance();return r&&r.call(w),w},render:function(e,t,n){return U._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:f("40");var t=d(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(A);return!1}return delete L[t._instance.rootID],k.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:f("41"),i){var s=o(t);if(w.canReuseMarkup(e,s))return void y.precacheNode(n,s);var u=s.getAttribute(w.CHECKSUM_ATTR_NAME);s.removeAttribute(w.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(w.CHECKSUM_ATTR_NAME,u);var p=e,d=r(p,l),m=" (client) "+p.substring(d-20,d+20)+"\n (server) "+l.substring(d-20,d+20);t.nodeType===M?f("42",m):void 0}if(t.nodeType===M?f("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else O(t,e),y.precacheNode(n,t.firstChild)}};e.exports=U},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(127),9);e.exports=r},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(161),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,i=e.length,a=i&-4;on&&(r-=1,e.setFullYear(e.getFullYear()-1));var o=(n.getTime()-e.getTime())/864e5;return Math.floor(r+o/(t(n.getFullYear())?366:365))};e.computeAgeFromBirthDate=l;var c=function(t){var n=new Date,r=n.getFullYear()-t,o=e.patientInfo.dateOfBirth.getMonth(),i=e.patientInfo.dateOfBirth.getDate(),a=new Date(r,o,i),s=e.computeAgeFromBirthDate(new Date(a.valueOf()));return s===t?a:s-1)return!0;if(r.indexOf(t[o].valueCodeableConcept.coding[0].code)>-1)return!1}};e.getSmokerStatus=d;var f=function(t){return e.getFirstValidDataValue(t,function(e){return"mg/dL"===e.valueQuantity.unit?parseFloat(e.valueQuantity.value):"mmol/L"===e.valueQuantity.unit?parseFloat(e.valueQuantity.value)/.026:void 0})};e.getCholesterolValue=f;var h=function(t){var n=[];return t.forEach(function(e){var t=e.component.find(function(e){return e.code.coding.find(function(e){return"8480-6"===e.code})});if(t){var r=Object.assign({},e);r.valueQuantity=t.valueQuantity,n.push(r)}}),e.getFirstValidDataValue(Object.assign([],n),function(e){if("mm[Hg]"===e.valueQuantity.unit||"mmHg"===e.valueQuantity.unit)return parseFloat(e.valueQuantity.value)})};e.getSystolicBloodPressureValue=h;var m=function(t,n){for(var r=e.sortObservationsByTime(t),o=0;o79)return null;var t=Math.log(e.age),n=Math.log(e.totalCholesterol),r=Math.log(e.hdl),o=e.relatedFactors.hypertensive?Math.log(parseFloat(e.systolicBloodPressure)):0,i=e.relatedFactors.hypertensive?0:Math.log(parseFloat(e.systolicBloodPressure)),a=t*n,s=t*r,u=t*o,l=t*i,c=e.relatedFactors.smoker?t:0,p="aa"===e.relatedFactors.race,d="male"===e.gender,f=0,h=0,m=0,v=function(){p&&!d?(f=.95334,h=86.6081,m=17.1141*t+.9396*n+-18.9196*r+4.4748*s+29.2907*o+-6.4321*u+27.8197*i+-6.0873*l+.6908*Number(e.relatedFactors.smoker)+.8738*Number(e.relatedFactors.diabetic)):p||d?p&&d?(f=.89536,h=19.5425,m=2.469*t+.302*n+-.307*r+1.916*o+1.809*i+.549*Number(e.relatedFactors.smoker)+.645*Number(e.relatedFactors.diabetic)):(f=.91436,h=61.1816,m=12.344*t+11.853*n+-2.664*a+-7.99*r+1.769*s+1.797*o+1.764*i+7.837*Number(e.relatedFactors.smoker)+-1.795*c+.658*Number(e.relatedFactors.diabetic)):(f=.96652,h=-29.1817,m=-29.799*t+4.884*Math.pow(t,2)+13.54*n+-3.114*a+-13.578*r+3.149*s+2.019*o+1.957*i+7.574*Number(e.relatedFactors.smoker)+-1.665*c+.661*Number(e.relatedFactors.diabetic));var v=1-Math.pow(f,Math.exp(m-h));return Math.round(100*v*10)/10};return v()};e.computeTenYearScore=y;var b=function(e){if(e.age<20||e.age>59)return null;var t=0,n={male:{major2:69,major1:50,elevated:46,notOptimal:36,allOptimal:5},female:{major2:50,major1:39,elevated:39,notOptimal:27,allOptimal:8}},r=(e.totalCholesterol>=240?1:0)+((e.systolicBloodPressure>=160?1:0)+(e.relatedFactors.hypertensive?1:0))+(e.relatedFactors.smoker?1:0)+(e.relatedFactors.diabetic?1:0),o=((e.totalCholesterol>=200&&e.totalCholesterol<240?1:0)+(e.systolicBloodPressure>=140&&e.systolicBloodPressure<160&&e.relatedFactors.hypertensive===!1?1:0)>=1?1:0)*(0===r?1:0),i=((e.totalCholesterol<180?1:0)+(e.systolicBloodPressure<120?1:0)*(e.relatedFactors.hypertensive?0:1)===2?1:0)*(0===r?1:0),a=((e.totalCholesterol>=180&&e.totalCholesterol<200?1:0)+(e.systolicBloodPressure>=120&&e.systolicBloodPressure<140&&e.relatedFactors.hypertensive===!1?1:0))*(0===o?1:0)*(0===r?1:0)>=1?1:0;return r>1&&(t=n[e.gender].major2),1===r&&(t=n[e.gender].major1),1===o&&(t=n[e.gender].elevated),1===a&&(t=n[e.gender].notOptimal),1===i&&(t=n[e.gender].allOptimal),t};e.computeLifetimeRisk=b;var _=function(){var t=Object.assign({},e.patientInfo);t.systolicBloodPressure=90,t.totalCholesterol=130,t.hdl=100;var n=Object.assign({},e.patientInfo.relatedFactors);return n.diabetic=!1,n.smoker=!1,n.hypertensive=!1,t.relatedFactors=n,e.computeTenYearScore(t)};e.computeLowestTenYear=_;var x=function(){var t=Object.assign({},e.patientInfo);t.systolicBloodPressure=90,t.totalCholesterol=130,t.hdl=100;var n=Object.assign({},e.patientInfo.relatedFactors);return n.diabetic=!1,n.smoker=!1,n.hypertensive=!1,t.relatedFactors=n,e.computeLifetimeRisk(t)};e.computeLowestLifetime=x;var C=function(t,n){var r=void 0,o=void 0,i=0;"ten"===n?(r=e.computeTenYearScore(e.patientInfo),o=e.computeLowestTenYear()):(r=e.computeLifetimeRisk(e.patientInfo),o=e.computeLowestLifetime());for(var a=0;a=20&&e<=79};e.isValidAge=w;var E=function(e){return!isNaN(e)&&void 0!==e&&e>=90&&e<=200};e.isValidSysBP=E;var T=function(e){return!isNaN(e)&&void 0!==e&&e>=20&&e<=100};e.isValidHDL=T;var k=function(e){return!isNaN(e)&&void 0!==e&&e>=130&&e<=320};e.isValidTotalCholesterol=k;var P=function(){return!!(e.isValidSysBP(e.patientInfo.systolicBloodPressure)&&e.isValidAge(e.patientInfo.age)&&e.isValidTotalCholesterol(e.patientInfo.totalCholesterol)&&e.isValidHDL(e.patientInfo.hdl)&&void 0!==e.patientInfo.relatedFactors.hypertensive&&void 0!==e.patientInfo.relatedFactors.race&&void 0!==e.patientInfo.relatedFactors.diabetic&&void 0!==e.patientInfo.relatedFactors.smoker&&void 0!==e.patientInfo.gender)};e.canCalculateScore=P;var N=function(){var t=[];if(e.isValidTotalCholesterol(e.patientInfo.totalCholesterol)||t.push("Total cholesterol"),void 0===e.patientInfo.relatedFactors.diabetic&&t.push("Diabetes status"),e.isValidAge(e.patientInfo.age)||t.push("Age"),e.isValidHDL(e.patientInfo.hdl)||t.push("HDL - cholesterol"),void 0===e.patientInfo.relatedFactors.smoker&&t.push("Current smoking status"),void 0===e.patientInfo.relatedFactors.race&&t.push("Race"),e.isValidSysBP(e.patientInfo.systolicBloodPressure)||t.push("Systolic blood pressure"),void 0===e.patientInfo.relatedFactors.hypertensive&&t.push("Hypertension status"),void 0===e.patientInfo.gender&&t.push("Gender"),9===t.length)return"All fields required to compute ASCVD risk";if(t.length>2){for(var n="",r=0;r=1?r[1]:_.constant.UNKNOWN_LOG,lineNumber:r.length>=1?r[2]:_.constant.UNKNOWN_LOG,columnNumber:r.length>=1?r[3]:_.constant.UNKNOWN_LOG}}function s(e){return e<10?"0"+e:e}var u,l,c,p,d=t?t.stack:(new Error).stack||null,f=_.constant.UNKNOWN_LOG,h=r||t.message||_.constant.UNKNOWN_LOG,m=new Date,v=n.location.href,g=_.constant.UNKNOWN_LOG,y=_.constant.UNKNOWN_LOG,b=n.navigator.language||_.constant.UNKNOWN_LOG,x=n.document.characterSet||n.document.charset||n.document.defaultCharset||_.constant.UNKNOWN_LOG,C=/(http\:\/\/.*\/.*\.js)\:(\d+)\:(\d+)(.*)$/;if(p=m.toISOString?m.toISOString():function(){return m.getUTCFullYear()+"-"+s(m.getUTCMonth()+1)+"-"+s(m.getUTCDate())+"T"+s(m.getUTCHours())+":"+s(m.getUTCMinutes())+":"+s(m.getUTCSeconds())+"."+(m.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}(),t===i||null===t||null===t.stack)if("function"==typeof n.document.getElementsByTagName){var w=n.document.getElementsByTagName("script");f=(n.document.currentScript||w[w.length-1]).src}else f=_.constant.UNKNOWN_LOG;else c=a(d),f=c.url,g=c.lineNumber,y=c.columnNumber;u={characterSet:x,columnNumber:y,language:b,lineNumber:g,logDate:p,msg:"["+e+"]: "+h,pageURL:v,stack:d||_.constant.UNKNOWN_LOG,type:"jserror",scriptURL:f};for(l in o)o.hasOwnProperty(l)&&null!==o[l]&&o[l]!==i&&(u[l]=o[l]);return u}function h(e){return function(t){var n,r=[],o=new Image;for(n in t)t.hasOwnProperty(n)&&r.push(n+"="+_.utils.fixedEncodeURIComponent(t[n]+"\n"));o.src=e+"?"+r.join("&")}}function m(e){var t,r="";if(console)if(n.attachEvent){for(t in e)e.hasOwnProperty(t)&&(r+=t+"="+e[t]+"\n");console.error(r)}else"undefined"!=typeof e.msg?console.error(e.msg,e):console.error(e)}function v(e,t,n){if(e&&e._wrapper&&("function"===e._wrapper,!0))return e._wrapper;var r=function(){try{return e.apply(t||this,arguments)}catch(e){_.error(e.message,e,i,n)}};return e._wrapper=r,r}function g(e,t,n,r,o){var i;return E&&"function"==typeof E&&(i=E.apply(this,arguments)),_.fatal(e,o,{url:t,lineNumber:n,columnNumber:r}),i}function y(){n.onerror=g}function b(){var e,t,r=[];n.EventTarget?(e=n.EventTarget.prototype.addEventListener,t=n.EventTarget.prototype.removeEventListener,n.EventTarget.prototype.addEventListener=function(t,n,r){return e.call(this,t,_.watch(n),r)},n.EventTarget.prototype.removeEventListener=function(e,n,r){return t.call(this,e,_.watch(n),r)}):n.Element&&n.Element.prototype&&n.Element.prototype.attachEvent&&n.Element.prototype.addEventListener===i&&(Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),Element.prototype.addEventListener||(e=function(e,t){var n=this,o=function(e){e.target=e.srcElement,e.currentTarget=n,t.handleEvent?t.handleEvent(e):t.call(n,e)};"DOMContentLoaded"!==e&&(this.attachEvent("on"+e,_.watch(o)),r.push({object:this,type:e,listener:t,wrapper:o}))},t=function(e,t){for(var n,o=0;o>>0;if(0===o)return-1;var i=+t||0;if(Math.abs(i)===1/0&&(i=0),i>=o)return-1;for(n=Math.max(i>=0?i:o-Math.abs(i),0);n0&&t-1 in e)}function c(e,t,n){return _e.isFunction(t)?_e.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?_e.grep(e,function(e){return e===t!==n}):"string"!=typeof t?_e.grep(e,function(e){return de.call(t,e)>-1!==n}):Se.test(t)?_e.filter(t,e,n):(t=_e.filter(t,e),_e.grep(e,function(e){return de.call(t,e)>-1!==n&&1===e.nodeType}))}function p(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return _e.each(e.match(Le)||[],function(e,n){t[n]=!0}),t}function f(e){return e}function h(e){throw e}function m(e,t,n){var r;try{e&&_e.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&_e.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function v(){se.removeEventListener("DOMContentLoaded",v),a.removeEventListener("load",v),_e.ready()}function g(){this.expando=_e.expando+g.uid++}function y(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ve.test(e)?JSON.parse(e):e)}function b(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(We,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=y(n)}catch(e){}He.set(e,t,n)}else n=void 0;return n}function _(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return _e.css(e,t,"")},u=s(),l=n&&n[3]||(_e.cssNumber[t]?"":"px"),c=(_e.cssNumber[t]||"px"!==l&&+u)&&ze.exec(_e.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do i=i||".5",c/=i,_e.style(e,t,c+l);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}function x(e){var t,n=e.ownerDocument,r=e.nodeName,o=Qe[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=_e.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Qe[r]=o,o)}function C(e,t){for(var n,r,o=[],i=0,a=e.length;i-1)o&&o.push(i);else if(l=_e.contains(i.ownerDocument,i),a=w(p.appendChild(i),"script"),l&&E(a),n)for(c=0;i=a[c++];)Je.test(i.type||"")&&n.push(i);return p}function k(){return!0}function P(){return!1}function N(){try{return se.activeElement}catch(e){}}function O(e,t,n,r,o,a){var s,u;if("object"==("undefined"==typeof t?"undefined":i(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(u in t)O(e,u,n,r,t[u],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=P;else if(!o)return e;return 1===a&&(s=o,o=function(e){return _e().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=_e.guid++)),e.each(function(){_e.event.add(this,t,o,r,n)})}function S(e,t){return _e.nodeName(e,"table")&&_e.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function D(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function A(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function R(e,t){var n,r,o,i,a,s,u,l;if(1===t.nodeType){if(qe.hasData(e)&&(i=qe.access(e),a=qe.set(t,i),l=i.events)){delete a.handle,a.events={};for(o in l)for(n=0,r=l[o].length;n1&&"string"==typeof h&&!ye.checkClone&&ut.test(h))return e.each(function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),I(i,t,n,r)});if(d&&(o=T(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=_e.map(w(o,"script"),D),s=a.length;p=0&&nw.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[B]=!0,e}function o(e){var t=R.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ee(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var o=0,i=n.length;o-1&&(r[l]=!(a[l]=p))}}else b=g(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):Z.apply(a,b)})}function b(e){for(var t,n,r,o=e.length,i=w.relative[e[0].type],a=i||w.relative[" "],s=i?1:0,u=h(function(e){return e===t},a,!0),l=h(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var o=!i&&(r||n!==O)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,o}];s1&&m(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s0,i=e.length>0,a=function(r,a,s,u,l){var c,p,d,f=0,h="0",m=r&&[],v=[],y=O,b=r||i&&w.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,x=b.length;for(l&&(O=a===R||a||l);h!==x&&null!=(c=b[h]);h++){if(i&&c){for(p=0,a||c.ownerDocument===R||(A(c),s=!I);d=e[p++];)if(d(c,a||R,s)){u.push(c);break}l&&(H=_)}o&&((c=!d&&c)&&f--,r&&m.push(c))}if(f+=h,o&&h!==f){for(p=0;d=n[p++];)d(m,v,a,s);if(r){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=Q.call(u));v=g(v)}Z.apply(u,v),l&&!r&&v.length>0&&f+n.length>1&&t.uniqueSort(u)}return l&&(H=_,O=y),m};return o?r(a):a}var x,C,w,E,T,k,P,N,O,S,D,A,R,M,I,L,j,F,U,B="sizzle"+1*new Date,q=e.document,H=0,V=0,W=n(),Y=n(),z=n(),K=function(e,t){return e===t&&(D=!0),0},$={}.hasOwnProperty,G=[],Q=G.pop,X=G.push,Z=G.push,J=G.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(ie),de=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),_e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){A()},Ee=h(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(G=J.call(q.childNodes),q.childNodes),G[q.childNodes.length].nodeType}catch(e){Z={apply:G.length?function(e,t){X.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:q;return r!==R&&9===r.nodeType&&r.documentElement?(R=r,M=R.documentElement,I=!T(R),q!==R&&(n=R.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(R.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=ve.test(R.getElementsByClassName),C.getById=o(function(e){return M.appendChild(e).id=B,!R.getElementsByName||!R.getElementsByName(B).length}),C.getById?(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var n,r,o,i=t.getElementById(e);if(i){if(n=i.getAttributeNode("id"),n&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if(n=i.getAttributeNode("id"),n&&n.value===e)return[i]}return[]}}),w.find.TAG=C.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},w.find.CLASS=C.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&I)return t.getElementsByClassName(e)},j=[],L=[],(C.qsa=ve.test(R.querySelectorAll))&&(o(function(e){M.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+B+"-]").length||L.push("~="),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+B+"+*").length||L.push(".#.+[+~]")}),o(function(e){e.innerHTML="";var t=R.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),M.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(C.matchesSelector=ve.test(F=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&o(function(e){C.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),j.push("!=",ie)}),L=L.length&&new RegExp(L.join("|")),j=j.length&&new RegExp(j.join("|")),t=ve.test(M.compareDocumentPosition),U=t||ve.test(M.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},K=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===R||e.ownerDocument===q&&U(q,e)?-1:t===R||t.ownerDocument===q&&U(q,t)?1:S?ee(S,e)-ee(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===R?-1:t===R?1:o?-1:i?1:S?ee(S,e)-ee(S,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===q?-1:u[r]===q?1:0},R):R},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==R&&A(e),n=n.replace(ce,"='$1']"),C.matchesSelector&&I&&!z[n+" "]&&(!j||!j.test(n))&&(!L||!L.test(n)))try{var r=F.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,R,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==R&&A(e),U(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==R&&A(e);var n=w.attrHandle[t.toLowerCase()],r=n&&$.call(w.attrHandle,t.toLowerCase())?n(e,t,!I):void 0;return void 0!==r?r:C.attributes||!I?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(D=!C.detectDuplicates,S=!C.sortStable&&e.slice(0),e.sort(K),D){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return S=null,e},E=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=E(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,d,f,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(d=v,p=d[B]||(d[B]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),l=c[e]||[],f=l[0]===H&&l[1],b=f&&l[2],d=f&&v.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[H,f,b];break}}else if(y&&(d=t,p=d[B]||(d[B]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),l=c[e]||[],f=l[0]===H&&l[1],b=f),b===!1)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&(p=d[B]||(d[B]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),c[e]=[H,b]),d!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[B]?i(n):i.length>1?(o=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=P(e.replace(se,"$1"));return o[B]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,_e),function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,_e).toLowerCase(),function(t){var n;do if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(), -n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=i[0]).type&&9===t.nodeType&&I&&w.relative[i[1].type]){if(t=(w.find.ID(a.matches[0].replace(be,_e),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=fe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(be,_e),ye.test(i[0].type)&&p(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&f(i),!e)return Z.apply(n,r),n;break}}return(l||P(e,c))(r,t,!I,n,!t||ye.test(e)&&p(t.parentNode)||t),n},C.sortStable=B.split("").sort(K).join("")===B,C.detectDuplicates=!!D,A(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(R.createElement("fieldset"))}),o(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(a);_e.find=Te,_e.expr=Te.selectors,_e.expr[":"]=_e.expr.pseudos,_e.uniqueSort=_e.unique=Te.uniqueSort,_e.text=Te.getText,_e.isXMLDoc=Te.isXML,_e.contains=Te.contains,_e.escapeSelector=Te.escape;var ke=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&_e(e).is(n))break;r.push(e)}return r},Pe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ne=_e.expr.match.needsContext,Oe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Se=/^.[^:#\[\.,]*$/;_e.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_e.find.matchesSelector(r,e)?[r]:[]:_e.find.matches(e,_e.grep(t,function(e){return 1===e.nodeType}))},_e.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(_e(e).filter(function(){for(t=0;t1?_e.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&Ne.test(e)?_e(e):e||[],!1).length}});var De,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Re=_e.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||De,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ae.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _e?t[0]:t,_e.merge(this,_e.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Oe.test(r[1])&&_e.isPlainObject(t))for(r in t)_e.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=se.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_e.isFunction(e)?void 0!==n.ready?n.ready(e):e(_e):_e.makeArray(e,this)};Re.prototype=_e.fn,De=_e(se);var Me=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};_e.fn.extend({has:function(e){var t=_e(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&_e.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?_e.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?de.call(_e(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_e.uniqueSort(_e.merge(this.get(),_e(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_e.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ke(e,"parentNode")},parentsUntil:function(e,t,n){return ke(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return ke(e,"nextSibling")},prevAll:function(e){return ke(e,"previousSibling")},nextUntil:function(e,t,n){return ke(e,"nextSibling",n)},prevUntil:function(e,t,n){return ke(e,"previousSibling",n)},siblings:function(e){return Pe((e.parentNode||{}).firstChild,e)},children:function(e){return Pe(e.firstChild)},contents:function(e){return e.contentDocument||_e.merge([],e.childNodes)}},function(e,t){_e.fn[e]=function(n,r){var o=_e.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=_e.filter(r,o)),this.length>1&&(Ie[e]||_e.uniqueSort(o),Me.test(e)&&o.reverse()),this.pushStack(o)}});var Le=/[^\x20\t\r\n\f]+/g;_e.Callbacks=function(e){e="string"==typeof e?d(e):_e.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?_e.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},_e.extend({Deferred:function(e){var t=[["notify","progress",_e.Callbacks("memory"),_e.Callbacks("memory"),2],["resolve","done",_e.Callbacks("once memory"),_e.Callbacks("once memory"),0,"resolved"],["reject","fail",_e.Callbacks("once memory"),_e.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return _e.Deferred(function(n){_e.each(t,function(t,r){var i=_e.isFunction(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&_e.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function o(e,t,n,r){return function(){var u=this,l=arguments,c=function a(){var c,a;if(!(e=s&&(n!==h&&(u=void 0,l=[r]),t.rejectWith(u,l))}};e?p():(_e.Deferred.getStackHook&&(p.stackTrace=_e.Deferred.getStackHook()),a.setTimeout(p))}}var s=0;return _e.Deferred(function(i){t[0][3].add(o(0,i,_e.isFunction(r)?r:f,i.notifyWith)),t[1][3].add(o(0,i,_e.isFunction(e)?e:f)),t[2][3].add(o(0,i,_e.isFunction(n)?n:h))}).promise()},promise:function(e){return null!=e?_e.extend(e,r):r}},o={};return _e.each(t,function(e,i){var a=i[2],s=i[5];r[i[1]]=a.add,s&&a.add(function(){n=s},t[3-e][2].disable,t[0][2].lock),a.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=le.call(arguments),i=_e.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?le.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(m(e,i.done(a(n)).resolve,i.reject),"pending"===i.state()||_e.isFunction(o[n]&&o[n].then)))return i.then();for(;n--;)m(o[n],a(n),i.reject);return i.promise()}});var je=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_e.Deferred.exceptionHook=function(e,t){a.console&&a.console.warn&&e&&je.test(e.name)&&a.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_e.readyException=function(e){a.setTimeout(function(){throw e})};var Fe=_e.Deferred();_e.fn.ready=function(e){return Fe.then(e).catch(function(e){_e.readyException(e)}),this},_e.extend({isReady:!1,readyWait:1,holdReady:function(e){e?_e.readyWait++:_e.ready(!0)},ready:function(e){(e===!0?--_e.readyWait:_e.isReady)||(_e.isReady=!0,e!==!0&&--_e.readyWait>0||Fe.resolveWith(se,[_e]))}}),_e.ready.then=Fe.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?a.setTimeout(_e.ready):(se.addEventListener("DOMContentLoaded",v),a.addEventListener("load",v));var Ue=function e(t,n,r,o,i,a,s){var u=0,l=t.length,c=null==r;if("object"===_e.type(r)){i=!0;for(u in r)e(t,n,u,r[u],!0,a,s)}else if(void 0!==o&&(i=!0,_e.isFunction(o)||(s=!0),c&&(s?(n.call(t,o),n=null):(c=n,n=function(e,t,n){return c.call(_e(e),n)})),n))for(;u1,null,!0)},removeData:function(e){return this.each(function(){He.remove(this,e)})}}),_e.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=qe.get(e,t),n&&(!r||_e.isArray(n)?r=qe.access(e,t,_e.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_e.queue(e,t),r=n.length,o=n.shift(),i=_e._queueHooks(e,t),a=function(){_e.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return qe.get(e,n)||qe.access(e,n,{empty:_e.Callbacks("once memory").add(function(){qe.remove(e,[t+"queue",n])})})}}),_e.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Je=/^$|\/(?:java|ecma)script/i,et={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};et.optgroup=et.option,et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td;var tt=/<|&#?\w+;/;!function(){var e=se.createDocumentFragment(),t=e.appendChild(se.createElement("div")),n=se.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ye.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",ye.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var nt=se.documentElement,rt=/^key/,ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,it=/^([^.]*)(?:\.(.+)|)/;_e.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,p,d,f,h,m,v=qe.get(e);if(v)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&_e.find.matchesSelector(nt,o),n.guid||(n.guid=_e.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof _e&&_e.event.triggered!==t.type?_e.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Le)||[""],l=t.length;l--;)s=it.exec(t[l])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f&&(p=_e.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=_e.event.special[f]||{},c=_e.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&_e.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[f])||(d=u[f]=[],d.delegateCount=0,p.setup&&p.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c),_e.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,p,d,f,h,m,v=qe.hasData(e)&&qe.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Le)||[""],l=t.length;l--;)if(s=it.exec(t[l])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(p=_e.event.special[f]||{},f=(r?p.delegateType:p.bindType)||f,d=u[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)c=d[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c));a&&!d.length&&(p.teardown&&p.teardown.call(e,h,v.handle)!==!1||_e.removeEvent(e,f,v.handle),delete u[f])}else for(f in u)_e.event.remove(e,f+t[l],n,r,!0);_e.isEmptyObject(u)&&qe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=_e.event.fix(e),u=new Array(arguments.length),l=(qe.get(this,"events")||{})[s.type]||[],c=_e.event.special[s.type]||{};for(u[0]=s,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||l.disabled!==!0)){for(i=[],a={},n=0;n-1:_e.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,st=/\s*$/g;_e.extend({htmlPrefilter:function(e){return e.replace(at,"<$1>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=_e.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_e.isXMLDoc(e)))for(a=w(s),i=w(e),r=0,o=i.length;r0&&E(a,!u&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,o=_e.event.special,i=0;void 0!==(n=e[i]);i++)if(Be(n)){if(t=n[qe.expando]){if(t.events)for(r in t.events)o[r]?_e.event.remove(n,r):_e.removeEvent(n,r,t.handle);n[qe.expando]=void 0}n[He.expando]&&(n[He.expando]=void 0)}}}),_e.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return Ue(this,function(e){return void 0===e?_e.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.appendChild(e)}})},prepend:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_e.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _e.clone(this,e,t)})},html:function(e){return Ue(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!st.test(e)&&!et[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=_e.htmlPrefilter(e);try{for(;n1)}}),_e.Tween=V,V.prototype={constructor:V,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||_e.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(_e.cssNumber[n]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,n=V.propHooks[this.prop];return this.options.duration?this.pos=t=_e.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_e.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){_e.fx.step[e.prop]?_e.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[_e.cssProps[e.prop]]&&!_e.cssHooks[e.prop]?e.elem[e.prop]=e.now:_e.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_e.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_e.fx=V.prototype.init,_e.fx.step={};var bt,_t,xt=/^(?:toggle|show|hide)$/,Ct=/queueHooks$/;_e.Animation=_e.extend(Q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return _(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){_e.isFunction(e)?(t=e,e=["*"]):e=e.match(Le);for(var n,r=0,o=e.length;r1)},removeAttr:function(e){return this.each(function(){_e.removeAttr(this,e)})}}),_e.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?_e.prop(e,t,n):(1===i&&_e.isXMLDoc(e)||(o=_e.attrHooks[t.toLowerCase()]||(_e.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void _e.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=_e.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&_e.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Le);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return t===!1?_e.removeAttr(e,n):e.setAttribute(n,n),n}},_e.each(_e.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Et[t]||_e.find.attr;Et[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=Et[a],Et[a]=o,o=null!=n(e,t,r)?a:null,Et[a]=i),o}});var Tt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;_e.fn.extend({prop:function(e,t){return Ue(this,_e.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_e.propFix[e]||e]})}}),_e.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_e.isXMLDoc(e)||(t=_e.propFix[t]||t,o=_e.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_e.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(_e.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_e.propFix[this.toLowerCase()]=this}),_e.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(_e.isFunction(e))return this.each(function(t){_e(this).addClass(e.call(this,t,Z(this)))});if("string"==typeof e&&e)for(t=e.match(Le)||[];n=this[u++];)if(o=Z(n),r=1===n.nodeType&&" "+X(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=X(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(_e.isFunction(e))return this.each(function(t){_e(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Le)||[];n=this[u++];)if(o=Z(n),r=1===n.nodeType&&" "+X(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=X(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n="undefined"==typeof e?"undefined":i(e);return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):_e.isFunction(e)?this.each(function(n){_e(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=_e(this),i=e.match(Le)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&qe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":qe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+X(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;_e.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=_e.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,_e(this).val()):e,null==o?o="":"number"==typeof o?o+="":_e.isArray(o)&&(o=_e.map(o,function(e){return null==e?"":e+""})),t=_e.valHooks[this.type]||_e.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=_e.valHooks[o.type]||_e.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Pt,""):null==n?"":n)):void 0}}),_e.extend({valHooks:{option:{get:function(e){var t=_e.find.attr(e,"value");return null!=t?t:X(_e.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),_e.each(["radio","checkbox"],function(){_e.valHooks[this]={set:function(e,t){if(_e.isArray(t))return e.checked=_e.inArray(_e(e).val(),t)>-1}},ye.checkOn||(_e.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Nt=/^(?:focusinfocus|focusoutblur)$/;_e.extend(_e.event,{trigger:function(e,t,n,r){var o,s,u,l,c,p,d,f=[n||se],h=me.call(e,"type")?e.type:e,m=me.call(e,"namespace")?e.namespace.split("."):[];if(s=u=n=n||se,3!==n.nodeType&&8!==n.nodeType&&!Nt.test(h+_e.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=h.indexOf(":")<0&&"on"+h,e=e[_e.expando]?e:new _e.Event(h,"object"==("undefined"==typeof e?"undefined":i(e))&&e),e.isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:_e.makeArray(t,[e]),d=_e.event.special[h]||{},r||!d.trigger||d.trigger.apply(n,t)!==!1)){if(!r&&!d.noBubble&&!_e.isWindow(n)){for(l=d.delegateType||h,Nt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)f.push(s),u=s;u===(n.ownerDocument||se)&&f.push(u.defaultView||u.parentWindow||a)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)e.type=o>1?l:d.bindType||h,p=(qe.get(s,"events")||{})[e.type]&&qe.get(s,"handle"),p&&p.apply(s,t),p=c&&s[c],p&&p.apply&&Be(s)&&(e.result=p.apply(s,t),e.result===!1&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!Be(n)||c&&_e.isFunction(n[h])&&!_e.isWindow(n)&&(u=n[c],u&&(n[c]=null),_e.event.triggered=h,n[h](),_e.event.triggered=void 0,u&&(n[c]=u)),e.result}},simulate:function(e,t,n){var r=_e.extend(new _e.Event,n,{type:e,isSimulated:!0});_e.event.trigger(r,null,t)}}),_e.fn.extend({trigger:function(e,t){return this.each(function(){_e.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _e.event.trigger(e,t,n,!0)}}),_e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_e.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),_e.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ye.focusin="onfocusin"in a,ye.focusin||_e.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){_e.event.simulate(t,e.target,_e.event.fix(e))};_e.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=qe.access(r,t);o||r.addEventListener(e,n,!0),qe.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=qe.access(r,t)-1;o?qe.access(r,t,o):(r.removeEventListener(e,n,!0),qe.remove(r,t))}}});var Ot=a.location,St=_e.now(),Dt=/\?/;_e.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new a.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||_e.error("Invalid XML: "+e),t};var At=/\[\]$/,Rt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;_e.param=function(e,t){var n,r=[],o=function(e,t){var n=_e.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(_e.isArray(e)||e.jquery&&!_e.isPlainObject(e))_e.each(e,function(){o(this.name,this.value)});else for(n in e)J(n,e[n],t,o);return r.join("&")},_e.fn.extend({serialize:function(){return _e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_e.prop(this,"elements");return e?_e.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_e(this).is(":disabled")&&It.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Xe.test(e))}).map(function(e,t){var n=_e(this).val();return null==n?null:_e.isArray(n)?_e.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}});var Lt=/%20/g,jt=/#.*$/,Ft=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Vt={},Wt={},Yt="*/".concat("*"),zt=se.createElement("a");zt.href=Ot.href,_e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Bt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,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":JSON.parse,"text xml":_e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,_e.ajaxSettings),t):ne(_e.ajaxSettings,e)},ajaxPrefilter:ee(Vt),ajaxTransport:ee(Wt),ajax:function(e,t){function n(e,t,n,i){var u,c,f,h,x,C=t;p||(p=!0,l&&a.clearTimeout(l),r=void 0,s=i||"",E.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(h=re(m,E,n)),h=oe(m,h,E,u),u?(m.ifModified&&(x=E.getResponseHeader("Last-Modified"),x&&(_e.lastModified[o]=x),x=E.getResponseHeader("etag"),x&&(_e.etag[o]=x)),204===e||"HEAD"===m.type?C="nocontent":304===e?C="notmodified":(C=h.state,c=h.data,f=h.error,u=!f)):(f=C,!e&&C||(C="error",e<0&&(e=0))),E.status=e,E.statusText=(t||C)+"",u?y.resolveWith(v,[c,C,E]):y.rejectWith(v,[E,C,f]),E.statusCode(_),_=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[E,m,u?c:f]),b.fireWith(v,[E,C]),d&&(g.trigger("ajaxComplete",[E,m]),--_e.active||_e.event.trigger("ajaxStop")))}"object"==("undefined"==typeof e?"undefined":i(e))&&(t=e,e=void 0),t=t||{};var r,o,s,u,l,c,p,d,f,h,m=_e.ajaxSetup({},t),v=m.context||m,g=m.context&&(v.nodeType||v.jquery)?_e(v):_e.event,y=_e.Deferred(),b=_e.Callbacks("once memory"),_=m.statusCode||{},x={},C={},w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(p){if(!u)for(u={};t=Ut.exec(s);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return p?s:null},setRequestHeader:function(e,t){return null==p&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)E.always(e[E.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),n(0,t),this}};if(y.promise(E),m.url=((e||m.url||Ot.href)+"").replace(Ht,Ot.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(Le)||[""],null==m.crossDomain){c=se.createElement("a");try{c.href=m.url,c.href=c.href,m.crossDomain=zt.protocol+"//"+zt.host!=c.protocol+"//"+c.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=_e.param(m.data,m.traditional)),te(Vt,m,t,E),p)return E;d=_e.event&&m.global,d&&0===_e.active++&&_e.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!qt.test(m.type),o=m.url.replace(jt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Lt,"+")):(h=m.url.slice(o.length),m.data&&(o+=(Dt.test(o)?"&":"?")+m.data,delete m.data),m.cache===!1&&(o=o.replace(Ft,"$1"),h=(Dt.test(o)?"&":"?")+"_="+St++ +h),m.url=o+h),m.ifModified&&(_e.lastModified[o]&&E.setRequestHeader("If-Modified-Since",_e.lastModified[o]),_e.etag[o]&&E.setRequestHeader("If-None-Match",_e.etag[o])),(m.data&&m.hasContent&&m.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",m.contentType),E.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Yt+"; q=0.01":""):m.accepts["*"]);for(f in m.headers)E.setRequestHeader(f,m.headers[f]);if(m.beforeSend&&(m.beforeSend.call(v,E,m)===!1||p))return E.abort();if(w="abort",b.add(m.complete),E.done(m.success),E.fail(m.error),r=te(Wt,m,t,E)){if(E.readyState=1,d&&g.trigger("ajaxSend",[E,m]),p)return E;m.async&&m.timeout>0&&(l=a.setTimeout(function(){E.abort("timeout")},m.timeout));try{p=!1,r.send(x,n)}catch(e){if(p)throw e;n(-1,e)}}else n(-1,"No Transport");return E},getJSON:function(e,t,n){return _e.get(e,t,n,"json")},getScript:function(e,t){return _e.get(e,void 0,t,"script")}}),_e.each(["get","post"],function(e,t){_e[t]=function(e,n,r,o){return _e.isFunction(n)&&(o=o||r,r=n,n=void 0),_e.ajax(_e.extend({url:e,type:t,dataType:o,data:n,success:r},_e.isPlainObject(e)&&e))}}),_e._evalUrl=function(e){return _e.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},_e.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e.isFunction(e)&&(e=e.call(this[0])),t=_e(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _e.isFunction(e)?this.each(function(t){_e(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_e(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_e.isFunction(e);return this.each(function(n){_e(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_e(this).replaceWith(this.childNodes)}),this}}),_e.expr.pseudos.hidden=function(e){return!_e.expr.pseudos.visible(e)},_e.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_e.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=_e.ajaxSettings.xhr();ye.cors=!!$t&&"withCredentials"in $t,ye.ajax=$t=!!$t,_e.ajaxTransport(function(e){var t,n;if(ye.cors||$t&&!e.crossDomain)return{send:function(r,o){var i,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(i in r)s.setRequestHeader(i,r[i]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Kt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&a.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),_e.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _e.globalEval(e),e}}}),_e.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_e.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=_e("