// ==UserScript== // @name Last War Manager // @author j0Shi // @namespace https://github.com/j0Shi82/ // @homepageURL https://github.com/j0Shi82/last-war-manager // @description Some tweaking to the Last War UI and environment // @license GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt // @updateURL https://raw.githubusercontent.com/j0Shi82/last-war-manager/master/dist/last-war-manager.user.js // @downloadURL https://raw.githubusercontent.com/j0Shi82/last-war-manager/master/dist/last-war-manager.user.js // @supportURL https://github.com/j0Shi82/last-war-manager/issues // @match http*://*.last-war.de/main.php* // @match http*://*.last-war.de/main-mobile.php* // @match http*://*.last-war.de/planetenscanner_view.php* // @match http*://*.last-war.de/view/content/new_window/observationen_view.php* // @icon https://raw.githubusercontent.com/j0Shi82/last-war-manager/0814103384c9be78cc28611fd973b5a7fdfdbb19/assets/logo-small.png // @grant GM.getValue // @grant GM.setValue // @grant GM_getValue // @grant GM_setValue // @run-at document-start // @version 1.3.5 // ==/UserScript== /*! For license information please see last-war-manager.user.js.LICENSE.txt */ (()=>{var e={991:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(422),a={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:a}},422:(e,t,n)=>{"use strict";function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function a(e,t){return e.require(t)}n.d(t,{KV:()=>r,l$:()=>a}),e=n.hmd(e)},170:(e,t,n)=>{"use strict";n.d(t,{yW:()=>l,ph:()=>c});var r=n(991),a=n(422);e=n.hmd(e);var i={nowSeconds:function(){return Date.now()/1e3}},o=(0,a.KV)()?function(){try{return(0,a.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.R)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===o?i:{nowSeconds:function(){return(o.timeOrigin+o.now())/1e3}},l=i.nowSeconds.bind(i),c=s.nowSeconds.bind(s);!function(){var e=(0,r.R)().performance;if(e&&e.now){var t=36e5,n=e.now(),a=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-a):t,o=i{"use strict";n.d(t,{Z:()=>s});var r=n(81),a=n.n(r),i=n(645),o=n.n(i)()(a());o.push([e.id,"@media (max-width: 850px){.resourceBox .resourceProgressBar ul.loadbar{margin:0 !important}}.uberProgressbar>div,.resourceProgressBar,.researchProgressBar,.constructionProgressBar{background-color:rgba(255,255,255,0.2);border-radius:10px;border:1px solid #216b7e;background-image:none}.uberProgressbar>div ul,.uberProgressbar>div ul.loadbar,.uberProgressbar>div ul.loadbarConstruction,.uberProgressbar>div ul.loadbarResearch,.resourceProgressBar ul,.resourceProgressBar ul.loadbar,.resourceProgressBar ul.loadbarConstruction,.resourceProgressBar ul.loadbarResearch,.researchProgressBar ul,.researchProgressBar ul.loadbar,.researchProgressBar ul.loadbarConstruction,.researchProgressBar ul.loadbarResearch,.constructionProgressBar ul,.constructionProgressBar ul.loadbar,.constructionProgressBar ul.loadbarConstruction,.constructionProgressBar ul.loadbarResearch{float:none;width:0%;height:100%;margin:0;padding:0;display:block;background-color:#62c4cc;border-radius:10px;min-width:20px;max-width:100%;transition-property:width;transition-delay:0s;transition-duration:1s;transition-timing-function:ease-in-out}.uberProgressbar>div ul li,.uberProgressbar>div ul.loadbar li,.uberProgressbar>div ul.loadbarConstruction li,.uberProgressbar>div ul.loadbarResearch li,.resourceProgressBar ul li,.resourceProgressBar ul.loadbar li,.resourceProgressBar ul.loadbarConstruction li,.resourceProgressBar ul.loadbarResearch li,.researchProgressBar ul li,.researchProgressBar ul.loadbar li,.researchProgressBar ul.loadbarConstruction li,.researchProgressBar ul.loadbarResearch li,.constructionProgressBar ul li,.constructionProgressBar ul.loadbar li,.constructionProgressBar ul.loadbarConstruction li,.constructionProgressBar ul.loadbarResearch li{display:none}\n",""]);const s=o},982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(81),a=n.n(r),i=n(645),o=n.n(i)()(a());o.push([e.id,'.leftContent,.virtualHeaderBox,#facebookButton,.pageNameDiv,.crl,.cordinatenInfoMiddlePage,#planetImage,input.deletePlanetName,#shipImage,#link,#veticalLink,#DefenseGraph img,.big_img,#cordinates_for_tade,#newTradeOfferDiv .select_box_cordinaten,#allCordinaten-button>span,#profileImageBox>img,.resourceBox .bigPop,.ui-loader,#loader,#propassssss,#portrait_screen{display:none !important}html{overflow:auto;overflow-x:hidden;width:100%;height:unset;background-image:url(https://raw.githubusercontent.com/j0Shi82/last-war-manager/f1f575ca20ec62c225f1157c267dbf6c33be9d53/assets/background.jpg);background-size:100% 100%}body{background-color:rgba(0,0,0,0.5);font-size:14px}body>div>img:first-child{display:none}div[data-role="page"]{min-height:unset !important;height:unset;max-width:1200px;margin:0 auto}@media (max-width: 600px){#tradeOfferDiv .offer{width:98%}#galaxyViewInfoTable tr td:nth-child(2),#galaxyViewInfoTable tr td:nth-child(3){word-break:break-all}#tableForChangingPlanet .col-2{display:none}}@media (max-width: 850px){html{width:100%;margin-left:0}#link,#veticalLink{display:flex !important;justify-content:space-between;flex-wrap:wrap;padding-top:0;padding-bottom:0}#link.active{margin-bottom:20px !important}.fontSizeFourteenClass,table{font-size:12px}#Main{flex-flow:column}#Header,#Footer,#Content{flex:1 100% !important}#Header{display:none;order:1 !important;margin:0;margin-top:66px;position:fixed;z-index:10;width:100%;background-color:#173a44}.headerBox{background-color:#173a44}#lwm_menu_toggle{display:block !important;position:fixed}#Content{order:3 !important;display:block !important}#Footer{order:2 !important;margin-bottom:10px;margin-left:1%;margin-right:1%;margin-top:68px}#Header,.headerBox,.menu,.first_line,.secound_line{height:unset !important}.menu{flex-direction:column;border-bottom:2px solid #5db8b6;border-left:2px solid #5db8b6;border-right:2px solid #5db8b6;padding:5px;border-radius:0 0 10px 10px}.lwm_menu-content .select_box_cordinaten{top:0;margin:0}.resourceBoxs{width:100% !important;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:center}.resourceBox{flex:0 0 100px;float:none;margin-left:2px !important;margin-right:0 !important;display:flex;font-size:12px !important;flex-direction:column;align-items:center;justify-content:center;height:55px !important}.resourceBox img,.resourceBox br{display:none}.resourceProgressBar{width:80px !important}.resourceBox ul.loadbar{margin-top:2px !important}.galaxyView{display:none !important}.resourceName,.resourceAmount,.resourceProgressBar{position:unset;top:0;left:0}.profileImage,#profileImageBox,.profileInfo,.iconOpenMenuDiv{display:none !important}.first_line{justify-content:space-between !important}.secound_line{justify-content:space-between !important;flex:unset !important;padding-left:0 !important;margin-top:5px !important}}select{color:#7cf3fd;background-color:#0c3046}#Main{max-width:1200px;margin:0 auto;justify-content:center;align-items:stretch;align-content:flex-start;flex-flow:row wrap;width:100%;height:unset}#Main.active{display:flex !important}#Main:not(.active)>div{display:none !important}#Header{flex:1 100%;height:180px}#lwm_menu_toggle i{cursor:pointer}#lwm_menu_toggle i.inactive{color:rgba(0,0,0,0.25);cursor:default}#lwm_menu_toggle{display:none;width:100%;color:#000;background-color:#5db8b6;padding:5px 0 5px 0;z-index:10}#lwm_menu_toggle .lwm_menu-content{display:flex !important;justify-content:space-between;width:98%;margin:0 auto;align-items:center}#lwm_menu_toggle .lwm_menu-content .lwm_menu-item{height:56px}#lwm_menu_toggle .lwm_menu-content .lwm_menu-item:last-child{flex:0 0 42px;display:flex;justify-content:center;align-items:center}#lwm_menu_toggle .lwm_menu-content .lwm_menu-item:nth-child(2){flex:0 0 115px;display:flex;justify-content:center;align-items:center}#lwm_menu_toggle .lwm_menu-content .lwm_menu-item:first-child{flex-grow:1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}#lwm_menu_toggle .lwm_menu-content .lwm_menu-item:first-child i{font-size:2em;width:35px;text-align:center}i.icon-galaxy{width:28px;height:28px;background-size:100% 100%;background-image:url("https://raw.githubusercontent.com/j0Shi82/last-war-manager/c9ba9890b2f490e4204fe2f6fe849c3a633d2cd2/assets/galaxy.png")}.headerBox{padding-top:0;height:180px;display:flex;margin:0;width:100%}.profileImage{top:0;left:0;overflow:hidden;order:1;flex:0 0 170px;margin-left:5px;margin-right:5px;margin-bottom:2px;background:none;background-image:none;background-color:#4290a157;border-radius:60px 60px 10px 10px}.profileInfo{padding:0;text-align:center;overflow:hidden;text-overflow:ellipsis;margin-left:5px;margin-right:5px}#profileImageBox{float:none;margin-right:0;margin:5px auto 0;width:120px;height:120px;overflow:hidden;z-index:2;background-size:cover;border-radius:60px}#profileImageBox>svg{display:none}.menu{margin-left:0;width:unset;text-align:unset;order:2;flex:1 0 0;display:flex !important;position:static !important;flex-direction:column;padding:5px;justify-content:space-between}.first_line,.secound_line{margin-top:0;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}#Footer{order:1;flex:0 0 180px;height:unset}.resourceBoxs{margin:0;padding:0;width:180px;float:none}.resourceBox{width:170px;margin-left:5px;margin-right:5px;margin-bottom:2px;font-size:14px;background:none;background-image:none;background-color:#4290a157;border-radius:10px;height:75px}.resourceBox .lwm-resourceClock,.resourceBox .lwm-resourceCapacity{position:static;font-size:1em}.resourceBox .lwm-resourceAmount{position:static;font-size:1.25em}.resourceBox .lwm-resourcePerc{position:static;top:0;left:0}.resourceBox img{opacity:1}.resourceProgressBar{background-size:100% 100%;width:140px}ul.loadbarConstruction,ul.loadbarResearch{display:flex;width:98%;margin-left:1%;padding-left:0;padding-right:0}ul.loadbar{display:flex;width:90%;margin-left:5%;padding-left:0;padding-right:0;-webkit-margin-before:unset;-webkit-padding-before:unset;margin-top:-5px}ul.loadbarConstruction li,ul.loadbarResearch li,ul.loadbar li{flex:1 1 1px;width:unset}.galaxyView{background-size:100% 100%;background-repeat:no-repeat;width:170px;margin-right:5px;margin-left:5px;height:100px;background-color:#4290a157;border-radius:10px}#Content{order:2;flex-grow:3;flex-shrink:1;flex-basis:0;height:unset;margin:0;margin-bottom:50px}.middleContent{background-image:none;background:none;width:96%;height:unset;margin-left:2%;margin-right:0;margin-top:0;float:none}#all{width:100%;height:unset;top:0;left:0;clip-path:none;-webkit-clip-path:none}.pageContent{height:unset;overflow-y:initial;overflow-x:auto;padding-right:0}table,tr,td,th{border:1px solid rgba(124,243,241,0.5);border-collapse:collapse}.resourceProgressBarPlanet{width:unset;background-size:100% 100%}.resourceProgressBarPlanet ul.loadbar{-webkit-margin-before:2px}.planetButtonMain{background-color:#4290a157;font-size:18px;font-weight:bold;white-space:normal}.wordBreak{word-break:normal}#constructionPageDiv tr>td:first-child,#schiffskomponentenDiv tr>td:first-child,#productionDiv tr>td:first-child:not(.roheisenVariable),#researchPageDiv tr>td:first-child:not(.roheisenVariable),#verteidigungDiv tr>td:first-child:not(.roheisenVariable),#handelspostenDiv tr>td:first-child:not(.roheisenVariable),#recyclingDefenceDiv tr>td:first-child:not(.roheisenVariable),#raumdockDiv tr>td:first-child,#changeFlottenDiv tr>td:first-child{word-break:break-all;min-width:50px;background-color:#4290a157}tr th:first-child,#lwm_resourceTotal th,#ShipTable>tbody>tr>td:first-child,#EngineTable>tbody>tr>td:first-child,#ComponentTable>tbody>tr>td:first-child,#researchPageDiv>table>tbody>tr>td:first-child,.hideCommponetShips td:first-child,#AllItems>tbody>tr>td:first-child{min-width:50px;background-color:#4290a157;word-break:break-all}.timeConstructionTd,.timeResearchTd{flex-direction:row;flex-wrap:wrap;align-content:center;justify-content:space-evenly}.defaultButton,.greenButton,.yellowButton,.redButton{margin:0}#saveLinks{padding-top:10px;padding-bottom:10px;text-align:center}.formButtonSpionage,.formButton,.formButtonNewMessage,.buttonGalaxyView,.formButtonGalaxyView{width:125px !important;height:25px !important;line-height:25px !important}.formButtonSpionage,.formButtonNewMessage{margin-top:5px !important;margin-bottom:5px !important}.buttonAccount{width:150px !important;height:25px !important;line-height:25px !important;margin-top:5px !important;margin-bottom:5px !important}.menu_box,.buttonAccount,.navButton,.navBigButton,.formButtonNewMessage,.formButton,.formButtonSpionage,.buttonGalaxyView,.formButtonGalaxyView{border-radius:5px;margin:1px;border:2px groove #7cf3f1;font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu_box:hover,.buttonAccount:hover,.navButton:hover,.navBigButton:hover,.formButtonNewMessage:hover,.formButton:hover,.formButtonSpionage:hover,.buttonGalaxyView:hover,.formButtonGalaxyView:hover{background-color:#cdd21c57}.menu_box,.buttonAccount,.formButtonNewMessage,.formButton,.formButtonSpionage,.buttonGalaxyView,.formButtonGalaxyView{background:none;background-image:none !important;background-color:#4290a157}.menu_box{width:120px !important;height:22px;line-height:22px;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center}.navButton,.bigNavButton{background:none;background-image:none !important;background-color:#242d6f8f;width:150px !important;height:22px !important;line-height:22px !important;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;padding-right:5px}.headerOfGalaxyViewPage .formButtonGalaxyView{width:20px !important}.headerOfGalaxyViewPage .formButtonGalaxyView i{line-height:2em}.menu_box.inactive{border:2px groove rgba(124,243,241,0.25);background-color:none;color:rgba(124,243,253,0.25);pointer-events:none;cursor:default}.menu_box i+span{margin-left:5px;margin-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu_box i{margin-left:5px}.navButton i,.bigNavButton i{margin-left:5px;margin-right:5px}.activeBox{background:none;background-image:none !important;background-color:#cdd21c57}.lightRedBackgroundGalaxyView{background-color:#6b1919;background:#6b1919}.hisMessage{background-color:#7399dc}.hisMessage::before{border-color:transparent #7399dc transparent transparent}.buttonRow{height:unset}@media (max-width: 600px){.headerOfGalaxyViewPage input,#inboxContent .formButton,#inboxContent .formButtonNewMessage{width:80px !important}.headerOfGalaxyViewPage .buttonGalaxyView{width:50px !important}}@media (max-width: 850px){.navButton,.navButton.bigNavButton{width:120px !important;line-height:22px !important;height:22px !important;font-size:12px !important}.buttonAccount,.formButtonNewMessage,.formButton,.formButtonSpionage,.buttonGalaxyView,.formButtonGalaxyView{width:125px !important;font-size:12px !important}#tradeOfferDiv .formButton{width:100px !important}.menu_box{width:100px !important;font-size:12px !important}td.roheisenVariable,td.kristallVariable,td.frubinVariable,td.orizinVariable,td.frurozinVariable,td.goldVariable{font-size:10px;word-break:break-all}}.raumdock-arrow-left,.arrow-left,.spionage-arrow-left,.arrow-left-recycle{border-top:12px solid transparent;border-bottom:12px solid transparent;border-right:20px solid #7cf3fd;margin-top:0 !important}.raumdock-arrow-right,.arrow-right,.spionage-arrow-right,.arrow-right-recycle{border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:20px solid #7cf3fd;margin-top:0 !important}input[type="number"]{text-align:center;margin:0}[id*="InputNumber"],.inputNumberDiv{display:flex;justify-content:center;flex-wrap:nowrap;align-items:center}#changeFlottenDiv td[id*="InputNumber"]{display:table-cell}.inputNumberDiv span{margin-left:2px;margin-right:2px;font-size:14px}@media (max-width: 850px){#handelspostenDiv input[type="number"],#verteidigungDiv input[type="number"],#productionDiv input[type="number"],#raumdockDiv input[type="number"]{width:30px !important}}#raumdockDiv .inputNumberDiv,#spionageDiv .inputNumberDiv{display:flex;justify-content:space-between;align-items:center}.inputNumberDiv .fa-check-circle{color:#6ac468;cursor:pointer;font-size:2em}.inputNumberDiv .fa-ban{color:#c46868;cursor:pointer;font-size:2em}.shipNameProduction,.headerProduction{font-size:inherit;background:none;background-image:none;background-color:#4290a157;min-width:50px}table+table{margin-top:5px}th,th.wordBreak{word-break:break-all}th.resursiUnos{display:table-cell !important}#ComponentTable tr:not([id]):not(:nth-child(3)){display:none !important}#ComponentTable tr:not([id]):nth-child(3) td,#AllItems th,#headerMaintable th,#EngineTable tr:nth-child(2),#ShipTable tr:nth-child(2),#planetTable tr:nth-child(6n-5),#constructionPageDiv th,td.constructionName,#researchPageDiv th,#tradeOfferDiv th,#newTradeOfferDiv th,#raumdockDiv th,#lwm_tradeStats th,#changeFlottenDiv th,#messagesListTableInbox>tbody>tr:first-child,#lwm_folottenbewegungenPageDiv table tr:first-child,#divTabele1 table tr:first-child,#divTabele2 table tr:first-child,#galaxyViewInfoTable th,#observationenDiv th,#calendarDiv th,#tableForChangingPlanet tr{word-break:break-all;background-color:#4290a157}#tradeOfferDiv th{background-color:#4290a157;word-break:normal !important}.hideCommponetShips .bla{display:flex;justify-content:center}.hideCommponetShips .bla input{width:25px;margin:0}#planetText{margin:0}#galaxyViewDiv{margin-top:5px}#lwm_folottenbewegungenPageDiv tr>td:not(:nth-last-child(1)):not(:nth-last-child(2)):not(:first-child){display:none}#lwm_folottenbewegungenPageDiv select{width:25%}#lwm_folottenbewegungenPageDiv b{text-decoration:underline}#lwm_folottenbewegungenPageDiv i{float:left;margin-top:2px;width:1.5em}#planetTable>tbody>tr:nth-child(1)>td:nth-child(4),#planetTable>tbody>tr:nth-child(1)>td:nth-child(5),#planetTable>tbody>tr:nth-child(1)>th:nth-child(4),#planetTable>tbody>tr:nth-child(1)>th:nth-child(5),#planetTable>tbody>tr:nth-child(2)>td:nth-child(4),#planetTable>tbody>tr:nth-child(2)>td:nth-child(5),#planetTable>tbody>tr:nth-child(2)>th:nth-child(4),#planetTable>tbody>tr:nth-child(2)>th:nth-child(5),#planetTable>tbody>tr:nth-child(5n-3)>td:nth-child(4),#planetTable>tbody>tr:nth-child(5n-3)>td:nth-child(5),#planetTable>tbody>tr:nth-child(5n-3)>th:nth-child(4),#planetTable>tbody>tr:nth-child(5n-3)>th:nth-child(5){display:none}#t1DIV,#t2DIV,#t3DIV{display:table-row !important}#lwm_selectAllShips{margin-left:5px}.createShipButton{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.createShipButton:hover{background-color:#cdd21c57}.inboxPage{display:flex;flex-flow:column}#messagesListTableInbox{margin-bottom:5px}.messages{width:90%;border:1px solid #7cf3f1;border-radius:10px;padding:2%;height:unset;overflow-y:auto}.messages a{color:#32eccf;font-weight:bold}#veticalLink{width:100%;text-align:center;height:unset;margin-bottom:5px}#inboxContent{width:100%}.inboxDeleteMessageButtons{display:flex;justify-content:flex-start;flex-wrap:wrap;width:50%;margin:0;float:left}.inboxNextPageButtons{display:flex;justify-content:flex-end;flex-wrap:wrap;width:50%;margin:0;float:right}.buttonRowInbox,.buttonRowNextPageInbox{height:unset;width:unset;float:none}.newMessageInbox textarea{width:90%}#inboxContent .controller{display:flex;align-items:center;justify-content:center}#DefenseGraph{background:url(https://last-war.de/images/Defense.jpg);background-size:100% 100%;background-repeat:no-repeat;height:400px}#DefenseGraph #layer1,#DefenseGraph #layer2,#DefenseGraph #layer3,#DefenseGraph #layer4{float:none;text-align:unset;padding:0;margin:0;font-size:14px}#DefenseGraph #layer1{width:80%;left:10%;top:3%}#DefenseGraph #layer2{width:80%;top:25%;left:10%}#DefenseGraph #layer3{width:100%;top:40%}#DefenseGraph #layer3 #layer3_right{font-size:10px;width:45%;margin-left:5%;padding:0;margin-top:2%}#DefenseGraph #layer3 #layer3_left{width:45%;text-align:center;margin-right:5%;height:unset}#DefenseGraph #layer4{width:100%;top:60%;left:0%}#DefenseGraph #layer4>div:first-child{width:80%}#DefenseGraph #layer4 #plasma{width:40%;margin:0;text-align:right;margin-top:3%}#DefenseGraph #layer4 #anti{width:40%;text-align:left;margin-top:3%;margin-right:0}#upgradeDefenceDiv button[onclick*="upgradeDefenceFunction"]{display:flex;justify-content:center;align-items:center}#recyclingDefenceDiv td[id*="InputNumber"]{width:100% !important}.big_img_alt{width:auto;max-width:500px;height:auto;position:absolute;z-index:1;background-color:#092a3d;margin-bottom:1px;font-weight:bold;font-size:12px;font-style:italic;border-radius:10px;text-align:justify;padding-left:10px;padding-right:10px}.loader{border:16px solid #7cf3f1;border-top:16px solid #1a3f4a;border-radius:50%;width:120px;height:120px;animation:spin 2s linear infinite;margin:0 auto}.loader.lwm-firstload{width:250px;height:250px;border-width:25px}.lwm-firstload.wrapper{position:absolute;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:10000;top:0;background-color:rgba(0,0,0,0.75)}.lwm-firstload.wrapper .lwm-firstload.status{width:100%;text-align:center;height:25px;line-height:25px;font-size:1.5em;font-weight:700}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}#lwm_tradeStats{margin-bottom:20px}#tradeOfferDiv tr.empty.green{background-color:#3baf11}@media (max-width: 850px){#newTradeOfferDiv .lwm-trade-coords{font-size:1.5em}}#newTradeOfferDiv th input:nth-child(1){width:25px !important}#newTradeOfferDiv th input:nth-child(2){width:30px !important}#newTradeOfferDiv th input:nth-child(3){width:25px !important}#newTradeOfferDiv th:nth-child(2){white-space:nowrap}#newTradeOfferDiv td{text-align:center;padding:5px !important}#newTradeOfferDiv td:nth-child(1),#newTradeOfferDiv td:nth-child(3){word-break:break-all}#newTradeOfferDiv select{margin-left:5px}#newTradeOfferDiv td input{background-repeat:no-repeat;background-size:contain;width:90%;margin-bottom:0 !important;margin-top:0 !important}#newTradeOfferDiv td input#my_eisen,#newTradeOfferDiv td input#his_eisen{background-image:url(https://last-war.de/images/main_screen/footer/R1.png)}#newTradeOfferDiv td input#my_kristall,#newTradeOfferDiv td input#his_kristall{background-image:url(https://last-war.de/images/main_screen/footer/R2.png)}#newTradeOfferDiv td input#my_frubin,#newTradeOfferDiv td input#his_frubin{background-image:url(https://last-war.de/images/main_screen/footer/R3.png)}#newTradeOfferDiv td input#my_orizin,#newTradeOfferDiv td input#his_orizin{background-image:url(https://last-war.de/images/main_screen/footer/R4.png)}#newTradeOfferDiv td input#my_frurozin,#newTradeOfferDiv td input#his_frurozin{background-image:url(https://last-war.de/images/main_screen/footer/R5.png)}#newTradeOfferDiv td input#my_gold,#newTradeOfferDiv td input#his_gold{background-image:url(https://last-war.de/images/main_screen/footer/R6.png)}#newTradeOfferDiv td .lwm-res-offer-wrap{width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:10px}#newTradeOfferDiv td .lwm-res-offer-wrap:first-child{margin-top:10px}#newTradeOfferDiv td .lwm-res-offer-wrap i{cursor:pointer}#tradeOfferComment{border:1px solid #7cf3fd !important}#attaksInfo{color:#fff;background-color:#c70000 !important}.pageContent .flottenViewDiv #firstTable{width:unset !important}.flottenViewDiv a:hover{color:#fff;background-color:#242d6f8f}#lwm_fleet_timer_wrapper{margin-top:20px;border:1px solid rgba(124,243,241,0.5);display:flex;flex-wrap:wrap;justify-content:space-between}#lwm_fleet_timer_wrapper>div{flex:1;margin:5px;text-align:center}#lwm_fleet_timer_wrapper div,#lwm_fleet_timer_wrapper select,#lwm_fleet_timer_wrapper input{height:20px}#lwm_fleet_timer_wrapper .lwm_preselect{font-weight:bold;background-color:#7cf3fd;color:#0c3046}iframe#lwmSettings{left:0 !important;top:0 !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;border:1px solid transparent !important;background:#00000080 !important;background-color:#00000080 !important}.planetGraph{margin-top:1%}.planetGraph:nth-child(2n-1){margin-right:2%}@media (max-width: 700px){.planetGraph{margin-top:1%;margin-right:0;width:100%}}.actionClass{font-size:0.75em}.flottenKommandoAction,.newTradeOfferAction,.spionagePlanetenscannerAction,.spionageObservationsAction,.changePlanetAction{background-image:none}.headerOfGalaxyViewPage{margin-bottom:5px;padding:5px;border:1px solid rgba(124,243,241,0.5);border-collapse:collapse}.headerOfGalaxyViewPage input{width:unset;float:none;border-color:unset;border-radius:5px;border-width:0;margin-top:0%;height:29px;background-color:#4290a157;color:#7cf3fd;text-align:center}.headerOfGalaxyViewPage input::-webkit-input-placeholder,.headerOfGalaxyViewPage input::placeholder{color:#7cf3fd80}.headerOfGalaxyViewPage .col-4{text-align:right}#tableForChangingPlanet #left,#tableForChangingPlanet #right{cursor:pointer}#tableForChangingPlanet .row{justify-content:space-evenly;align-items:center}#galaxy_view_search{margin-right:2px;margin-left:2px;font-size:14px}.inputSearchGalaxyValDiv{display:flex;justify-content:center;flex-wrap:nowrap;align-items:center}#divTabele2{margin-top:20px}#aktuelleProduktionPageDiv .fa-ban{color:rgba(255,0,0,0.75)}.shipNameProduction i{color:rgba(255,0,0,0.75);cursor:pointer;float:left;margin-left:5px;margin-right:5px}#productionDiv button[onclick*="delete"]{border:0 !important}#productionDiv table i.fa-ban{color:rgba(255,0,0,0.75)}.tableFilters_content{display:flex;flex-wrap:wrap;justify-content:center}.tableFilters{margin-bottom:20px;border:1px solid #7cf3f1}.tableFilters_header{color:#c7fbff;text-align:center;background-color:#4290a157;border-bottom:1px solid #7cf3f1}[id*="ProductionButtonShip"] button{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}#upgrade_ship_filters .tableFilters_content{text-align:center;padding:2px}#rohstoffeDiv>.rohstoffeTableClass>tbody>tr{display:flex;flex-wrap:wrap;justify-content:space-evenly;height:unset !important}#rohstoffeDiv>.rohstoffeTableClass>tbody>tr>td{width:unset !important;flex:0 0 300px;height:250px !important}#lwm_resourceTotal{margin-bottom:20px}#AccountInfo{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-evenly}#AccountInfo>div{margin:0;width:unset;height:unset;float:none}.friendsLis{flex:0 0 100%}#bankDiv>div{width:100% !important;margin:0 !important}@media (max-width: 850px){#calendarDiv tr td:nth-child(1){word-break:break-all}#calendarDiv tr td:nth-child(1){min-width:50px}#calendarDiv tr td:nth-child(2){min-width:25px}}#uberPageDiv table{overflow:hidden}@media (max-width: 850px){tr[data-coords]>td:not(#BuildingClock):not(#BuildingClock2){word-break:break-all}}.lwm-memo-container:not(.lwm-memo-container-inline){position:absolute;z-index:1000;width:80%;left:10%;height:80vh;top:10vh}.lwm-memo-container.lwm-memo-container-inline{width:100%}.lwm-memo-container.lwm-memo-container-inline .lwm-memo-body{height:initial}.lwm-memo-container.lwm-memo-container-inline .lwm-memo-body .lwm-memo-text{height:20vh}.lwm-memo-container .lwm-memo-menu{background:#000;height:50px;display:flex;padding:0 10px;align-items:center;justify-content:space-between}.lwm-memo-container .lwm-memo-menu .lwm-memo-close{font-size:3em;cursor:pointer}.lwm-memo-container .lwm-memo-body{height:calc(80vh - 50px)}.lwm-memo-container .lwm-memo-body .lwm-memo-text{width:100%;background-color:#000;color:#7cf3fd;border:1px solid #7cf3fd;height:100%}\n',""]);const s=o},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},484:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",a="minute",i="hour",o="day",s="week",l="month",c="quarter",u="year",d="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=i[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=i.meridiem;if(r){for(var a=1;a<=24;a+=1)if(e.indexOf(r(a,0,t))>-1){n=a>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[a,function(e){this.afternoon=u(e,!1)}],a:[a,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[a,function(e){var t=i.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[a,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.substr(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[a,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function f(n){var r,a;r=n,a=i&&i.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||a[r]||e[r]||a[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=o.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),a=r.year,i=r.month,o=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,h=o||(a||i?1:p.getDate()),m=a||p.getFullYear(),g=0;a&&!i||(g=i>0?i-1:p.getMonth());var y=s||0,v=l||0,_=c||0,b=u||0;return d?new Date(Date.UTC(m,g,h,y,v,_,b+60*d.offset*1e3)):n?new Date(Date.UTC(m,g,h,y,v,_,b)):new Date(m,g,h,y,v,_,b)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),i={}}else if(s instanceof Array)for(var p=s.length,h=1;h<=p;h+=1){o[1]=s[h-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===p&&(this.$d=new Date(""))}else a.call(this,e)}}}()},650:function(e,t){!function(e){"use strict";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=536870912,a=1073741824,i=new WeakMap,o=function(e,t){return function(i){var o=t.get(i),s=void 0===o?i.size:on)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;i.has(s);)s=Math.floor(Math.random()*n);return e(i,s)}}((t=i,function(e,n){return t.set(e,n),n}),i),s=function(e){return function(t){var n=e(t);return t.add(n),n}}(o);e.addUniqueNumber=s,e.generateUniqueNumber=o,Object.defineProperty(e,"__esModule",{value:!0})}(t)},755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,a){"use strict";var i=[],o=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},_=r.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,a,i=(n=n||_).createElement("script");if(i.text=e,t)for(r in b)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,a);n.head.appendChild(i).parentNode.removeChild(i)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var k="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:k,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),H=new RegExp(A+"|>"),W=new RegExp(B),G=new RegExp("^"+L+"$"),U={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},oe=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(O=j.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(e){P={apply:O.length?function(e,t){E.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,a){var i,s,c,u,d,h,y,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!a&&(f(t),t=t||p,m)){if(11!==w&&(d=X.exec(e)))if(i=d[1]){if(9===w){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(v&&(c=v.getElementById(i))&&_(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return P.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!I[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===w&&(H.test(e)||z.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ae):t.setAttribute("id",u=b)),s=(h=o(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+_e(h[s]);y=h.join(",")}try{return P.apply(r,v.querySelectorAll(y)),r}catch(t){I(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(V,"$1"),t,r,a)}function le(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function ce(e){return e[b]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function fe(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 pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:w;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,m=!i(p),w!=p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ie,!1):a.attachEvent&&a.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=Z.test(h.compareDocumentPosition),_=t||Z.test(h.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},C=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&_(w,e)?-1:t==p||t.ownerDocument==w&&_(w,t)?1:u?$(u,e)-$(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e==p?-1:t==p?1:a?-1:i?1:u?$(u,e)-$(u,t):0;if(a===i)return fe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?fe(o[r],s[r]):o[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!I[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){I(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),_(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var a=r.attrHandle[t.toLowerCase()],i=a&&N.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],a=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(C),d){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return u=null,e},a=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:U,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=o(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+A+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=se.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=i!==o?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s,_=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&v){for(_=(p=(c=(u=(d=(f=g)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(_=p=0)||h.pop();)if(1===f.nodeType&&++_&&f===t){u[e]=[x,p,_];break}}else if(v&&(_=p=(c=(u=(d=(f=t)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===_)for(;(f=++p&&f&&f[m]||(_=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++_||(v&&((u=(d=f[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[x,_]),f!==t)););return(_-=a)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[b]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=$(e,i[o])]=!(n[r]=i[o])})):function(e){return a(e,0,n)}):a}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[b]?ce((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===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===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return J.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:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,c=null!=t;s-1&&(i[c]=!(o[c]=d))}}else y=xe(y===o?y.splice(h,y.length):y),a?a(null,o,y,l):P.apply(o,y)}))}function Se(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=be((function(e){return e===t}),s,!0),d=be((function(e){return $(t,e)>-1}),s,!0),f=[function(e,n,r){var a=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,a}];l1&&we(f),l>1&&_e(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(V,"$1"),n,l0,a=e.length>0,i=function(i,o,s,l,u){var d,h,g,y=0,v="0",_=i&&[],b=[],w=c,k=i||a&&r.find.TAG("*",u),S=x+=null==w?1:Math.random()||.1,D=k.length;for(u&&(c=o==p||o||u);v!==D&&null!=(d=k[v]);v++){if(a&&d){for(h=0,o||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,o||p,s)){l.push(d);break}u&&(x=S)}n&&((d=!g&&d)&&y--,i&&_.push(d))}if(y+=v,n&&v!==y){for(h=0;g=t[h++];)g(_,b,o,s);if(i){if(y>0)for(;v--;)_[v]||b[v]||(b[v]=M.call(l));b=xe(b)}P.apply(l,b),u&&!i&&b.length>0&&y+t.length>1&&se.uniqueSort(l)}return u&&(x=S,c=w),_};return n?ce(i):i}(i,a)),s.selector=e}return s},l=se.select=function(e,t,n,a){var i,l,c,u,d,f="function"==typeof e&&e,p=!a&&o(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=U.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(a=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(i,1),!(e=a.length&&_e(l)))return P.apply(n,a),n;break}}return(f||s(e,p))(a,t,!m,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=b.split("").sort(C).join("")===b,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(F,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);S.find=T,S.expr=T.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=T.uniqueSort,S.text=T.getText,S.isXMLDoc=T.isXML,S.contains=T.contains,S.escapeSelector=T.escape;var I=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&S(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=S.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,t,n){return y(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return u.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,"string"==typeof e&&N.test(e)?S(e):e||[],!1).length}});var P,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:j.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),M.test(r[1])&&S.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=_.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,P=S(_);var $=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&S.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?S.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(S(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var a=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=S.filter(r,a)),this.length>1&&(F[e]||S.uniqueSort(a),$.test(e)&&a.reverse()),this.pushStack(a)}}));var L=/[^\x20\t\r\n\f]+/g;function R(e){return e}function B(e){throw e}function q(e,t,n,r){var a;try{e&&y(a=e.promise)?a.call(e).done(t).fail(n):e&&y(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(L)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,a,i=[],o=[],s=-1,l=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var a=y(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,a){var i=0;function o(e,t,n,a){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e=i&&(n!==B&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(S.Deferred.getStackHook&&(u.stackTrace=S.Deferred.getStackHook()),r.setTimeout(u))}}return S.Deferred((function(r){t[0][3].add(o(0,r,y(a)?a:R,r.notifyWith)),t[1][3].add(o(0,r,y(e)?e:R)),t[2][3].add(o(0,r,y(n)?n:B))})).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},i={};return S.each(t,(function(e,r){var o=r[2],s=r[5];a[r[1]]=o.add,s&&o.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=o.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),i=S.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(q(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||y(a[n]&&a[n].then)))return i.then();for(;n--;)q(a[n],o(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&V.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var Y=S.Deferred();function z(){_.removeEventListener("DOMContentLoaded",z),r.removeEventListener("load",z),S.ready()}S.fn.ready=function(e){return Y.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||Y.resolveWith(_,[S]))}}),S.ready.then=Y.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?r.setTimeout(S.ready):(_.addEventListener("DOMContentLoaded",z),r.addEventListener("load",z));var H=function(e,t,n,r,a,i,o){var s=0,l=e.length,c=null==n;if("object"===x(n))for(s in a=!0,n)H(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,y(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,a=n.shift(),i=S._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){S.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:S.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),S.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,ve=/^$|^module$|\/(?:java|ecma)script/i;he=_.createDocumentFragment().appendChild(_.createElement("div")),(me=_.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",g.option=!!he.lastChild;var _e={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?S.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n",""]);var xe=/<|&#?\w+;/;function ke(e,t,n,r,a){for(var i,o,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)a&&a.push(i);else if(c=se(i),o=be(d.appendChild(i),"script"),c&&we(o),n)for(u=0;i=o[u++];)ve.test(i.type||"")&&n.push(i);return d}var Se=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Te(){return!1}function Ie(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Te;else if(!a)return e;return 1===i&&(o=a,a=function(e){return S().off(e),o.apply(this,arguments)},a.guid=o.guid||(o.guid=S.guid++)),e.each((function(){S.event.add(this,t,a,r,n)}))}function Ne(e,t,n){n?(Z.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var r,a,i=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Z.set(this,t,i),r=n(this,t),this[t](),i!==(a=Z.get(this,t))||r?Z.set(this,t,!1):a={},i!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else i.length&&(Z.set(this,t,{value:S.event.trigger(S.extend(i[0],S.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&S.event.add(e,t,De)}S.event={global:{},add:function(e,t,n,r,a){var i,o,s,l,c,u,d,f,p,h,m,g=Z.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&S.find.matchesSelector(oe,a),n.guid||(n.guid=S.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(L)||[""]).length;c--;)p=m=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},u=S.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&S.expr.match.needsContext.test(a),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,u):f.push(u),S.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,c,u,d,f,p,h,m,g=Z.hasData(e)&&Z.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(p=m=(s=Se.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=f.length;i--;)u=f[i],!a&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[c],n,r,!0);S.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),l=S.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],u=S.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],o={},n=0;n-1:S.find(a,this,null,[c]).length),o[a]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l\s*$/g;function Pe(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(a in Z.remove(t,"handle events"),s)for(n=0,r=s[a].length;n1&&"string"==typeof h&&!g.checkClone&&Me.test(h))return e.each((function(a){var i=e.eq(a);m&&(t[0]=h.call(this,a,i.html())),Le(i,t,n,r)}));if(f&&(i=(a=ke(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=S.map(be(a,"script"),je)).length;d0&&we(o,!l&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,a=S.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)a[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return H(this,(function(e){return void 0===e?S.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 Le(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)}))},prepend:function(){return Le(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Le(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Le(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&&(S.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return H(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&&!Oe.test(e)&&!_e[(ye.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function nt(e,t,n){var r=qe(e),a=(!g.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),i=a,o=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&O(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===S.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+tt(e,t,n||(a?"border":"content"),i,r,o)+"px"}function rt(e,t,n,r,a){return new rt.prototype.init(e,t,n,r,a)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=Q(t),l=Ke.test(t),c=e.style;if(l||(t=Qe(s)),o=S.cssHooks[t]||S.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:c[t];"string"==(i=typeof n)&&(a=ae.exec(n))&&a[1]&&(n=ue(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var a,i,o,s=Q(t);return Ke.test(t)||(t=Qe(s)),(o=S.cssHooks[t]||S.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=ze(e,t,r)),"normal"===a&&t in Xe&&(a=Xe[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Ve(e,Ze,(function(){return nt(e,t,r)}))},set:function(e,n,r){var a,i=qe(e),o=!g.scrollboxSize()&&"absolute"===i.position,s=(o||r)&&"border-box"===S.css(e,"boxSizing",!1,i),l=r?tt(e,t,r,s,i):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),l&&(a=ae.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),et(0,n,l)}}})),S.cssHooks.marginLeft=He(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+ie[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(S.cssHooks[e+t].set=et)})),S.fn.extend({css:function(e,t){return H(this,(function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=qe(e),a=t.length;o1)}}),S.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(S.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=S.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=rt.prototype.init,S.fx.step={};var at,it,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){it&&(!1===_.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,S.fx.interval),S.fx.tick())}function ct(){return r.setTimeout((function(){at=void 0})),at=Date.now()}function ut(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=ie[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function dt(e,t,n){for(var r,a=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?S.prop(e,t,n):(1===i&&S.isXMLDoc(e)||(a=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(L);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||S.find.attr;ht[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=ht[o],ht[o]=a,a=null!=n(e,t,r)?o:null,ht[o]=i),a}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(L)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}S.fn.extend({prop:function(e,t){return H(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&S.isXMLDoc(e)||(t=S.propFix[t]||t,a=S.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.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)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,l=0;if(y(e))return this.each((function(t){S(this).addClass(e.call(this,t,vt(this)))}));if((t=_t(e)).length)for(;n=this[l++];)if(a=vt(n),r=1===n.nodeType&&" "+yt(a)+" "){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,l=0;if(y(e))return this.each((function(t){S(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;n=this[l++];)if(a=vt(n),r=1===n.nodeType&&" "+yt(a)+" "){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,a,i,o;if(r)for(a=0,i=S(this),o=_t(e);t=o[a++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;S.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=y(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,S(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=S.map(a,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=S.valHooks[a.type]||S.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(bt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,a){var i,o,s,l,c,u,d,f,h=[n||_],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[m]||{},a||!d.trigger||!1!==d.trigger.apply(n,t))){if(!a&&!d.noBubble&&!v(n)){for(l=d.delegateType||m,wt.test(l+m)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(n.ownerDocument||_)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(o=h[i++])&&!e.isPropagationStopped();)f=o,e.type=i>1?l:d.bindType||m,(u=(Z.get(o,"events")||Object.create(null))[e.type]&&Z.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&J(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!J(n)||c&&y(n[m])&&!v(n)&&((s=n[c])&&(n[c]=null),S.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,xt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,xt),S.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=Z.access(r,t);a||r.addEventListener(e,n,!0),Z.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=Z.access(r,t)-1;a?Z.access(r,t,a):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}}));var kt=r.location,St={guid:Date.now()},Dt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/\[\]$/,It=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var a;if(Array.isArray(t))S.each(t,(function(t,a){n||Tt.test(e)?r(e,a):Ot(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(a in t)Ot(e+"["+a+"]",t[a],n,r)}S.param=function(e,t){var n,r=[],a=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){a(this.name,this.value)}));else for(n in e)Ot(n,e[n],t,a);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(It,"\r\n")}})):{name:t.name,value:n.replace(It,"\r\n")}})).get()}});var Mt=/%20/g,Et=/#.*$/,Pt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Ft=/^\/\//,At={},Lt={},Rt="*/".concat("*"),Bt=_.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(L)||[];if(y(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var a={},i=e===Lt;function o(s){var l;return a[s]=!0,S.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||a[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Yt(e,t){var n,r,a=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Bt.href=kt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,S.ajaxSettings),t):Yt(S.ajaxSettings,e)},ajaxPrefilter:qt(At),ajaxTransport:qt(Lt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,i,o,s,l,c,u,d,f,p=S.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?S(h):S.event,g=S.Deferred(),y=S.Callbacks("once memory"),v=p.statusCode||{},b={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=jt.exec(i);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),D(0,t),this}};if(g.promise(k),p.url=((e||p.url||kt.href)+"").replace(Ft,kt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(L)||[""],null==p.crossDomain){l=_.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Vt(At,p,t,k),c)return k;for(d in(u=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!$t.test(p.type),a=p.url.replace(Et,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Mt,"+")):(f=p.url.slice(a.length),p.data&&(p.processData||"string"==typeof p.data)&&(a+=(Dt.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(a=a.replace(Pt,"$1"),f=(Dt.test(a)?"&":"?")+"_="+St.guid+++f),p.url=a+f),p.ifModified&&(S.lastModified[a]&&k.setRequestHeader("If-Modified-Since",S.lastModified[a]),S.etag[a]&&k.setRequestHeader("If-None-Match",S.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Rt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,k,p)||c))return k.abort();if(x="abort",y.add(p.complete),k.done(p.success),k.fail(p.error),n=Vt(Lt,p,t,k)){if(k.readyState=1,u&&m.trigger("ajaxSend",[k,p]),c)return k;p.async&&p.timeout>0&&(s=r.setTimeout((function(){k.abort("timeout")}),p.timeout));try{c=!1,n.send(b,D)}catch(e){if(c)throw e;D(-1,e)}}else D(-1,"No Transport");function D(e,t,o,l){var d,f,_,b,w,x=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(b=function(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,k,o)),!d&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(e,t,n,r){var a,i,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=c[l+" "+i]||c["* "+i]))for(a in c)if((s=a.split(" "))[1]===i&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[a]:!0!==c[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,b,k,d),d?(p.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(S.lastModified[a]=w),(w=k.getResponseHeader("etag"))&&(S.etag[a]=w)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=b.state,f=b.data,d=!(_=b.error))):(_=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",d?g.resolveWith(h,[f,x,k]):g.rejectWith(h,[k,x,_]),k.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,p,d?f:_]),y.fireWith(h,[k,x]),u&&(m.trigger("ajaxComplete",[k,p]),--S.active||S.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,a){return y(n)&&(a=a||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:a,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=S(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 y(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Ht=S.ajaxSettings.xhr();g.cors=!!Ht&&"withCredentials"in Ht,g.ajax=Ht=!!Ht,S.ajaxTransport((function(e){var t,n;if(g.cors||Ht&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[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=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.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()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.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 S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=S("