text: /*!
   * jQuery JavaScript Library v1.11.3
   * http://jquery.com/
   *
   * Includes Sizzle.js
   * http://sizzlejs.com/
   *
   * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2015-04-28T16:19Z
   */
  function codeAddress(t){geocoder=new google.maps.Geocoder,geocoder.geocode({address:t},function(t,e){if(e==google.maps.GeocoderStatus.OK){var n={zoom:12,center:t[0].geometry.location,mapTypeId:google.maps.MapTypeId.ROADMAP};map=new google.maps.Map(document.getElementById("map"),n);new google.maps.Marker({map:map,position:t[0].geometry.location})}})}function makeLanguageMap(t){var e=t;console.log(e);var n=new google.maps.Map(e[0],{zoom:6,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(41.894,-87.6339),styles:[{stylers:[{saturation:-75},{lightness:75}]}]}),r=zipCodes(),i=new google.maps.OverlayView;i.onAdd=function(){var t=d3.select(this.getPanes().overlayLayer).append("div").attr("class","SvgOverlay"),e=t.append("svg"),n=e.append("g").attr("class","AdminDivisions");i.draw=function(){var t=this,e=t.getProjection(),i=function(t){var n=new google.maps.LatLng(t[1],t[0]),r=e.fromLatLngToDivPixel(n);return[r.x+4e3,r.y+4e3]};path=d3.geo.path().projection(i),n.selectAll("path").data(r.features).attr("d",path).enter().append("svg:path").attr("d",path)}},i.setMap(n)}function zipCodes(){return{type:"FeatureCollection",crs:{type:"name",properties:{name:"urn:ogc:def:crs:OGC:1.3:CRS84"}},features:[{type:"Feature",properties:{OBJECTID:33,ZIP:"60647",SHAPE_AREA:106052287.488,SHAPE_LEN:42720.0444058},geometry:{type:"Polygon",coordinates:[[[-87.67762151065273,41.91775780106293],[-87.67746629571164,41.91058209819496],[-87.7069604725969,41.91011532575937],[-87.72633069402345,41.90988669780163],[-87.72697869215129,41.93179036266598],[-87.67813528714407,41.93228468026096],[-87.67832298712192,41.93040112955285],[-87.67762151065273,41.91775780106293]]]}},{type:"Feature",properties:{OBJECTID:34,ZIP:"60639",SHAPE_AREA:127476050.762,SHAPE_LEN:48103.7827213},geometry:{type:"Polygon",coordinates:[[[-87.72633069402345,41.90988669780163],[-87.7755993056143,41.90925355631015],[-87.78500237831085,41.90914785471672],[-87.78568917028204,41.93100170287869],[-87.76624636717396,41.93127729948606],[-87.72697869215129,41.93179036266598],[-87.72633069402345,41.90988669780163]]]}},{type:"Feature",properties:{OBJECTID:35,ZIP:"60707",SHAPE_AREA:45069038.4783,SHAPE_LEN:27288.6096123},geometry:{type:"Polygon",coordinates:[[[-87.78500237831085,41.90914785471672],[-87.80574541300004,41.908839351811366],[-87.80649498336545,41.9308152443811],[-87.78568917028204,41.93100170287869],[-87.78500237831085,41.90914785471672]]]}},{type:"Feature",properties:{OBJECTID:36,ZIP:"60622",SHAPE_AREA:70853834.3797,SHAPE_LEN:42527.9896789},geometry:{type:"Polygon",coordinates:[[[-87.66706869824915,41.888851885226295],[-87.67684593341573,41.88872043391319],[-87.6770523575745,41.89591163274882],[-87.70655631674119,41.895553406994],[-87.7069604725969,41.91011532575937],[-87.67746629571164,41.91058209819496],[-87.67762151065273,41.91775780106293],[-87.66796131456849,41.91793230546034],[-87.66706869824915,41.888851885226295]]]}},{type:"Feature",properties:{OBJECTID:37,ZIP:"60651",SHAPE_AREA:99039621.2518,SHAPE_LEN:47970.1401531},geometry:{type:"Polygon",coordinates:[[[-87.70655631674119,41.895553406994],[-87.74150484586266,41.89509452050752],[-87.77512939136753,41.89471192726694],[-87.7755993056143,41.90925355631015],[-87.72633069402345,41.90988669780163],[-87.7069604725969,41.91011532575937],[-87.70655631674119,41.895553406994]]]}},{type:"Feature",properties:{OBJECTID:38,ZIP:"60611",SHAPE_AREA:23506055.7304,SHAPE_LEN:34689.3506306},geometry:{type:"Polygon",coordinates:[[[-87.60521381815562,41.88845373971652],[-87.61797368435256,41.888310444306605],[-87.62509484945656,41.88890524303686],[-87.62800211408252,41.88747255928341],[-87.62819939216614,41.896677393699406],[-87.62862837382696,41.903180182826624],[-87.62265583864804,41.90325418640669],[-87.61923485610032,41.90109871911515],[-87.6136862072343,41.893129017572775],[-87.61203014132984,41.893326887407326],[-87.61017819325288,41.89621397505648],[-87.60242598461961,41.896371287640584],[-87.60235195551182,41.8932645903277],[-87.6098223824712,41.89314576498287],[-87.60948553118381,41.88938999332204],[-87.60521381815562,41.88845373971652]]]}},{type:"Feature",properties:{OBJECTID:39,ZIP:"60638",SHAPE_AREA:166166339.096,SHAPE_LEN:67710.6467392},geometry:{type:"Polygon",coordinates:[[[-87.74198475331036,41.793030961620566],[-87.74144708839881,41.7882944534937],[-87.74254196445126,41.78621867976028],[-87.74216537158418,41.774780214359566],[-87.80080568313231,41.77369747378081],[-87.80162605978401,41.79799516759767],[-87.79718700079218,41.79940197884286],[-87.75273612515504,41.80018714588153],[-87.75307704025202,41.81331033818429],[-87.74465492004414,41.815963220372254],[-87.74476347891759,41.82203184359894],[-87.73848582749842,41.82211992450228],[-87.73857655395196,41.820534366725326],[-87.74346534021541,41.818759576025855],[-87.74280199448877,41.794854218396104],[-87.74198475331036,41.793030961620566]]]}},{type:"Feature",properties:{OBJECTID:40,ZIP:"60652",SHAPE_AREA:128309832.185,SHAPE_LEN:48187.9498796},geometry:{type:"Polygon",coordinates:[[[-87.68304800178436,41.757407421929145],[-87.68251404680944,41.735527284914845],[-87.7410672834495,41.734523557554375],[-87.74093262833384,41.73686511138111],[-87.74160028614553,41.75650929725644],[-87.72217499617767,41.756901750698034],[-87.71598342897474,41.75736767366585],[-87.70144404646125,41.75714493874015],[-87.68304800178436,41.757407421929145]]]}},{type:"Feature",properties:{OBJECTID:1,ZIP:"60626",SHAPE_AREA:49170578.9623,SHAPE_LEN:33983.9133065},geometry:{type:"Polygon",coordinates:[[[-87.65464857816559,41.998295211826644],[-87.68013563615538,41.997895193380884],[-87.68044758631031,42.01944699983277],[-87.67311772295756,42.01938558968793],[-87.67705606003923,42.02303858671131],[-87.66512638320444,42.022947611636226],[-87.66398035166105,42.019075978406995],[-87.6607878403146,42.01175274629697],[-87.65645956850683,42.007421873155536],[-87.65739408856723,42.00627948753047],[-87.65686508325682,42.002520623406724],[-87.65464857816559,41.998295211826644]]]}},{type:"Feature",properties:{OBJECTID:2,ZIP:"60645",SHAPE_AREA:62181473.5197,SHAPE_LEN:32075.5994211},geometry:{type:"Polygon",coordinates:[[[-87.68044758631031,42.01944699983277],[-87.68013563615538,41.997895193380884],[-87.70945365959359,41.997387542279405],[-87.70947531083267,42.00451890544773],[-87.70901447070555,42.019131107926995],[-87.6899911840989,42.01953129275485],[-87.68044758631031,42.01944699983277]]]}},{type:"Feature",properties:{OBJECTID:3,ZIP:"60660",SHAPE_AREA:37984388.8422,SHAPE_LEN:27307.8138361},geometry:{type:"Polygon",coordinates:[[[-87.65053908658341,41.983832715454604],[-87.67945621709912,41.983217627286145],[-87.68013563615538,41.997895193380884],[-87.65464857816559,41.998295211826644],[-87.65423209082192,41.98852663972277],[-87.65105608326769,41.98576429964138],[-87.65053908658341,41.983832715454604]]]}},{type:"Feature",properties:{OBJECTID:4,ZIP:"60640",SHAPE_AREA:77305245.7089,SHAPE_LEN:48985.8713041},geometry:{type:"Polygon",coordinates:[[[-87.65053908658341,41.983832715454604],[-87.65047512841525,41.97945745504732],[-87.64636059958028,41.97684309773821],[-87.64625827198427,41.973467559453276],[-87.6430125668959,41.96849436681348],[-87.64048626512424,41.966924914232955],[-87.63199476152266,41.965068381569154],[-87.63172564127267,41.9623172373895],[-87.63684601878285,41.96287565915441],[-87.64204194713447,41.96193300818527],[-87.67895915701529,41.9614582373202],[-87.67945621709912,41.983217627286145],[-87.65053908658341,41.983832715454604]]]}},{type:"Feature",properties:{OBJECTID:5,ZIP:"60625",SHAPE_AREA:105830918.023,SHAPE_LEN:42524.1104776},geometry:{type:"Polygon",coordinates:[[[-87.67895915701529,41.9614582373202],[-87.72782815882834,41.960946831939765],[-87.72843258207179,41.98283151590766],[-87.70829249483883,41.98307499309862],[-87.67945621709912,41.983217627286145],[-87.67895915701529,41.9614582373202]]]}},{type:"Feature",properties:{OBJECTID:6,ZIP:"60641",SHAPE_AREA:113903341.112,SHAPE_LEN:42682.9829469},geometry:{type:"Polygon",coordinates:[[[-87.72697869215129,41.93179036266598],[-87.76624636717396,41.93127729948606],[-87.76724277364227,41.96048439199068],[-87.72782815882834,41.960946831939765],[-87.72697869215129,41.93179036266598]]]}},{type:"Feature",properties:{OBJECTID:7,ZIP:"60657",SHAPE_AREA:63547755.9216,SHAPE_LEN:45646.4880277},geometry:{type:"Polygon",coordinates:[[[-87.63047162663881,41.93332773516303],[-87.63734572930655,41.93293119328685],[-87.67813528714407,41.93228468026096],[-87.67855255292741,41.946864290802566],[-87.64738004733348,41.94732464555315],[-87.63894283924151,41.950088279816995],[-87.63742144959849,41.94581939342825],[-87.64045954132558,41.944831904290346],[-87.63711550030501,41.93982634363168],[-87.63385627181606,41.9403849870319],[-87.63047162663881,41.93332773516303]]]}},{type:"Feature",properties:{OBJECTID:8,ZIP:"60615",SHAPE_AREA:66565454.8469,SHAPE_LEN:38321.3137692},geometry:{type:"Polygon",coordinates:[[[-87.57691454500856,41.795105419667024],[-87.5796885229186,41.79527947215653],[-87.60738298517133,41.79497098885521],[-87.61114215151105,41.79319978537374],[-87.6146526974659,41.79449212963337],[-87.6256913418945,41.7943002808928],[-87.62608507474263,41.80923641690936],[-87.59176880031193,41.80977786594697],[-87.58722166025487,41.81150895410389],[-87.58515769877789,41.8072152863544],[-87.58001729365202,41.8035866907407],[-87.58028255418212,41.79962643562677],[-87.57691454500856,41.795105419667024]]]}},{type:"Feature",properties:{OBJECTID:9,ZIP:"60621",SHAPE_AREA:104746821.074,SHAPE_LEN:42299.9203908},geometry:{type:"Polygon",coordinates:[[[-87.62490520480276,41.765453442384874],[-87.62475798648023,41.75818157060492],[-87.65392322032224,41.75759345104813],[-87.65486462469404,41.79380198610146],[-87.6256913418945,41.7943002808928],[-87.62490520480276,41.765453442384874]]]}},{type:"Feature",properties:{OBJECTID:10,ZIP:"60636",SHAPE_AREA:104114706.691,SHAPE_LEN:42448.2828439},geometry:{type:"Polygon",coordinates:[[[-87.65392322032224,41.75759345104813],[-87.67334463133201,41.75773423650821],[-87.68304800178436,41.757407421929145],[-87.68404177816446,41.79387658243771],[-87.68321132091532,41.79344383182169],[-87.65486462469404,41.79380198610146],[-87.65392322032224,41.75759345104813]]]}},{type:"Feature",properties:{OBJECTID:11,ZIP:"60649",SHAPE_AREA:80526076.0889,SHAPE_LEN:55092.8632931},geometry:{type:"Polygon",coordinates:[[[-87.54328438551549,41.75205497340361],[-87.58591824452341,41.75150401191467],[-87.58633006877534,41.76615075384508],[-87.58645804458847,41.78061940223709],[-87.57992518023016,41.77960748995225],[-87.57579274429331,41.78069699228373],[-87.56979247502657,41.78128853728582],[-87.57307959874635,41.780250549235845],[-87.57527963251378,41.77786712950398],[-87.57480934856774,41.77577452459793],[-87.56881267202476,41.77640405178927],[-87.56565238410434,41.77292275925561],[-87.5636410032027,41.77208381901972],[-87.56233762655587,41.769000925884264],[-87.55939214264568,41.766782971648574],[-87.5605136777487,41.7653898074015],[-87.55410598178133,41.760813859908154],[-87.54870890302634,41.75872620738015],[-87.54385300622104,41.76011165996782],[-87.54060672773377,41.75730511105256],[-87.54376165446884,41.75538264015624],[-87.54328438551549,41.75205497340361]]]}},{type:"Feature",properties:{OBJECTID:12,ZIP:"60617",SHAPE_AREA:452837422.002,SHAPE_LEN:102528.036078},geometry:{type:"Polygon",coordinates:[[[-87.52483647988883,41.67355149353264],[-87.54957475575787,41.67359258549322],[-87.55582418345215,41.67375498856573],[-87.5836302572425,41.673594937371995],[-87.58503664556285,41.715783178401246],[-87.58512689012022,41.72233905841181],[-87.58539456134018,41.72511145991926],[-87.58591824452341,41.75150401191467],[-87.54328438551549,41.75205497340361],[-87.5404896672049,41.75186445030787],[-87.53137823993897,41.74828362874831],[-87.52985663812093,41.74060731819941],[-87.52894998299811,41.732048819296296],[-87.52468841216411,41.73109349962365],[-87.52446675508607,41.72189779496492],[-87.5270028823161,41.716948032111134],[-87.52866858893314,41.71568645697759],[-87.52643276033588,41.71231346764663],[-87.52840800713089,41.71080310060061],[-87.52453540812778,41.708482292155736],[-87.52483647988883,41.67355149353264]]]}},{type:"Feature",properties:{OBJECTID:13,ZIP:"60643",SHAPE_AREA:183013076.262,SHAPE_LEN:59337.8074397},geometry:{type:"Polygon",coordinates:[[[-87.64166503057324,41.67053954026016],[-87.66115004395132,41.670335132565334],[-87.66136505811417,41.677544267987216],[-87.68069641211072,41.677256559155374],[-87.68184169176007,41.71366175671266],[-87.68206472767893,41.72093742605024],[-87.64321360341565,41.7214574474475],[-87.64166503057324,41.67053954026016]]]}},{type:"Feature",properties:{OBJECTID:14,ZIP:"60633",SHAPE_AREA:187526657.189,SHAPE_LEN:59703.2158155},geometry:{type:"Polygon",coordinates:[[[-87.5836302572425,41.673594937371995],[-87.55582418345215,41.67375498856573],[-87.54957475575787,41.67359258549322],[-87.52483647988883,41.67355149353264],[-87.5251658706182,41.644543123304466],[-87.58478628999484,41.64470318543946],[-87.58489805886812,41.65561557907041],[-87.58899966634972,41.6603916322179],[-87.6008112933962,41.674334043725324],[-87.5836302572425,41.673594937371995]]]}},{type:"Feature",properties:{OBJECTID:15,ZIP:"60643",SHAPE_AREA:3136688.22496,SHAPE_LEN:7175.09216765},geometry:{type:"Polygon",coordinates:[[[-87.64124500458583,41.658095136842746],[-87.64698846474175,41.65763048982079],[-87.64721678584485,41.6631594086075],[-87.6414209345714,41.66324511300686],[-87.64124500458583,41.658095136842746]]]}},{type:"Feature",properties:{OBJECTID:16,ZIP:"60612",SHAPE_AREA:106718949.386,SHAPE_LEN:42663.1966757},geometry:{type:"Polygon",coordinates:[[[-87.66706869824915,41.888851885226295],[-87.66638354027455,41.86686150050944],[-87.69590748704378,41.86651063434706],[-87.70566918657458,41.86640531487238],[-87.70655631674119,41.895553406994],[-87.6770523575745,41.89591163274882],[-87.67684593341573,41.88872043391319],[-87.66706869824915,41.888851885226295]]]}},{type:"Feature",properties:{OBJECTID:17,ZIP:"60624",SHAPE_AREA:99418122.471,SHAPE_LEN:40394.4100077},geometry:{type:"Polygon",coordinates:[[[-87.70566918657458,41.86640531487238],[-87.73998200704413,41.86595917216003],[-87.74088223718503,41.88768670787048],[-87.74150484586266,41.89509452050752],[-87.70655631674119,41.895553406994],[-87.70566918657458,41.86640531487238]]]}},{type:"Feature",properties:{OBJECTID:18,ZIP:"60644",SHAPE_AREA:99092221.5388,SHAPE_LEN:40030.8385293},geometry:{type:"Polygon",coordinates:[[[-87.73998200704413,41.86595917216003],[-87.77413885166969,41.86545915146041],[-87.77512939136753,41.89471192726694],[-87.74150484586266,41.89509452050752],[-87.74088223718503,41.88768670787048],[-87.73998200704413,41.86595917216003]]]}},{type:"Feature",properties:{OBJECTID:19,ZIP:"60603",SHAPE_AREA:4560228.98203,SHAPE_LEN:13672.6822885},geometry:{type:"Polygon",coordinates:[[[-87.61634557739805,41.87836369763635],[-87.62067715150484,41.8783317131553],[-87.62079142520622,41.880873371255056],[-87.6243521836821,41.87955429815429],[-87.63375370721343,41.87938640562265],[-87.63382427852976,41.88194570481995],[-87.6162384566099,41.8822071354761],[-87.61634557739805,41.87836369763635]]]}},{type:"Feature",properties:{OBJECTID:20,ZIP:"60605",SHAPE_AREA:36301276.3485,SHAPE_LEN:37973.3461051},geometry:{type:"Polygon",coordinates:[[[-87.61624717144059,41.877099742744804],[-87.61621190255308,41.86889870260757],[-87.61329517720227,41.868491482915545],[-87.6126878430926,41.86675308956792],[-87.60613379827511,41.86709662944461],[-87.60747192088502,41.86464690693454],[-87.60659665987896,41.85341071524241],[-87.60992294799243,41.85398476424431],[-87.60934467736504,41.856865604988094],[-87.61067484940283,41.86065092362831],[-87.60964508604057,41.8635077076354],[-87.61048037295166,41.86586465209195],[-87.61266899047214,41.8658427314064],[-87.6134274053847,41.86285455486317],[-87.61239201391112,41.86039983180661],[-87.63356613283526,41.86013820469548],[-87.63369350552244,41.87684967138165],[-87.61624717144059,41.877099742744804]]]}},{type:"Feature",properties:{OBJECTID:21,ZIP:"60653",SHAPE_AREA:67759827.8103,SHAPE_LEN:34316.3615428},geometry:{type:"Polygon",coordinates:[[[-87.58722166025487,41.81150895410389],[-87.59176880031193,41.80977786594697],[-87.62608507474263,41.80923641690936],[-87.62664431307162,41.83101370118545],[-87.60270769018115,41.83135008107253],[-87.59757848885745,41.826050381607146],[-87.5970201893128,41.82222928153558],[-87.59261564016457,41.8183425481308],[-87.59215728535975,41.816580487074674],[-87.58875678248778,41.81227578539791],[-87.58722166025487,41.81150895410389]]]}},{type:"Feature",properties:{OBJECTID:22,ZIP:"60609",SHAPE_AREA:213490325.264,SHAPE_LEN:58540.9204127},geometry:{type:"Polygon",coordinates:[[[-87.62608507474263,41.80923641690936],[-87.6256913418945,41.7943002808928],[-87.65486462469404,41.79380198610146],[-87.68321132091532,41.79344383182169],[-87.68404177816446,41.79387658243771],[-87.68503413166714,41.83028136493908],[-87.64610613208227,41.830750421784145],[-87.62664431307162,41.83101370118545],[-87.62608507474263,41.80923641690936]]]}},{type:"Feature",properties:{OBJECTID:23,ZIP:"60666",SHAPE_AREA:282085137.575,SHAPE_LEN:101876.553747},geometry:{type:"MultiPolygon",coordinates:[[[[-87.87589256830583,41.973894174717856],[-87.87596190704454,41.972986994996624],[-87.88077274690376,41.972854552288645],[-87.8807884433466,41.95720045429258],[-87.89289910478315,41.958050565289014],[-87.89287730497381,41.95079377223176],[-87.90377631760347,41.950617998429],[-87.91229808211114,41.95237142820902],[-87.91473118961949,41.952026155439626],[-87.91522778824424,41.95684476109624],[-87.92217072901664,41.958383519932305],[-87.92216869371543,41.9538726981664],[-87.9263529352795,41.9548641106741],[-87.9263569555304,41.9590168456924],[-87.93208232731924,41.95994204190701],[-87.93225426792272,41.96479938921408],[-87.93971807613647,41.964284939374124],[-87.939930425408,41.99349140482944],[-87.93652820924126,41.998793048738186],[-87.93332228601376,42.002005919346644],[-87.92546315249719,42.00226009328537],[-87.92544530509426,42.00104519998424],[-87.9205158851418,42.00113106256605],[-87.92051082330542,42.004953439546014],[-87.90767354614538,42.005248674327866],[-87.90768044549327,42.00892183494151],[-87.90575034132418,42.00899059350951],[-87.89429464689378,42.00570217348029],[-87.89038549315187,42.0023001297248],[-87.8974409446555,42.0015462483815],[-87.89745824030169,42.000532195315735],[-87.88939787922749,41.99938760062399],[-87.88453326061457,41.9981950455347],[-87.88454287397988,41.9950989108808],[-87.88035483896421,41.99522985246279],[-87.87373064145088,41.97665700085053],[-87.87588277919261,41.976603440155905],[-87.87589256830583,41.973894174717856]]],[[[-87.93989440741794,41.998127009367785],[-87.94011409141375,42.00078930843167],[-87.93514385957707,42.00088910586565],[-87.93707949459173,41.99858573506698],[-87.93989440741794,41.998127009367785]]]]}},{type:"Feature",properties:{OBJECTID:24,ZIP:"60618",SHAPE_AREA:141235867.545,SHAPE_LEN:47847.080382},geometry:{type:"Polygon",coordinates:[[[-87.67855255292741,41.946864290802566],[-87.67813528714407,41.93228468026096],[-87.72697869215129,41.93179036266598],[-87.72782815882834,41.960946831939765],[-87.67895915701529,41.9614582373202],[-87.67855255292741,41.946864290802566]]]}},{type:"Feature",properties:{OBJECTID:25,ZIP:"60616",SHAPE_AREA:109667069.368,SHAPE_LEN:45823.5398375},geometry:{type:"Polygon",coordinates:[[[-87.60270769018115,41.83135008107253],[-87.62664431307162,41.83101370118545],[-87.64610613208227,41.830750421784145],[-87.64670555295366,41.85991136233344],[-87.63356613283526,41.86013820469548],[-87.61239201391112,41.86039983180661],[-87.61285259402908,41.856355828547485],[-87.61112421857128,41.85480078167209],[-87.60919854572587,41.85044845302111],[-87.60910670561465,41.84480329441237],[-87.60455305096752,41.833349310203026],[-87.60270769018115,41.83135008107253]]]}},{type:"Feature",properties:{OBJECTID:26,ZIP:"60602",SHAPE_AREA:4847124.8171,SHAPE_LEN:14448.1749926},geometry:{type:"Polygon",coordinates:[[[-87.6162384566099,41.8822071354761],[-87.63382427852976,41.88194570481995],[-87.63389494809157,41.88446946553066],[-87.60996885305812,41.88449336586058],[-87.61273610822612,41.88405851275118],[-87.6162384566099,41.8822071354761]]]}},{type:"Feature",properties:{OBJECTID:27,ZIP:"60601",SHAPE_AREA:9166245.79985,SHAPE_LEN:19804.5821088},geometry:{type:"Polygon",coordinates:[[[-87.60521381815562,41.88845373971652],[-87.60984644482396,41.88797042342405],[-87.60996885305812,41.88449336586058],[-87.63389494809157,41.88446946553066],[-87.63397066191094,41.88752780630388],[-87.62800211408252,41.88747255928341],[-87.62509484945656,41.88890524303686],[-87.61797368435256,41.888310444306605],[-87.60521381815562,41.88845373971652]]]}},{type:"Feature",properties:{OBJECTID:28,ZIP:"60608",SHAPE_AREA:176505462.522,SHAPE_LEN:53169.2177202},geometry:{type:"Polygon",coordinates:[[[-87.64670555295366,41.85991136233344],[-87.64610613208227,41.830750421784145],[-87.68503413166714,41.83028136493908],[-87.69479284658729,41.83007507753857],[-87.69590748704378,41.86651063434706],[-87.66638354027455,41.86686150050944],[-87.64691834977039,41.86715411121098],[-87.64670555295366,41.85991136233344]]]}},{type:"Feature",properties:{OBJECTID:29,ZIP:"60607",SHAPE_AREA:64664293.9426,SHAPE_LEN:39143.6395171},geometry:{type:"Polygon",coordinates:[[[-87.63962333812339,41.87677112685042],[-87.63369350552244,41.87684967138165],[-87.63356613283526,41.86013820469548],[-87.64670555295366,41.85991136233344],[-87.64691834977039,41.86715411121098],[-87.66638354027455,41.86686150050944],[-87.66706869824915,41.888851885226295],[-87.64758257645049,41.88904905892191],[-87.64720242766032,41.8766717079501],[-87.63962333812339,41.87677112685042]]]}},{type:"Feature",properties:{OBJECTID:30,ZIP:"60661",SHAPE_AREA:9357755.68017,SHAPE_LEN:13132.5654896},geometry:{type:"Polygon",coordinates:[[[-87.63997325240341,41.889047988654745],[-87.63962333812339,41.87677112685042],[-87.64720242766032,41.8766717079501],[-87.64758257645049,41.88904905892191],[-87.63997325240341,41.889047988654745]]]}},{type:"Feature",properties:{OBJECTID:31,ZIP:"60606",SHAPE_AREA:6766410.89809,SHAPE_LEN:12040.4402354},geometry:{type:"Polygon",coordinates:[[[-87.63397066191094,41.88752780630388],[-87.63389494809157,41.88446946553066],[-87.63382427852976,41.88194570481995],[-87.63375370721343,41.87938640562265],[-87.63369350552244,41.87684967138165],[-87.63962333812339,41.87677112685042],[-87.63997325240341,41.889047988654745],[-87.63696260207178,41.88913246089007],[-87.63397066191094,41.88752780630388]]]}},{type:"Feature",properties:{OBJECTID:32,ZIP:"60614",SHAPE_AREA:94460631.8068,SHAPE_LEN:50587.3473804},geometry:{type:"Polygon",coordinates:[[[-87.62466887241288,41.91124904291943],[-87.64827159105876,41.910919617894415],[-87.65686080173332,41.910784508840166],[-87.65807723108054,41.91410806986303],[-87.66132892681644,41.91617911532538],[-87.66389595819031,41.91589010440834],[-87.6652389806318,41.918407522715775],[-87.66796131456849,41.91793230546034],[-87.67762151065273,41.91775780106293],[-87.67832298712192,41.93040112955285],[-87.67813528714407,41.93228468026096],[-87.63734572930655,41.93293119328685],[-87.63047162663881,41.93332773516303],[-87.63099791583525,41.92989988637278],[-87.62959750470125,41.92657983370929],[-87.62990313105232,41.923482437516945],[-87.62628807895283,41.915757718147795],[-87.62326942802069,41.91380740248501],[-87.62466887241288,41.91124904291943]]]}},{type:"Feature",properties:{OBJECTID:41,ZIP:"60631",SHAPE_AREA:107117591.88,SHAPE_LEN:68289.7515766},geometry:{type:"Polygon",coordinates:[[[-87.79064804869046,42.00039913412135],[-87.78745975925817,41.99691088068481],[-87.78773507997336,41.98289868590692],[-87.81343200475827,41.982675406419794],[-87.8156319697133,41.98159329209348],[-87.84598616554075,41.9809476327577],[-87.85594408795399,41.98097827745677],[-87.85663945098267,41.98431869845363],[-87.85553746992996,41.987942724295564],[-87.84953106501379,41.98829818913386],[-87.82332742144064,41.984508987871756],[-87.82140444560075,41.99692164334579],[-87.82125346132204,42.01135686084303],[-87.82009826516055,42.01192559432823],[-87.82006893052433,42.015569637715906],[-87.82120976997669,42.01864248913309],[-87.80654721808075,42.018964573891786],[-87.80675853310711,42.000837361100416],[-87.80107850061803,42.001540133052266],[-87.79948090831505,41.99998534504623],[-87.7971242320712,42.00093965896656],[-87.79064804869046,42.00039913412135]]]}},{type:"Feature",properties:{OBJECTID:42,ZIP:"60646",SHAPE_AREA:117890054.124,SHAPE_LEN:62633.1398208},geometry:{type:"Polygon",coordinates:[[[-87.79064804869046,42.00039913412135],[-87.7820031244743,42.00449771994966],[-87.78872277215326,42.01199671419078],[-87.77926623065522,42.011991715083475],[-87.77910380897757,42.01544191212577],[-87.77697221726515,42.01538558016022],[-87.7770532449244,42.01198232893074],[-87.77334945786941,42.01195828282246],[-87.77035947702942,42.00619408543105],[-87.76754347368961,42.004705538984446],[-87.76746186904207,42.00832165113004],[-87.76166410142442,42.008272342058945],[-87.76227012993199,42.00168724108183],[-87.75290008141543,41.99730098841384],[-87.7289089780132,41.99723894525195],[-87.72843258207179,41.98283151590766],[-87.74302387688198,41.98260895949929],[-87.75243688612245,41.98322530063326],[-87.76468657656162,41.98295485836007],[-87.78773507997336,41.98289868590692],[-87.78745975925817,41.99691088068481],[-87.79064804869046,42.00039913412135]]]}},{type:"Feature",properties:{OBJECTID:43,ZIP:"60628",SHAPE_AREA:345241692.171,SHAPE_LEN:83748.9919899},geometry:{type:"Polygon",coordinates:[[[-87.5836302572425,41.673594937371995],[-87.6008112933962,41.674334043725324],[-87.58899966634972,41.6603916322179],[-87.60213137393367,41.659160257626155],[-87.61770958476096,41.65910495303724],[-87.62202411107222,41.66213023526543],[-87.6262744928589,41.66166198515711],[-87.63125515159734,41.65781895342706],[-87.63629408807257,41.657393896142544],[-87.64124500458583,41.658095136842746],[-87.6414209345714,41.66324511300686],[-87.64166503057324,41.67053954026016],[-87.64321360341565,41.7214574474475],[-87.62372919454214,41.72167067383661],[-87.58512689012022,41.72233905841181],[-87.58503664556285,41.715783178401246],[-87.5836302572425,41.673594937371995]]]}},{type:"Feature",properties:{OBJECTID:44,ZIP:"60827",SHAPE_AREA:48551330.3923,SHAPE_LEN:28833.9637574},geometry:{type:"Polygon",coordinates:[[[-87.58478628999484,41.64470318543946],[-87.61721571390926,41.64458401960891],[-87.61722999619482,41.65027559260113],[-87.62031639775637,41.65088648939717],[-87.61770958476096,41.65910495303724],[-87.60213137393367,41.659160257626155],[-87.58899966634972,41.6603916322179],[-87.58489805886812,41.65561557907041],[-87.58478628999484,41.64470318543946]]]}},{type:"Feature",properties:{OBJECTID:45,ZIP:"60630",SHAPE_AREA:131073763.12,SHAPE_LEN:49198.9402832},geometry:{type:"Polygon",coordinates:[[[-87.72843258207179,41.98283151590766],[-87.72782815882834,41.960946831939765],[-87.76724277364227,41.96048439199068],[-87.78680541704792,41.960217030025994],[-87.7867723864227,41.96842700605597],[-87.78800942341113,41.968888235481636],[-87.78773507997336,41.98289868590692],[-87.76468657656162,41.98295485836007],[-87.75243688612245,41.98322530063326],[-87.74302387688198,41.98260895949929],[-87.72843258207179,41.98283151590766]]]}},{type:"Feature",properties:{OBJECTID:46,ZIP:"60642",SHAPE_AREA:47961494.4,SHAPE_LEN:31296.2271441},geometry:{type:"Polygon",coordinates:[[[-87.66706869824915,41.888851885226295],[-87.66796131456849,41.91793230546034],[-87.6652389806318,41.918407522715775],[-87.66389595819031,41.91589010440834],[-87.66132892681644,41.91617911532538],[-87.65807723108054,41.91410806986303],[-87.65686080173332,41.910784508840166],[-87.64827159105876,41.910919617894415],[-87.64774504935511,41.89639901637042],[-87.64758257645049,41.88904905892191],[-87.66706869824915,41.888851885226295]]]}},{type:"Feature",properties:{OBJECTID:48,ZIP:"60604",SHAPE_AREA:4294901.99439,SHAPE_LEN:12245.8084015},geometry:{type:"Polygon",coordinates:[[[-87.63375370721343,41.87938640562265],[-87.6243521836821,41.87955429815429],[-87.62079142520622,41.880873371255056],[-87.62067715150484,41.8783317131553],[-87.61634557739805,41.87836369763635],[-87.61624717144059,41.877099742744804],[-87.63369350552244,41.87684967138165],[-87.63375370721343,41.87938640562265]]]}},{type:"Feature",properties:{OBJECTID:47,ZIP:"60656",SHAPE_AREA:89515884.463,SHAPE_LEN:84430.9732159},geometry:{type:"Polygon",coordinates:[[[-87.87596190704454,41.972986994996624],[-87.87589256830583,41.973894174717856],[-87.86201121152192,41.97389159148536],[-87.86168375126907,41.97534931592904],[-87.85594408795399,41.98097827745677],[-87.84598616554075,41.9809476327577],[-87.8156319697133,41.98159329209348],[-87.81343200475827,41.982675406419794],[-87.78773507997336,41.98289868590692],[-87.78800942341113,41.968888235481636],[-87.80252467330958,41.968773116808926],[-87.80715600827077,41.96826957895858],[-87.80706671914167,41.97453820667503],[-87.81691746584389,41.97428895367136],[-87.81695335963454,41.97066019999831],[-87.81898673923735,41.97060777524077],[-87.81939803710989,41.97422256128238],[-87.82673538219055,41.97403363368366],[-87.83172914520254,41.9730560652563],[-87.83362665013891,41.975368049337455],[-87.83793390231439,41.973843702657774],[-87.83795130226649,41.97134671102483],[-87.84157511920726,41.971975237480336],[-87.8465107927024,41.971886998687935],[-87.84657034907772,41.9664070314773],[-87.83668207931754,41.96659714309233],[-87.8366988647975,41.959360171921496],[-87.85757725573829,41.959189972882776],[-87.8556765723381,41.96284377161571],[-87.85413499498075,41.97116817705737],[-87.85584131158402,41.972586360119294],[-87.85974632917922,41.971597001323794],[-87.86190595995959,41.97333334369732],[-87.87596190704454,41.972986994996624]]]}},{type:"Feature",properties:{OBJECTID:49,ZIP:"60655",SHAPE_AREA:115380139.149,SHAPE_LEN:77392.3226132},geometry:{type:"Polygon",coordinates:[[[-87.68184169176007,41.71366175671266],[-87.68069641211072,41.677256559155374],[-87.68620516191294,41.67720826016001],[-87.68556625563684,41.67962445692334],[-87.68572195709294,41.684475297038055],[-87.69562541518414,41.68433322123719],[-87.69576463273904,41.68807557024016],[-87.6994733473897,41.68793334597299],[-87.70055274104564,41.68426278536214],[-87.70541706471208,41.68418729334537],[-87.70528495987702,41.68057886046002],[-87.7113567245129,41.680441045199835],[-87.71150730441738,41.68409359073348],[-87.73944966370561,41.68363199794516],[-87.73973899345498,41.690859918875034],[-87.72031697145073,41.69128487394116],[-87.72112510698526,41.7131699118109],[-87.71257762325027,41.7132974708319],[-87.7112979706764,41.711491205358605],[-87.71112354103268,41.706073723912986],[-87.70132484961039,41.70617824281459],[-87.70120153807105,41.707083577509366],[-87.69151939157828,41.70720313223757],[-87.69172881655938,41.71356567934867],[-87.68184169176007,41.71366175671266]],[[-87.69602077023484,41.69892817529429],[-87.69576270594204,41.69171534643737],[-87.69100889616772,41.6922834352248],[-87.69123796897836,41.698981851053404],[-87.69602077023484,41.69892817529429]]]}},{type:"Feature",properties:{OBJECTID:50,ZIP:"60659",SHAPE_AREA:69698411.4356,SHAPE_LEN:38931.5266612},geometry:{type:"Polygon",coordinates:[[[-87.67945621709912,41.983217627286145],[-87.70829249483883,41.98307499309862],[-87.72843258207179,41.98283151590766],[-87.7289089780132,41.99723894525195],[-87.70945365959359,41.997387542279405],[-87.68013563615538,41.997895193380884],[-87.67945621709912,41.983217627286145]]]}},{type:"Feature",properties:{OBJECTID:51,ZIP:"60707",SHAPE_AREA:3450671.14336,SHAPE_LEN:7909.89040711},geometry:{type:"Polygon",coordinates:[[[-87.80662355756063,41.9345111843722],[-87.81639040724697,41.93431254343975],[-87.81651876080338,41.93793876634858],[-87.80674682176145,41.937996340866114],[-87.80662355756063,41.9345111843722]]]}},{type:"Feature",properties:{OBJECTID:52,ZIP:"60634",SHAPE_AREA:194062612.162,SHAPE_LEN:77647.3180069},geometry:{type:"Polygon",coordinates:[[[-87.76624636717396,41.93127729948606],[-87.78568917028204,41.93100170287869],[-87.80649498336545,41.9308152443811],[-87.80662355756063,41.9345111843722],[-87.80674682176145,41.937996340866114],[-87.81651876080338,41.93793876634858],[-87.84962055253432,41.93728532656248],[-87.85141194378886,41.9387045723297],[-87.85500439364591,41.94819891642644],[-87.85407255609188,41.951448552593746],[-87.84661243497624,41.95163917711086],[-87.84660472672559,41.95568681375006],[-87.85807878299035,41.95544460001315],[-87.85757725573829,41.959189972882776],[-87.8366988647975,41.959360171921496],[-87.83267783771656,41.95943815152753],[-87.83179302691197,41.95216381287816],[-87.80757380723122,41.952767420264244],[-87.80729059980615,41.953865758764266],[-87.79419714133398,41.9600575789834],[-87.78680541704792,41.960217030025994],[-87.76724277364227,41.96048439199068],[-87.76624636717396,41.93127729948606]]]
  }},{type:"Feature",properties:{OBJECTID:53,ZIP:"60613",SHAPE_AREA:53990894.8848,SHAPE_LEN:31196.3206564},geometry:{type:"Polygon",coordinates:[[[-87.63894283924151,41.950088279816995],[-87.64738004733348,41.94732464555315],[-87.67855255292741,41.946864290802566],[-87.67895915701529,41.9614582373202],[-87.64204194713447,41.96193300818527],[-87.64084524792099,41.95424972835171],[-87.63894283924151,41.950088279816995]]]}},{type:"Feature",properties:{OBJECTID:54,ZIP:"60610",SHAPE_AREA:31598157.0867,SHAPE_LEN:24208.6988788},geometry:{type:"Polygon",coordinates:[[[-87.62819939216614,41.896677393699406],[-87.64774504935511,41.89639901637042],[-87.64827159105876,41.910919617894415],[-87.62466887241288,41.91124904291943],[-87.6248005304382,41.90752618385531],[-87.62265583864804,41.90325418640669],[-87.62862837382696,41.903180182826624],[-87.62819939216614,41.896677393699406]]]}},{type:"Feature",properties:{OBJECTID:55,ZIP:"60654",SHAPE_AREA:15869961.3469,SHAPE_LEN:17119.6988775},geometry:{type:"Polygon",coordinates:[[[-87.62819939216614,41.896677393699406],[-87.62800211408252,41.88747255928341],[-87.63397066191094,41.88752780630388],[-87.63696260207178,41.88913246089007],[-87.63997325240341,41.889047988654745],[-87.64758257645049,41.88904905892191],[-87.64774504935511,41.89639901637042],[-87.62819939216614,41.896677393699406]]]}},{type:"Feature",properties:{OBJECTID:56,ZIP:"60632",SHAPE_AREA:211755252.573,SHAPE_LEN:63253.238669},geometry:{type:"Polygon",coordinates:[[[-87.69479284658729,41.83007507753857],[-87.68503413166714,41.83028136493908],[-87.68404177816446,41.79387658243771],[-87.72364150656084,41.793198717506584],[-87.74198475331036,41.793030961620566],[-87.74280199448877,41.794854218396104],[-87.74346534021541,41.818759576025855],[-87.73857655395196,41.820534366725326],[-87.73848582749842,41.82211992450228],[-87.7387249850337,41.833056629638364],[-87.7242721875764,41.83328513171525],[-87.72411516071058,41.825604863522685],[-87.72175306874412,41.82624517406925],[-87.72179202546131,41.82970418100561],[-87.69479284658729,41.83007507753857]]]}},{type:"Feature",properties:{OBJECTID:57,ZIP:"60623",SHAPE_AREA:155285532.005,SHAPE_LEN:53406.9156168},geometry:{type:"Polygon",coordinates:[[[-87.69479284658729,41.83007507753857],[-87.72179202546131,41.82970418100561],[-87.72175306874412,41.82624517406925],[-87.72411516071058,41.825604863522685],[-87.7242721875764,41.83328513171525],[-87.7387249850337,41.833056629638364],[-87.7391091968033,41.8385482017285],[-87.73998200704413,41.86595917216003],[-87.70566918657458,41.86640531487238],[-87.69590748704378,41.86651063434706],[-87.69479284658729,41.83007507753857]]]}},{type:"Feature",properties:{OBJECTID:58,ZIP:"60629",SHAPE_AREA:211114779.439,SHAPE_LEN:58701.3253749},geometry:{type:"Polygon",coordinates:[[[-87.68304800178436,41.757407421929145],[-87.70144404646125,41.75714493874015],[-87.71598342897474,41.75736767366585],[-87.72217499617767,41.756901750698034],[-87.74160028614553,41.75650929725644],[-87.74216537158418,41.774780214359566],[-87.74254196445126,41.78621867976028],[-87.74144708839881,41.7882944534937],[-87.74198475331036,41.793030961620566],[-87.72364150656084,41.793198717506584],[-87.68404177816446,41.79387658243771],[-87.68304800178436,41.757407421929145]]]}},{type:"Feature",properties:{OBJECTID:59,ZIP:"60620",SHAPE_AREA:211696050.967,SHAPE_LEN:58466.1602979},geometry:{type:"Polygon",coordinates:[[[-87.62372919454214,41.72167067383661],[-87.64321360341565,41.7214574474475],[-87.68206472767893,41.72093742605024],[-87.68251404680944,41.735527284914845],[-87.68304800178436,41.757407421929145],[-87.67334463133201,41.75773423650821],[-87.65392322032224,41.75759345104813],[-87.62475798648023,41.75818157060492],[-87.62372919454214,41.72167067383661]]]}},{type:"Feature",properties:{OBJECTID:60,ZIP:"60637",SHAPE_AREA:125424284.172,SHAPE_LEN:52377.8545408},geometry:{type:"Polygon",coordinates:[[[-87.57691454500856,41.795105419667024],[-87.57901163380225,41.794199683389245],[-87.57962813683133,41.79203555622869],[-87.57638976985201,41.78859088219376],[-87.57731050324935,41.78681316141109],[-87.57609954554619,41.78365145450288],[-87.56979247502657,41.78128853728582],[-87.57579274429331,41.78069699228373],[-87.57992518023016,41.77960748995225],[-87.58645804458847,41.78061940223709],[-87.58633006877534,41.76615075384508],[-87.62490520480276,41.765453442384874],[-87.6256913418945,41.7943002808928],[-87.6146526974659,41.79449212963337],[-87.61114215151105,41.79319978537374],[-87.60738298517133,41.79497098885521],[-87.5796885229186,41.79527947215653],[-87.57691454500856,41.795105419667024]]]}},{type:"Feature",properties:{OBJECTID:61,ZIP:"60619",SHAPE_AREA:167872012.644,SHAPE_LEN:53040.9070778},geometry:{type:"Polygon",coordinates:[[[-87.58591824452341,41.75150401191467],[-87.58539456134018,41.72511145991926],[-87.58512689012022,41.72233905841181],[-87.62372919454214,41.72167067383661],[-87.62475798648023,41.75818157060492],[-87.62490520480276,41.765453442384874],[-87.58633006877534,41.76615075384508],[-87.58591824452341,41.75150401191467]]]}}]}}/*!
   * Bootstrap v3.3.5 (http://getbootstrap.com)
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under the MIT license
   */
  if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e="length"in t&&t.length,n=it.type(t);return"function"===n||it.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function r(t,e,n){if(it.isFunction(e))return it.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return it.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ht.test(e))return it.filter(e,t,n);e=it.filter(e,t)}return it.grep(t,function(t){return it.inArray(t,e)>=0!==n})}function i(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=xt[t]={};return it.each(t.match(bt)||[],function(t,n){e[n]=!0}),e}function a(){pt.addEventListener?(pt.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1)):(pt.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(pt.addEventListener||"load"===event.type||"complete"===pt.readyState)&&(a(),it.ready())}function u(t,e,n){if(void 0===n&&1===t.nodeType){var r="data-"+e.replace(Tt,"-$1").toLowerCase();if(n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Mt.test(n)?it.parseJSON(n):n}catch(i){}it.data(t,e,n)}else n=void 0}return n}function l(t){var e;for(e in t)if(("data"!==e||!it.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,r){if(it.acceptData(t)){var i,o,a=it.expando,s=t.nodeType,u=s?it.cache:t,l=s?t[a]:t[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof e)return l||(l=s?t[a]=X.pop()||it.guid++:a),u[l]||(u[l]=s?{}:{toJSON:it.noop}),("object"==typeof e||"function"==typeof e)&&(r?u[l]=it.extend(u[l],e):u[l].data=it.extend(u[l].data,e)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[it.camelCase(e)]=n),"string"==typeof e?(i=o[e],null==i&&(i=o[it.camelCase(e)])):i=o,i}}function f(t,e,n){if(it.acceptData(t)){var r,i,o=t.nodeType,a=o?it.cache:t,s=o?t[it.expando]:it.expando;if(a[s]){if(e&&(r=n?a[s]:a[s].data)){it.isArray(e)?e=e.concat(it.map(e,it.camelCase)):e in r?e=[e]:(e=it.camelCase(e),e=e in r?[e]:e.split(" ")),i=e.length;for(;i--;)delete r[e[i]];if(n?!l(r):!it.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?it.cleanData([t],!0):nt.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function h(){return!0}function d(){return!1}function p(){try{return pt.activeElement}catch(t){}}function g(t){var e=Lt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){var n,r,i=0,o=typeof t.getElementsByTagName!==St?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==St?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(r=n[i]);i++)!e||it.nodeName(r,e)?o.push(r):it.merge(o,m(r,e));return void 0===e||e&&it.nodeName(t,e)?it.merge([t],o):o}function v(t){Nt.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return it.nodeName(t,"table")&&it.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==it.find.attr(t,"type"))+"/"+t.type,t}function x(t){var e=Zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function E(t,e){for(var n,r=0;null!=(n=t[r]);r++)it._data(n,"globalEval",!e||it._data(e[r],"globalEval"))}function w(t,e){if(1===e.nodeType&&it.hasData(t)){var n,r,i,o=it._data(t),a=it._data(e,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)it.event.add(e,n,s[n][r])}a.data&&(a.data=it.extend({},a.data))}}function S(t,e){var n,r,i;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[it.expando]){i=it._data(e);for(r in i.events)it.removeEvent(e,r,i.handle);e.removeAttribute(it.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,x(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!it.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Nt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function M(e,n){var r,i=it(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(r=t.getDefaultComputedStyle(i[0]))?r.display:it.css(i[0],"display");return i.detach(),o}function T(t){var e=pt,n=Kt[t];return n||(n=M(t,e),"none"!==n&&n||(Gt=(Gt||it("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Gt[0].contentWindow||Gt[0].contentDocument).document,e.write(),e.close(),n=M(t,e),Gt.detach()),Kt[t]=n),n}function A(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function _(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),r=e,i=he.length;i--;)if(e=he[i]+n,e in t)return e;return r}function C(t,e){for(var n,r,i,o=[],a=0,s=t.length;s>a;a++)r=t[a],r.style&&(o[a]=it._data(r,"olddisplay"),n=r.style.display,e?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Ct(r)&&(o[a]=it._data(r,"olddisplay",T(r.nodeName)))):(i=Ct(r),(n&&"none"!==n||!i)&&it._data(r,"olddisplay",i?n:it.css(r,"display"))));for(a=0;s>a;a++)r=t[a],r.style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[a]||"":"none"));return t}function k(t,e,n){var r=ue.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function N(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=it.css(t,n+_t[o],!0,i)),r?("content"===n&&(a-=it.css(t,"padding"+_t[o],!0,i)),"margin"!==n&&(a-=it.css(t,"border"+_t[o]+"Width",!0,i))):(a+=it.css(t,"padding"+_t[o],!0,i),"padding"!==n&&(a+=it.css(t,"border"+_t[o]+"Width",!0,i)));return a}function $(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=te(t),a=nt.boxSizing&&"border-box"===it.css(t,"boxSizing",!1,o);if(0>=i||null==i){if(i=ee(t,e,o),(0>i||null==i)&&(i=t.style[e]),re.test(i))return i;r=a&&(nt.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+N(t,e,n||(a?"border":"content"),r,o)+"px"}function P(t,e,n,r,i){return new P.prototype.init(t,e,n,r,i)}function D(){return setTimeout(function(){de=void 0}),de=it.now()}function H(t,e){var n,r={height:t},i=0;for(e=e?1:0;4>i;i+=2-e)n=_t[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function I(t,e,n){for(var r,i=(be[e]||[]).concat(be["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,e,t))return r}function L(t,e,n){var r,i,o,a,s,u,l,c,f=this,h={},d=t.style,p=t.nodeType&&Ct(t),g=it._data(t,"fxshow");n.queue||(s=it._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,it.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=it.css(t,"display"),c="none"===l?it._data(t,"olddisplay")||T(t.nodeName):l,"inline"===c&&"none"===it.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==T(t.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",nt.shrinkWrapBlocks()||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],ge.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;p=!0}h[r]=g&&g[r]||it.style(t,r)}else l=void 0;if(it.isEmptyObject(h))"inline"===("none"===l?T(t.nodeName):l)&&(d.display=l);else{g?"hidden"in g&&(p=g.hidden):g=it._data(t,"fxshow",{}),o&&(g.hidden=!p),p?it(t).show():f.done(function(){it(t).hide()}),f.done(function(){var e;it._removeData(t,"fxshow");for(e in h)it.style(t,e,h[e])});for(r in h)a=I(p?g[r]:0,r,f),r in g||(g[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function j(t,e){var n,r,i,o,a;for(n in t)if(r=it.camelCase(n),i=e[r],o=t[n],it.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),a=it.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function O(t,e,n){var r,i,o=0,a=ye.length,s=it.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=de||D(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;u>a;a++)l.tweens[a].run(o);return s.notifyWith(t,[l,o,n]),1>o&&u?n:(s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:it.extend({},e),opts:it.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:de||D(),duration:n.duration,tweens:[],createTween:function(e,n){var r=it.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return e?s.resolveWith(t,[l,e]):s.rejectWith(t,[l,e]),this}}),c=l.props;for(j(c,l.opts.specialEasing);a>o;o++)if(r=ye[o].call(l,t,c,l.opts))return r;return it.map(c,I,l),it.isFunction(l.opts.start)&&l.opts.start.call(t,l),it.fx.timer(it.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function R(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(bt)||[];if(it.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function F(t,e,n,r){function i(s){var u;return o[s]=!0,it.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=t===ze;return i(e.dataTypes[0])||!o["*"]&&i("*")}function q(t,e){var n,r,i=it.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&it.extend(!0,t,n),t}function B(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||t.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function z(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function U(t,e,n,r){var i;if(it.isArray(e))it.each(e,function(e,i){n||Ze.test(t)?r(t,i):U(t+"["+("object"==typeof i?e:"")+"]",i,n,r)});else if(n||"object"!==it.type(e))r(t,e);else for(i in e)U(t+"["+i+"]",e[i],n,r)}function W(){try{return new t.XMLHttpRequest}catch(e){}}function J(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function Z(t){return it.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var X=[],V=X.slice,Y=X.concat,Q=X.push,G=X.indexOf,K={},tt=K.toString,et=K.hasOwnProperty,nt={},rt="1.11.3",it=function(t,e){return new it.fn.init(t,e)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,st=/-([\da-z])/gi,ut=function(t,e){return e.toUpperCase()};it.fn=it.prototype={jquery:rt,constructor:it,selector:"",length:0,toArray:function(){return V.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:V.call(this)},pushStack:function(t){var e=it.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return it.each(this,t,e)},map:function(t){return this.pushStack(it.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(V.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:X.sort,splice:X.splice},it.extend=it.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||it.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(i=arguments[s]))for(r in i)t=a[r],n=i[r],a!==n&&(l&&n&&(it.isPlainObject(n)||(e=it.isArray(n)))?(e?(e=!1,o=t&&it.isArray(t)?t:[]):o=t&&it.isPlainObject(t)?t:{},a[r]=it.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},it.extend({expando:"jQuery"+(rt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===it.type(t)},isArray:Array.isArray||function(t){return"array"===it.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!it.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==it.type(t)||t.nodeType||it.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(nt.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?K[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&it.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(at,"ms-").replace(st,ut)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,r){var i,o=0,a=t.length,s=n(t);if(r){if(s)for(;a>o&&(i=e.apply(t[o],r),i!==!1);o++);else for(o in t)if(i=e.apply(t[o],r),i===!1)break}else if(s)for(;a>o&&(i=e.call(t[o],o,t[o]),i!==!1);o++);else for(o in t)if(i=e.call(t[o],o,t[o]),i===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var r=e||[];return null!=t&&(n(Object(t))?it.merge(r,"string"==typeof t?[t]:t):Q.call(r,t)),r},inArray:function(t,e,n){var r;if(e){if(G)return G.call(e,t,n);for(r=e.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;n>r;)t[i++]=e[r++];if(n!==n)for(;void 0!==e[r];)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,a=t.length,s=!n;a>o;o++)r=!e(t[o],o),r!==s&&i.push(t[o]);return i},map:function(t,e,r){var i,o=0,a=t.length,s=n(t),u=[];if(s)for(;a>o;o++)i=e(t[o],o,r),null!=i&&u.push(i);else for(o in t)i=e(t[o],o,r),null!=i&&u.push(i);return Y.apply([],u)},guid:1,proxy:function(t,e){var n,r,i;return"string"==typeof e&&(i=t[e],e=t,t=i),it.isFunction(t)?(n=V.call(arguments,2),r=function(){return t.apply(e||this,n.concat(V.call(arguments)))},r.guid=t.guid=t.guid||it.guid++,r):void 0},now:function(){return+new Date},support:nt}),it.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){K["[object "+e+"]"]=e.toLowerCase()});var lt=/*!
   * Sizzle CSS Selector Engine v2.2.0-pre
   * http://sizzlejs.com/
   *
   * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2014-12-16
   */
  function(t){function e(t,e,n,r){var i,o,a,s,u,l,f,d,p,g;if((e?e.ownerDocument||e:F)!==P&&$(e),e=e||P,n=n||[],s=e.nodeType,"string"!=typeof t||!t||1!==s&&9!==s&&11!==s)return n;if(!r&&H){if(11!==s&&(i=yt.exec(t)))if(a=i[1]){if(9===s){if(o=e.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&O(e,o)&&o.id===a)return n.push(o),n}else{if(i[2])return G.apply(n,e.getElementsByTagName(t)),n;if((a=i[3])&&E.getElementsByClassName)return G.apply(n,e.getElementsByClassName(a)),n}if(E.qsa&&(!I||!I.test(t))){if(d=f=R,p=e,g=1!==s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(l=T(t),(f=e.getAttribute("id"))?d=f.replace(xt,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",u=l.length;u--;)l[u]=d+h(l[u]);p=bt.test(t)&&c(e.parentNode)||e,g=l.join(",")}if(g)try{return G.apply(n,p.querySelectorAll(g)),n}catch(m){}finally{f||e.removeAttribute("id")}}}return _(t.replace(ut,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[R]=!0,t}function i(t){var e=P.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=t.length;r--;)w.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Z)-(~t.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function f(){}function h(t){for(var e=0,n=t.length,r="";n>e;e++)r+=t[e].value;return r}function d(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=B++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,a){var s,u,l=[q,o];if(a){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,a))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if(u=e[R]||(e[R]={}),(s=u[r])&&s[0]===q&&s[1]===o)return l[2]=s[2];if(u[r]=l,l[2]=t(e,n,a))return!0}}}function p(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;o>i;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;u>s;s++)(o=t[s])&&(!n||n(o,r,i))&&(a.push(o),l&&e.push(s));return a}function v(t,e,n,i,o,a){return i&&!i[R]&&(i=v(i)),o&&!o[R]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,f,h=[],d=[],p=a.length,v=r||g(e||"*",s.nodeType?[s]:s,[]),y=!t||!r&&e?v:m(v,h,t,s,u),b=n?o||(r?t:p||i)?[]:a:y;if(n&&n(y,b,s,u),i)for(l=m(b,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(b[d[c]]=!(y[d[c]]=f));if(r){if(o||t){if(o){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(y[c]=f);o(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=o?tt(r,f):h[c])>-1&&(r[l]=!(a[l]=f))}}else b=m(b===a?b.splice(p,b.length):b),o?o(null,a,b,u):G.apply(a,b)})}function y(t){for(var e,n,r,i=t.length,o=w.relative[t[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(t){return t===e},a,!0),l=d(function(t){return tt(e,t)>-1},a,!0),c=[function(t,n,r){var i=!o&&(r||n!==C)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];i>s;s++)if(n=w.relative[t[s].type])c=[d(p(c),n)];else{if(n=w.filter[t[s].type].apply(null,t[s].matches),n[R]){for(r=++s;i>r&&!w.relative[t[r].type];r++);return v(s>1&&p(c),s>1&&h(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(ut,"$1"),n,r>s&&y(t.slice(s,r)),i>r&&y(t=t.slice(r)),i>r&&h(t))}c.push(n)}return p(c)}function b(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,u,l){var c,f,h,d=0,p="0",g=r&&[],v=[],y=C,b=r||o&&w.find.TAG("*",l),x=q+=null==y?1:Math.random()||.1,E=b.length;for(l&&(C=a!==P&&a);p!==E&&null!=(c=b[p]);p++){if(o&&c){for(f=0;h=t[f++];)if(h(c,a,s)){u.push(c);break}l&&(q=x)}i&&((c=!h&&c)&&d--,r&&g.push(c))}if(d+=p,i&&p!==d){for(f=0;h=n[f++];)h(g,v,a,s);if(r){if(d>0)for(;p--;)g[p]||v[p]||(v[p]=Y.call(u));v=m(v)}G.apply(u,v),l&&!r&&v.length>0&&d+n.length>1&&e.uniqueSort(u)}return l&&(q=x,C=y),g};return i?r(a):a}var x,E,w,S,M,T,A,_,C,k,N,$,P,D,H,I,L,j,O,R="sizzle"+1*new Date,F=t.document,q=0,B=0,z=n(),U=n(),W=n(),J=function(t,e){return t===e&&(N=!0),0},Z=1<<31,X={}.hasOwnProperty,V=[],Y=V.pop,Q=V.push,G=V.push,K=V.slice,tt=function(t,e){for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it=rt.replace("w","w#"),ot="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",at=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),ut=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ft=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(at),dt=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,xt=/'|\\/g,Et=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),wt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},St=function(){$()};try{G.apply(V=K.call(F.childNodes),F.childNodes),V[F.childNodes.length].nodeType}catch(Mt){G={apply:V.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}E=e.support={},M=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},$=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:F;return r!==P&&9===r.nodeType&&r.documentElement?(P=r,D=r.documentElement,n=r.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",St,!1):n.attachEvent&&n.attachEvent("onunload",St)),H=!M(r),E.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),E.getElementsByTagName=i(function(t){return t.appendChild(r.createComment("")),!t.getElementsByTagName("*").length}),E.getElementsByClassName=vt.test(r.getElementsByClassName),E.getById=i(function(t){return D.appendChild(t).id=R,!r.getElementsByName||!r.getElementsByName(R).length}),E.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&H){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(t){var e=t.replace(Et,wt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(Et,wt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=E.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):E.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=E.getElementsByClassName&&function(t,e){return H?e.getElementsByClassName(t):void 0},L=[],I=[],(E.qsa=vt.test(r.querySelectorAll))&&(i(function(t){D.appendChild(t).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+R+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+R+"+*").length||I.push(".#.+[+~]")}),i(function(t){var e=r.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(E.matchesSelector=vt.test(j=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&i(function(t){E.disconnectedMatch=j.call(t,"div"),j.call(t,"[s!='']:x"),L.push("!=",at)}),I=I.length&&new RegExp(I.join("|")),L=L.length&&new RegExp(L.join("|")),e=vt.test(D.compareDocumentPosition),O=e||vt.test(D.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},J=e?function(t,e){if(t===e)return N=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!E.sortDetached&&e.compareDocumentPosition(t)===n?t===r||t.ownerDocument===F&&O(F,t)?-1:e===r||e.ownerDocument===F&&O(F,e)?1:k?tt(k,t)-tt(k,e):0:4&n?-1:1)}:function(t,e){if(t===e)return N=!0,0;var n,i=0,o=t.parentNode,s=e.parentNode,u=[t],l=[e];if(!o||!s)return t===r?-1:e===r?1:o?-1:s?1:k?tt(k,t)-tt(k,e):0;if(o===s)return a(t,e);for(n=t;n=n.parentNode;)u.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;u[i]===l[i];)i++;return i?a(u[i],l[i]):u[i]===F?-1:l[i]===F?1:0},r):P},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==P&&$(t),n=n.replace(ft,"='$1']"),E.matchesSelector&&H&&(!L||!L.test(n))&&(!I||!I.test(n)))try{var r=j.call(t,n);if(r||E.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,P,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==P&&$(t),O(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==P&&$(t);var n=w.attrHandle[e.toLowerCase()],r=n&&X.call(w.attrHandle,e.toLowerCase())?n(t,e,!H):void 0;return void 0!==r?r:E.attributes||!H?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(N=!E.detectDuplicates,k=!E.sortStable&&t.slice(0),t.sort(J),N){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return k=null,t},S=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=S(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=S(e);return n},w=e.selectors={cacheLength:50,createPseudo:r,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Et,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(Et,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Et,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(st," ")+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,h,d,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!u&&!s;if(m){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(c=m[R]||(m[R]={}),l=c[t]||[],d=l[0]===q&&l[1],h=l[0]===q&&l[2],f=d&&m.childNodes[d];f=++d&&f&&f[g]||(h=d=0)||p.pop();)if(1===f.nodeType&&++h&&f===e){c[t]=[q,d,h];break}}else if(y&&(l=(e[R]||(e[R]={}))[t])&&l[0]===q)h=l[1];else for(;(f=++d&&f&&f[g]||(h=d=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++h||(y&&((f[R]||(f[R]={}))[t]=[q,h]),f!==e)););return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(t,n){var i,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[R]?o(n):o.length>1?(i=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=tt(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=A(t.replace(ut,"$1"));return i[R]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(Et,wt),function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:r(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Et,wt).toLowerCase(),function(e){var n;do if(n=H?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===D},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[0>n?n+e:n]}),even:l(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var r=0>n?n+e:n;--r>=0;)t.push(r);return t}),gt:l(function(t,e,n){for(var r=0>n?n+e:n;++r<e;)t.push(r);return t})}},w.pseudos.nth=w.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})w.pseudos[x]=u(x);return f.prototype=w.filters=w.pseudos,w.setFilters=new f,T=e.tokenize=function(t,n){var r,i,o,a,s,u,l,c=U[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=w.preFilter;s;){(!r||(i=lt.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=ct.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ut," ")}),s=s.slice(r.length));for(a in w.filter)!(i=pt[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):U(t,u).slice(0)},A=e.compile=function(t,e){var n,r=[],i=[],o=W[t+" "];if(!o){for(e||(e=T(t)),n=e.length;n--;)o=y(e[n]),o[R]?r.push(o):i.push(o);o=W(t,b(i,r)),o.selector=t}return o},_=e.select=function(t,e,n,r){var i,o,a,s,u,l="function"==typeof t&&t,f=!r&&T(t=l.selector||t);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&E.getById&&9===e.nodeType&&H&&w.relative[o[1].type]){if(e=(w.find.ID(a.matches[0].replace(Et,wt),e)||[])[0],!e)return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=pt.needsContext.test(t)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(Et,wt),bt.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&h(o),!t)return G.apply(n,r),n;break}}return(l||A(t,f))(r,e,!H,n,bt.test(t)&&c(e.parentNode)||e),n},E.sortStable=R.split("").sort(J).join("")===R,E.detectDuplicates=!!N,$(),E.sortDetached=i(function(t){return 1&t.compareDocumentPosition(P.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),E.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;return n?void 0:t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(t);it.find=lt,it.expr=lt.selectors,it.expr[":"]=it.expr.pseudos,it.unique=lt.uniqueSort,it.text=lt.getText,it.isXMLDoc=lt.isXML,it.contains=lt.contains;var ct=it.expr.match.needsContext,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;it.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?it.find.matchesSelector(r,t)?[r]:[]:it.find.matches(t,it.grep(e,function(t){return 1===t.nodeType}))},it.fn.extend({find:function(t){var e,n=[],r=this,i=r.length;if("string"!=typeof t)return this.pushStack(it(t).filter(function(){for(e=0;i>e;e++)if(it.contains(r[e],this))return!0}));for(e=0;i>e;e++)it.find(t,r[e],n);return n=this.pushStack(i>1?it.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(t){return!!r(this,"string"==typeof t&&ct.test(t)?it(t):t||[],!1).length}});var dt,pt=t.document,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,mt=it.fn.init=function(t,e){var n,r;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:gt.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||dt).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof it?e[0]:e,it.merge(this,it.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:pt,!0)),ft.test(n[1])&&it.isPlainObject(e))for(n in e)it.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(r=pt.getElementById(n[2]),r&&r.parentNode){if(r.id!==n[2])return dt.find(t);this.length=1,this[0]=r}return this.context=pt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):it.isFunction(t)?"undefined"!=typeof dt.ready?dt.ready(t):t(it):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),it.makeArray(t,this))};mt.prototype=it.fn,dt=it(pt);var vt=/^(?:parents|prev(?:Until|All))/,yt={children:!0,contents:!0,next:!0,prev:!0};it.extend({dir:function(t,e,n){for(var r=[],i=t[e];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!it(i).is(n));)1===i.nodeType&&r.push(i),i=i[e];return r},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),it.fn.extend({has:function(t){var e,n=it(t,this),r=n.length;return this.filter(function(){for(e=0;r>e;e++)if(it.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],a=ct.test(t)||"string"!=typeof t?it(t,e||this.context):0;i>r;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&it.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?it.unique(o):o)},index:function(t){return t?"string"==typeof t?it.inArray(this[0],it(t)):it.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(it.unique(it.merge(this.get(),it(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),it.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return it.dir(t,"parentNode")},parentsUntil:function(t,e,n){return it.dir(t,"parentNode",n)},next:function(t){return i(t,"nextSibling")},prev:function(t){return i(t,"previousSibling")},nextAll:function(t){return it.dir(t,"nextSibling")},prevAll:function(t){return it.dir(t,"previousSibling")},nextUntil:function(t,e,n){return it.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return it.dir(t,"previousSibling",n)},siblings:function(t){return it.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return it.sibling(t.firstChild)},contents:function(t){return it.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:it.merge([],t.childNodes)}},function(t,e){it.fn[t]=function(n,r){var i=it.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=it.filter(r,i)),this.length>1&&(yt[t]||(i=it.unique(i)),vt.test(t)&&(i=i.reverse())),this.pushStack(i)}});var bt=/\S+/g,xt={};it.Callbacks=function(t){t="string"==typeof t?xt[t]||o(t):it.extend({},t);var e,n,r,i,a,s,u=[],l=!t.once&&[],c=function(o){for(n=t.memory&&o,r=!0,a=s||0,s=0,i=u.length,e=!0;u&&i>a;a++)if(u[a].apply(o[0],o[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,u&&(l?l.length&&c(l.shift()):n?u=[]:f.disable())},f={add:function(){if(u){var r=u.length;!function o(e){it.each(e,function(e,n){var r=it.type(n);"function"===r?t.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),e?i=u.length:n&&(s=r,c(n))}return this},remove:function(){return u&&it.each(arguments,function(t,n){for(var r;(r=it.inArray(n,u,r))>-1;)u.splice(r,1),e&&(i>=r&&i--,a>=r&&a--)}),this},has:function(t){return t?it.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],i=0,this},disable:function(){return u=l=n=void 0,this},disabled:function(){return!u},lock:function(){return l=void 0,n||f.disable(),this},locked:function(){return!l},fireWith:function(t,n){return!u||r&&!l||(n=n||[],n=[t,n.slice?n.slice():n],e?l.push(n):c(n)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},it.extend({Deferred:function(t){var e=[["resolve","done",it.Callbacks("once memory"),"resolved"],["reject","fail",it.Callbacks("once memory"),"rejected"],["notify","progress",it.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return it.Deferred(function(n){it.each(e,function(e,o){var a=it.isFunction(t[e])&&t[e];i[o[1]](function(){var t=a&&a.apply(this,arguments);t&&it.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?it.extend(t,r):r}},i={};return r.pipe=r.then,it.each(e,function(t,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,r,i=0,o=V.call(arguments),a=o.length,s=1!==a||t&&it.isFunction(t.promise)?a:0,u=1===s?t:it.Deferred(),l=function(t,n,r){return function(i){n[t]=this,r[t]=arguments.length>1?V.call(arguments):i,r===e?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(e=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&it.isFunction(o[i].promise)?o[i].promise().done(l(i,r,o)).fail(u.reject).progress(l(i,n,e)):--s;return s||u.resolveWith(r,o),u.promise()}});var Et;it.fn.ready=function(t){return it.ready.promise().done(t),this},it.extend({isReady:!1,readyWait:1,holdReady:function(t){t?it.readyWait++:it.ready(!0)},ready:function(t){if(t===!0?!--it.readyWait:!it.isReady){if(!pt.body)return setTimeout(it.ready);it.isReady=!0,t!==!0&&--it.readyWait>0||(Et.resolveWith(pt,[it]),it.fn.triggerHandler&&(it(pt).triggerHandler("ready"),it(pt).off("ready")))}}}),it.ready.promise=function(e){if(!Et)if(Et=it.Deferred(),"complete"===pt.readyState)setTimeout(it.ready);else if(pt.addEventListener)pt.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1);else{pt.attachEvent("onreadystatechange",s),t.attachEvent("onload",s);var n=!1;try{n=null==t.frameElement&&pt.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!it.isReady){try{n.doScroll("left")}catch(t){return setTimeout(i,50)}a(),it.ready()}}()}return Et.promise(e)};var wt,St="undefined";for(wt in it(nt))break;nt.ownLast="0"!==wt,nt.inlineBlockNeedsLayout=!1,it(function(){var t,e,n,r;n=pt.getElementsByTagName("body")[0],n&&n.style&&(e=pt.createElement("div"),r=pt.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),typeof e.style.zoom!==St&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(r))}),function(){var t=pt.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(e){nt.deleteExpando=!1}}t=null}(),it.acceptData=function(t){var e=it.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getAttribute("classid")===e};var Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Tt=/([A-Z])/g;it.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?it.cache[t[it.expando]]:t[it.expando],!!t&&!l(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return f(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return f(t,e,!0)}}),it.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=it.data(o),1===o.nodeType&&!it._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=it.camelCase(r.slice(5)),u(o,r,i[r])));it._data(o,"parsedAttrs",!0)}return i}return"object"==typeof t?this.each(function(){it.data(this,t)}):arguments.length>1?this.each(function(){it.data(this,t,e)}):o?u(o,t,it.data(o,t)):void 0},removeData:function(t){return this.each(function(){it.removeData(this,t)})}}),it.extend({queue:function(t,e,n){var r;return t?(e=(e||"fx")+"queue",r=it._data(t,e),n&&(!r||it.isArray(n)?r=it._data(t,e,it.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=it.queue(t,e),r=n.length,i=n.shift(),o=it._queueHooks(t,e),a=function(){it.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return it._data(t,n)||it._data(t,n,{empty:it.Callbacks("once memory").add(function(){it._removeData(t,e+"queue"),it._removeData(t,n)})})}}),it.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?it.queue(this[0],t):void 0===e?this:this.each(function(){var n=it.queue(this,t,e);it._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&it.dequeue(this,t)})},dequeue:function(t){return this.each(function(){it.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=it.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=it._data(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var At=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_t=["Top","Right","Bottom","Left"],Ct=function(t,e){return t=e||t,"none"===it.css(t,"display")||!it.contains(t.ownerDocument,t)},kt=it.access=function(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===it.type(n)){i=!0;for(s in n)it.access(t,e,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,it.isFunction(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(it(t),n)})),e))for(;u>s;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},Nt=/^(?:checkbox|radio)$/i;!function(){var t=pt.createElement("input"),e=pt.createElement("div"),n=pt.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==pt.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(r){nt.deleteExpando=!1}}}(),function(){var e,n,r=pt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(nt[e+"Bubbles"]=n in t)||(r.setAttribute(n,"t"),nt[e+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var $t=/^(?:input|select|textarea)$/i,Pt=/^key/,Dt=/^(?:mouse|pointer|contextmenu)|click/,Ht=/^(?:focusinfocus|focusoutblur)$/,It=/^([^.]*)(?:\.(.+)|)$/;it.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,g,m=it._data(t);if(m){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=it.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||(c=m.handle=function(t){return typeof it===St||t&&it.event.triggered===t.type?void 0:it.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(bt)||[""],s=e.length;s--;)o=It.exec(e[s])||[],d=g=o[1],p=(o[2]||"").split(".").sort(),d&&(l=it.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=it.event.special[d]||{},f=it.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&it.expr.match.needsContext.test(i),namespace:p.join(".")},u),(h=a[d])||(h=a[d]=[],h.delegateCount=0,l.setup&&l.setup.call(t,r,p,c)!==!1||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,f):h.push(f),it.event.global[d]=!0);t=null}},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,g,m=it.hasData(t)&&it._data(t);if(m&&(c=m.events)){for(e=(e||"").match(bt)||[""],l=e.length;l--;)if(s=It.exec(e[l])||[],d=g=s[1],p=(s[2]||"").split(".").sort(),d){for(f=it.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,h=c[d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=h.length;o--;)a=h[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(h.splice(o,1),a.selector&&h.delegateCount--,f.remove&&f.remove.call(t,a));u&&!h.length&&(f.teardown&&f.teardown.call(t,p,m.handle)!==!1||it.removeEvent(t,d,m.handle),delete c[d])}else for(d in c)it.event.remove(t,d+e[l],n,r,!0);it.isEmptyObject(c)&&(delete m.handle,it._removeData(t,"events"))}},trigger:function(e,n,r,i){var o,a,s,u,l,c,f,h=[r||pt],d=et.call(e,"type")?e.type:e,p=et.call(e,"namespace")?e.namespace.split("."):[];if(s=c=r=r||pt,3!==r.nodeType&&8!==r.nodeType&&!Ht.test(d+it.event.triggered)&&(d.indexOf(".")>=0&&(p=d.split("."),d=p.shift(),p.sort()),a=d.indexOf(":")<0&&"on"+d,e=e[it.expando]?e:new it.Event(d,"object"==typeof e&&e),
  e.isTrigger=i?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:it.makeArray(n,[e]),l=it.event.special[d]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!it.isWindow(r)){for(u=l.delegateType||d,Ht.test(u+d)||(s=s.parentNode);s;s=s.parentNode)h.push(s),c=s;c===(r.ownerDocument||pt)&&h.push(c.defaultView||c.parentWindow||t)}for(f=0;(s=h[f++])&&!e.isPropagationStopped();)e.type=f>1?u:l.bindType||d,o=(it._data(s,"events")||{})[e.type]&&it._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&it.acceptData(s)&&(e.result=o.apply(s,n),e.result===!1&&e.preventDefault());if(e.type=d,!i&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(h.pop(),n)===!1)&&it.acceptData(r)&&a&&r[d]&&!it.isWindow(r)){c=r[a],c&&(r[a]=null),it.event.triggered=d;try{r[d]()}catch(g){}it.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(t){t=it.event.fix(t);var e,n,r,i,o,a=[],s=V.call(arguments),u=(it._data(this,"events")||{})[t.type]||[],l=it.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,t)!==!1){for(a=it.event.handlers.call(this,t,u),e=0;(i=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(r.namespace))&&(t.handleObj=r,t.data=r.data,n=((it.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(i=[],o=0;s>o;o++)r=e[o],n=r.selector+" ",void 0===i[n]&&(i[n]=r.needsContext?it(n,this).index(u)>=0:it.find(n,this,null,[u]).length),i[n]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[it.expando])return t;var e,n,r,i=t.type,o=t,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Dt.test(i)?this.mouseHooks:Pt.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,t=new it.Event(o),e=r.length;e--;)n=r[e],t[n]=o[n];return t.target||(t.target=o.srcElement||pt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=t.target.ownerDocument||pt,i=r.documentElement,n=r.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==p()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===p()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return it.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return it.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,r){var i=it.extend(new it.Event,n,{type:t,isSimulated:!0,originalEvent:{}});r?it.event.trigger(i,null,e):it.event.dispatch.call(e,i),i.isDefaultPrevented()&&n.preventDefault()}},it.removeEvent=pt.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var r="on"+e;t.detachEvent&&(typeof t[r]===St&&(t[r]=null),t.detachEvent(r,n))},it.Event=function(t,e){return this instanceof it.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?h:d):this.type=t,e&&it.extend(this,e),this.timeStamp=t&&t.timeStamp||it.now(),void(this[it.expando]=!0)):new it.Event(t,e)},it.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=h,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=h,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=h,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},it.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){it.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return(!i||i!==r&&!it.contains(r,i))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),nt.submitBubbles||(it.event.special.submit={setup:function(){return it.nodeName(this,"form")?!1:void it.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=it.nodeName(e,"input")||it.nodeName(e,"button")?e.form:void 0;n&&!it._data(n,"submitBubbles")&&(it.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),it._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&it.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return it.nodeName(this,"form")?!1:void it.event.remove(this,"._submit")}}),nt.changeBubbles||(it.event.special.change={setup:function(){return $t.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(it.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),it.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),it.event.simulate("change",this,t,!0)})),!1):void it.event.add(this,"beforeactivate._change",function(t){var e=t.target;$t.test(e.nodeName)&&!it._data(e,"changeBubbles")&&(it.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||it.event.simulate("change",this.parentNode,t,!0)}),it._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return it.event.remove(this,"._change"),!$t.test(this.nodeName)}}),nt.focusinBubbles||it.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){it.event.simulate(e,t.target,it.event.fix(t),!0)};it.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=it._data(r,e);i||r.addEventListener(t,n,!0),it._data(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=it._data(r,e)-1;i?it._data(r,e,i):(r.removeEventListener(t,n,!0),it._removeData(r,e))}}}),it.fn.extend({on:function(t,e,n,r,i){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],i);return this}if(null==n&&null==r?(r=e,n=e=void 0):null==r&&("string"==typeof e?(r=n,n=void 0):(r=n,n=e,e=void 0)),r===!1)r=d;else if(!r)return this;return 1===i&&(a=r,r=function(t){return it().off(t),a.apply(this,arguments)},r.guid=a.guid||(a.guid=it.guid++)),this.each(function(){it.event.add(this,t,r,n,e)})},one:function(t,e,n,r){return this.on(t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,it(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=d),this.each(function(){it.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){it.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?it.event.trigger(t,e,n,!0):void 0}});var Lt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",jt=/ jQuery\d+="(?:null|\d+)"/g,Ot=new RegExp("<(?:"+Lt+")[\\s/>]","i"),Rt=/^\s+/,Ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qt=/<([\w:]+)/,Bt=/<tbody/i,zt=/<|&#?\w+;/,Ut=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,Jt=/^$|\/(?:java|ecma)script/i,Zt=/^true\/(.*)/,Xt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Vt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Yt=g(pt),Qt=Yt.appendChild(pt.createElement("div"));Vt.optgroup=Vt.option,Vt.tbody=Vt.tfoot=Vt.colgroup=Vt.caption=Vt.thead,Vt.th=Vt.td,it.extend({clone:function(t,e,n){var r,i,o,a,s,u=it.contains(t.ownerDocument,t);if(nt.html5Clone||it.isXMLDoc(t)||!Ot.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Qt.innerHTML=t.outerHTML,Qt.removeChild(o=Qt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||it.isXMLDoc(t)))for(r=m(o),s=m(t),a=0;null!=(i=s[a]);++a)r[a]&&S(i,r[a]);if(e)if(n)for(s=s||m(t),r=r||m(o),a=0;null!=(i=s[a]);a++)w(i,r[a]);else w(t,o);return r=m(o,"script"),r.length>0&&E(r,!u&&m(t,"script")),r=s=i=null,o},buildFragment:function(t,e,n,r){for(var i,o,a,s,u,l,c,f=t.length,h=g(e),d=[],p=0;f>p;p++)if(o=t[p],o||0===o)if("object"===it.type(o))it.merge(d,o.nodeType?[o]:o);else if(zt.test(o)){for(s=s||h.appendChild(e.createElement("div")),u=(qt.exec(o)||["",""])[1].toLowerCase(),c=Vt[u]||Vt._default,s.innerHTML=c[1]+o.replace(Ft,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!nt.leadingWhitespace&&Rt.test(o)&&d.push(e.createTextNode(Rt.exec(o)[0])),!nt.tbody)for(o="table"!==u||Bt.test(o)?"<table>"!==c[1]||Bt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;i--;)it.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(it.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=h.lastChild}else d.push(e.createTextNode(o));for(s&&h.removeChild(s),nt.appendChecked||it.grep(m(d,"input"),v),p=0;o=d[p++];)if((!r||-1===it.inArray(o,r))&&(a=it.contains(o.ownerDocument,o),s=m(h.appendChild(o),"script"),a&&E(s),n))for(i=0;o=s[i++];)Jt.test(o.type||"")&&n.push(o);return s=null,h},cleanData:function(t,e){for(var n,r,i,o,a=0,s=it.expando,u=it.cache,l=nt.deleteExpando,c=it.event.special;null!=(n=t[a]);a++)if((e||it.acceptData(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?it.event.remove(n,r):it.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l?delete n[s]:typeof n.removeAttribute!==St?n.removeAttribute(s):n[s]=null,X.push(i))}}}),it.fn.extend({text:function(t){return kt(this,function(t){return void 0===t?it.text(this):this.empty().append((this[0]&&this[0].ownerDocument||pt).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,r=t?it.filter(t,this):this,i=0;null!=(n=r[i]);i++)e||1!==n.nodeType||it.cleanData(m(n)),n.parentNode&&(e&&it.contains(n.ownerDocument,n)&&E(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&it.cleanData(m(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&it.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return it.clone(this,t,e)})},html:function(t){return kt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(jt,""):void 0;if("string"==typeof t&&!Ut.test(t)&&(nt.htmlSerialize||!Ot.test(t))&&(nt.leadingWhitespace||!Rt.test(t))&&!Vt[(qt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ft,"<$1></$2>");try{for(;r>n;n++)e=this[n]||{},1===e.nodeType&&(it.cleanData(m(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,it.cleanData(m(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=Y.apply([],t);var n,r,i,o,a,s,u=0,l=this.length,c=this,f=l-1,h=t[0],d=it.isFunction(h);if(d||l>1&&"string"==typeof h&&!nt.checkClone&&Wt.test(h))return this.each(function(n){var r=c.eq(n);d&&(t[0]=h.call(this,n,r.html())),r.domManip(t,e)});if(l&&(s=it.buildFragment(t,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=it.map(m(s,"script"),b),i=o.length;l>u;u++)r=s,u!==f&&(r=it.clone(r,!0,!0),i&&it.merge(o,m(r,"script"))),e.call(this[u],r,u);if(i)for(a=o[o.length-1].ownerDocument,it.map(o,x),u=0;i>u;u++)r=o[u],Jt.test(r.type||"")&&!it._data(r,"globalEval")&&it.contains(a,r)&&(r.src?it._evalUrl&&it._evalUrl(r.src):it.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Xt,"")));s=n=null}return this}}),it.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){it.fn[t]=function(t){for(var n,r=0,i=[],o=it(t),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),it(o[r])[e](n),Q.apply(i,n.get());return this.pushStack(i)}});var Gt,Kt={};!function(){var t;nt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,r;return n=pt.getElementsByTagName("body")[0],n&&n.style?(e=pt.createElement("div"),r=pt.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),typeof e.style.zoom!==St&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(pt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(r),t):void 0}}();var te,ee,ne=/^margin/,re=new RegExp("^("+At+")(?!px)[a-z%]+$","i"),ie=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},ee=function(t,e,n){var r,i,o,a,s=t.style;return n=n||te(t),a=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==a||it.contains(t.ownerDocument,t)||(a=it.style(t,e)),re.test(a)&&ne.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):pt.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,n){var r,i,o,a,s=t.style;return n=n||te(t),a=n?n[e]:void 0,null==a&&s&&s[e]&&(a=s[e]),re.test(a)&&!ie.test(e)&&(r=s.left,i=t.runtimeStyle,o=i&&i.left,o&&(i.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){function e(){var e,n,r,i;n=pt.getElementsByTagName("body")[0],n&&n.style&&(e=pt.createElement("div"),r=pt.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o=a=!1,u=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyle(e,null)||{}).top,a="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,i=e.appendChild(pt.createElement("div")),i.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",e.style.width="1px",u=!parseFloat((t.getComputedStyle(i,null)||{}).marginRight),e.removeChild(i)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=e.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===i[0].offsetHeight,s&&(i[0].style.display="",i[1].style.display="none",s=0===i[0].offsetHeight),n.removeChild(r))}var n,r,i,o,a,s,u;n=pt.createElement("div"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=n.getElementsByTagName("a")[0],r=i&&i.style,r&&(r.cssText="float:left;opacity:.5",nt.opacity="0.5"===r.opacity,nt.cssFloat=!!r.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===n.style.backgroundClip,nt.boxSizing=""===r.boxSizing||""===r.MozBoxSizing||""===r.WebkitBoxSizing,it.extend(nt,{reliableHiddenOffsets:function(){return null==s&&e(),s},boxSizingReliable:function(){return null==a&&e(),a},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==u&&e(),u}}))}(),it.swap=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=a[o];return i};var oe=/alpha\([^)]*\)/i,ae=/opacity\s*=\s*([^)]*)/,se=/^(none|table(?!-c[ea]).+)/,ue=new RegExp("^("+At+")(.*)$","i"),le=new RegExp("^([+-])=("+At+")","i"),ce={position:"absolute",visibility:"hidden",display:"block"},fe={letterSpacing:"0",fontWeight:"400"},he=["Webkit","O","Moz","ms"];it.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ee(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=it.camelCase(e),u=t.style;if(e=it.cssProps[s]||(it.cssProps[s]=_(u,s)),a=it.cssHooks[e]||it.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e];if(o=typeof n,"string"===o&&(i=le.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(it.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||it.cssNumber[s]||(n+="px"),nt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,r)))))try{u[e]=n}catch(l){}}},css:function(t,e,n,r){var i,o,a,s=it.camelCase(e);return e=it.cssProps[s]||(it.cssProps[s]=_(t.style,s)),a=it.cssHooks[e]||it.cssHooks[s],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=ee(t,e,r)),"normal"===o&&e in fe&&(o=fe[e]),""===n||n?(i=parseFloat(o),n===!0||it.isNumeric(i)?i||0:o):o}}),it.each(["height","width"],function(t,e){it.cssHooks[e]={get:function(t,n,r){return n?se.test(it.css(t,"display"))&&0===t.offsetWidth?it.swap(t,ce,function(){return $(t,e,r)}):$(t,e,r):void 0},set:function(t,n,r){var i=r&&te(t);return k(t,n,r?N(t,e,r,nt.boxSizing&&"border-box"===it.css(t,"boxSizing",!1,i),i):0)}}}),nt.opacity||(it.cssHooks.opacity={get:function(t,e){return ae.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,r=t.currentStyle,i=it.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===it.trim(o.replace(oe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||r&&!r.filter)||(n.filter=oe.test(o)?o.replace(oe,i):o+" "+i)}}),it.cssHooks.marginRight=A(nt.reliableMarginRight,function(t,e){return e?it.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),it.each({margin:"",padding:"",border:"Width"},function(t,e){it.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[t+_t[r]+e]=o[r]||o[r-2]||o[0];return i}},ne.test(t)||(it.cssHooks[t+e].set=k)}),it.fn.extend({css:function(t,e){return kt(this,function(t,e,n){var r,i,o={},a=0;if(it.isArray(e)){for(r=te(t),i=e.length;i>a;a++)o[e[a]]=it.css(t,e[a],!1,r);return o}return void 0!==n?it.style(t,e,n):it.css(t,e)},t,e,arguments.length>1)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ct(this)?it(this).show():it(this).hide()})}}),it.Tween=P,P.prototype={constructor:P,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||"swing",this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(it.cssNumber[n]?"":"px")},cur:function(){var t=P.propHooks[this.prop];return t&&t.get?t.get(this):P.propHooks._default.get(this)},run:function(t){var e,n=P.propHooks[this.prop];return this.options.duration?this.pos=e=it.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):P.propHooks._default.set(this),this}},P.prototype.init.prototype=P.prototype,P.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=it.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){it.fx.step[t.prop]?it.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[it.cssProps[t.prop]]||it.cssHooks[t.prop])?it.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},P.propHooks.scrollTop=P.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},it.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},it.fx=P.prototype.init,it.fx.step={};var de,pe,ge=/^(?:toggle|show|hide)$/,me=new RegExp("^(?:([+-])=|)("+At+")([a-z%]*)$","i"),ve=/queueHooks$/,ye=[L],be={"*":[function(t,e){var n=this.createTween(t,e),r=n.cur(),i=me.exec(e),o=i&&i[3]||(it.cssNumber[t]?"":"px"),a=(it.cssNumber[t]||"px"!==o&&+r)&&me.exec(it.css(n.elem,t)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,it.style(n.elem,t,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};it.Animation=it.extend(O,{tweener:function(t,e){it.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,r=0,i=t.length;i>r;r++)n=t[r],be[n]=be[n]||[],be[n].unshift(e)},prefilter:function(t,e){e?ye.unshift(t):ye.push(t)}}),it.speed=function(t,e,n){var r=t&&"object"==typeof t?it.extend({},t):{complete:n||!n&&e||it.isFunction(t)&&t,duration:t,easing:n&&e||e&&!it.isFunction(e)&&e};return r.duration=it.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in it.fx.speeds?it.fx.speeds[r.duration]:it.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){it.isFunction(r.old)&&r.old.call(this),r.queue&&it.dequeue(this,r.queue)},r},it.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=it.isEmptyObject(t),o=it.speed(e,n,r),a=function(){var e=O(this,it.extend({},t),o);(i||it._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=it.timers,a=it._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ve.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));(e||!n)&&it.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=it._data(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=it.timers,a=r?r.length:0;for(n.finish=!0,it.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;a>e;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),it.each(["toggle","show","hide"],function(t,e){var n=it.fn[e];it.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(H(e,!0),t,r,i)}}),it.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){it.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),it.timers=[],it.fx.tick=function(){var t,e=it.timers,n=0;for(de=it.now();n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||it.fx.stop(),de=void 0},it.fx.timer=function(t){it.timers.push(t),t()?it.fx.start():it.timers.pop()},it.fx.interval=13,it.fx.start=function(){pe||(pe=setInterval(it.fx.tick,it.fx.interval))},it.fx.stop=function(){clearInterval(pe),pe=null},it.fx.speeds={slow:600,fast:200,_default:400},it.fn.delay=function(t,e){return t=it.fx?it.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var r=setTimeout(e,t);n.stop=function(){clearTimeout(r)}})},function(){var t,e,n,r,i;e=pt.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",r=e.getElementsByTagName("a")[0],n=pt.createElement("select"),i=n.appendChild(pt.createElement("option")),t=e.getElementsByTagName("input")[0],r.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(r.getAttribute("style")),nt.hrefNormalized="/a"===r.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=i.selected,nt.enctype=!!pt.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!i.disabled,t=pt.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var xe=/\r/g;it.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=it.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,it(this).val()):t,null==i?i="":"number"==typeof i?i+="":it.isArray(i)&&(i=it.map(i,function(t){return null==t?"":t+""})),e=it.valHooks[this.type]||it.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=it.valHooks[i.type]||it.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(xe,""):null==n?"":n)}}}),it.extend({valHooks:{option:{get:function(t){var e=it.find.attr(t,"value");return null!=e?e:it.trim(it.text(t))}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],(n.selected||u===i)&&(nt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!it.nodeName(n.parentNode,"optgroup"))){if(e=it(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=it.makeArray(e),a=i.length;a--;)if(r=i[a],it.inArray(it.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(t.selectedIndex=-1),i}}}}),it.each(["radio","checkbox"],function(){it.valHooks[this]={set:function(t,e){return it.isArray(e)?t.checked=it.inArray(it(t).val(),e)>=0:void 0}},nt.checkOn||(it.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ee,we,Se=it.expr.attrHandle,Me=/^(?:checked|selected)$/i,Te=nt.getSetAttribute,Ae=nt.input;it.fn.extend({attr:function(t,e){return kt(this,it.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){it.removeAttr(this,t)})}}),it.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===St?it.prop(t,e,n):(1===o&&it.isXMLDoc(t)||(e=e.toLowerCase(),r=it.attrHooks[e]||(it.expr.match.bool.test(e)?we:Ee)),void 0===n?r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=it.find.attr(t,e),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):void it.removeAttr(t,e))},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(bt);if(o&&1===t.nodeType)for(;n=o[i++];)r=it.propFix[n]||n,it.expr.match.bool.test(n)?Ae&&Te||!Me.test(n)?t[r]=!1:t[it.camelCase("default-"+n)]=t[r]=!1:it.attr(t,n,""),t.removeAttribute(Te?n:r)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&it.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),we={set:function(t,e,n){return e===!1?it.removeAttr(t,n):Ae&&Te||!Me.test(n)?t.setAttribute(!Te&&it.propFix[n]||n,n):t[it.camelCase("default-"+n)]=t[n]=!0,n}},it.each(it.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Se[e]||it.find.attr;Se[e]=Ae&&Te||!Me.test(e)?function(t,e,r){var i,o;return r||(o=Se[e],Se[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,Se[e]=o),i}:function(t,e,n){return n?void 0:t[it.camelCase("default-"+e)]?e.toLowerCase():null}}),Ae&&Te||(it.attrHooks.value={set:function(t,e,n){return it.nodeName(t,"input")?void(t.defaultValue=e):Ee&&Ee.set(t,e,n)}}),Te||(Ee={set:function(t,e,n){var r=t.getAttributeNode(n);return r||t.setAttributeNode(r=t.ownerDocument.createAttribute(n)),r.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},Se.id=Se.name=Se.coords=function(t,e,n){var r;return n?void 0:(r=t.getAttributeNode(e))&&""!==r.value?r.value:null},it.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:Ee.set},it.attrHooks.contenteditable={set:function(t,e,n){Ee.set(t,""===e?!1:e,n)}},it.each(["width","height"],function(t,e){it.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),nt.style||(it.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var _e=/^(?:input|select|textarea|button|object)$/i,Ce=/^(?:a|area)$/i;it.fn.extend({prop:function(t,e){return kt(this,it.prop,t,e,arguments.length>1)},removeProp:function(t){return t=it.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),it.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var r,i,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!it.isXMLDoc(t),o&&(e=it.propFix[e]||e,i=it.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=it.find.attr(t,"tabindex");return e?parseInt(e,10):_e.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||it.each(["href","src"],function(t,e){it.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(it.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),it.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){it.propFix[this.toLowerCase()]=this}),nt.enctype||(it.propFix.enctype="encoding");var ke=/[\t\r\n\f]/g;it.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0,u=this.length,l="string"==typeof t&&t;if(it.isFunction(t))return this.each(function(e){it(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ke," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=it.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0,u=this.length,l=0===arguments.length||"string"==typeof t&&t;if(it.isFunction(t))return this.each(function(e){it(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ke," "):"")){
  for(o=0;i=e[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=t?it.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):it.isFunction(t)?this.each(function(n){it(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,r=0,i=it(this),o=t.match(bt)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else(n===St||"boolean"===n)&&(this.className&&it._data(this,"__className__",this.className),this.className=this.className||t===!1?"":it._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(ke," ").indexOf(e)>=0)return!0;return!1}}),it.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){it.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),it.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Ne=it.now(),$e=/\?/,Pe=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;it.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,r=null,i=it.trim(e+"");return i&&!it.trim(i.replace(Pe,function(t,e,i,o){return n&&e&&(r=0),0===r?t:(n=i||e,r+=!o-!i,"")}))?Function("return "+i)():it.error("Invalid JSON: "+e)},it.parseXML=function(e){var n,r;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(r=new DOMParser,n=r.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||it.error("Invalid XML: "+e),n};var De,He,Ie=/#.*$/,Le=/([?&])_=[^&]*/,je=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Oe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Re=/^(?:GET|HEAD)$/,Fe=/^\/\//,qe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Be={},ze={},Ue="*/".concat("*");try{He=location.href}catch(We){He=pt.createElement("a"),He.href="",He=He.href}De=qe.exec(He.toLowerCase())||[],it.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:He,type:"GET",isLocal:Oe.test(De[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ue,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":it.parseJSON,"text xml":it.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?q(q(t,it.ajaxSettings),e):q(it.ajaxSettings,t)},ajaxPrefilter:R(Be),ajaxTransport:R(ze),ajax:function(t,e){function n(t,e,n,r){var i,c,v,y,x,w=e;2!==b&&(b=2,s&&clearTimeout(s),l=void 0,a=r||"",E.readyState=t>0?4:0,i=t>=200&&300>t||304===t,n&&(y=B(f,E,n)),y=z(f,y,E,i),i?(f.ifModified&&(x=E.getResponseHeader("Last-Modified"),x&&(it.lastModified[o]=x),x=E.getResponseHeader("etag"),x&&(it.etag[o]=x)),204===t||"HEAD"===f.type?w="nocontent":304===t?w="notmodified":(w=y.state,c=y.data,v=y.error,i=!v)):(v=w,(t||!w)&&(w="error",0>t&&(t=0))),E.status=t,E.statusText=(e||w)+"",i?p.resolveWith(h,[c,w,E]):p.rejectWith(h,[E,w,v]),E.statusCode(m),m=void 0,u&&d.trigger(i?"ajaxSuccess":"ajaxError",[E,f,i?c:v]),g.fireWith(h,[E,w]),u&&(d.trigger("ajaxComplete",[E,f]),--it.active||it.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,a,s,u,l,c,f=it.ajaxSetup({},e),h=f.context||f,d=f.context&&(h.nodeType||h.jquery)?it(h):it.event,p=it.Deferred(),g=it.Callbacks("once memory"),m=f.statusCode||{},v={},y={},b=0,x="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!c)for(c={};e=je.exec(a);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)m[e]=[m[e],t[e]];else E.always(t[E.status]);return this},abort:function(t){var e=t||x;return l&&l.abort(e),n(0,e),this}};if(p.promise(E).complete=g.add,E.success=E.done,E.error=E.fail,f.url=((t||f.url||He)+"").replace(Ie,"").replace(Fe,De[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=it.trim(f.dataType||"*").toLowerCase().match(bt)||[""],null==f.crossDomain&&(r=qe.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===De[1]&&r[2]===De[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(De[3]||("http:"===De[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=it.param(f.data,f.traditional)),F(Be,f,e,E),2===b)return E;u=it.event&&f.global,u&&0===it.active++&&it.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Re.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=($e.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Le.test(o)?o.replace(Le,"$1_="+Ne++):o+($e.test(o)?"&":"?")+"_="+Ne++)),f.ifModified&&(it.lastModified[o]&&E.setRequestHeader("If-Modified-Since",it.lastModified[o]),it.etag[o]&&E.setRequestHeader("If-None-Match",it.etag[o])),(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)&&E.setRequestHeader("Content-Type",f.contentType),E.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ue+"; q=0.01":""):f.accepts["*"]);for(i in f.headers)E.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(f.beforeSend.call(h,E,f)===!1||2===b))return E.abort();x="abort";for(i in{success:1,error:1,complete:1})E[i](f[i]);if(l=F(ze,f,e,E)){E.readyState=1,u&&d.trigger("ajaxSend",[E,f]),f.async&&f.timeout>0&&(s=setTimeout(function(){E.abort("timeout")},f.timeout));try{b=1,l.send(v,n)}catch(w){if(!(2>b))throw w;n(-1,w)}}else n(-1,"No Transport");return E},getJSON:function(t,e,n){return it.get(t,e,n,"json")},getScript:function(t,e){return it.get(t,void 0,e,"script")}}),it.each(["get","post"],function(t,e){it[e]=function(t,n,r,i){return it.isFunction(n)&&(i=i||r,r=n,n=void 0),it.ajax({url:t,type:e,dataType:i,data:n,success:r})}}),it._evalUrl=function(t){return it.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},it.fn.extend({wrapAll:function(t){if(it.isFunction(t))return this.each(function(e){it(this).wrapAll(t.call(this,e))});if(this[0]){var e=it(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return it.isFunction(t)?this.each(function(e){it(this).wrapInner(t.call(this,e))}):this.each(function(){var e=it(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=it.isFunction(t);return this.each(function(n){it(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){it.nodeName(this,"body")||it(this).replaceWith(this.childNodes)}).end()}}),it.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||it.css(t,"display"))},it.expr.filters.visible=function(t){return!it.expr.filters.hidden(t)};var Je=/%20/g,Ze=/\[\]$/,Xe=/\r?\n/g,Ve=/^(?:submit|button|image|reset|file)$/i,Ye=/^(?:input|select|textarea|keygen)/i;it.param=function(t,e){var n,r=[],i=function(t,e){e=it.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=it.ajaxSettings&&it.ajaxSettings.traditional),it.isArray(t)||t.jquery&&!it.isPlainObject(t))it.each(t,function(){i(this.name,this.value)});else for(n in t)U(n,t[n],e,i);return r.join("&").replace(Je,"+")},it.fn.extend({serialize:function(){return it.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=it.prop(this,"elements");return t?it.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!it(this).is(":disabled")&&Ye.test(this.nodeName)&&!Ve.test(t)&&(this.checked||!Nt.test(t))}).map(function(t,e){var n=it(this).val();return null==n?null:it.isArray(n)?it.map(n,function(t){return{name:e.name,value:t.replace(Xe,"\r\n")}}):{name:e.name,value:n.replace(Xe,"\r\n")}}).get()}}),it.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&W()||J()}:W;var Qe=0,Ge={},Ke=it.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Ge)Ge[t](void 0,!0)}),nt.cors=!!Ke&&"withCredentials"in Ke,Ke=nt.ajax=!!Ke,Ke&&it.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(n,r){var i,o=t.xhr(),a=++Qe;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)o[i]=t.xhrFields[i];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(t.hasContent&&t.data||null),e=function(n,i){var s,u,l;if(e&&(i||4===o.readyState))if(delete Ge[a],e=void 0,o.onreadystatechange=it.noop,i)4!==o.readyState&&o.abort();else{l={},s=o.status,"string"==typeof o.responseText&&(l.text=o.responseText);try{u=o.statusText}catch(c){u=""}s||!t.isLocal||t.crossDomain?1223===s&&(s=204):s=l.text?200:404}l&&r(s,u,l,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Ge[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),it.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return it.globalEval(t),t}}}),it.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),it.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=pt.head||it("head")[0]||pt.documentElement;return{send:function(r,i){e=pt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||i(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var tn=[],en=/(=)\?(?=&|$)|\?\?/;it.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tn.pop()||it.expando+"_"+Ne++;return this[t]=!0,t}}),it.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,a,s=e.jsonp!==!1&&(en.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=it.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(en,"$1"+i):e.jsonp!==!1&&(e.url+=($e.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||it.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){a=arguments},r.always(function(){t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,tn.push(i)),a&&it.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),it.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||pt;var r=ft.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=it.buildFragment([t],e,i),i&&i.length&&it(i).remove(),it.merge([],r.childNodes))};var nn=it.fn.load;it.fn.load=function(t,e,n){if("string"!=typeof t&&nn)return nn.apply(this,arguments);var r,i,o,a=this,s=t.indexOf(" ");return s>=0&&(r=it.trim(t.slice(s,t.length)),t=t.slice(0,s)),it.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&it.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){i=arguments,a.html(r?it("<div>").append(it.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){a.each(n,i||[t.responseText,e,t])}),this},it.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){it.fn[e]=function(t){return this.on(e,t)}}),it.expr.filters.animated=function(t){return it.grep(it.timers,function(e){return t===e.elem}).length};var rn=t.document.documentElement;it.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l,c=it.css(t,"position"),f=it(t),h={};"static"===c&&(t.style.position="relative"),s=f.offset(),o=it.css(t,"top"),u=it.css(t,"left"),l=("absolute"===c||"fixed"===c)&&it.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),it.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+i),"using"in e?e.using.call(t,h):f.css(h)}},it.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){it.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return e=o.documentElement,it.contains(e,i)?(typeof i.getBoundingClientRect!==St&&(r=i.getBoundingClientRect()),n=Z(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r},position:function(){if(this[0]){var t,e,n={top:0,left:0},r=this[0];return"fixed"===it.css(r,"position")?e=r.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),it.nodeName(t[0],"html")||(n=t.offset()),n.top+=it.css(t[0],"borderTopWidth",!0),n.left+=it.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-it.css(r,"marginTop",!0),left:e.left-n.left-it.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||rn;t&&!it.nodeName(t,"html")&&"static"===it.css(t,"position");)t=t.offsetParent;return t||rn})}}),it.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);it.fn[t]=function(r){return kt(this,function(t,r,i){var o=Z(t);return void 0===i?o?e in o?o[e]:o.document.documentElement[r]:t[r]:void(o?o.scrollTo(n?it(o).scrollLeft():i,n?i:it(o).scrollTop()):t[r]=i)},t,r,arguments.length,null)}}),it.each(["top","left"],function(t,e){it.cssHooks[e]=A(nt.pixelPosition,function(t,n){return n?(n=ee(t,e),re.test(n)?it(t).position()[e]+"px":n):void 0})}),it.each({Height:"height",Width:"width"},function(t,e){it.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){it.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return kt(this,function(e,n,r){var i;return it.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?it.css(e,n,a):it.style(e,n,r,a)},e,o?r:void 0,o,null)}})}),it.fn.size=function(){return this.length},it.fn.andSelf=it.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return it});var on=t.jQuery,an=t.$;return it.noConflict=function(e){return t.$===it&&(t.$=an),e&&t.jQuery===it&&(t.jQuery=on),it},typeof e===St&&(t.jQuery=t.$=it),it}),function(t,e){"use strict";t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,r=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not(form button), button[data-confirm]:not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,r){var i=t.Event(n);return e.trigger(i,r),i.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&t.data("remote")!==!1},handleRemote:function(r){var i,o,a,s,u,l;if(n.fire(r,"ajax:before")){if(s=r.data("with-credentials")||null,u=r.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,r.is("form")){i=r.attr("method"),o=r.attr("action"),a=r.serializeArray();var c=r.data("ujs:submit-button");c&&(a.push(c),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(i=r.data("method"),o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(i=r.data("method")||"get",o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):(i=r.data("method"),o=n.href(r),a=r.data("params")||null);return l={type:i||"GET",data:a,dataType:u,beforeSend:function(t,i){return i.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+i.accepts.script),n.fire(r,"ajax:beforeSend",[t,i])?void r.trigger("ajax:send",t):!1},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(o)},s&&(l.xhrFields={withCredentials:s}),o&&(l.url=o),n.ajax(l)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(r){return!0}},handleMethod:function(r){var i=n.href(r),o=r.data("method"),a=r.attr("target"),s=n.csrfToken(),u=n.csrfParam(),l=t('<form method="post" action="'+i+'"></form>'),c='<input name="_method" value="'+o+'" type="hidden" />';u===e||s===e||n.isCrossDomain(i)||(c+='<input name="'+u+'" value="'+s+'" type="hidden" />'),a&&l.attr("target",a),l.hide().append(c).appendTo("body"),l.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,r;n=t.is("button")?"html":"val",r=t.data("disable-with"),t.data("ujs:enable-with",t[n]()),r!==e&&t[n](r),t.prop("disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var e=t.is("button")?"html":"val";"undefined"!=typeof t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)},allowAction:function(t){var e,r=t.data("confirm"),i=!1;if(!r)return!0;if(n.fire(t,"confirm")){try{i=n.confirm(r)}catch(o){(console.error||console.log).call(console,o.stack||o)}e=n.fire(t,"confirm:complete",[i])}return i&&e},blankInputs:function(e,n,r){var i,o,a=t(),s=n||"input,textarea",u=e.find(s);return u.each(function(){if(i=t(this),o=i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val(),o===r){if(i.is("input[type=radio]")&&u.filter('input[type=radio]:checked[name="'+i.attr("name")+'"]').length)return!0;a=a.add(i)}}),a.length?a:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var r=t.data("disable-with");t.data("ujs:enable-with",t.html()),r!==e&&t.html(r),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,r){t.crossDomain||n.CSRFProtection(r)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:enable-with")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:enable-with")&&t.rails.enableElement(e)})}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),r.delegate(n.buttonDisableSelector,"ajax:complete",function(){n.enableFormElement(t(this))}),r.delegate(n.linkClickSelector,"click.rails",function(e){var r=t(this),i=r.data("method"),o=r.data("params"),a=e.metaKey||e.ctrlKey;if(!n.allowAction(r))return n.stopEverything(e);if(!a&&r.is(n.linkDisableSelector)&&n.disableElement(r),n.isRemote(r)){if(a&&(!i||"GET"===i)&&!o)return!0;var s=n.handleRemote(r);return s===!1?n.enableElement(r):s.fail(function(){n.enableElement(r)}),!1}return i?(n.handleMethod(r),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(e){var r=t(this);if(!n.allowAction(r)||!n.isRemote(r))return n.stopEverything(e);r.is(n.buttonDisableSelector)&&n.disableFormElement(r);var i=n.handleRemote(r);return i===!1?n.enableFormElement(r):i.fail(function(){n.enableFormElement(r)}),!1}),r.delegate(n.inputChangeSelector,"change.rails",function(e){var r=t(this);return n.allowAction(r)&&n.isRemote(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var i,o,a=t(this),s=n.isRemote(a);if(!n.allowAction(a))return n.stopEverything(r);if(a.attr("novalidate")===e&&(i=n.blankInputs(a,n.requiredInputSelector,!1),i&&n.fire(a,"ajax:aborted:required",[i])))return n.stopEverything(r);if(s){if(o=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(a)},13);var u=n.fire(a,"ajax:aborted:file",[o]);return u||setTimeout(function(){n.enableFormElements(a)},13),u}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(e){var r=t(this);if(!n.allowAction(r))return n.stopEverything(e);var i=r.attr("name"),o=i?{name:i,value:r.val()}:null;r.closest("form").data("ujs:submit-button",o)}),r.delegate(n.formSubmitSelector,"ajax:send.rails",function(e){this===e.target&&n.disableFormElements(t(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this===e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))}(jQuery),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),/* ========================================================================
   * Bootstrap: transition.js v3.3.5
   * http://getbootstrap.com/javascript/#transitions
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||t(r).trigger(t.support.transition.end)};return setTimeout(i,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),/* ========================================================================
   * Bootstrap: alert.js v3.3.5
   * http://getbootstrap.com/javascript/#alerts
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var n=t(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof e&&i[e].call(n)})}var n='[data-dismiss="alert"]',r=function(e){t(e).on("click",n,this.close)};r.VERSION="3.3.5",r.TRANSITION_DURATION=150,r.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var i=t(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var a=t(o);e&&e.preventDefault(),a.length||(a=i.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=r,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery),/* ========================================================================
   * Bootstrap: button.js v3.3.5
   * http://getbootstrap.com/javascript/#buttons
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof e&&e;i||r.data("bs.button",i=new n(this,o)),"toggle"==e?i.toggle():e&&i.setState(e)})}var n=function(e,r){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy(function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=t(n.target);r.hasClass("btn")||(r=r.closest(".btn")),e.call(r,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),/* ========================================================================
   * Bootstrap: carousel.js v3.3.5
   * http://getbootstrap.com/javascript/#carousel
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e),a="string"==typeof e?e:o.slide;i||r.data("bs.carousel",i=new n(this,o)),"number"==typeof e?i.to(e):a?i[a]():o.interval&&i.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),r="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(r&&!this.options.wrap)return e;var i="prev"==t?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(e,i),a=this.interval,s="next"==e?"left":"right",u=this;if(o.hasClass("active"))return this.sliding=!1;var l=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:l,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(o)]);f&&f.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:l,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([e,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),u.sliding=!1,setTimeout(function(){u.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(n){var r,i=t(this),o=t(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=t.extend({},o.data(),i.data()),s=i.attr("data-slide-to");s&&(a.interval=!1),e.call(o,a),s&&o.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),/* ========================================================================
   * Bootstrap: collapse.js v3.3.5
   * http://getbootstrap.com/javascript/#collapse
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function n(e){return this.each(function(){var n=t(this),i=n.data("bs.collapse"),o=t.extend({},r.DEFAULTS,n.data(),"object"==typeof e&&e);!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||n.data("bs.collapse",i=new r(this,o)),"string"==typeof e&&i[e]()})}var r=function(e,n){this.$element=t(e),this.options=t.extend({},r.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.5",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(e=i.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),e||i.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var u=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[a](this.$element[0][u])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,r){var i=t(r);this.addAriaAndCollapsedClass(e(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=r,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=t(this);i.attr("data-target")||r.preventDefault();var o=e(i),a=o.data("bs.collapse"),s=a?"toggle":i.data();n.call(o,s)})}(jQuery),/* ========================================================================
   * Bootstrap: dropdown.js v3.3.5
   * http://getbootstrap.com/javascript/#dropdowns
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}function n(n){n&&3===n.which||(t(i).remove(),t(o).each(function(){var r=t(this),i=e(r),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(i[0],n.target)||(i.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}function r(e){return this.each(function(){var n=t(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new a(this)),"string"==typeof e&&r[e].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(r){var i=t(this);if(!i.is(".disabled, :disabled")){var o=e(i),a=o.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(o.trigger(r=t.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=t(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var i=e(r),a=i.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&i.find(o).trigger("focus"),r.trigger("click");var s=" li:not(.disabled):visible a",u=i.find(".dropdown-menu"+s);if(u.length){var l=u.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<u.length-1&&l++,~l||(l=0),u.eq(l).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=r,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,a.prototype.toggle).on("keydown.bs.dropdown.data-api",o,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),/* ========================================================================
   * Bootstrap: modal.js v3.3.5
   * http://getbootstrap.com/javascript/#modals
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e,r){return this.each(function(){var i=t(this),o=i.data("bs.modal"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);o||i.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](r):a.show&&o.show(r)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var r=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){r.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var r=t(this),i=r.attr("href"),o=t(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),e.call(o,a,this)})}(jQuery),/* ========================================================================
   * Bootstrap: tooltip.js v3.3.5
   * http://getbootstrap.com/javascript/#tooltip
   * Inspired by the original jQuery.tipsy by Jason Frame
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.tooltip"),o="object"==typeof e&&e;(i||!/destroy|hide/.test(e))&&(i||r.data("bs.tooltip",i=new n(this,o)),"string"==typeof e&&i[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",u="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(u+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,r){n[t]!=r&&(e[t]=r)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var r=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,l=u.test(s);l&&(s=s.replace(u,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),f=o[0].offsetWidth,h=o[0].offsetHeight;if(l){var d=s,p=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>p.bottom?"top":"top"==s&&c.top-h<p.top?"bottom":"right"==s&&c.right+f>p.width?"left":"left"==s&&c.left-f<p.left?"right":s,o.removeClass(d).addClass(s)}var g=this.getCalculatedOffset(s,c,f,h);this.applyPlacement(g,s);var m=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(n.TRANSITION_DURATION):m()}},n.prototype.applyPlacement=function(e,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var u=r[0].offsetWidth,l=r[0].offsetHeight;"top"==n&&l!=o&&(e.top=e.top+o-l);var c=this.getViewportAdjustedDelta(n,e,u,l);c.left?e.left+=c.left:e.top+=c.top;var f=/top|bottom/.test(n),h=f?2*c.left-i+u:2*c.top-o+l,d=f?"offsetWidth":"offsetHeight";r.offset(e),this.replaceArrow(h,r[0][d],f)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function r(){"in"!=i.hoverState&&o.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}var i=this,o=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=r?{top:0,left:0}:e.offset(),a={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=r?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,a,s,o)},n.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,u=e.top+o-a.scroll+r;s<a.top?i.top=a.top-s:u>a.top+a.height&&(i.top=a.top+a.height-u)}else{var l=e.left-o,c=e.left+o+n;l<a.left?i.left=a.left-l:c>a.right&&(i.left=a.left+a.width-c)}return i},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var r=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=r,this}}(jQuery),/* ========================================================================
   * Bootstrap: popover.js v3.3.5
   * http://getbootstrap.com/javascript/#popovers
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof e&&e;(i||!/destroy|hide/.test(e))&&(i||r.data("bs.popover",i=new n(this,o)),"string"==typeof e&&i[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.5",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=r,this}}(jQuery),/* ========================================================================
   * Bootstrap: scrollspy.js v3.3.5
   * http://getbootstrap.com/javascript/#scrollspy
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)a!=o[t]&&e>=i[t]&&(void 0===i[t+1]||e<i[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',r=t(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),/* ========================================================================
   * Bootstrap: tab.js v3.3.5
   * http://getbootstrap.com/javascript/#tabs
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new n(this)),"string"==typeof e&&i[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),r=e.data("target");if(r||(r=e.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=t(r);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},n.prototype.activate=function(e,r,i){function o(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var a=r.find("> .active"),s=i&&t.support.transition&&(a.length&&a.hasClass("fade")||!!r.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),a.removeClass("in")};var r=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),/* ========================================================================
   * Bootstrap: affix.js v3.3.5
   * http://getbootstrap.com/javascript/#affix
   * ========================================================================
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   * ======================================================================== */
  +function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof e&&e;i||r.data("bs.affix",i=new n(this,o)),"string"==typeof e&&i[e]()})}var n=function(e,r){this.options=t.extend({},n.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return n>i?"top":!1;if("bottom"==this.affixed)return null!=n?i+this.unpin<=o.top?!1:"bottom":t-r>=i+a?!1:"bottom";var s=null==this.affixed,u=s?i:o.top,l=s?a:e;return null!=n&&n>=i?"top":null!=r&&u+l>=t-r?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var s=this.getState(a,e,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),l=t.Event(u+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-o})}};var r=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),e.call(n,r)})})}(jQuery),function(){var t,e,n,r,i,o,a,s,u,l,c,f,h,d,p,g,m,v,y,b,x,E,w,S,M,T,A,_,C,k,N,$,P,D,H,I,L,j,O,R,F,q,B,z,U,W,J,Z,X,V,Y,Q,G,K,tt,et,nt=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},rt=function(t,e){function n(){this.constructor=t}for(var r in e)it.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},it={}.hasOwnProperty,ot=[].slice,at=function(t,e){return function(){return t.apply(e,arguments)}};D={},h=10,Q=!1,O=null,y=null,$=null,q=null,et=null,r={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:expire"},S=function(t){var e;return t=new n(t),J(),f(),null!=O&&O.start(),Q&&(e=G(t.absolute))?(M(e),T(t,null,!1)):T(t,V)},G=function(t){var e;return e=D[t],e&&!e.transitionCacheDisabled?e:void 0},x=function(t){return null==t&&(t=!0),Q=t},b=function(t){return null==t&&(t=!0),l?t?null!=O?O:O=new o("html"):(null!=O&&O.uninstall(),O=null):void 0},T=function(t,e,n){return null==n&&(n=!0),K(r.FETCH,{url:t.absolute}),null!=et&&et.abort(),et=new XMLHttpRequest,et.open("GET",t.withoutHashForIE10compatibility(),!0),et.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),et.setRequestHeader("X-XHR-Referer",q),et.onload=function(){var n;return K(r.RECEIVE,{url:t.absolute}),(n=j())?(B(t),z(),d.apply(null,w(n)),P(),"function"==typeof e&&e(),K(r.LOAD)):document.location.href=v()||t.absolute},O&&n&&(et.onprogress=function(t){return function(t){var e;return e=t.lengthComputable?t.loaded/t.total*100:O.value+(100-O.value)/10,O.advanceTo(e)}}(this)),et.onloadend=function(){return et=null},et.onerror=function(){return document.location.href=t.absolute},et.send()},M=function(t){return null!=et&&et.abort(),d(t.title,t.body),R(t),K(r.RESTORE)},f=function(){var t;return t=new n(y.url),D[t.absolute]={url:t.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},g(h)},I=function(t){return null==t&&(t=h),/^[\d]+$/.test(t)?h=parseInt(t):void 0},g=function(t){var e,n,i,o,a,s;for(a=Object.keys(D),e=a.map(function(t){return D[t].cachedAt}).sort(function(t,e){return e-t}),s=[],n=0,o=a.length;o>n;n++)i=a[n],D[i].cachedAt<=e[t]&&(K(r.EXPIRE,D[i]),s.push(delete D[i]));return s},d=function(e,n,i,o){return K(r.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=i&&t.update(i),Y(),o&&E(),y=window.history.state,null!=O&&O.done(),K(r.CHANGE),K(r.UPDATE)},E=function(){var t,e,n,r,i,o,a,s,u,l,c,f;for(f=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),n=0,i=f.length;i>n;n++)if(c=f[n],""===(u=c.type)||"text/javascript"===u){for(e=document.createElement("script"),l=c.attributes,r=0,o=l.length;o>r;r++)t=l[r],e.setAttribute(t.name,t.value);c.hasAttribute("async")||(e.async=!1),e.appendChild(document.createTextNode(c.innerHTML)),s=c.parentNode,a=c.nextSibling,s.removeChild(c),s.insertBefore(e,a)}},Z=function(t){return t.innerHTML=t.innerHTML.replace(/<noscript[\S\s]*?<\/noscript>/gi,""),t},Y=function(){var t,e;return t=(e=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[e.length-1],t&&document.activeElement!==t?t.focus():void 0},B=function(t){return(t=new n(t)).absolute!==q?window.history.pushState({turbolinks:!0,url:t.absolute},"",t.absolute):void 0},z=function(){var t,e;return(t=et.getResponseHeader("X-XHR-Redirected-To"))?(t=new n(t),e=t.hasNoHash()?document.location.hash:"",window.history.replaceState(window.history.state,"",t.href+e)):void 0},v=function(){var t;return null!=(t=et.getResponseHeader("Location"))&&new n(t).crossOrigin()?t:void 0},J=function(){return q=document.location.href},W=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},U=function(){return y=window.history.state},P=function(){var t;return navigator.userAgent.match(/Firefox/)&&!(t=new n).hasNoHash()?(window.history.replaceState(y,"",t.withoutHash()),document.location.hash=t.hash):void 0},R=function(t){return window.scrollTo(t.positionX,t.positionY)},V=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},p=function(t){var e,n,r;if(null==t||"object"!=typeof t)return t;e=new t.constructor;for(n in t)r=t[n],e[n]=p(r);return e},L=function(t){var e,n;return n=(null!=(e=document.cookie.match(new RegExp(t+"=(\\w+)")))?e[1].toUpperCase():void 0)||"",document.cookie=t+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",n},K=function(t,e){var n;return"undefined"!=typeof Prototype&&Event.fire(document,t,e,!0),n=document.createEvent("Events"),e&&(n.data=e),n.initEvent(t,!0,!0),document.dispatchEvent(n)},H=function(t){return!K(r.BEFORE_CHANGE,{url:t})},j=function(){var t,e,n,r,i,o;return e=function(){var t;return 400<=(t=et.status)&&600>t},o=function(){var t;return null!=(t=et.getResponseHeader("Content-Type"))&&t.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(t){var e,n,r,i,o;for(i=t.querySelector("head").childNodes,o=[],e=0,n=i.length;n>e;e++)r=i[e],null!=("function"==typeof r.getAttribute?r.getAttribute("data-turbolinks-track"):void 0)&&o.push(r.getAttribute("src")||r.getAttribute("href"));return o},t=function(t){var e;return $||($=r(document)),e=r(t),e.length!==$.length||i(e,$).length!==$.length},i=function(t,e){var n,r,i,o,a;for(t.length>e.length&&(i=[e,t],t=i[0],e=i[1]),o=[],n=0,r=t.length;r>n;n++)a=t[n],nt.call(e,a)>=0&&o.push(a);return o},!e()&&o()&&(n=m(et.responseText),n&&!t(n))?n:void 0},w=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,Z(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(t){var e;return null==t&&(t=document),{node:e=t.querySelector('meta[name="csrf-token"]'),token:null!=e&&"function"==typeof e.getAttribute?e.getAttribute("content"):void 0}},update:function(t){var e;return e=this.get(),null!=e.token&&null!=t&&e.token!==t?e.node.setAttribute("content",t):void 0}},m=function(t){var e;return e=document.documentElement.cloneNode(),e.innerHTML=t,e.head=e.querySelector("head"),e.body=e.querySelector("body"),e},n=function(){function t(e){return this.original=null!=e?e:document.location.href,this.original.constructor===t?this.original:void this._parse()}return t.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},t.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},t.prototype.hasNoHash=function(){return 0===this.hash.length},t.prototype.crossOrigin=function(){return this.origin!==(new t).origin},t.prototype._parse=function(){var t;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,t=this.link,this.href=t.href,this.protocol=t.protocol,this.host=t.host,this.hostname=t.hostname,this.port=t.port,this.pathname=t.pathname,this.search=t.search,this.hash=t.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},t}(),i=function(t){function e(t){return this.link=t,this.link.constructor===e?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void e.__super__.constructor.apply(this,arguments))}return rt(e,t),e.HTML_EXTENSIONS=["html"],e.allowExtensions=function(){var t,n,r,i;for(n=1<=arguments.length?ot.call(arguments,0):[],r=0,i=n.length;i>r;r++)t=n[r],e.HTML_EXTENSIONS.push(t);return e.HTML_EXTENSIONS},e.prototype.shouldIgnore=function(){return this.crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},e.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new n).withoutHash()},e.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+e.HTML_EXTENSIONS.join("|")+")?$","g"))},e.prototype._optOut=function(){var t,e;for(e=this.originalElement;!t&&e!==document;)t=null!=e.getAttribute("data-no-turbolink"),e=e.parentNode;return t},e.prototype._target=function(){return 0!==this.link.target.length},e}(n),e=function(){function t(t){this.event=t,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(H(this.link.absolute)||tt(this.link.href),this.event.preventDefault()))}return t.installHandlerLast=function(e){return e.defaultPrevented?void 0:(document.removeEventListener("click",t.handle,!1),document.addEventListener("click",t.handle,!1))},t.handle=function(e){return new t(e)},t.prototype._extractLink=function(){var t;for(t=this.event.target;t.parentNode&&"A"!==t.nodeName;)t=t.parentNode;return"A"===t.nodeName&&0!==t.href.length?this.link=new i(t):void 0},t.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},t.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},t}(),o=function(){function t(t){this.elementSelector=t,this._trickle=at(this._trickle,this),this.value=0,this.content="",this.speed=300,this.opacity=.99,this.install()}var e;return e="turbolinks-progress-bar",t.prototype.install=function(){return this.element=document.querySelector(this.elementSelector),this.element.classList.add(e),this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement),this._updateStyle()},t.prototype.uninstall=function(){return this.element.classList.remove(e),document.head.removeChild(this.styleElement)},t.prototype.start=function(){return this.advanceTo(5)},t.prototype.advanceTo=function(t){var e;if(t>(e=this.value)&&100>=e){if(this.value=t,this._updateStyle(),100===this.value)return this._stopTrickle();if(this.value>0)return this._startTrickle()}},t.prototype.done=function(){return this.value>0?(this.advanceTo(100),this._reset()):void 0},t.prototype._reset=function(){var t;return t=this.opacity,setTimeout(function(t){return function(){return t.opacity=0,t._updateStyle()}}(this),this.speed/2),setTimeout(function(e){return function(){return e.value=0,e.opacity=t,e._withSpeed(0,function(){return e._updateStyle(!0)})}}(this),this.speed)},t.prototype._startTrickle=function(){return this.trickling?void 0:(this.trickling=!0,setTimeout(this._trickle,this.speed))},t.prototype._stopTrickle=function(){return delete this.trickling},t.prototype._trickle=function(){return this.trickling?(this.advanceTo(this.value+Math.random()/2),setTimeout(this._trickle,this.speed)):void 0},t.prototype._withSpeed=function(t,e){var n,r;return n=this.speed,this.speed=t,r=e(),this.speed=n,r},t.prototype._updateStyle=function(t){return null==t&&(t=!1),t&&this._changeContentToForceRepaint(),this.styleElement.textContent=this._createCSSRule()},t.prototype._changeContentToForceRepaint=function(){return this.content=""===this.content?" ":""},t.prototype._createCSSRule=function(){return this.elementSelector+"."+e+"::before {\n  content: '"+this.content+"';\n  position: fixed;\n  top: 0;\n  left: 0;\n  z-index: 2000;\n  background-color: #0076ff;\n  height: 3px;\n  opacity: "+this.opacity+";\n  width: "+this.value+"%;\n  transition: width "+this.speed+"ms ease-out, opacity "+this.speed/2+"ms ease-in;\n  transform: translate3d(0,0,0);\n}"},t}(),c=function(t){return setTimeout(t,500)},C=function(){return document.addEventListener("DOMContentLoaded",function(){return K(r.CHANGE),K(r.UPDATE)},!0)},N=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(t,e,n){return jQuery.trim(e.responseText)?K(r.UPDATE):void 0}):void 0},k=function(t){var e,r;return(null!=(r=t.state)?r.turbolinks:void 0)?(e=D[new n(t.state.url).absolute])?(f(),M(e)):tt(t.target.location.href):void 0},_=function(){return W(),U(),document.addEventListener("click",e.installHandlerLast,!0),window.addEventListener("hashchange",function(t){return W(),U()},!1),c(function(){return window.addEventListener("popstate",k,!1)})},A=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),u=window.history&&window.history.pushState&&window.history.replaceState&&A,a=!navigator.userAgent.match(/CriOS\//),X="GET"===(F=L("request_method"))||""===F,l=u&&a&&X,s=document.addEventListener&&document.createEvent,s&&(C(),N()),l?(tt=S,_()):tt=function(t){return document.location.href=t},this.Turbolinks={visit:tt,pagesCached:I,enableTransitionCache:x,enableProgressBar:b,allowLinkExtensions:i.allowExtensions,supported:l,EVENTS:p(r)}}.call(this),d3=function(){function t(t){return null!=t&&!isNaN(t)}function e(t){return t.length}function n(t){for(var e=1;t*e%1;)e*=10;return e}function r(t,e){try{for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}catch(r){t.prototype=e}}function i(){}function o(){}function a(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function s(){}function u(t){function e(){for(var e,r=n,i=-1,o=r.length;++i<o;)(e=r[i].on)&&e.apply(this,arguments);return t}var n=[],r=new i;return e.on=function(e,i){var o,a=r.get(e);return arguments.length<2?a&&a.on:(a&&(a.on=null,n=n.slice(0,o=n.indexOf(a)).concat(n.slice(o+1)),r.remove(e)),i&&n.push(r.set(e,{on:i})),t)},e}function l(){uo.event.stopPropagation(),uo.event.preventDefault()}function c(){for(var t,e=uo.event;t=e.sourceEvent;)e=t;return e}function f(t,e){function n(){t.on(e,null)}t.on(e,function(){l(),n()},!0),setTimeout(n,0)}function h(t){for(var e=new s,n=0,r=arguments.length;++n<r;)e[arguments[n]]=u(e);return e.of=function(n,r){return function(i){try{var o=i.sourceEvent=uo.event;i.target=t,uo.event=i,e[i.type].apply(n,r)}finally{uo.event=o}}},e}function d(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();if(0>yo&&(co.scrollX||co.scrollY)){n=uo.select(lo.body).append("svg").style("position","absolute").style("top",0).style("left",0);var i=n[0][0].getScreenCTM();yo=!(i.f||i.e),n.remove()}return yo?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}function p(t){for(var e=-1,n=t.length,r=[];++e<n;)r.push(t[e]);return r}function g(t){return Array.prototype.slice.call(t)}function m(t){return Eo(t,_o),t}function v(t){return function(){return wo(t,this)}}function y(t){return function(){return So(t,this)}}function x(t,e){function n(){this.removeAttribute(t)}function r(){this.removeAttributeNS(t.space,t.local)}function i(){this.setAttribute(t,e)}function o(){this.setAttributeNS(t.space,t.local,e)}function a(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}function s(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}return t=uo.ns.qualify(t),null==e?t.local?r:n:"function"==typeof e?t.local?s:a:t.local?o:i}function E(t){return t.trim().replace(/\s+/g," ")}function w(t){return new RegExp("(?:^|\\s+)"+uo.requote(t)+"(?:\\s+|$)","g")}function S(t,e){function n(){for(var n=-1;++n<i;)t[n](this,e)}function r(){for(var n=-1,r=e.apply(this,arguments);++n<i;)t[n](this,r)}t=t.trim().split(/\s+/).map(M);var i=t.length;return"function"==typeof e?r:n}function M(t){var e=w(t);return function(n,r){if(i=n.classList)return r?i.add(t):i.remove(t);var i=n.getAttribute("class")||"";r?(e.lastIndex=0,e.test(i)||n.setAttribute("class",E(i+" "+t))):n.setAttribute("class",E(i.replace(e," ")))}}function T(t,e,n){function r(){this.style.removeProperty(t)}function i(){this.style.setProperty(t,e,n)}function o(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}return null==e?r:"function"==typeof e?o:i}function A(t,e){function n(){delete this[t]}function r(){this[t]=e}function i(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}return null==e?n:"function"==typeof e?i:r}function _(t){return{__data__:t}}function C(t){return function(){return Ao(this,t)}}function k(t){return arguments.length||(t=uo.ascending),function(e,n){return!e-!n||t(e.__data__,n.__data__)}}function N(){}function $(t,e,n){function r(){var e=this[a];e&&(this.removeEventListener(t,e,e.$),delete this[a])}function i(){var i=u(e,bo(arguments));r.call(this),this.addEventListener(t,this[a]=i,i.$=n),i._=e}function o(){var e,n=new RegExp("^__on([^.]+)"+uo.requote(t)+"$");for(var r in this)if(e=r.match(n)){var i=this[r];this.removeEventListener(e[1],i,i.$),delete this[r]}}var a="__on"+t,s=t.indexOf("."),u=P;s>0&&(t=t.substring(0,s));var l=No.get(t);return l&&(t=l,u=D),s?e?i:r:e?N:o}function P(t,e){return function(n){var r=uo.event;uo.event=n,e[0]=this.__data__;try{t.apply(this,e)}finally{uo.event=r}}}function D(t,e){var n=P(t,e);return function(t){var e=this,r=t.relatedTarget;r&&(r===e||8&r.compareDocumentPosition(e))||n.call(e,t)}}function H(t,e){for(var n=0,r=t.length;r>n;n++)for(var i,o=t[n],a=0,s=o.length;s>a;a++)(i=o[a])&&e(i,a,n);return t}function I(t){return Eo(t,$o),t}function L(){}function j(t,e,n){return new O(t,e,n)}function O(t,e,n){this.h=t,this.s=e,this.l=n}function R(t,e,n){function r(t){return t>360?t-=360:0>t&&(t+=360),60>t?o+(a-o)*t/60:180>t?a:240>t?o+(a-o)*(240-t)/60:o}function i(t){return Math.round(255*r(t))}var o,a;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:0>e?0:e>1?1:e,n=0>n?0:n>1?1:n,a=.5>=n?n*(1+e):n+e-n*e,o=2*n-a,nt(i(t+120),i(t),i(t-120))}function F(t){return t>0?1:0>t?-1:0}function q(t){return Math.acos(Math.max(-1,Math.min(1,t)))}function B(t){return t>1?jo/2:-1>t?-jo/2:Math.asin(t)}function z(t){return(Math.exp(t)-Math.exp(-t))/2}function U(t){return(Math.exp(t)+Math.exp(-t))/2}function W(t){return(t=Math.sin(t/2))*t}function J(t,e,n){return new Z(t,e,n)}function Z(t,e,n){this.h=t,this.c=e,this.l=n}function X(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),V(n,Math.cos(t*=Ro)*e,Math.sin(t)*e)}function V(t,e,n){return new Y(t,e,n)}function Y(t,e,n){this.l=t,this.a=e,this.b=n}function Q(t,e,n){var r=(t+16)/116,i=r+e/500,o=r-n/200;return i=K(i)*zo,r=K(r)*Uo,o=K(o)*Wo,nt(et(3.2404542*i-1.5371385*r-.4985314*o),et(-.969266*i+1.8760108*r+.041556*o),et(.0556434*i-.2040259*r+1.0572252*o))}function G(t,e,n){return t>0?J(Math.atan2(n,e)*Fo,Math.sqrt(e*e+n*n),t):J(NaN,NaN,t)}function K(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function tt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function et(t){return Math.round(255*(.00304>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function nt(t,e,n){return new rt(t,e,n)}function rt(t,e,n){this.r=t,this.g=e,this.b=n}function it(t){return 16>t?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function ot(t,e,n){var r,i,o,a=0,s=0,u=0;if(r=/([a-z]+)\((.*)\)/i.exec(t))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(lt(i[0]),lt(i[1]),lt(i[2]))}return(o=Xo.get(t))?e(o.r,o.g,o.b):(null!=t&&"#"===t.charAt(0)&&(4===t.length?(a=t.charAt(1),a+=a,s=t.charAt(2),s+=s,u=t.charAt(3),u+=u):7===t.length&&(a=t.substring(1,3),s=t.substring(3,5),u=t.substring(5,7)),a=parseInt(a,16),s=parseInt(s,16),u=parseInt(u,16)),e(a,s,u))}function at(t,e,n){var r,i,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,u=(a+o)/2;return s?(i=.5>u?s/(a+o):s/(2-a-o),r=t==a?(e-n)/s+(n>e?6:0):e==a?(n-t)/s+2:(t-e)/s+4,r*=60):(r=NaN,i=u>0&&1>u?0:r),j(r,i,u)}function st(t,e,n){t=ut(t),e=ut(e),n=ut(n);var r=tt((.4124564*t+.3575761*e+.1804375*n)/zo),i=tt((.2126729*t+.7151522*e+.072175*n)/Uo),o=tt((.0193339*t+.119192*e+.9503041*n)/Wo);return V(116*i-16,500*(r-i),200*(i-o))}function ut(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lt(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function ct(t){return"function"==typeof t?t:function(){return t}}function ft(t){return t}function ht(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}function dt(t,e){function n(t,n,o){arguments.length<3&&(o=n,n=null);var a=uo.xhr(t,e,o);return a.row=function(t){return arguments.length?a.response(null==(n=t)?r:i(t)):n},a.row(n)}function r(t){return n.parse(t.responseText)}function i(t){return function(e){return n.parse(e.responseText,t)}}function a(e){return e.map(s).join(t)}function s(t){return u.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\n]"),l=t.charCodeAt(0);return n.parse=function(t,e){var r;return n.parseRows(t,function(t,n){if(r)return r(t,n-1);var i=new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}");r=e?function(t,n){return e(i(t),n)}:i})},n.parseRows=function(t,e){function n(){if(c>=u)return a;if(i)return i=!1,o;var e=c;if(34===t.charCodeAt(e)){for(var n=e;n++<u;)if(34===t.charCodeAt(n)){if(34!==t.charCodeAt(n+1))break;++n}c=n+2;var r=t.charCodeAt(n+1);return 13===r?(i=!0,10===t.charCodeAt(n+2)&&++c):10===r&&(i=!0),t.substring(e+1,n).replace(/""/g,'"')}for(;u>c;){var r=t.charCodeAt(c++),s=1;if(10===r)i=!0;else if(13===r)i=!0,10===t.charCodeAt(c)&&(++c,++s);else if(r!==l)continue;return t.substring(e,c-s)}return t.substring(e)}for(var r,i,o={},a={},s=[],u=t.length,c=0,f=0;(r=n())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=n();(!e||(h=e(h,f++)))&&s.push(h)}return s},n.format=function(e){if(Array.isArray(e[0]))return n.formatRows(e);var r=new o,i=[];return e.forEach(function(t){for(var e in t)r.has(e)||i.push(r.add(e))}),[i.map(s).join(t)].concat(e.map(function(e){return i.map(function(t){return s(e[t])}).join(t)})).join("\n")},n.formatRows=function(t){return t.map(a).join("\n")},n}function pt(){for(var t,e=Date.now(),n=Ko;n;)t=e-n.then,t>=n.delay&&(n.flush=n.callback(t)),n=n.next;var r=gt()-e;r>24?(isFinite(r)&&(clearTimeout(Yo),Yo=setTimeout(pt,r)),Vo=0):(Vo=1,ta(pt))}function gt(){for(var t=null,e=Ko,n=1/0;e;)e.flush?(delete Go[e.callback.id],e=t?t.next=e.next:Ko=e.next):(n=Math.min(n,e.then+e.delay),e=(t=e).next);return n}function mt(t,e){var n=Math.pow(10,3*Math.abs(8-e));return{scale:e>8?function(t){return t/n}:function(t){return t*n},symbol:t}}function vt(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}function yt(t){return t+""}function bt(t,e){t&&ca.hasOwnProperty(t.type)&&ca[t.type](t,e)}function xt(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1]);e.lineEnd()}function Et(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)xt(t[n],e,1);e.polygonEnd()}function wt(){function t(t,e){t*=Ro,e=e*Ro/2+jo/4;var n=t-r,a=Math.cos(e),s=Math.sin(e),u=o*s,l=ha,c=da,f=i*a+u*Math.cos(n),h=u*Math.sin(n);ha=l*f-c*h,da=c*f+l*h,r=t,i=a,o=s}var e,n,r,i,o;pa.point=function(a,s){pa.point=t,r=(e=a)*Ro,i=Math.cos(s=(n=s)*Ro/2+jo/4),o=Math.sin(s)},pa.lineEnd=function(){t(e,n)}}function St(t){function e(t,e){r>t&&(r=t),t>o&&(o=t),i>e&&(i=e),e>a&&(a=e)}function n(){s.point=s.lineEnd=N}var r,i,o,a,s={point:e,lineStart:N,lineEnd:N,polygonStart:function(){s.lineEnd=n},polygonEnd:function(){s.point=e}};return function(e){return a=o=-(r=i=1/0),uo.geo.stream(e,t(s)),[[r,i],[o,a]]}}function Mt(t,e){if(!ga){++ma,t*=Ro;var n=Math.cos(e*=Ro);va+=(n*Math.cos(t)-va)/ma,ya+=(n*Math.sin(t)-ya)/ma,ba+=(Math.sin(e)-ba)/ma}}function Tt(){var t,e;ga=1,At(),ga=2;var n=xa.point;xa.point=function(r,i){n(t=r,e=i)},xa.lineEnd=function(){xa.point(t,e),_t(),xa.lineEnd=_t}}function At(){function t(t,i){t*=Ro;var o=Math.cos(i*=Ro),a=o*Math.cos(t),s=o*Math.sin(t),u=Math.sin(i),l=Math.atan2(Math.sqrt((l=n*u-r*s)*l+(l=r*a-e*u)*l+(l=e*s-n*a)*l),e*a+n*s+r*u);ma+=l,va+=l*(e+(e=a)),ya+=l*(n+(n=s)),ba+=l*(r+(r=u))}var e,n,r;ga>1||(1>ga&&(ga=1,ma=va=ya=ba=0),xa.point=function(i,o){i*=Ro;var a=Math.cos(o*=Ro);e=a*Math.cos(i),n=a*Math.sin(i),r=Math.sin(o),xa.point=t})}function _t(){xa.point=Mt}function Ct(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function kt(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Nt(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function $t(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Pt(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Dt(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Ht(){return!0}function It(t){return[Math.atan2(t[1],t[0]),Math.asin(Math.max(-1,Math.min(1,t[2])))]}function Lt(t,e){return Math.abs(t[0]-e[0])<Oo&&Math.abs(t[1]-e[1])<Oo}function jt(t,e,n,r,i){var o=[],a=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],r=t[e];if(Lt(n,r)){i.lineStart();for(var s=0;e>s;++s)i.point((n=t[s])[0],n[1]);return void i.lineEnd()}var u={point:n,points:t,other:null,visited:!1,entry:!0,subject:!0},l={point:n,points:[n],other:u,visited:!1,entry:!1,subject:!1};u.other=l,o.push(u),a.push(l),u={point:r,points:[r],other:null,visited:!1,entry:!1,subject:!0},l={point:r,points:[r],other:u,visited:!1,entry:!0,subject:!1},u.other=l,o.push(u),a.push(l)}}),a.sort(e),Ot(o),Ot(a),o.length){if(n)for(var s=1,u=!n(a[0].point),l=a.length;l>s;++s)a[s].entry=u=!u;for(var c,f,h,d=o[0];;){for(c=d;c.visited;)if((c=c.next)===d)return;f=c.points,i.lineStart();do{if(c.visited=c.other.visited=!0,c.entry){if(c.subject)for(var s=0;s<f.length;s++)i.point((h=f[s])[0],h[1]);else r(c.point,c.next.point,1,i);c=c.next}else{if(c.subject){f=c.prev.points;for(var s=f.length;--s>=0;)i.point((h=f[s])[0],h[1])}else r(c.point,c.prev.point,-1,i);c=c.prev}c=c.other,f=c.points}while(!c.visited);i.lineEnd()}}}function Ot(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.next=n=t[r],n.prev=i,i=n;i.next=n=t[0],n.prev=i}}function Rt(t,e,n){return function(r){function i(e,n){t(e,n)&&r.point(e,n)}function o(t,e){m.point(t,e)}function a(){v.point=o,m.lineStart()}function s(){v.point=i,m.lineEnd()}function u(t,e){b.point(t,e),g.push([t,e])}function l(){b.lineStart(),g=[]}function c(){u(g[0][0],g[0][1]),b.lineEnd();var t,e=b.clean(),n=y.buffer(),i=n.length;if(!i)return p=!0,d+=Bt(g,-1),void(g=null);if(g=null,1&e){t=n[0],h+=Bt(t,1);var o,i=t.length-1,a=-1;for(r.lineStart();++a<i;)r.point((o=t[a])[0],o[1]);return void r.lineEnd()}i>1&&2&e&&n.push(n.pop().concat(n.shift())),f.push(n.filter(Ft))}var f,h,d,p,g,m=e(r),v={point:i,lineStart:a,lineEnd:s,polygonStart:function(){v.point=u,v.lineStart=l,v.lineEnd=c,p=!1,d=h=0,f=[],r.polygonStart()},polygonEnd:function(){v.point=i,v.lineStart=a,v.lineEnd=s,f=uo.merge(f),f.length?jt(f,zt,null,n,r):(-Oo>h||p&&-Oo>d)&&(r.lineStart(),n(null,null,1,r),r.lineEnd()),r.polygonEnd(),f=null},sphere:function(){r.polygonStart(),r.lineStart(),n(null,null,1,r),r.lineEnd(),r.polygonEnd()}},y=qt(),b=e(y);return v}}function Ft(t){return t.length>1}function qt(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:N,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function Bt(t,e){if(!(n=t.length))return 0;for(var n,r,i,o=0,a=0,s=t[0],u=s[0],l=s[1],c=Math.cos(l),f=Math.atan2(e*Math.sin(u)*c,Math.sin(l)),h=1-e*Math.cos(u)*c,d=f;++o<n;)s=t[o],c=Math.cos(l=s[1]),r=Math.atan2(e*Math.sin(u=s[0])*c,Math.sin(l)),i=1-e*Math.cos(u)*c,Math.abs(h-2)<Oo&&Math.abs(i-2)<Oo||(Math.abs(i)<Oo||Math.abs(h)<Oo||(Math.abs(Math.abs(r-f)-jo)<Oo?i+h>2&&(a+=4*(r-f)):a+=Math.abs(h-2)<Oo?4*(r-d):((3*jo+r-f)%(2*jo)-jo)*(h+i)),d=f,f=r,h=i);return a}function zt(t,e){return((t=t.point)[0]<0?t[1]-jo/2-Oo:jo/2-t[1])-((e=e.point)[0]<0?e[1]-jo/2-Oo:jo/2-e[1])}function Ut(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?jo:-jo,u=Math.abs(o-n);Math.abs(u-jo)<Oo?(t.point(n,r=(r+a)/2>0?jo/2:-jo/2),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&u>=jo&&(Math.abs(n-i)<Oo&&(n-=i*Oo),Math.abs(o-s)<Oo&&(o-=s*Oo),r=Wt(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}function Wt(t,e,n,r){var i,o,a=Math.sin(t-n);return Math.abs(a)>Oo?Math.atan((Math.sin(e)*(o=Math.cos(r))*Math.sin(n)-Math.sin(r)*(i=Math.cos(e))*Math.sin(t))/(i*o*a)):(e+r)/2}function Jt(t,e,n,r){var i;if(null==t)i=n*jo/2,r.point(-jo,i),r.point(0,i),r.point(jo,i),r.point(jo,0),r.point(jo,-i),r.point(0,-i),r.point(-jo,-i),r.point(-jo,0),r.point(-jo,i);else if(Math.abs(t[0]-e[0])>Oo){var o=(t[0]<e[0]?1:-1)*jo;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}function Zt(t){function e(t,e){return Math.cos(t)*Math.cos(e)>o}function n(t){var n,o,u,l,c;return{lineStart:function(){l=u=!1,c=1},point:function(f,h){var d,p=[f,h],g=e(f,h),m=a?g?0:i(f,h):g?i(f+(0>f?jo:-jo),h):0;if(!n&&(l=u=g)&&t.lineStart(),g!==u&&(d=r(n,p),(Lt(n,d)||Lt(p,d))&&(p[0]+=Oo,p[1]+=Oo,g=e(p[0],p[1]))),g!==u)c=0,g?(t.lineStart(),d=r(p,n),t.point(d[0],d[1])):(d=r(n,p),t.point(d[0],d[1]),t.lineEnd()),n=d;else if(s&&n&&a^g){var v;m&o||!(v=r(p,n,!0))||(c=0,a?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||n&&Lt(n,p)||t.point(p[0],p[1]),n=p,u=g,o=m},lineEnd:function(){u&&t.lineEnd(),n=null},clean:function(){return c|(l&&u)<<1}}}function r(t,e,n){var r=Ct(t),i=Ct(e),a=[1,0,0],s=Nt(r,i),u=kt(s,s),l=s[0],c=u-l*l;if(!c)return!n&&t;var f=o*u/c,h=-o*l/c,d=Nt(a,s),p=Pt(a,f),g=Pt(s,h);$t(p,g);var m=d,v=kt(p,m),y=kt(m,m),b=v*v-y*(kt(p,p)-1);if(!(0>b)){var x=Math.sqrt(b),E=Pt(m,(-v-x)/y);if($t(E,p),E=It(E),!n)return E;var w,S=t[0],M=e[0],T=t[1],A=e[1];S>M&&(w=S,S=M,M=w);var _=M-S,C=Math.abs(_-jo)<Oo,k=C||Oo>_;if(!C&&T>A&&(w=T,T=A,A=w),k?C?T+A>0^E[1]<(Math.abs(E[0]-S)<Oo?T:A):T<=E[1]&&E[1]<=A:_>jo^(S<=E[0]&&E[0]<=M)){var N=Pt(m,(-v+x)/y);return $t(N,p),[E,It(N)]}}}function i(e,n){var r=a?t:jo-t,i=0;return-r>e?i|=1:e>r&&(i|=2),-r>n?i|=4:n>r&&(i|=8),i}var o=Math.cos(t),a=o>0,s=Math.abs(o)>Oo,u=ae(t,6*Ro);return Rt(e,n,u)}function Xt(t,e,n,r){function i(r,i){return Math.abs(r[0]-t)<Oo?i>0?0:3:Math.abs(r[0]-n)<Oo?i>0?2:1:Math.abs(r[1]-e)<Oo?i>0?1:0:i>0?3:2}function o(t,e){return a(t.point,e.point)}function a(t,e){var n=i(t,1),r=i(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0];
  }function s(i,o){var a=o[0]-i[0],s=o[1]-i[1],u=[0,1];return Math.abs(a)<Oo&&Math.abs(s)<Oo?t<=i[0]&&i[0]<=n&&e<=i[1]&&i[1]<=r:Vt(t-i[0],a,u)&&Vt(i[0]-n,-a,u)&&Vt(e-i[1],s,u)&&Vt(i[1]-r,-s,u)?(u[1]<1&&(o[0]=i[0]+u[1]*a,o[1]=i[1]+u[1]*s),u[0]>0&&(i[0]+=u[0]*a,i[1]+=u[0]*s),!0):!1}return function(u){function l(o){var a=i(o,-1),s=c([0===a||3===a?t:n,a>1?r:e]);return s}function c(t){for(var e=0,n=x.length,r=t[1],i=0;n>i;++i)for(var o=1,a=x[i],s=a.length,u=a[0];s>o;++o)b=a[o],u[1]<=r?b[1]>r&&f(u,b,t)>0&&++e:b[1]<=r&&f(u,b,t)<0&&--e,u=b;return 0!==e}function f(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(n[0]-t[0])*(e[1]-t[1])}function h(o,s,u,l){var c=0,f=0;if(null==o||(c=i(o,u))!==(f=i(s,u))||a(o,s)<0^u>0){do l.point(0===c||3===c?t:n,c>1?r:e);while((c=(c+u+4)%4)!==f)}else l.point(s[0],s[1])}function d(i,o){return i>=t&&n>=i&&o>=e&&r>=o}function p(t,e){d(t,e)&&u.point(t,e)}function g(){$.point=v,x&&x.push(E=[]),C=!0,_=!1,T=A=NaN}function m(){y&&(v(w,S),M&&_&&N.rejoin(),y.push(N.buffer())),$.point=p,_&&u.lineEnd()}function v(t,e){t=Math.max(-wa,Math.min(wa,t)),e=Math.max(-wa,Math.min(wa,e));var n=d(t,e);if(x&&E.push([t,e]),C)w=t,S=e,M=n,C=!1,n&&(u.lineStart(),u.point(t,e));else if(n&&_)u.point(t,e);else{var r=[T,A],i=[t,e];s(r,i)?(_||(u.lineStart(),u.point(r[0],r[1])),u.point(i[0],i[1]),n||u.lineEnd()):(u.lineStart(),u.point(t,e))}T=t,A=e,_=n}var y,x,E,w,S,M,T,A,_,C,k=u,N=qt(),$={point:p,lineStart:g,lineEnd:m,polygonStart:function(){u=N,y=[],x=[]},polygonEnd:function(){u=k,(y=uo.merge(y)).length?(u.polygonStart(),jt(y,o,l,h,u),u.polygonEnd()):c([t,e])&&(u.polygonStart(),u.lineStart(),h(null,null,1,u),u.lineEnd(),u.polygonEnd()),y=x=E=null}};return $}}function Vt(t,e,n){if(Math.abs(e)<Oo)return 0>=t;var r=t/e;if(e>0){if(r>n[1])return!1;r>n[0]&&(n[0]=r)}else{if(r<n[0])return!1;r<n[1]&&(n[1]=r)}return!0}function Yt(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return n=e.invert(n,r),n&&t.invert(n[0],n[1])}),n}function Qt(t){function e(e){function r(n,r){n=t(n,r),e.point(n[0],n[1])}function o(){c=NaN,g.point=a,e.lineStart()}function a(r,o){var a=Ct([r,o]),s=t(r,o);n(c,f,l,h,d,p,c=s[0],f=s[1],l=r,h=a[0],d=a[1],p=a[2],i,e),e.point(c,f)}function s(){g.point=r,e.lineEnd()}function u(){var t,r,u,m,v,y,b;o(),g.point=function(e,n){a(t=e,r=n),u=c,m=f,v=h,y=d,b=p,g.point=a},g.lineEnd=function(){n(c,f,l,h,d,p,u,m,t,v,y,b,i,e),g.lineEnd=s,s()}}var l,c,f,h,d,p,g={point:r,lineStart:o,lineEnd:s,polygonStart:function(){e.polygonStart(),g.lineStart=u},polygonEnd:function(){e.polygonEnd(),g.lineStart=o}};return g}function n(e,i,o,a,s,u,l,c,f,h,d,p,g,m){var v=l-e,y=c-i,b=v*v+y*y;if(b>4*r&&g--){var x=a+h,E=s+d,w=u+p,S=Math.sqrt(x*x+E*E+w*w),M=Math.asin(w/=S),T=Math.abs(Math.abs(w)-1)<Oo?(o+f)/2:Math.atan2(E,x),A=t(T,M),_=A[0],C=A[1],k=_-e,N=C-i,$=y*k-v*N;($*$/b>r||Math.abs((v*k+y*N)/b-.5)>.3)&&(n(e,i,o,a,s,u,_,C,T,x/=S,E/=S,w,g,m),m.point(_,C),n(_,C,T,x,E,w,l,c,f,h,d,p,g,m))}}var r=.5,i=16;return e.precision=function(t){return arguments.length?(i=(r=t*t)>0&&16,e):Math.sqrt(r)},e}function Gt(t){return Kt(function(){return t})()}function Kt(t){function e(t){return t=a(t[0]*Ro,t[1]*Ro),[t[0]*c+s,u-t[1]*c]}function n(t){return t=a.invert((t[0]-s)/c,(u-t[1])/c),t&&[t[0]*Fo,t[1]*Fo]}function r(){a=Yt(o=ne(g,m,v),i);var t=i(d,p);return s=f-t[0]*c,u=h+t[1]*c,e}var i,o,a,s,u,l=Qt(function(t,e){return t=i(t,e),[t[0]*c+s,u-t[1]*c]}),c=150,f=480,h=250,d=0,p=0,g=0,m=0,v=0,y=Ea,b=ft,x=null,E=null;return e.stream=function(t){return te(o,y(l(b(t))))},e.clipAngle=function(t){return arguments.length?(y=null==t?(x=t,Ea):Zt((x=+t)*Ro),e):x},e.clipExtent=function(t){return arguments.length?(E=t,b=null==t?ft:Xt(t[0][0],t[0][1],t[1][0],t[1][1]),e):E},e.scale=function(t){return arguments.length?(c=+t,r()):c},e.translate=function(t){return arguments.length?(f=+t[0],h=+t[1],r()):[f,h]},e.center=function(t){return arguments.length?(d=t[0]%360*Ro,p=t[1]%360*Ro,r()):[d*Fo,p*Fo]},e.rotate=function(t){return arguments.length?(g=t[0]%360*Ro,m=t[1]%360*Ro,v=t.length>2?t[2]%360*Ro:0,r()):[g*Fo,m*Fo,v*Fo]},uo.rebind(e,l,"precision"),function(){return i=t.apply(this,arguments),e.invert=i.invert&&n,r()}}function te(t,e){return{point:function(n,r){r=t(n*Ro,r*Ro),n=r[0],e.point(n>jo?n-2*jo:-jo>n?n+2*jo:n,r[1])},sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function ee(t,e){return[t,e]}function ne(t,e,n){return t?e||n?Yt(ie(t),oe(e,n)):ie(t):e||n?oe(e,n):ee}function re(t){return function(e,n){return e+=t,[e>jo?e-2*jo:-jo>e?e+2*jo:e,n]}}function ie(t){var e=re(t);return e.invert=re(-t),e}function oe(t,e){function n(t,e){var n=Math.cos(e),s=Math.cos(t)*n,u=Math.sin(t)*n,l=Math.sin(e),c=l*r+s*i;return[Math.atan2(u*o-c*a,s*r-l*i),Math.asin(Math.max(-1,Math.min(1,c*o+u*a)))]}var r=Math.cos(t),i=Math.sin(t),o=Math.cos(e),a=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),s=Math.cos(t)*n,u=Math.sin(t)*n,l=Math.sin(e),c=l*o-u*a;return[Math.atan2(u*o+l*a,s*r+c*i),Math.asin(Math.max(-1,Math.min(1,c*r-s*i)))]},n}function ae(t,e){var n=Math.cos(t),r=Math.sin(t);return function(i,o,a,s){null!=i?(i=se(n,i),o=se(n,o),(a>0?o>i:i>o)&&(i+=2*a*jo)):(i=t+2*a*jo,o=t);for(var u,l=a*e,c=i;a>0?c>o:o>c;c-=l)s.point((u=It([n,-r*Math.cos(c),-r*Math.sin(c)]))[0],u[1])}}function se(t,e){var n=Ct(e);n[0]-=t,Dt(n);var r=q(-n[1]);return((-n[2]<0?-r:r)+2*Math.PI-Oo)%(2*Math.PI)}function ue(t,e,n){var r=uo.range(t,e-Oo,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function le(t,e,n){var r=uo.range(t,e-Oo,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function ce(t){return t.source}function fe(t){return t.target}function he(t,e,n,r){var i=Math.cos(e),o=Math.sin(e),a=Math.cos(r),s=Math.sin(r),u=i*Math.cos(t),l=i*Math.sin(t),c=a*Math.cos(n),f=a*Math.sin(n),h=2*Math.asin(Math.sqrt(W(r-e)+i*a*W(n-t))),d=1/Math.sin(h),p=h?function(t){var e=Math.sin(t*=h)*d,n=Math.sin(h-t)*d,r=n*u+e*c,i=n*l+e*f,a=n*o+e*s;return[Math.atan2(i,r)*Fo,Math.atan2(a,Math.sqrt(r*r+i*i))*Fo]}:function(){return[t*Fo,e*Fo]};return p.distance=h,p}function de(){function t(t,i){var o=Math.sin(i*=Ro),a=Math.cos(i),s=Math.abs((t*=Ro)-e),u=Math.cos(s);Sa+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=r*o-n*a*u)*s),n*o+r*a*u),e=t,n=o,r=a}var e,n,r;Ma.point=function(i,o){e=i*Ro,n=Math.sin(o*=Ro),r=Math.cos(o),Ma.point=t},Ma.lineEnd=function(){Ma.point=Ma.lineEnd=N}}function pe(t){var e=0,n=jo/3,r=Kt(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*jo/180,n=t[1]*jo/180):[e/jo*180,n/jo*180]},i}function ge(t,e){function n(t,e){var n=Math.sqrt(o-2*i*Math.sin(e))/i;return[n*Math.sin(t*=i),a-n*Math.cos(t)]}var r=Math.sin(t),i=(r+Math.sin(e))/2,o=1+r*(2*i-r),a=Math.sqrt(o)/i;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/i,Math.asin((o-(t*t+n*n)*i*i)/(2*i))]},n}function me(t,e){var n=t(e[0]),r=t([.5*(e[0][0]+e[1][0]),e[0][1]]),i=t([e[1][0],e[0][1]]),o=t(e[1]),a=r[1]-n[1],s=r[0]-n[0],u=i[1]-r[1],l=i[0]-r[0],c=a/s,f=u/l,h=.5*(c*f*(n[1]-i[1])+f*(n[0]+r[0])-c*(r[0]+i[0]))/(f-c),d=(.5*(n[0]+r[0])-h)/c+.5*(n[1]+r[1]),p=o[0]-h,g=o[1]-d,m=n[0]-h,v=n[1]-d,y=p*p+g*g,b=m*m+v*v,x=Math.atan2(g,p),E=Math.atan2(v,m);return function(e){var n=e[0]-h,r=e[1]-d,i=n*n+r*r,o=Math.atan2(r,n);return i>y&&b>i&&o>x&&E>o?t.invert(e):void 0}}function ve(){function t(t,e){Aa+=i*t-r*e,r=t,i=e}var e,n,r,i;_a.point=function(o,a){_a.point=t,e=r=o,n=i=a},_a.lineEnd=function(){t(e,n)}}function ye(){function t(t,e){a.push("M",t,",",e,o)}function e(t,e){a.push("M",t,",",e),s.point=n}function n(t,e){a.push("L",t,",",e)}function r(){s.point=t}function i(){a.push("Z")}var o=Me(4.5),a=[],s={point:t,lineStart:function(){s.point=e},lineEnd:r,polygonStart:function(){s.lineEnd=i},polygonEnd:function(){s.lineEnd=r,s.point=t},pointRadius:function(t){return o=Me(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function be(t,e){ga||(va+=t,ya+=e,++ba)}function xe(){function t(t,r){var i=t-e,o=r-n,a=Math.sqrt(i*i+o*o);va+=a*(e+t)/2,ya+=a*(n+r)/2,ba+=a,e=t,n=r}var e,n;if(1!==ga){if(!(1>ga))return;ga=1,va=ya=ba=0}Ca.point=function(r,i){Ca.point=t,e=r,n=i}}function Ee(){Ca.point=be}function we(){function t(t,e){var n=i*t-r*e;va+=n*(r+t),ya+=n*(i+e),ba+=3*n,r=t,i=e}var e,n,r,i;2>ga&&(ga=2,va=ya=ba=0),Ca.point=function(o,a){Ca.point=t,e=r=o,n=i=a},Ca.lineEnd=function(){t(e,n)}}function Se(t){function e(e,n){t.moveTo(e,n),t.arc(e,n,a,0,2*jo)}function n(e,n){t.moveTo(e,n),s.point=r}function r(e,n){t.lineTo(e,n)}function i(){s.point=e}function o(){t.closePath()}var a=4.5,s={point:e,lineStart:function(){s.point=n},lineEnd:i,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=i,s.point=e},pointRadius:function(t){return a=t,s},result:N};return s}function Me(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Te(t){var e=Qt(function(e,n){return t([e*Fo,n*Fo])});return function(t){return t=e(t),{point:function(e,n){t.point(e*Ro,n*Ro)},sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}}function Ae(t,e){function n(e,n){var r=Math.cos(e),i=Math.cos(n),o=t(r*i);return[o*i*Math.sin(e),o*Math.sin(n)]}return n.invert=function(t,n){var r=Math.sqrt(t*t+n*n),i=e(r),o=Math.sin(i),a=Math.cos(i);return[Math.atan2(t*o,r*a),Math.asin(r&&n*o/r)]},n}function _e(t,e){function n(t,e){var n=Math.abs(Math.abs(e)-jo/2)<Oo?0:a/Math.pow(i(e),o);return[n*Math.sin(o*t),a-n*Math.cos(o*t)]}var r=Math.cos(t),i=function(t){return Math.tan(jo/4+t/2)},o=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(i(e)/i(t)),a=r*Math.pow(i(t),o)/o;return o?(n.invert=function(t,e){var n=a-e,r=F(o)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/o,2*Math.atan(Math.pow(a/r,1/o))-jo/2]},n):ke}function Ce(t,e){function n(t,e){var n=o-e;return[n*Math.sin(i*t),o-n*Math.cos(i*t)]}var r=Math.cos(t),i=t===e?Math.sin(t):(r-Math.cos(e))/(e-t),o=r/i+t;return Math.abs(i)<Oo?ee:(n.invert=function(t,e){var n=o-e;return[Math.atan2(t,n)/i,o-F(i)*Math.sqrt(t*t+n*n)]},n)}function ke(t,e){return[t,Math.log(Math.tan(jo/4+e/2))]}function Ne(t){var e,n=Gt(t),r=n.scale,i=n.translate,o=n.clipExtent;return n.scale=function(){var t=r.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.translate=function(){var t=i.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.clipExtent=function(t){var a=o.apply(n,arguments);if(a===n){if(e=null==t){var s=jo*r(),u=i();o([[u[0]-s,u[1]-s],[u[0]+s,u[1]+s]])}}else e&&(a=null);return a},n.clipExtent(null)}function $e(t,e){var n=Math.cos(e)*Math.sin(t);return[Math.log((1+n)/(1-n))/2,Math.atan2(Math.tan(e),Math.cos(t))]}function Pe(t){function e(e){function a(){l.push("M",o(t(c),s))}for(var u,l=[],c=[],f=-1,h=e.length,d=ct(n),p=ct(r);++f<h;)i.call(this,u=e[f],f)?c.push([+d.call(this,u,f),+p.call(this,u,f)]):c.length&&(a(),c=[]);return c.length&&a(),l.length?l.join(""):null}var n=De,r=He,i=Ht,o=Ie,a=o.key,s=.7;return e.x=function(t){return arguments.length?(n=t,e):n},e.y=function(t){return arguments.length?(r=t,e):r},e.defined=function(t){return arguments.length?(i=t,e):i},e.interpolate=function(t){return arguments.length?(a="function"==typeof t?o=t:(o=Ha.get(t)||Ie).key,e):a},e.tension=function(t){return arguments.length?(s=t,e):s},e}function De(t){return t[0]}function He(t){return t[1]}function Ie(t){return t.join("L")}function Le(t){return Ie(t)+"Z"}function je(t){for(var e=0,n=t.length,r=t[0],i=[r[0],",",r[1]];++e<n;)i.push("V",(r=t[e])[1],"H",r[0]);return i.join("")}function Oe(t){for(var e=0,n=t.length,r=t[0],i=[r[0],",",r[1]];++e<n;)i.push("H",(r=t[e])[0],"V",r[1]);return i.join("")}function Re(t,e){return t.length<4?Ie(t):t[1]+Be(t.slice(1,t.length-1),ze(t,e))}function Fe(t,e){return t.length<3?Ie(t):t[0]+Be((t.push(t[0]),t),ze([t[t.length-2]].concat(t,[t[1]]),e))}function qe(t,e){return t.length<3?Ie(t):t[0]+Be(t,ze(t,e))}function Be(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return Ie(t);var n=t.length!=e.length,r="",i=t[0],o=t[1],a=e[0],s=a,u=1;if(n&&(r+="Q"+(o[0]-2*a[0]/3)+","+(o[1]-2*a[1]/3)+","+o[0]+","+o[1],i=t[1],u=2),e.length>1){s=e[1],o=t[u],u++,r+="C"+(i[0]+a[0])+","+(i[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var l=2;l<e.length;l++,u++)o=t[u],s=e[l],r+="S"+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1]}if(n){var c=t[u];r+="Q"+(o[0]+2*s[0]/3)+","+(o[1]+2*s[1]/3)+","+c[0]+","+c[1]}return r}function ze(t,e){for(var n,r=[],i=(1-e)/2,o=t[0],a=t[1],s=1,u=t.length;++s<u;)n=o,o=a,a=t[s],r.push([i*(a[0]-n[0]),i*(a[1]-n[1])]);return r}function Ue(t){if(t.length<3)return Ie(t);var e=1,n=t.length,r=t[0],i=r[0],o=r[1],a=[i,i,i,(r=t[1])[0]],s=[o,o,o,r[1]],u=[i,",",o];for(Ve(u,a,s);++e<n;)r=t[e],a.shift(),a.push(r[0]),s.shift(),s.push(r[1]),Ve(u,a,s);for(e=-1;++e<2;)a.shift(),a.push(r[0]),s.shift(),s.push(r[1]),Ve(u,a,s);return u.join("")}function We(t){if(t.length<4)return Ie(t);for(var e,n=[],r=-1,i=t.length,o=[0],a=[0];++r<3;)e=t[r],o.push(e[0]),a.push(e[1]);for(n.push(Xe(ja,o)+","+Xe(ja,a)),--r;++r<i;)e=t[r],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),Ve(n,o,a);return n.join("")}function Je(t){for(var e,n,r=-1,i=t.length,o=i+4,a=[],s=[];++r<4;)n=t[r%i],a.push(n[0]),s.push(n[1]);for(e=[Xe(ja,a),",",Xe(ja,s)],--r;++r<o;)n=t[r%i],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),Ve(e,a,s);return e.join("")}function Ze(t,e){var n=t.length-1;if(n)for(var r,i,o=t[0][0],a=t[0][1],s=t[n][0]-o,u=t[n][1]-a,l=-1;++l<=n;)r=t[l],i=l/n,r[0]=e*r[0]+(1-e)*(o+i*s),r[1]=e*r[1]+(1-e)*(a+i*u);return Ue(t)}function Xe(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function Ve(t,e,n){t.push("C",Xe(Ia,e),",",Xe(Ia,n),",",Xe(La,e),",",Xe(La,n),",",Xe(ja,e),",",Xe(ja,n))}function Ye(t,e){return(e[1]-t[1])/(e[0]-t[0])}function Qe(t){for(var e=0,n=t.length-1,r=[],i=t[0],o=t[1],a=r[0]=Ye(i,o);++e<n;)r[e]=(a+(a=Ye(i=o,o=t[e+1])))/2;return r[e]=a,r}function Ge(t){for(var e,n,r,i,o=[],a=Qe(t),s=-1,u=t.length-1;++s<u;)e=Ye(t[s],t[s+1]),Math.abs(e)<1e-6?a[s]=a[s+1]=0:(n=a[s]/e,r=a[s+1]/e,i=n*n+r*r,i>9&&(i=3*e/Math.sqrt(i),a[s]=i*n,a[s+1]=i*r));for(s=-1;++s<=u;)i=(t[Math.min(u,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([i||0,a[s]*i||0]);return o}function Ke(t){return t.length<3?Ie(t):t[0]+Be(t,Ge(t))}function tn(t,e,n,r){var i,o,a,s,u,l,c;return i=r[t],o=i[0],a=i[1],i=r[e],s=i[0],u=i[1],i=r[n],l=i[0],c=i[1],(c-a)*(s-o)-(u-a)*(l-o)>0}function en(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function nn(t,e,n,r){var i=t[0],o=n[0],a=e[0]-i,s=r[0]-o,u=t[1],l=n[1],c=e[1]-u,f=r[1]-l,h=(s*(u-l)-f*(i-o))/(f*a-s*c);return[i+h*a,u+h*c]}function rn(t,e){var n={list:t.map(function(t,e){return{index:e,x:t[0],y:t[1]}}).sort(function(t,e){return t.y<e.y?-1:t.y>e.y?1:t.x<e.x?-1:t.x>e.x?1:0}),bottomSite:null},r={list:[],leftEnd:null,rightEnd:null,init:function(){r.leftEnd=r.createHalfEdge(null,"l"),r.rightEnd=r.createHalfEdge(null,"l"),r.leftEnd.r=r.rightEnd,r.rightEnd.l=r.leftEnd,r.list.unshift(r.leftEnd,r.rightEnd)},createHalfEdge:function(t,e){return{edge:t,side:e,vertex:null,l:null,r:null}},insert:function(t,e){e.l=t,e.r=t.r,t.r.l=e,t.r=e},leftBound:function(t){var e=r.leftEnd;do e=e.r;while(e!=r.rightEnd&&i.rightOf(e,t));return e=e.l},del:function(t){t.l.r=t.r,t.r.l=t.l,t.edge=null},right:function(t){return t.r},left:function(t){return t.l},leftRegion:function(t){return null==t.edge?n.bottomSite:t.edge.region[t.side]},rightRegion:function(t){return null==t.edge?n.bottomSite:t.edge.region[Oa[t.side]]}},i={bisect:function(t,e){var n={region:{l:t,r:e},ep:{l:null,r:null}},r=e.x-t.x,i=e.y-t.y,o=r>0?r:-r,a=i>0?i:-i;return n.c=t.x*r+t.y*i+.5*(r*r+i*i),o>a?(n.a=1,n.b=i/r,n.c/=r):(n.b=1,n.a=r/i,n.c/=i),n},intersect:function(t,e){var n=t.edge,r=e.edge;if(!n||!r||n.region.r==r.region.r)return null;var i=n.a*r.b-n.b*r.a;if(Math.abs(i)<1e-10)return null;var o,a,s=(n.c*r.b-r.c*n.b)/i,u=(r.c*n.a-n.c*r.a)/i,l=n.region.r,c=r.region.r;l.y<c.y||l.y==c.y&&l.x<c.x?(o=t,a=n):(o=e,a=r);var f=s>=a.region.r.x;return f&&"l"===o.side||!f&&"r"===o.side?null:{x:s,y:u}},rightOf:function(t,e){var n=t.edge,r=n.region.r,i=e.x>r.x;if(i&&"l"===t.side)return 1;if(!i&&"r"===t.side)return 0;if(1===n.a){var o=e.y-r.y,a=e.x-r.x,s=0,u=0;if(!i&&n.b<0||i&&n.b>=0?u=s=o>=n.b*a:(u=e.x+e.y*n.b>n.c,n.b<0&&(u=!u),u||(s=1)),!s){var l=r.x-n.region.l.x;u=n.b*(a*a-o*o)<l*o*(1+2*a/l+n.b*n.b),n.b<0&&(u=!u)}}else{var c=n.c-n.a*e.x,f=e.y-c,h=e.x-r.x,d=c-r.y;u=f*f>h*h+d*d}return"l"===t.side?u:!u},endPoint:function(t,n,r){t.ep[n]=r,t.ep[Oa[n]]&&e(t)},distance:function(t,e){var n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}},o={list:[],insert:function(t,e,n){t.vertex=e,t.ystar=e.y+n;for(var r=0,i=o.list,a=i.length;a>r;r++){var s=i[r];if(!(t.ystar>s.ystar||t.ystar==s.ystar&&e.x>s.vertex.x))break}i.splice(r,0,t)},del:function(t){for(var e=0,n=o.list,r=n.length;r>e&&n[e]!=t;++e);n.splice(e,1)},empty:function(){return 0===o.list.length},nextEvent:function(t){for(var e=0,n=o.list,r=n.length;r>e;++e)if(n[e]==t)return n[e+1];return null},min:function(){var t=o.list[0];return{x:t.vertex.x,y:t.ystar}},extractMin:function(){return o.list.shift()}};r.init(),n.bottomSite=n.list.shift();for(var a,s,u,l,c,f,h,d,p,g,m,v,y,b=n.list.shift();;)if(o.empty()||(a=o.min()),b&&(o.empty()||b.y<a.y||b.y==a.y&&b.x<a.x))s=r.leftBound(b),u=r.right(s),h=r.rightRegion(s),v=i.bisect(h,b),f=r.createHalfEdge(v,"l"),r.insert(s,f),g=i.intersect(s,f),g&&(o.del(s),o.insert(s,g,i.distance(g,b))),s=f,f=r.createHalfEdge(v,"r"),r.insert(s,f),g=i.intersect(f,u),g&&o.insert(f,g,i.distance(g,b)),b=n.list.shift();else{if(o.empty())break;s=o.extractMin(),l=r.left(s),u=r.right(s),c=r.right(u),h=r.leftRegion(s),d=r.rightRegion(u),m=s.vertex,i.endPoint(s.edge,s.side,m),i.endPoint(u.edge,u.side,m),r.del(s),o.del(u),r.del(u),y="l",h.y>d.y&&(p=h,h=d,d=p,y="r"),v=i.bisect(h,d),f=r.createHalfEdge(v,y),r.insert(l,f),i.endPoint(v,Oa[y],m),g=i.intersect(l,f),g&&(o.del(l),o.insert(l,g,i.distance(g,h))),g=i.intersect(f,c),g&&o.insert(f,g,i.distance(g,h))}for(s=r.right(r.leftEnd);s!=r.rightEnd;s=r.right(s))e(s.edge)}function on(t){return t.x}function an(t){return t.y}function sn(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function un(t,e,n,r,i,o){if(!t(e,n,r,i,o)){var a=.5*(n+i),s=.5*(r+o),u=e.nodes;u[0]&&un(t,u[0],n,r,a,s),u[1]&&un(t,u[1],a,r,i,s),u[2]&&un(t,u[2],n,s,a,o),u[3]&&un(t,u[3],a,s,i,o)}}function ln(t,e){t=uo.rgb(t),e=uo.rgb(e);var n=t.r,r=t.g,i=t.b,o=e.r-n,a=e.g-r,s=e.b-i;return function(t){return"#"+it(Math.round(n+o*t))+it(Math.round(r+a*t))+it(Math.round(i+s*t))}}function cn(t){var e=[t.a,t.b],n=[t.c,t.d],r=hn(e),i=fn(e,n),o=hn(dn(n,e,-i))||0;e[0]*n[1]<n[0]*e[1]&&(e[0]*=-1,e[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(e[1],e[0]):Math.atan2(-n[0],n[1]))*Fo,this.translate=[t.e,t.f],this.scale=[r,o],this.skew=o?Math.atan2(i,o)*Fo:0}function fn(t,e){return t[0]*e[0]+t[1]*e[1]}function hn(t){var e=Math.sqrt(fn(t,t));return e&&(t[0]/=e,t[1]/=e),e}function dn(t,e,n){return t[0]+=n*e[0],t[1]+=n*e[1],t}function pn(t,e){return e-=t=+t,function(n){return t+e*n}}function gn(t,e){var n,r=[],i=[],o=uo.transform(t),a=uo.transform(e),s=o.translate,u=a.translate,l=o.rotate,c=a.rotate,f=o.skew,h=a.skew,d=o.scale,p=a.scale;return s[0]!=u[0]||s[1]!=u[1]?(r.push("translate(",null,",",null,")"),i.push({i:1,x:pn(s[0],u[0])},{i:3,x:pn(s[1],u[1])})):u[0]||u[1]?r.push("translate("+u+")"):r.push(""),l!=c?(l-c>180?c+=360:c-l>180&&(l+=360),i.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:pn(l,c)})):c&&r.push(r.pop()+"rotate("+c+")"),f!=h?i.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:pn(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),d[0]!=p[0]||d[1]!=p[1]?(n=r.push(r.pop()+"scale(",null,",",null,")"),i.push({i:n-4,x:pn(d[0],p[0])},{i:n-2,x:pn(d[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),n=i.length,function(t){for(var e,o=-1;++o<n;)r[(e=i[o]).i]=e.x(t);return r.join("")}}function mn(t,e){var n,r={},i={};for(n in t)n in e?r[n]=bn(n)(t[n],e[n]):i[n]=t[n];for(n in e)n in t||(i[n]=e[n]);return function(t){for(n in r)i[n]=r[n](t);return i}}function vn(t,e){var n,r,i,o,a,s=0,u=0,l=[],c=[];for(t+="",e+="",Fa.lastIndex=0,r=0;n=Fa.exec(e);++r)n.index&&l.push(e.substring(s,u=n.index)),c.push({i:l.length,x:n[0]}),l.push(null),s=Fa.lastIndex;for(s<e.length&&l.push(e.substring(s)),r=0,o=c.length;(n=Fa.exec(t))&&o>r;++r)if(a=c[r],a.x==n[0]){if(a.i)if(null==l[a.i+1])for(l[a.i-1]+=a.x,l.splice(a.i,1),i=r+1;o>i;++i)c[i].i--;else for(l[a.i-1]+=a.x+l[a.i+1],l.splice(a.i,2),i=r+1;o>i;++i)c[i].i-=2;else if(null==l[a.i+1])l[a.i]=a.x;else for(l[a.i]=a.x+l[a.i+1],l.splice(a.i+1,1),i=r+1;o>i;++i)c[i].i--;c.splice(r,1),o--,r--}else a.x=pn(parseFloat(n[0]),parseFloat(a.x));for(;o>r;)a=c.pop(),null==l[a.i+1]?l[a.i]=a.x:(l[a.i]=a.x+l[a.i+1],l.splice(a.i+1,1)),o--;return 1===l.length?null==l[0]?c[0].x:function(){return e}:function(t){for(r=0;o>r;++r)l[(a=c[r]).i]=a.x(t);return l.join("")}}function yn(t,e){for(var n,r=uo.interpolators.length;--r>=0&&!(n=uo.interpolators[r](t,e)););return n}function bn(t){return"transform"==t?gn:yn}function xn(t,e){var n,r=[],i=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;s>n;++n)r.push(yn(t[n],e[n]));for(;o>n;++n)i[n]=t[n];for(;a>n;++n)i[n]=e[n];return function(t){for(n=0;s>n;++n)i[n]=r[n](t);return i}}function En(t){return function(e){return 0>=e?0:e>=1?1:t(e)}}function wn(t){return function(e){return 1-t(1-e)}}function Sn(t){return function(e){return.5*(.5>e?t(2*e):2-t(2-2*e))}}function Mn(t){return t*t}function Tn(t){return t*t*t}function An(t){if(0>=t)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(.5>t?n:3*(t-e)+n-.75)}function _n(t){return function(e){return Math.pow(e,t)}}function Cn(t){return 1-Math.cos(t*jo/2)}function kn(t){return Math.pow(2,10*(t-1))}function Nn(t){return 1-Math.sqrt(1-t*t)}function $n(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/(2*jo)*Math.asin(1/t):(t=1,n=e/4),function(r){return 1+t*Math.pow(2,10*-r)*Math.sin(2*(r-n)*jo/e)}}function Pn(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}}function Dn(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function Hn(t,e){t=uo.hcl(t),e=uo.hcl(e);var n=t.h,r=t.c,i=t.l,o=e.h-n,a=e.c-r,s=e.l-i;return isNaN(a)&&(a=0,r=isNaN(r)?e.c:r),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):o>180?o-=360:-180>o&&(o+=360),function(t){return X(n+o*t,r+a*t,i+s*t)+""}}function In(t,e){t=uo.hsl(t),e=uo.hsl(e);var n=t.h,r=t.s,i=t.l,o=e.h-n,a=e.s-r,s=e.l-i;return isNaN(a)&&(a=0,r=isNaN(r)?e.s:r),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):o>180?o-=360:-180>o&&(o+=360),function(t){return R(n+o*t,r+a*t,i+s*t)+""}}function Ln(t,e){t=uo.lab(t),e=uo.lab(e);var n=t.l,r=t.a,i=t.b,o=e.l-n,a=e.a-r,s=e.b-i;return function(t){return Q(n+o*t,r+a*t,i+s*t)+""}}function jn(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function On(t,e){return e=e-(t=+t)?1/(e-t):0,function(n){return(n-t)*e}}function Rn(t,e){return e=e-(t=+t)?1/(e-t):0,function(n){return Math.max(0,Math.min(1,(n-t)*e))}}function Fn(t){for(var e=t.source,n=t.target,r=Bn(e,n),i=[e];e!==r;)e=e.parent,i.push(e);for(var o=i.length;n!==r;)i.splice(o,0,n),n=n.parent;return i}function qn(t){for(var e=[],n=t.parent;null!=n;)e.push(t),t=n,n=n.parent;return e.push(t),e}function Bn(t,e){if(t===e)return t;for(var n=qn(t),r=qn(e),i=n.pop(),o=r.pop(),a=null;i===o;)a=i,i=n.pop(),o=r.pop();return a}function zn(t){t.fixed|=2}function Un(t){t.fixed&=-7}function Wn(t){t.fixed|=4,t.px=t.x,t.py=t.y}function Jn(t){t.fixed&=-5}function Zn(t,e,n){var r=0,i=0;if(t.charge=0,!t.leaf)for(var o,a=t.nodes,s=a.length,u=-1;++u<s;)o=a[u],null!=o&&(Zn(o,e,n),t.charge+=o.charge,r+=o.charge*o.cx,i+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var l=e*n[t.point.index];t.charge+=t.pointCharge=l,r+=l*t.point.x,i+=l*t.point.y}t.cx=r/t.charge,t.cy=i/t.charge}function Xn(t,e){return uo.rebind(t,e,"sort","children","value"),t.nodes=t,t.links=Gn,t}function Vn(t){return t.children}function Yn(t){return t.value}function Qn(t,e){return e.value-t.value}function Gn(t){return uo.merge(t.map(function(t){return(t.children||[]).map(function(e){return{source:t,target:e}})}))}function Kn(t){return t.x}function tr(t){return t.y}function er(t,e,n){t.y0=e,t.y=n}function nr(t){return uo.range(t.length)}function rr(t){for(var e=-1,n=t[0].length,r=[];++e<n;)r[e]=0;return r}function ir(t){for(var e,n=1,r=0,i=t[0][1],o=t.length;o>n;++n)(e=t[n][1])>i&&(r=n,i=e);return r}function or(t){return t.reduce(ar,0)}function ar(t,e){return t+e[1]}function sr(t,e){return ur(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function ur(t,e){for(var n=-1,r=+t[0],i=(t[1]-r)/e,o=[];++n<=e;)o[n]=i*n+r;return o}function lr(t){return[uo.min(t),uo.max(t)]}function cr(t,e){return t.parent==e.parent?1:2}function fr(t){var e=t.children;return e&&e.length?e[0]:t._tree.thread}function hr(t){var e,n=t.children;return n&&(e=n.length)?n[e-1]:t._tree.thread}function dr(t,e){var n=t.children;if(n&&(i=n.length))for(var r,i,o=-1;++o<i;)e(r=dr(n[o],e),t)>0&&(t=r);return t}function pr(t,e){return t.x-e.x}function gr(t,e){return e.x-t.x}function mr(t,e){return t.depth-e.depth}function vr(t,e){function n(t,r){var i=t.children;if(i&&(a=i.length))for(var o,a,s=null,u=-1;++u<a;)o=i[u],n(o,s),s=o;e(t,r)}n(t,null)}function yr(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)e=i[o]._tree,e.prelim+=n,e.mod+=n,n+=e.shift+(r+=e.change)}function br(t,e,n){t=t._tree,e=e._tree;var r=n/(e.number-t.number);t.change+=r,e.change-=r,e.shift+=n,e.prelim+=n,e.mod+=n}function xr(t,e,n){return t._tree.ancestor.parent==e.parent?t._tree.ancestor:n}function Er(t,e){return t.value-e.value}function wr(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function Sr(t,e){t._pack_next=e,e._pack_prev=t}function Mr(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return i*i-n*n-r*r>.001}function Tr(t){function e(t){c=Math.min(t.x-t.r,c),f=Math.max(t.x+t.r,f),h=Math.min(t.y-t.r,h),d=Math.max(t.y+t.r,d)}if((n=t.children)&&(l=n.length)){var n,r,i,o,a,s,u,l,c=1/0,f=-(1/0),h=1/0,d=-(1/0);if(n.forEach(Ar),r=n[0],r.x=-r.r,r.y=0,e(r),l>1&&(i=n[1],i.x=i.r,i.y=0,e(i),l>2))for(o=n[2],kr(r,i,o),e(o),wr(r,o),r._pack_prev=o,wr(o,i),i=r._pack_next,a=3;l>a;a++){kr(r,i,o=n[a]);var p=0,g=1,m=1;for(s=i._pack_next;s!==i;s=s._pack_next,g++)if(Mr(s,o)){p=1;break}if(1==p)for(u=r._pack_prev;u!==s._pack_prev&&!Mr(u,o);u=u._pack_prev,m++);p?(m>g||g==m&&i.r<r.r?Sr(r,i=s):Sr(r=u,i),a--):(wr(r,o),i=o,e(o))}var v=(c+f)/2,y=(h+d)/2,b=0;for(a=0;l>a;a++)o=n[a],o.x-=v,o.y-=y,b=Math.max(b,o.r+Math.sqrt(o.x*o.x+o.y*o.y));t.r=b,n.forEach(_r)}}function Ar(t){t._pack_next=t._pack_prev=t}function _r(t){delete t._pack_next,delete t._pack_prev}function Cr(t,e,n,r){var i=t.children;if(t.x=e+=r*t.x,t.y=n+=r*t.y,t.r*=r,i)for(var o=-1,a=i.length;++o<a;)Cr(i[o],e,n,r)}function kr(t,e,n){var r=t.r+n.r,i=e.x-t.x,o=e.y-t.y;if(r&&(i||o)){var a=e.r+n.r,s=i*i+o*o;a*=a,r*=r;var u=.5+(r-a)/(2*s),l=Math.sqrt(Math.max(0,2*a*(r+s)-(r-=s)*r-a*a))/(2*s);n.x=t.x+u*i+l*o,n.y=t.y+u*o-l*i}else n.x=t.x+r,n.y=t.y}function Nr(t){return 1+uo.max(t,function(t){return t.y})}function $r(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}function Pr(t){var e=t.children;return e&&e.length?Pr(e[0]):t}function Dr(t){var e,n=t.children;return n&&(e=n.length)?Dr(n[e-1]):t}function Hr(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Ir(t,e){var n=t.x+e[3],r=t.y+e[0],i=t.dx-e[1]-e[3],o=t.dy-e[0]-e[2];return 0>i&&(n+=i/2,i=0),0>o&&(r+=o/2,o=0),{x:n,y:r,dx:i,dy:o}}function Lr(t){var e=t[0],n=t[t.length-1];return n>e?[e,n]:[n,e]}function jr(t){return t.rangeExtent?t.rangeExtent():Lr(t.range())}function Or(t,e,n,r){var i=n(t[0],t[1]),o=r(e[0],e[1]);return function(t){return o(i(t))}}function Rr(t,e){var n,r=0,i=t.length-1,o=t[r],a=t[i];return o>a&&(n=r,r=i,i=n,n=o,o=a,a=n),(e=e(a-o))&&(t[r]=e.floor(o),t[i]=e.ceil(a)),t}function Fr(t,e,n,r){var i=[],o=[],a=0,s=Math.min(t.length,e.length)-1;for(t[s]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<=s;)i.push(n(t[a-1],t[a])),o.push(r(e[a-1],e[a]));return function(e){var n=uo.bisect(t,e,1,s)-1;return o[n](i[n](e))}}function qr(t,e,n,r){function i(){var i=Math.min(t.length,e.length)>2?Fr:Or,u=r?Rn:On;return a=i(t,e,u,n),s=i(e,t,u,yn),o}function o(t){return a(t)}var a,s;return o.invert=function(t){return s(t)},o.domain=function(e){return arguments.length?(t=e.map(Number),i()):t},o.range=function(t){return arguments.length?(e=t,i()):e},o.rangeRound=function(t){return o.range(t).interpolate(jn)},o.clamp=function(t){return arguments.length?(r=t,i()):r},o.interpolate=function(t){return arguments.length?(n=t,i()):n},o.ticks=function(e){return Wr(t,e)},o.tickFormat=function(e,n){return Jr(t,e,n)},o.nice=function(){return Rr(t,zr),i()},o.copy=function(){return qr(t,e,n,r)},i()}function Br(t,e){return uo.rebind(t,e,"range","rangeRound","interpolate","clamp")}function zr(t){return t=Math.pow(10,Math.round(Math.log(t)/Math.LN10)-1),t&&{floor:function(e){return Math.floor(e/t)*t},ceil:function(e){return Math.ceil(e/t)*t}}}function Ur(t,e){var n=Lr(t),r=n[1]-n[0],i=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),o=e/r*i;return.15>=o?i*=10:.35>=o?i*=5:.75>=o&&(i*=2),n[0]=Math.ceil(n[0]/i)*i,n[1]=Math.floor(n[1]/i)*i+.5*i,n[2]=i,n}function Wr(t,e){return uo.range.apply(uo,Ur(t,e))}function Jr(t,e,n){var r=-Math.floor(Math.log(Ur(t,e)[2])/Math.LN10+.01);return uo.format(n?n.replace(oa,function(t,e,n,i,o,a,s,u,l,c){return[e,n,i,o,a,s,u,l||"."+(r-2*("%"===c)),c].join("")}):",."+r+"f")}function Zr(t,e,n,r){function i(e){return t(n(e))}return i.invert=function(e){return r(t.invert(e))},i.domain=function(e){return arguments.length?(e[0]<0?(n=Yr,r=Qr):(n=Xr,r=Vr),t.domain(e.map(n)),i):t.domain().map(r)},i.base=function(t){return arguments.length?(e=+t,i):e},i.nice=function(){return t.domain(Rr(t.domain(),Gr(e))),i},i.ticks=function(){var i=Lr(t.domain()),o=[];if(i.every(isFinite)){var a=Math.log(e),s=Math.floor(i[0]/a),u=Math.ceil(i[1]/a),l=r(i[0]),c=r(i[1]),f=e%1?2:e;if(n===Yr)for(o.push(-Math.pow(e,-s));s++<u;)for(var h=f-1;h>0;h--)o.push(-Math.pow(e,-s)*h);else{for(;u>s;s++)for(var h=1;f>h;h++)o.push(Math.pow(e,s)*h);o.push(Math.pow(e,s))}for(s=0;o[s]<l;s++);for(u=o.length;o[u-1]>c;u--);o=o.slice(s,u)}return o},i.tickFormat=function(t,o){if(arguments.length<2&&(o=Va),!arguments.length)return o;var a,s=Math.log(e),u=Math.max(.1,t/i.ticks().length),l=n===Yr?(a=-1e-12,Math.floor):(a=1e-12,Math.ceil);return function(t){return t/r(s*l(n(t)/s+a))<=u?o(t):""}},i.copy=function(){return Zr(t.copy(),e,n,r)},Br(i,t)}function Xr(t){return Math.log(0>t?0:t)}function Vr(t){return Math.exp(t)}function Yr(t){return-Math.log(t>0?0:-t)}function Qr(t){return-Math.exp(-t)}function Gr(t){t=Math.log(t);var e={floor:function(e){return Math.floor(e/t)*t},ceil:function(e){return Math.ceil(e/t)*t}};return function(){return e}}function Kr(t,e){function n(e){return t(r(e))}var r=ti(e),i=ti(1/e);return n.invert=function(e){return i(t.invert(e))},n.domain=function(e){return arguments.length?(t.domain(e.map(r)),n):t.domain().map(i)},n.ticks=function(t){return Wr(n.domain(),t)},n.tickFormat=function(t,e){return Jr(n.domain(),t,e)},n.nice=function(){return n.domain(Rr(n.domain(),zr))},n.exponent=function(t){if(!arguments.length)return e;var o=n.domain();return r=ti(e=t),i=ti(1/e),n.domain(o)},n.copy=function(){return Kr(t.copy(),e)},Br(n,t)}function ti(t){return function(e){return 0>e?-Math.pow(-e,t):Math.pow(e,t)}}function ei(t,e){function n(e){return a[((o.get(e)||o.set(e,t.push(e)))-1)%a.length]}function r(e,n){return uo.range(t.length).map(function(t){return e+n*t})}var o,a,s;return n.domain=function(r){if(!arguments.length)return t;t=[],o=new i;for(var a,s=-1,u=r.length;++s<u;)o.has(a=r[s])||o.set(a,t.push(a));return n[e.t].apply(n,e.a)},n.range=function(t){return arguments.length?(a=t,s=0,e={t:"range",a:arguments},n):a},n.rangePoints=function(i,o){arguments.length<2&&(o=0);var u=i[0],l=i[1],c=(l-u)/(Math.max(1,t.length-1)+o);return a=r(t.length<2?(u+l)/2:u+c*o/2,c),s=0,e={t:"rangePoints",a:arguments},n},n.rangeBands=function(i,o,u){arguments.length<2&&(o=0),arguments.length<3&&(u=o);var l=i[1]<i[0],c=i[l-0],f=i[1-l],h=(f-c)/(t.length-o+2*u);return a=r(c+h*u,h),l&&a.reverse(),s=h*(1-o),e={t:"rangeBands",a:arguments},n},n.rangeRoundBands=function(i,o,u){arguments.length<2&&(o=0),arguments.length<3&&(u=o);var l=i[1]<i[0],c=i[l-0],f=i[1-l],h=Math.floor((f-c)/(t.length-o+2*u)),d=f-c-(t.length-o)*h;return a=r(c+Math.round(d/2),h),l&&a.reverse(),s=Math.round(h*(1-o)),e={t:"rangeRoundBands",a:arguments},n},n.rangeBand=function(){return s},n.rangeExtent=function(){return Lr(e.a[0])},n.copy=function(){return ei(t,e)},n.domain(t)}function ni(t,e){function n(){var n=0,o=e.length;for(i=[];++n<o;)i[n-1]=uo.quantile(t,n/o);
  return r}function r(t){return isNaN(t=+t)?NaN:e[uo.bisect(i,t)]}var i;return r.domain=function(e){return arguments.length?(t=e.filter(function(t){return!isNaN(t)}).sort(uo.ascending),n()):t},r.range=function(t){return arguments.length?(e=t,n()):e},r.quantiles=function(){return i},r.copy=function(){return ni(t,e)},n()}function ri(t,e,n){function r(e){return n[Math.max(0,Math.min(a,Math.floor(o*(e-t))))]}function i(){return o=n.length/(e-t),a=n.length-1,r}var o,a;return r.domain=function(n){return arguments.length?(t=+n[0],e=+n[n.length-1],i()):[t,e]},r.range=function(t){return arguments.length?(n=t,i()):n},r.copy=function(){return ri(t,e,n)},i()}function ii(t,e){function n(n){return e[uo.bisect(t,n)]}return n.domain=function(e){return arguments.length?(t=e,n):t},n.range=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return ii(t,e)},n}function oi(t){function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=n.map(e),e):t},e.ticks=function(e){return Wr(t,e)},e.tickFormat=function(e,n){return Jr(t,e,n)},e.copy=function(){return oi(t)},e}function ai(t){return t.innerRadius}function si(t){return t.outerRadius}function ui(t){return t.startAngle}function li(t){return t.endAngle}function ci(t){for(var e,n,r,i=-1,o=t.length;++i<o;)e=t[i],n=e[0],r=e[1]+ts,e[0]=n*Math.cos(r),e[1]=n*Math.sin(r);return t}function fi(t){function e(e){function u(){g.push("M",s(t(v),f),c,l(t(m.reverse()),f),"Z")}for(var h,d,p,g=[],m=[],v=[],y=-1,b=e.length,x=ct(n),E=ct(i),w=n===r?function(){return d}:ct(r),S=i===o?function(){return p}:ct(o);++y<b;)a.call(this,h=e[y],y)?(m.push([d=+x.call(this,h,y),p=+E.call(this,h,y)]),v.push([+w.call(this,h,y),+S.call(this,h,y)])):m.length&&(u(),m=[],v=[]);return m.length&&u(),g.length?g.join(""):null}var n=De,r=De,i=0,o=He,a=Ht,s=Ie,u=s.key,l=s,c="L",f=.7;return e.x=function(t){return arguments.length?(n=r=t,e):r},e.x0=function(t){return arguments.length?(n=t,e):n},e.x1=function(t){return arguments.length?(r=t,e):r},e.y=function(t){return arguments.length?(i=o=t,e):o},e.y0=function(t){return arguments.length?(i=t,e):i},e.y1=function(t){return arguments.length?(o=t,e):o},e.defined=function(t){return arguments.length?(a=t,e):a},e.interpolate=function(t){return arguments.length?(u="function"==typeof t?s=t:(s=Ha.get(t)||Ie).key,l=s.reverse||s,c=s.closed?"M":"L",e):u},e.tension=function(t){return arguments.length?(f=t,e):f},e}function hi(t){return t.radius}function di(t){return[t.x,t.y]}function pi(t){return function(){var e=t.apply(this,arguments),n=e[0],r=e[1]+ts;return[n*Math.cos(r),n*Math.sin(r)]}}function gi(){return 64}function mi(){return"circle"}function vi(t){var e=Math.sqrt(t/jo);return"M0,"+e+"A"+e+","+e+" 0 1,1 0,"+-e+"A"+e+","+e+" 0 1,1 0,"+e+"Z"}function yi(t,e){return Eo(t,as),t.id=e,t}function bi(t,e,n,r){var i=t.id;return H(t,"function"==typeof n?function(t,o,a){t.__transition__[i].tween.set(e,r(n.call(t,t.__data__,o,a)))}:(n=r(n),function(t){t.__transition__[i].tween.set(e,n)}))}function xi(t){return null==t&&(t=""),function(){this.textContent=t}}function Ei(t,e,n,r){var o=t.__transition__||(t.__transition__={active:0,count:0}),a=o[n];if(!a){var s=r.time;return a=o[n]={tween:new i,event:uo.dispatch("start","end"),time:s,ease:r.ease,delay:r.delay,duration:r.duration},++o.count,uo.timer(function(r){function i(r){return o.active>n?l():(o.active=n,h.start.call(t,c,e),a.tween.forEach(function(n,r){(r=r.call(t,c,e))&&g.push(r)}),u(r)||uo.timer(u,0,s),1)}function u(r){if(o.active!==n)return l();for(var i=(r-d)/p,a=f(i),s=g.length;s>0;)g[--s].call(t,a);return i>=1?(l(),h.end.call(t,c,e),1):void 0}function l(){return--o.count?delete o[n]:delete t.__transition__,1}var c=t.__data__,f=a.ease,h=a.event,d=a.delay,p=a.duration,g=[];return r>=d?i(r):uo.timer(i,d,s),1},0,s),a}}function wi(t,e){t.attr("transform",function(t){return"translate("+e(t)+",0)"})}function Si(t,e){t.attr("transform",function(t){return"translate(0,"+e(t)+")"})}function Mi(t,e,n){if(r=[],n&&e.length>1){for(var r,i,o,a=Lr(t.domain()),s=-1,u=e.length,l=(e[1]-e[0])/++n;++s<u;)for(i=n;--i>0;)(o=+e[s]-i*l)>=a[0]&&r.push(o);for(--s,i=0;++i<n&&(o=+e[s]+i*l)<a[1];)r.push(o)}return r}function Ti(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ai(t,e,n){function r(e){var n=t(e),r=o(n,1);return r-e>e-n?n:r}function i(n){return e(n=t(new ds(n-1)),1),n}function o(t,n){return e(t=new ds(+t),n),t}function a(t,r,o){var a=i(t),s=[];if(o>1)for(;r>a;)n(a)%o||s.push(new Date(+a)),e(a,1);else for(;r>a;)s.push(new Date(+a)),e(a,1);return s}function s(t,e,n){try{ds=Ti;var r=new Ti;return r._=t,a(r,e,n)}finally{ds=Date}}t.floor=t,t.round=r,t.ceil=i,t.offset=o,t.range=a;var u=t.utc=_i(t);return u.floor=u,u.round=_i(r),u.ceil=_i(i),u.offset=_i(o),u.range=s,t}function _i(t){return function(e,n){try{ds=Ti;var r=new Ti;return r._=e,t(r,n)._}finally{ds=Date}}}function Ci(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;s>a;){if(r>=u)return-1;if(i=e.charCodeAt(a++),37===i){if(o=$s[e.charAt(a++)],!o||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function ki(t){return new RegExp("^(?:"+t.map(uo.requote).join("|")+")","i")}function Ni(t){for(var e=new i,n=-1,r=t.length;++n<r;)e.set(t[n].toLowerCase(),n);return e}function $i(t,e,n){t+="";var r=t.length;return n>r?new Array(n-r+1).join(e)+t:t}function Pi(t,e,n){Ms.lastIndex=0;var r=Ms.exec(e.substring(n));return r?n+=r[0].length:-1}function Di(t,e,n){Ss.lastIndex=0;var r=Ss.exec(e.substring(n));return r?n+=r[0].length:-1}function Hi(t,e,n){_s.lastIndex=0;var r=_s.exec(e.substring(n));return r?(t.m=Cs.get(r[0].toLowerCase()),n+=r[0].length):-1}function Ii(t,e,n){Ts.lastIndex=0;var r=Ts.exec(e.substring(n));return r?(t.m=As.get(r[0].toLowerCase()),n+=r[0].length):-1}function Li(t,e,n){return Ci(t,Ns.c.toString(),e,n)}function ji(t,e,n){return Ci(t,Ns.x.toString(),e,n)}function Oi(t,e,n){return Ci(t,Ns.X.toString(),e,n)}function Ri(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+4));return r?(t.y=+r[0],n+=r[0].length):-1}function Fi(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.y=qi(+r[0]),n+=r[0].length):-1}function qi(t){return t+(t>68?1900:2e3)}function Bi(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.m=r[0]-1,n+=r[0].length):-1}function zi(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.d=+r[0],n+=r[0].length):-1}function Ui(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.H=+r[0],n+=r[0].length):-1}function Wi(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.M=+r[0],n+=r[0].length):-1}function Ji(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+2));return r?(t.S=+r[0],n+=r[0].length):-1}function Zi(t,e,n){Ps.lastIndex=0;var r=Ps.exec(e.substring(n,n+3));return r?(t.L=+r[0],n+=r[0].length):-1}function Xi(t,e,n){var r=Ds.get(e.substring(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)}function Vi(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",r=~~(Math.abs(e)/60),i=Math.abs(e)%60;return n+$i(r,"0",2)+$i(i,"0",2)}function Yi(t){return t.toISOString()}function Qi(t,e,n){function r(e){return t(e)}return r.invert=function(e){return Gi(t.invert(e))},r.domain=function(e){return arguments.length?(t.domain(e),r):t.domain().map(Gi)},r.nice=function(t){return r.domain(Rr(r.domain(),function(){return t}))},r.ticks=function(n,i){var o=Lr(r.domain());if("function"!=typeof n){var a=o[1]-o[0],s=a/n,u=uo.bisect(Is,s);if(u==Is.length)return e.year(o,n);if(!u)return t.ticks(n).map(Gi);Math.log(s/Is[u-1])<Math.log(Is[u]/s)&&--u,n=e[u],i=n[1],n=n[0].range}return n(o[0],new Date(+o[1]+1),i)},r.tickFormat=function(){return n},r.copy=function(){return Qi(t.copy(),e,n)},Br(r,t)}function Gi(t){return new Date(t)}function Ki(t){return function(e){for(var n=t.length-1,r=t[n];!r[1](e);)r=t[--n];return r[0](e)}}function to(t){var e=new Date(t,0,1);return e.setFullYear(t),e}function eo(t){var e=t.getFullYear(),n=to(e),r=to(e+1);return e+(t-n)/(r-n)}function no(t){var e=new Date(Date.UTC(t,0,1));return e.setUTCFullYear(t),e}function ro(t){var e=t.getUTCFullYear(),n=no(e),r=no(e+1);return e+(t-n)/(r-n)}function io(t){return t.responseText}function oo(t){return JSON.parse(t.responseText)}function ao(t){var e=lo.createRange();return e.selectNode(lo.body),e.createContextualFragment(t.responseText)}function so(t){return t.responseXML}var uo={version:"3.1.6"};Date.now||(Date.now=function(){return+new Date});var lo=document,co=window;try{lo.createElement("div").style.setProperty("opacity",0,"")}catch(fo){var ho=co.CSSStyleDeclaration.prototype,po=ho.setProperty;ho.setProperty=function(t,e,n){po.call(this,t,e+"",n)}}uo.ascending=function(t,e){return e>t?-1:t>e?1:t>=e?0:NaN},uo.descending=function(t,e){return t>e?-1:e>t?1:e>=t?0:NaN},uo.min=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o&&(null==(n=t[i])||n!=n);)n=void 0;for(;++i<o;)null!=(r=t[i])&&n>r&&(n=r)}else{for(;++i<o&&(null==(n=e.call(t,t[i],i))||n!=n);)n=void 0;for(;++i<o;)null!=(r=e.call(t,t[i],i))&&n>r&&(n=r)}return n},uo.max=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o&&(null==(n=t[i])||n!=n);)n=void 0;for(;++i<o;)null!=(r=t[i])&&r>n&&(n=r)}else{for(;++i<o&&(null==(n=e.call(t,t[i],i))||n!=n);)n=void 0;for(;++i<o;)null!=(r=e.call(t,t[i],i))&&r>n&&(n=r)}return n},uo.extent=function(t,e){var n,r,i,o=-1,a=t.length;if(1===arguments.length){for(;++o<a&&(null==(n=i=t[o])||n!=n);)n=i=void 0;for(;++o<a;)null!=(r=t[o])&&(n>r&&(n=r),r>i&&(i=r))}else{for(;++o<a&&(null==(n=i=e.call(t,t[o],o))||n!=n);)n=void 0;for(;++o<a;)null!=(r=e.call(t,t[o],o))&&(n>r&&(n=r),r>i&&(i=r))}return[n,i]},uo.sum=function(t,e){var n,r=0,i=t.length,o=-1;if(1===arguments.length)for(;++o<i;)isNaN(n=+t[o])||(r+=n);else for(;++o<i;)isNaN(n=+e.call(t,t[o],o))||(r+=n);return r},uo.mean=function(e,n){var r,i=e.length,o=0,a=-1,s=0;if(1===arguments.length)for(;++a<i;)t(r=e[a])&&(o+=(r-o)/++s);else for(;++a<i;)t(r=n.call(e,e[a],a))&&(o+=(r-o)/++s);return s?o:void 0},uo.quantile=function(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i},uo.median=function(e,n){return arguments.length>1&&(e=e.map(n)),e=e.filter(t),e.length?uo.quantile(e.sort(uo.ascending),.5):void 0},uo.bisector=function(t){return{left:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);i>r;){var o=r+i>>>1;t.call(e,e[o],o)<n?r=o+1:i=o}return r},right:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);i>r;){var o=r+i>>>1;n<t.call(e,e[o],o)?i=o:r=o+1}return r}}};var go=uo.bisector(function(t){return t});uo.bisectLeft=go.left,uo.bisect=uo.bisectRight=go.right,uo.shuffle=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t},uo.permute=function(t,e){for(var n=[],r=-1,i=e.length;++r<i;)n[r]=t[e[r]];return n},uo.zip=function(){if(!(i=arguments.length))return[];for(var t=-1,n=uo.min(arguments,e),r=new Array(n);++t<n;)for(var i,o=-1,a=r[t]=new Array(i);++o<i;)a[o]=arguments[o][t];return r},uo.transpose=function(t){return uo.zip.apply(uo,t)},uo.keys=function(t){var e=[];for(var n in t)e.push(n);return e},uo.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},uo.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},uo.merge=function(t){return Array.prototype.concat.apply([],t)},uo.range=function(t,e,r){if(arguments.length<3&&(r=1,arguments.length<2&&(e=t,t=0)),(e-t)/r===1/0)throw new Error("infinite range");var i,o=[],a=n(Math.abs(r)),s=-1;if(t*=a,e*=a,r*=a,0>r)for(;(i=t+r*++s)>e;)o.push(i/a);else for(;(i=t+r*++s)<e;)o.push(i/a);return o},uo.map=function(t){var e=new i;for(var n in t)e.set(n,t[n]);return e},r(i,{has:function(t){return mo+t in this},get:function(t){return this[mo+t]},set:function(t,e){return this[mo+t]=e},remove:function(t){return t=mo+t,t in this&&delete this[t]},keys:function(){var t=[];return this.forEach(function(e){t.push(e)}),t},values:function(){var t=[];return this.forEach(function(e,n){t.push(n)}),t},entries:function(){var t=[];return this.forEach(function(e,n){t.push({key:e,value:n})}),t},forEach:function(t){for(var e in this)e.charCodeAt(0)===vo&&t.call(this,e.substring(1),this[e])}});var mo="\x00",vo=mo.charCodeAt(0);uo.nest=function(){function t(e,s,u){if(u>=a.length)return r?r.call(o,s):n?s.sort(n):s;for(var l,c,f,h,d=-1,p=s.length,g=a[u++],m=new i;++d<p;)(h=m.get(l=g(c=s[d])))?h.push(c):m.set(l,[c]);return e?(c=e(),f=function(n,r){c.set(n,t(e,r,u))}):(c={},f=function(n,r){c[n]=t(e,r,u)}),m.forEach(f),c}function e(t,n){if(n>=a.length)return t;var r=[],i=s[n++];return t.forEach(function(t,i){r.push({key:t,values:e(i,n)})}),i?r.sort(function(t,e){return i(t.key,e.key)}):r}var n,r,o={},a=[],s=[];return o.map=function(e,n){return t(n,e,0)},o.entries=function(n){return e(t(uo.map,n,0),0)},o.key=function(t){return a.push(t),o},o.sortKeys=function(t){return s[a.length-1]=t,o},o.sortValues=function(t){return n=t,o},o.rollup=function(t){return r=t,o},o},uo.set=function(t){var e=new o;if(t)for(var n=0;n<t.length;n++)e.add(t[n]);return e},r(o,{has:function(t){return mo+t in this},add:function(t){return this[mo+t]=!0,t},remove:function(t){return t=mo+t,t in this&&delete this[t]},values:function(){var t=[];return this.forEach(function(e){t.push(e)}),t},forEach:function(t){for(var e in this)e.charCodeAt(0)===vo&&t.call(this,e.substring(1))}}),uo.behavior={},uo.rebind=function(t,e){for(var n,r=1,i=arguments.length;++r<i;)t[n=arguments[r]]=a(t,e,e[n]);return t},uo.dispatch=function(){for(var t=new s,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=u(t);return t},s.prototype.on=function(t,e){var n=t.indexOf("."),r="";if(n>=0&&(r=t.substring(n+1),t=t.substring(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},uo.event=null,uo.mouse=function(t){return d(t,c())};var yo=/WebKit/.test(co.navigator.userAgent)?-1:0,bo=g;try{bo(lo.documentElement.childNodes)[0].nodeType}catch(xo){bo=p}var Eo=[].__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]};uo.touches=function(t,e){return arguments.length<2&&(e=c().touches),e?bo(e).map(function(e){var n=d(t,e);return n.identifier=e.identifier,n}):[]},uo.behavior.drag=function(){function t(){this.on("mousedown.drag",e).on("touchstart.drag",e)}function e(){function t(){var t=a.parentNode;return null!=c?uo.touches(t).filter(function(t){return t.identifier===c})[0]:uo.mouse(t)}function e(){if(!a.parentNode)return i();var e=t(),n=e[0]-h[0],r=e[1]-h[1];d|=n|r,h=e,l(),s({type:"drag",x:e[0]+o[0],y:e[1]+o[1],dx:n,dy:r})}function i(){s({type:"dragend"}),d&&(l(),uo.event.target===u&&f(p,"click")),p.on(null!=c?"touchmove.drag-"+c:"mousemove.drag",null).on(null!=c?"touchend.drag-"+c:"mouseup.drag",null)}var o,a=this,s=n.of(a,arguments),u=uo.event.target,c=uo.event.touches?uo.event.changedTouches[0].identifier:null,h=t(),d=0,p=uo.select(co).on(null!=c?"touchmove.drag-"+c:"mousemove.drag",e).on(null!=c?"touchend.drag-"+c:"mouseup.drag",i,!0);r?(o=r.apply(a,arguments),o=[o.x-h[0],o.y-h[1]]):o=[0,0],null==c&&l(),s({type:"dragstart"})}var n=h(t,"drag","dragstart","dragend"),r=null;return t.origin=function(e){return arguments.length?(r=e,t):r},uo.rebind(t,n,"on")};var wo=function(t,e){return e.querySelector(t)},So=function(t,e){return e.querySelectorAll(t)},Mo=lo.documentElement,To=Mo.matchesSelector||Mo.webkitMatchesSelector||Mo.mozMatchesSelector||Mo.msMatchesSelector||Mo.oMatchesSelector,Ao=function(t,e){return To.call(t,e)};"function"==typeof Sizzle&&(wo=function(t,e){return Sizzle(t,e)[0]||null},So=function(t,e){return Sizzle.uniqueSort(Sizzle(t,e))},Ao=Sizzle.matchesSelector),uo.selection=function(){return Po};var _o=uo.selection.prototype=[];_o.select=function(t){var e,n,r,i,o=[];"function"!=typeof t&&(t=v(t));for(var a=-1,s=this.length;++a<s;){o.push(e=[]),e.parentNode=(r=this[a]).parentNode;for(var u=-1,l=r.length;++u<l;)(i=r[u])?(e.push(n=t.call(i,i.__data__,u)),n&&"__data__"in i&&(n.__data__=i.__data__)):e.push(null)}return m(o)},_o.selectAll=function(t){var e,n,r=[];"function"!=typeof t&&(t=y(t));for(var i=-1,o=this.length;++i<o;)for(var a=this[i],s=-1,u=a.length;++s<u;)(n=a[s])&&(r.push(e=bo(t.call(n,n.__data__,s))),e.parentNode=n);return m(r)};var Co={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};uo.ns={prefix:Co,qualify:function(t){var e=t.indexOf(":"),n=t;return e>=0&&(n=t.substring(0,e),t=t.substring(e+1)),Co.hasOwnProperty(n)?{space:Co[n],local:t}:t}},_o.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return t=uo.ns.qualify(t),t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(x(e,t[e]));return this}return this.each(x(t,e))},uo.requote=function(t){return t.replace(ko,"\\$&")};var ko=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;_o.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=t.trim().split(/^|\s+/g)).length,i=-1;if(e=n.classList){for(;++i<r;)if(!e.contains(t[i]))return!1}else for(e=n.getAttribute("class");++i<r;)if(!w(t[i]).test(e))return!1;return!0}for(e in t)this.each(S(e,t[e]));return this}return this.each(S(t,e))},_o.style=function(t,e,n){var r=arguments.length;if(3>r){if("string"!=typeof t){2>r&&(e="");for(n in t)this.each(T(n,t[n],e));return this}if(2>r)return co.getComputedStyle(this.node(),null).getPropertyValue(t);n=""}return this.each(T(t,e,n))},_o.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(A(e,t[e]));return this}return this.each(A(t,e))},_o.text=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}:null==t?function(){this.textContent=""}:function(){this.textContent=t}):this.node().textContent},_o.html=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}:null==t?function(){this.innerHTML=""}:function(){this.innerHTML=t}):this.node().innerHTML},_o.append=function(t){function e(){return this.appendChild(lo.createElementNS(this.namespaceURI,t))}function n(){return this.appendChild(lo.createElementNS(t.space,t.local))}return t=uo.ns.qualify(t),this.select(t.local?n:e)},_o.insert=function(t,e){function n(n,r){return this.insertBefore(lo.createElementNS(this.namespaceURI,t),e.call(this,n,r))}function r(n,r){return this.insertBefore(lo.createElementNS(t.space,t.local),e.call(this,n,r))}return t=uo.ns.qualify(t),"function"!=typeof e&&(e=v(e)),this.select(t.local?r:n)},_o.remove=function(){return this.each(function(){var t=this.parentNode;t&&t.removeChild(this)})},_o.data=function(t,e){function n(t,n){var r,o,a,s=t.length,f=n.length,h=Math.min(s,f),d=new Array(f),p=new Array(f),g=new Array(s);if(e){var m,v=new i,y=new i,b=[];for(r=-1;++r<s;)m=e.call(o=t[r],o.__data__,r),v.has(m)?g[r]=o:v.set(m,o),b.push(m);for(r=-1;++r<f;)m=e.call(n,a=n[r],r),(o=v.get(m))?(d[r]=o,o.__data__=a):y.has(m)||(p[r]=_(a)),y.set(m,a),v.remove(m);for(r=-1;++r<s;)v.has(b[r])&&(g[r]=t[r])}else{for(r=-1;++r<h;)o=t[r],a=n[r],o?(o.__data__=a,d[r]=o):p[r]=_(a);for(;f>r;++r)p[r]=_(n[r]);for(;s>r;++r)g[r]=t[r]}p.update=d,p.parentNode=d.parentNode=g.parentNode=t.parentNode,u.push(p),l.push(d),c.push(g)}var r,o,a=-1,s=this.length;if(!arguments.length){for(t=new Array(s=(r=this[0]).length);++a<s;)(o=r[a])&&(t[a]=o.__data__);return t}var u=I([]),l=m([]),c=m([]);if("function"==typeof t)for(;++a<s;)n(r=this[a],t.call(r,r.parentNode.__data__,a));else for(;++a<s;)n(r=this[a],t);return l.enter=function(){return u},l.exit=function(){return c},l},_o.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},_o.filter=function(t){var e,n,r,i=[];"function"!=typeof t&&(t=C(t));for(var o=0,a=this.length;a>o;o++){i.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var s=0,u=n.length;u>s;s++)(r=n[s])&&t.call(r,r.__data__,s)&&e.push(r)}return m(i)},_o.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,r=this[t],i=r.length-1,o=r[i];--i>=0;)(n=r[i])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},_o.sort=function(t){t=k.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},_o.on=function(t,e,n){var r=arguments.length;if(3>r){if("string"!=typeof t){2>r&&(e=!1);for(n in t)this.each($(n,t[n],e));return this}if(2>r)return(r=this.node()["__on"+t])&&r._;n=!1}return this.each($(t,e,n))};var No=uo.map({mouseenter:"mouseover",mouseleave:"mouseout"});No.forEach(function(t){"on"+t in lo&&No.remove(t)}),_o.each=function(t){return H(this,function(e,n,r){t.call(e,e.__data__,n,r)})},_o.call=function(t){var e=bo(arguments);return t.apply(e[0]=this,e),this},_o.empty=function(){return!this.node()},_o.node=function(){for(var t=0,e=this.length;e>t;t++)for(var n=this[t],r=0,i=n.length;i>r;r++){var o=n[r];if(o)return o}return null};var $o=[];uo.selection.enter=I,uo.selection.enter.prototype=$o,$o.append=_o.append,$o.insert=_o.insert,$o.empty=_o.empty,$o.node=_o.node,$o.select=function(t){for(var e,n,r,i,o,a=[],s=-1,u=this.length;++s<u;){r=(i=this[s]).update,a.push(e=[]),e.parentNode=i.parentNode;for(var l=-1,c=i.length;++l<c;)(o=i[l])?(e.push(r[l]=n=t.call(i.parentNode,o.__data__,l)),n.__data__=o.__data__):e.push(null)}return m(a)},_o.transition=function(){var t,e,n=rs||++ss,r=[],i=Object.create(us);i.time=Date.now();for(var o=-1,a=this.length;++o<a;){r.push(t=[]);for(var s=this[o],u=-1,l=s.length;++u<l;)(e=s[u])&&Ei(e,u,n,i),t.push(e)}return yi(r,n)},uo.select=function(t){var e=["string"==typeof t?wo(t,lo):t];return e.parentNode=Mo,m([e])},uo.selectAll=function(t){var e=bo("string"==typeof t?So(t,lo):t);return e.parentNode=Mo,m([e])};var Po=uo.select(Mo);uo.behavior.zoom=function(){function t(){this.on("mousedown.zoom",s).on("mousemove.zoom",c).on(Io+".zoom",u).on("dblclick.zoom",d).on("touchstart.zoom",p).on("touchmove.zoom",g).on("touchend.zoom",p)}function e(t){return[(t[0]-S[0])/M,(t[1]-S[1])/M]}function n(t){return[t[0]*M+S[0],t[1]*M+S[1]]}function r(t){M=Math.max(T[0],Math.min(T[1],t))}function i(t,e){e=n(e),S[0]+=t[0]-e[0],S[1]+=t[1]-e[1]}function o(){b&&b.domain(y.range().map(function(t){return(t-S[0])/M}).map(y.invert)),E&&E.domain(x.range().map(function(t){return(t-S[1])/M}).map(x.invert))}function a(t){o(),uo.event.preventDefault(),t({type:"zoom",scale:M,translate:S})}function s(){function t(){u=1,i(uo.mouse(r),h),a(o)}function n(){u&&l(),c.on("mousemove.zoom",null).on("mouseup.zoom",null),u&&uo.event.target===s&&f(c,"click.zoom")}var r=this,o=A.of(r,arguments),s=uo.event.target,u=0,c=uo.select(co).on("mousemove.zoom",t).on("mouseup.zoom",n),h=e(uo.mouse(r));co.focus(),l()}function u(){m||(m=e(uo.mouse(this))),r(Math.pow(2,.002*Do())*M),i(uo.mouse(this),m),a(A.of(this,arguments))}function c(){m=null}function d(){var t=uo.mouse(this),n=e(t),o=Math.log(M)/Math.LN2;r(Math.pow(2,uo.event.shiftKey?Math.ceil(o)-1:Math.floor(o)+1)),i(t,n),a(A.of(this,arguments))}function p(){var t=uo.touches(this),n=Date.now();if(v=M,m={},t.forEach(function(t){m[t.identifier]=e(t)}),l(),1===t.length){if(500>n-w){var o=t[0],s=e(t[0]);r(2*M),i(o,s),a(A.of(this,arguments))}w=n}}function g(){var t=uo.touches(this),e=t[0],n=m[e.identifier];if(o=t[1]){var o,s=m[o.identifier];e=[(e[0]+o[0])/2,(e[1]+o[1])/2],n=[(n[0]+s[0])/2,(n[1]+s[1])/2],r(uo.event.scale*v)}i(e,n),w=null,a(A.of(this,arguments))}var m,v,y,b,x,E,w,S=[0,0],M=1,T=Ho,A=h(t,"zoom");return t.translate=function(e){return arguments.length?(S=e.map(Number),o(),t):S},t.scale=function(e){return arguments.length?(M=+e,o(),t):M},t.scaleExtent=function(e){return arguments.length?(T=null==e?Ho:e.map(Number),t):T},t.x=function(e){return arguments.length?(b=e,y=e.copy(),S=[0,0],M=1,t):b},t.y=function(e){return arguments.length?(E=e,x=e.copy(),S=[0,0],M=1,t):E},uo.rebind(t,A,"on")};var Do,Ho=[0,1/0],Io="onwheel"in lo?(Do=function(){return-uo.event.deltaY*(uo.event.deltaMode?120:1)},"wheel"):"onmousewheel"in lo?(Do=function(){return uo.event.wheelDelta},"mousewheel"):(Do=function(){return-uo.event.detail},"MozMousePixelScroll");L.prototype.toString=function(){return this.rgb()+""},uo.hsl=function(t,e,n){return 1===arguments.length?t instanceof O?j(t.h,t.s,t.l):ot(""+t,at,j):j(+t,+e,+n)};var Lo=O.prototype=new L;Lo.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),j(this.h,this.s,this.l/t)},Lo.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),j(this.h,this.s,t*this.l)},Lo.rgb=function(){return R(this.h,this.s,this.l)};var jo=Math.PI,Oo=1e-6,Ro=jo/180,Fo=180/jo;uo.hcl=function(t,e,n){return 1===arguments.length?t instanceof Z?J(t.h,t.c,t.l):t instanceof Y?G(t.l,t.a,t.b):G((t=st((t=uo.rgb(t)).r,t.g,t.b)).l,t.a,t.b):J(+t,+e,+n)};var qo=Z.prototype=new L;qo.brighter=function(t){return J(this.h,this.c,Math.min(100,this.l+Bo*(arguments.length?t:1)))},qo.darker=function(t){return J(this.h,this.c,Math.max(0,this.l-Bo*(arguments.length?t:1)))},qo.rgb=function(){return X(this.h,this.c,this.l).rgb()},uo.lab=function(t,e,n){return 1===arguments.length?t instanceof Y?V(t.l,t.a,t.b):t instanceof Z?X(t.l,t.c,t.h):st((t=uo.rgb(t)).r,t.g,t.b):V(+t,+e,+n)};var Bo=18,zo=.95047,Uo=1,Wo=1.08883,Jo=Y.prototype=new L;Jo.brighter=function(t){return V(Math.min(100,this.l+Bo*(arguments.length?t:1)),this.a,this.b)},Jo.darker=function(t){return V(Math.max(0,this.l-Bo*(arguments.length?t:1)),this.a,this.b)},Jo.rgb=function(){return Q(this.l,this.a,this.b)},uo.rgb=function(t,e,n){return 1===arguments.length?t instanceof rt?nt(t.r,t.g,t.b):ot(""+t,nt,R):nt(~~t,~~e,~~n)};var Zo=rt.prototype=new L;Zo.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,r=this.b,i=30;return e||n||r?(e&&i>e&&(e=i),n&&i>n&&(n=i),r&&i>r&&(r=i),nt(Math.min(255,Math.floor(e/t)),Math.min(255,Math.floor(n/t)),Math.min(255,Math.floor(r/t)))):nt(i,i,i)},Zo.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),nt(Math.floor(t*this.r),Math.floor(t*this.g),Math.floor(t*this.b))},Zo.hsl=function(){return at(this.r,this.g,this.b)},Zo.toString=function(){return"#"+it(this.r)+it(this.g)+it(this.b)};var Xo=uo.map({aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"});Xo.forEach(function(t,e){Xo.set(t,ot(e,nt,R))}),uo.functor=ct,uo.xhr=function(t,e,n){function r(){var t=u.status;!t&&u.responseText||t>=200&&300>t||304===t?o.load.call(i,s.call(i,u)):o.error.call(i,u)}var i={},o=uo.dispatch("progress","load","error"),a={},s=ft,u=new(co.XDomainRequest&&/^(http(s)?:)?\/\//.test(t)?XDomainRequest:XMLHttpRequest);return"onload"in u?u.onload=u.onerror=r:u.onreadystatechange=function(){u.readyState>3&&r()},u.onprogress=function(t){var e=uo.event;uo.event=t;try{o.progress.call(i,u)}finally{uo.event=e}},i.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?a[t]:(null==e?delete a[t]:a[t]=e+"",i)},i.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",i):e},i.response=function(t){return s=t,i},["get","post"].forEach(function(t){i[t]=function(){return i.send.apply(i,[t].concat(bo(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),u.open(n,t,!0),null==e||"accept"in a||(a.accept=e+",*/*"),u.setRequestHeader)for(var s in a)u.setRequestHeader(s,a[s]);return null!=e&&u.overrideMimeType&&u.overrideMimeType(e),null!=o&&i.on("error",o).on("load",function(t){o(null,t)}),u.send(null==r?null:r),i},i.abort=function(){return u.abort(),i},uo.rebind(i,o,"on"),2===arguments.length&&"function"==typeof e&&(n=e,e=null),null==n?i:i.get(ht(n))},uo.csv=dt(",","text/csv"),uo.tsv=dt("	","text/tab-separated-values");var Vo,Yo,Qo=0,Go={},Ko=null;uo.timer=function(t,e,n){if(arguments.length<3){if(arguments.length<2)e=0;else if(!isFinite(e))return;n=Date.now()}var r=Go[t.id];r&&r.callback===t?(r.then=n,r.delay=e):Go[t.id=++Qo]=Ko={callback:t,then:n,delay:e,next:Ko},Vo||(Yo=clearTimeout(Yo),Vo=1,ta(pt))},uo.timer.flush=function(){for(var t,e=Date.now(),n=Ko;n;)t=e-n.then,n.delay||(n.flush=n.callback(t)),n=n.next;gt()};var ta=co.requestAnimationFrame||co.webkitRequestAnimationFrame||co.mozRequestAnimationFrame||co.oRequestAnimationFrame||co.msRequestAnimationFrame||function(t){setTimeout(t,17)},ea=".",na=",",ra=[3,3],ia=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(mt);uo.formatPrefix=function(t,e){var n=0;return t&&(0>t&&(t*=-1),e&&(t=uo.round(t,vt(t,e))),n=1+Math.floor(1e-12+Math.log(t)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((0>=n?n+1:n-1)/3)))),ia[8+n/3]},uo.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)},uo.format=function(t){var e=oa.exec(t),n=e[1]||" ",r=e[2]||">",i=e[3]||"",o=e[4]||"",a=e[5],s=+e[6],u=e[7],l=e[8],c=e[9],f=1,h="",d=!1;switch(l&&(l=+l.substring(1)),(a||"0"===n&&"="===r)&&(a=n="0",r="=",u&&(s-=Math.floor((s-1)/4))),c){case"n":u=!0,c="g";break;case"%":f=100,h="%",c="f";break;case"p":f=100,h="%",c="r";break;case"b":case"o":case"x":case"X":o&&(o="0"+c.toLowerCase());case"c":case"d":d=!0,l=0;break;case"s":f=-1,c="r"}"#"===o&&(o=""),"r"!=c||l||(c="g"),null!=l&&("g"==c?l=Math.max(1,Math.min(21,l)):("e"==c||"f"==c)&&(l=Math.max(0,Math.min(20,l)))),c=aa.get(c)||yt;var p=a&&u;return function(t){if(d&&t%1)return"";var e=0>t||0===t&&0>1/t?(t=-t,"-"):i;if(0>f){var g=uo.formatPrefix(t,l);t=g.scale(t),h=g.symbol}else t*=f;t=c(t,l),!a&&u&&(t=sa(t));var m=o.length+t.length+(p?0:e.length),v=s>m?new Array(m=s-m+1).join(n):"";return p&&(t=sa(v+t)),ea&&t.replace(".",ea),e+=o,("<"===r?e+t+v:">"===r?v+e+t:"^"===r?v.substring(0,m>>=1)+e+t+v.substring(m):e+(p?t:v+t))+h}};var oa=/(?:([^{])?([<>=^]))?([+\- ])?(#)?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,aa=uo.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t);
  },o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=uo.round(t,vt(t,e))).toFixed(Math.max(0,Math.min(20,vt(t*(1+1e-15),e))))}}),sa=ft;if(ra){var ua=ra.length;sa=function(t){for(var e=t.lastIndexOf("."),n=e>=0?"."+t.substring(e+1):(e=t.length,""),r=[],i=0,o=ra[0];e>0&&o>0;)r.push(t.substring(e-=o,e+o)),o=ra[i=(i+1)%ua];return r.reverse().join(na||"")+n}}uo.geo={},uo.geo.stream=function(t,e){t&&la.hasOwnProperty(t.type)?la[t.type](t,e):bt(t,e)};var la={Feature:function(t,e){bt(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)bt(n[r].geometry,e)}},ca={Sphere:function(t,e){e.sphere()},Point:function(t,e){var n=t.coordinates;e.point(n[0],n[1])},MultiPoint:function(t,e){for(var n,r=t.coordinates,i=-1,o=r.length;++i<o;)n=r[i],e.point(n[0],n[1])},LineString:function(t,e){xt(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)xt(n[r],e,0)},Polygon:function(t,e){Et(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Et(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)bt(n[r],e)}};uo.geo.area=function(t){return fa=0,uo.geo.stream(t,pa),fa};var fa,ha,da,pa={sphere:function(){fa+=4*jo},point:N,lineStart:N,lineEnd:N,polygonStart:function(){ha=1,da=0,pa.lineStart=wt},polygonEnd:function(){var t=2*Math.atan2(da,ha);fa+=0>t?4*jo+t:t,pa.lineStart=pa.lineEnd=pa.point=N}};uo.geo.bounds=St(ft),uo.geo.centroid=function(t){ga=ma=va=ya=ba=0,uo.geo.stream(t,xa);var e;return ma&&Math.abs(e=Math.sqrt(va*va+ya*ya+ba*ba))>Oo?[Math.atan2(ya,va)*Fo,Math.asin(Math.max(-1,Math.min(1,ba/e)))*Fo]:void 0};var ga,ma,va,ya,ba,xa={sphere:function(){2>ga&&(ga=2,ma=va=ya=ba=0)},point:Mt,lineStart:At,lineEnd:_t,polygonStart:function(){2>ga&&(ga=2,ma=va=ya=ba=0),xa.lineStart=Tt},polygonEnd:function(){xa.lineStart=At}},Ea=Rt(Ht,Ut,Jt),wa=1e9;uo.geo.projection=Gt,uo.geo.projectionMutator=Kt,(uo.geo.equirectangular=function(){return Gt(ee)}).raw=ee.invert=ee,uo.geo.rotation=function(t){function e(e){return e=t(e[0]*Ro,e[1]*Ro),e[0]*=Fo,e[1]*=Fo,e}return t=ne(t[0]%360*Ro,t[1]*Ro,t.length>2?t[2]*Ro:0),e.invert=function(e){return e=t.invert(e[0]*Ro,e[1]*Ro),e[0]*=Fo,e[1]*=Fo,e},e},uo.geo.circle=function(){function t(){var t="function"==typeof r?r.apply(this,arguments):r,e=ne(-t[0]*Ro,-t[1]*Ro,0).invert,i=[];return n(null,null,1,{point:function(t,n){i.push(t=e(t,n)),t[0]*=Fo,t[1]*=Fo}}),{type:"Polygon",coordinates:[i]}}var e,n,r=[0,0],i=6;return t.origin=function(e){return arguments.length?(r=e,t):r},t.angle=function(r){return arguments.length?(n=ae((e=+r)*Ro,i*Ro),t):e},t.precision=function(r){return arguments.length?(n=ae(e*Ro,(i=+r)*Ro),t):i},t.angle(90)},uo.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Ro,i=t[1]*Ro,o=e[1]*Ro,a=Math.sin(r),s=Math.cos(r),u=Math.sin(i),l=Math.cos(i),c=Math.sin(o),f=Math.cos(o);return Math.atan2(Math.sqrt((n=f*a)*n+(n=l*c-u*f*s)*n),u*c+l*f*s)},uo.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return uo.range(Math.ceil(o/m)*m,i,m).map(h).concat(uo.range(Math.ceil(l/v)*v,u,v).map(d)).concat(uo.range(Math.ceil(r/p)*p,n,p).filter(function(t){return Math.abs(t%m)>Oo}).map(c)).concat(uo.range(Math.ceil(s/g)*g,a,g).filter(function(t){return Math.abs(t%v)>Oo}).map(f))}var n,r,i,o,a,s,u,l,c,f,h,d,p=10,g=p,m=90,v=360,y=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(d(u).slice(1),h(i).reverse().slice(1),d(l).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(o=+e[0][0],i=+e[1][0],l=+e[0][1],u=+e[1][1],o>i&&(e=o,o=i,i=e),l>u&&(e=l,l=u,u=e),t.precision(y)):[[o,l],[i,u]]},t.minorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),t.precision(y)):[[r,s],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(m=+e[0],v=+e[1],t):[m,v]},t.minorStep=function(e){return arguments.length?(p=+e[0],g=+e[1],t):[p,g]},t.precision=function(e){return arguments.length?(y=+e,c=ue(s,a,90),f=le(r,n,y),h=ue(l,u,90),d=le(o,i,y),t):y},t.majorExtent([[-180,-90+Oo],[180,90-Oo]]).minorExtent([[-180,-80-Oo],[180,80+Oo]])},uo.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||i.apply(this,arguments)]}}var e,n,r=ce,i=fe;return t.distance=function(){return uo.geo.distance(e||r.apply(this,arguments),n||i.apply(this,arguments))},t.source=function(n){return arguments.length?(r=n,e="function"==typeof n?null:n,t):r},t.target=function(e){return arguments.length?(i=e,n="function"==typeof e?null:e,t):i},t.precision=function(){return arguments.length?t:0},t},uo.geo.interpolate=function(t,e){return he(t[0]*Ro,t[1]*Ro,e[0]*Ro,e[1]*Ro)},uo.geo.length=function(t){return Sa=0,uo.geo.stream(t,Ma),Sa};var Sa,Ma={sphere:N,point:N,lineStart:de,lineEnd:N,polygonStart:N,polygonEnd:N};(uo.geo.conicEqualArea=function(){return pe(ge)}).raw=ge,uo.geo.albersUsa=function(){function t(t){return e(t)(t)}function e(t){var e=t[0],n=t[1];return n>50?a:-140>e?s:21>n?u:o}var n,r,i,o=uo.geo.conicEqualArea().rotate([98,0]).center([0,38]).parallels([29.5,45.5]),a=uo.geo.conicEqualArea().rotate([160,0]).center([0,60]).parallels([55,65]),s=uo.geo.conicEqualArea().rotate([160,0]).center([0,20]).parallels([8,18]),u=uo.geo.conicEqualArea().rotate([60,0]).center([0,10]).parallels([8,18]);return t.invert=function(t){return n(t)||r(t)||i(t)||o.invert(t)},t.scale=function(e){return arguments.length?(o.scale(e),a.scale(.6*e),s.scale(e),u.scale(1.5*e),t.translate(o.translate())):o.scale()},t.translate=function(e){if(!arguments.length)return o.translate();var l=o.scale(),c=e[0],f=e[1];return o.translate(e),a.translate([c-.4*l,f+.17*l]),s.translate([c-.19*l,f+.2*l]),u.translate([c+.58*l,f+.43*l]),n=me(a,[[-180,50],[-130,72]]),r=me(s,[[-164,18],[-154,24]]),i=me(u,[[-67.5,17.5],[-65,19]]),t},t.scale(1e3)};var Ta,Aa,_a={point:N,lineStart:N,lineEnd:N,polygonStart:function(){Aa=0,_a.lineStart=ve},polygonEnd:function(){_a.lineStart=_a.lineEnd=_a.point=N,Ta+=Math.abs(Aa/2)}},Ca={point:be,lineStart:xe,lineEnd:Ee,polygonStart:function(){Ca.lineStart=we},polygonEnd:function(){Ca.point=be,Ca.lineStart=xe,Ca.lineEnd=Ee}};uo.geo.path=function(){function t(t){return t&&uo.geo.stream(t,r(i.pointRadius("function"==typeof o?+o.apply(this,arguments):o))),i.result()}var e,n,r,i,o=4.5;return t.area=function(t){return Ta=0,uo.geo.stream(t,r(_a)),Ta},t.centroid=function(t){return ga=va=ya=ba=0,uo.geo.stream(t,r(Ca)),ba?[va/ba,ya/ba]:void 0},t.bounds=function(t){return St(r)(t)},t.projection=function(n){return arguments.length?(r=(e=n)?n.stream||Te(n):ft,t):e},t.context=function(e){return arguments.length?(i=null==(n=e)?new ye:new Se(e),t):n},t.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:+e,t):o},t.projection(uo.geo.albersUsa()).context(null)},uo.geo.albers=function(){return uo.geo.conicEqualArea().parallels([29.5,45.5]).rotate([98,0]).center([0,38]).scale(1e3)};var ka=Ae(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(uo.geo.azimuthalEqualArea=function(){return Gt(ka)}).raw=ka;var Na=Ae(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},ft);(uo.geo.azimuthalEquidistant=function(){return Gt(Na)}).raw=Na,(uo.geo.conicConformal=function(){return pe(_e)}).raw=_e,(uo.geo.conicEquidistant=function(){return pe(Ce)}).raw=Ce;var $a=Ae(function(t){return 1/t},Math.atan);(uo.geo.gnomonic=function(){return Gt($a)}).raw=$a,ke.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-jo/2]},(uo.geo.mercator=function(){return Ne(ke)}).raw=ke;var Pa=Ae(function(){return 1},Math.asin);(uo.geo.orthographic=function(){return Gt(Pa)}).raw=Pa;var Da=Ae(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(uo.geo.stereographic=function(){return Gt(Da)}).raw=Da,$e.invert=function(t,e){return[Math.atan2(z(t),Math.cos(e)),B(Math.sin(e)/U(t))]},(uo.geo.transverseMercator=function(){return Ne($e)}).raw=$e,uo.geom={},uo.svg={},uo.svg.line=function(){return Pe(ft)};var Ha=uo.map({linear:Ie,"linear-closed":Le,"step-before":je,"step-after":Oe,basis:Ue,"basis-open":We,"basis-closed":Je,bundle:Ze,cardinal:qe,"cardinal-open":Re,"cardinal-closed":Fe,monotone:Ke});Ha.forEach(function(t,e){e.key=t,e.closed=/-closed$/.test(t)});var Ia=[0,2/3,1/3,0],La=[0,1/3,2/3,0],ja=[0,1/6,2/3,1/6];uo.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,i,o,a,s,u,l,c,f,h,d,p,g=ct(n),m=ct(r),v=t.length,y=v-1,b=[],x=[],E=0;if(g===De&&r===He)e=t;else for(o=0,e=[];v>o;++o)e.push([+g.call(this,i=t[o],o),+m.call(this,i,o)]);for(o=1;v>o;++o)(e[o][1]<e[E][1]||e[o][1]==e[E][1]&&e[o][0]<e[E][0])&&(E=o);for(o=0;v>o;++o)o!==E&&(u=e[o][1]-e[E][1],s=e[o][0]-e[E][0],b.push({angle:Math.atan2(u,s),index:o}));for(b.sort(function(t,e){return t.angle-e.angle}),d=b[0].angle,h=b[0].index,f=0,o=1;y>o;++o){if(a=b[o].index,d==b[o].angle){if(s=e[h][0]-e[E][0],u=e[h][1]-e[E][1],l=e[a][0]-e[E][0],c=e[a][1]-e[E][1],s*s+u*u>=l*l+c*c){b[o].index=-1;continue}b[f].index=-1}d=b[o].angle,f=o,h=a}for(x.push(E),o=0,a=0;2>o;++a)b[a].index>-1&&(x.push(b[a].index),o++);for(p=x.length;y>a;++a)if(!(b[a].index<0)){for(;!tn(x[p-2],x[p-1],b[a].index,e);)--p;x[p++]=b[a].index}var w=[];for(o=p-1;o>=0;--o)w.push(t[x[o]]);return w}var n=De,r=He;return arguments.length?e(t):(e.x=function(t){return arguments.length?(n=t,e):n},e.y=function(t){return arguments.length?(r=t,e):r},e)},uo.geom.polygon=function(t){return t.area=function(){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return.5*r},t.centroid=function(e){var n,r,i=-1,o=t.length,a=0,s=0,u=t[o-1];for(arguments.length||(e=-1/(6*t.area()));++i<o;)n=u,u=t[i],r=n[0]*u[1]-u[0]*n[1],a+=(n[0]+u[0])*r,s+=(n[1]+u[1])*r;return[a*e,s*e]},t.clip=function(e){for(var n,r,i,o,a,s,u=-1,l=t.length,c=t[l-1];++u<l;){for(n=e.slice(),e.length=0,o=t[u],a=n[(i=n.length)-1],r=-1;++r<i;)s=n[r],en(s,c,o)?(en(a,c,o)||e.push(nn(a,s,c,o)),e.push(s)):en(a,c,o)&&e.push(nn(a,s,c,o)),a=s;c=o}return e},t},uo.geom.delaunay=function(t){var e=t.map(function(){return[]}),n=[];return rn(t,function(n){e[n.region.l.index].push(t[n.region.r.index])}),e.forEach(function(e,r){var i=t[r],o=i[0],a=i[1];e.forEach(function(t){t.angle=Math.atan2(t[0]-o,t[1]-a)}),e.sort(function(t,e){return t.angle-e.angle});for(var s=0,u=e.length-1;u>s;s++)n.push([i,e[s],e[s+1]])}),n},uo.geom.voronoi=function(t){function e(t){var e,r,a,s=t.map(function(){return[]}),u=ct(i),l=ct(o),c=t.length,f=1e6;if(u===De&&l===He)e=t;else for(e=[],a=0;c>a;++a)e.push([+u.call(this,r=t[a],a),+l.call(this,r,a)]);if(rn(e,function(t){var e,n,r,i,o,a;1===t.a&&t.b>=0?(e=t.ep.r,n=t.ep.l):(e=t.ep.l,n=t.ep.r),1===t.a?(o=e?e.y:-f,r=t.c-t.b*o,a=n?n.y:f,i=t.c-t.b*a):(r=e?e.x:-f,o=t.c-t.a*r,i=n?n.x:f,a=t.c-t.a*i);var u=[r,o],l=[i,a];s[t.region.l.index].push(u,l),s[t.region.r.index].push(u,l)}),s=s.map(function(t,n){var r=e[n][0],i=e[n][1],o=t.map(function(t){return Math.atan2(t[0]-r,t[1]-i)}),a=uo.range(t.length).sort(function(t,e){return o[t]-o[e]});return a.filter(function(t,e){return!e||o[t]-o[a[e-1]]>Oo}).map(function(e){return t[e]})}),s.forEach(function(t,n){var r=t.length;if(!r)return t.push([-f,-f],[-f,f],[f,f],[f,-f]);if(!(r>2)){var i=e[n],o=t[0],a=t[1],s=i[0],u=i[1],l=o[0],c=o[1],h=a[0],d=a[1],p=Math.abs(h-l),g=d-c;if(Math.abs(g)<Oo){var m=c>u?-f:f;t.push([-f,m],[f,m])}else if(Oo>p){var v=l>s?-f:f;t.push([v,-f],[v,f])}else{var m=(l-s)*(d-c)>(h-l)*(c-u)?f:-f,y=Math.abs(g)-p;Math.abs(y)<Oo?t.push([0>g?m:-m,m]):(y>0&&(m*=-1),t.push([-f,m],[f,m]))}}}),n)for(a=0;c>a;++a)n(s[a]);for(a=0;c>a;++a)s[a].point=t[a];return s}var n,r=null,i=De,o=He;return arguments.length?e(t):(e.x=function(t){return arguments.length?(i=t,e):i},e.y=function(t){return arguments.length?(o=t,e):o},e.size=function(t){return arguments.length?(null==t?n=null:(r=[+t[0],+t[1]],n=uo.geom.polygon([[0,0],[0,r[1]],r,[r[0],0]]).clip),e):r},e.links=function(t){var e,n,r,a=t.map(function(){return[]}),s=[],u=ct(i),l=ct(o),c=t.length;if(u===De&&l===He)e=t;else for(r=0;c>r;++r)e.push([+u.call(this,n=t[r],r),+l.call(this,n,r)]);return rn(e,function(e){var n=e.region.l.index,r=e.region.r.index;a[n][r]||(a[n][r]=a[r][n]=!0,s.push({source:t[n],target:t[r]}))}),s},e.triangles=function(t){if(i===De&&o===He)return uo.geom.delaunay(t);var e,n,r,a,s,u=ct(i),l=ct(o);for(a=0,e=[],s=t.length;s>a;++a)n=[+u.call(this,r=t[a],a),+l.call(this,r,a)],n.data=r,e.push(n);return uo.geom.delaunay(e).map(function(t){return t.map(function(t){return t.data})})},e)};var Oa={l:"r",r:"l"};uo.geom.quadtree=function(t,e,n,r,i){function o(t){function o(t,e,n,r,i,o,a,s){if(!isNaN(n)&&!isNaN(r))if(t.leaf){var u=t.x,c=t.y;if(null!=u)if(Math.abs(u-n)+Math.abs(c-r)<.01)l(t,e,n,r,i,o,a,s);else{var f=t.point;t.x=t.y=t.point=null,l(t,f,u,c,i,o,a,s),l(t,e,n,r,i,o,a,s)}else t.x=n,t.y=r,t.point=e}else l(t,e,n,r,i,o,a,s)}function l(t,e,n,r,i,a,s,u){var l=.5*(i+s),c=.5*(a+u),f=n>=l,h=r>=c,d=(h<<1)+f;t.leaf=!1,t=t.nodes[d]||(t.nodes[d]=sn()),f?i=l:s=l,h?a=c:u=c,o(t,e,n,r,i,a,s,u)}var c,f,h,d,p,g,m,v,y,b=ct(s),x=ct(u);if(null!=e)g=e,m=n,v=r,y=i;else if(v=y=-(g=m=1/0),f=[],h=[],p=t.length,a)for(d=0;p>d;++d)c=t[d],c.x<g&&(g=c.x),c.y<m&&(m=c.y),c.x>v&&(v=c.x),c.y>y&&(y=c.y),f.push(c.x),h.push(c.y);else for(d=0;p>d;++d){var E=+b(c=t[d],d),w=+x(c,d);g>E&&(g=E),m>w&&(m=w),E>v&&(v=E),w>y&&(y=w),f.push(E),h.push(w)}var S=v-g,M=y-m;S>M?y=m+S:v=g+M;var T=sn();if(T.add=function(t){o(T,t,+b(t,++d),+x(t,d),g,m,v,y)},T.visit=function(t){un(t,T,g,m,v,y)},d=-1,null==e){for(;++d<p;)o(T,t[d],f[d],h[d],g,m,v,y);--d}else t.forEach(T.add);return f=h=t=c=null,T}var a,s=De,u=He;return(a=arguments.length)?(s=on,u=an,3===a&&(i=n,r=e,n=e=0),o(t)):(o.x=function(t){return arguments.length?(s=t,o):s},o.y=function(t){return arguments.length?(u=t,o):u},o.size=function(t){return arguments.length?(null==t?e=n=r=i=null:(e=n=0,r=+t[0],i=+t[1]),o):null==e?null:[r,i]},o)},uo.interpolateRgb=ln,uo.transform=function(t){var e=lo.createElementNS(uo.ns.prefix.svg,"g");return(uo.transform=function(t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate();return new cn(n?n.matrix:Ra)})(t)},cn.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Ra={a:1,b:0,c:0,d:1,e:0,f:0};uo.interpolateNumber=pn,uo.interpolateTransform=gn,uo.interpolateObject=mn,uo.interpolateString=vn;var Fa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;uo.interpolate=yn,uo.interpolators=[function(t,e){var n=typeof e;return("string"===n||n!==typeof t?Xo.has(e)||/^(#|rgb\(|hsl\()/.test(e)?ln:vn:e instanceof L?ln:"object"===n?Array.isArray(e)?xn:mn:pn)(t,e)}],uo.interpolateArray=xn;var qa=function(){return ft},Ba=uo.map({linear:qa,poly:_n,quad:function(){return Mn},cubic:function(){return Tn},sin:function(){return Cn},exp:function(){return kn},circle:function(){return Nn},elastic:$n,back:Pn,bounce:function(){return Dn}}),za=uo.map({"in":ft,out:wn,"in-out":Sn,"out-in":function(t){return Sn(wn(t))}});uo.ease=function(t){var e=t.indexOf("-"),n=e>=0?t.substring(0,e):t,r=e>=0?t.substring(e+1):"in";return n=Ba.get(n)||qa,r=za.get(r)||ft,En(r(n.apply(null,Array.prototype.slice.call(arguments,1))))},uo.interpolateHcl=Hn,uo.interpolateHsl=In,uo.interpolateLab=Ln,uo.interpolateRound=jn,uo.layout={},uo.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n<r;)e.push(Fn(t[n]));return e}},uo.layout.chord=function(){function t(){var t,l,f,h,d,p={},g=[],m=uo.range(o),v=[];for(n=[],r=[],t=0,h=-1;++h<o;){for(l=0,d=-1;++d<o;)l+=i[h][d];g.push(l),v.push(uo.range(o)),t+=l}for(a&&m.sort(function(t,e){return a(g[t],g[e])}),s&&v.forEach(function(t,e){t.sort(function(t,n){return s(i[e][t],i[e][n])})}),t=(2*jo-c*o)/t,l=0,h=-1;++h<o;){for(f=l,d=-1;++d<o;){var y=m[h],b=v[y][d],x=i[y][b],E=l,w=l+=x*t;p[y+"-"+b]={index:y,subindex:b,startAngle:E,endAngle:w,value:x}}r[y]={index:y,startAngle:f,endAngle:l,value:(l-f)/t},l+=c}for(h=-1;++h<o;)for(d=h-1;++d<o;){var S=p[h+"-"+d],M=p[d+"-"+h];(S.value||M.value)&&n.push(S.value<M.value?{source:M,target:S}:{source:S,target:M})}u&&e()}function e(){n.sort(function(t,e){return u((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)})}var n,r,i,o,a,s,u,l={},c=0;return l.matrix=function(t){return arguments.length?(o=(i=t)&&i.length,n=r=null,l):i},l.padding=function(t){return arguments.length?(c=t,n=r=null,l):c},l.sortGroups=function(t){return arguments.length?(a=t,n=r=null,l):a},l.sortSubgroups=function(t){return arguments.length?(s=t,n=null,l):s},l.sortChords=function(t){return arguments.length?(u=t,n&&e(),l):u},l.chords=function(){return n||t(),n},l.groups=function(){return r||t(),r},l},uo.layout.force=function(){function t(t){return function(e,n,r,i){if(e.point!==t){var o=e.cx-t.x,a=e.cy-t.y,s=1/Math.sqrt(o*o+a*a);if(g>(i-n)*s){var u=e.charge*s*s;return t.px-=o*u,t.py-=a*u,!0}if(e.point&&isFinite(s)){var u=e.pointCharge*s*s;t.px-=o*u,t.py-=a*u}}return!e.charge}}function e(t){t.px=uo.event.x,t.py=uo.event.y,s.resume()}var n,r,i,o,a,s={},u=uo.dispatch("start","tick","end"),l=[1,1],c=.9,f=Ua,h=Wa,d=-30,p=.1,g=.8,m=[],v=[];return s.tick=function(){if((r*=.99)<.005)return u.end({type:"end",alpha:r=0}),!0;var e,n,s,f,h,g,y,b,x,E=m.length,w=v.length;for(n=0;w>n;++n)s=v[n],f=s.source,h=s.target,b=h.x-f.x,x=h.y-f.y,(g=b*b+x*x)&&(g=r*o[n]*((g=Math.sqrt(g))-i[n])/g,b*=g,x*=g,h.x-=b*(y=f.weight/(h.weight+f.weight)),h.y-=x*y,f.x+=b*(y=1-y),f.y+=x*y);if((y=r*p)&&(b=l[0]/2,x=l[1]/2,n=-1,y))for(;++n<E;)s=m[n],s.x+=(b-s.x)*y,s.y+=(x-s.y)*y;if(d)for(Zn(e=uo.geom.quadtree(m),r,a),n=-1;++n<E;)(s=m[n]).fixed||e.visit(t(s));for(n=-1;++n<E;)s=m[n],s.fixed?(s.x=s.px,s.y=s.py):(s.x-=(s.px-(s.px=s.x))*c,s.y-=(s.py-(s.py=s.y))*c);u.tick({type:"tick",alpha:r})},s.nodes=function(t){return arguments.length?(m=t,s):m},s.links=function(t){return arguments.length?(v=t,s):v},s.size=function(t){return arguments.length?(l=t,s):l},s.linkDistance=function(t){return arguments.length?(f="function"==typeof t?t:+t,s):f},s.distance=s.linkDistance,s.linkStrength=function(t){return arguments.length?(h="function"==typeof t?t:+t,s):h},s.friction=function(t){return arguments.length?(c=+t,s):c},s.charge=function(t){return arguments.length?(d="function"==typeof t?t:+t,s):d},s.gravity=function(t){return arguments.length?(p=+t,s):p},s.theta=function(t){return arguments.length?(g=+t,s):g},s.alpha=function(t){return arguments.length?(t=+t,r?r=t>0?t:0:t>0&&(u.start({type:"start",alpha:r=t}),uo.timer(s.tick)),s):r},s.start=function(){function t(t,r){for(var i,o=e(n),a=-1,s=o.length;++a<s;)if(!isNaN(i=o[a][t]))return i;return Math.random()*r}function e(){if(!u){for(u=[],r=0;p>r;++r)u[r]=[];for(r=0;g>r;++r){var t=v[r];u[t.source.index].push(t.target),u[t.target.index].push(t.source)}}return u[n]}var n,r,u,c,p=m.length,g=v.length,y=l[0],b=l[1];for(n=0;p>n;++n)(c=m[n]).index=n,c.weight=0;for(n=0;g>n;++n)c=v[n],"number"==typeof c.source&&(c.source=m[c.source]),"number"==typeof c.target&&(c.target=m[c.target]),++c.source.weight,++c.target.weight;for(n=0;p>n;++n)c=m[n],isNaN(c.x)&&(c.x=t("x",y)),isNaN(c.y)&&(c.y=t("y",b)),isNaN(c.px)&&(c.px=c.x),isNaN(c.py)&&(c.py=c.y);if(i=[],"function"==typeof f)for(n=0;g>n;++n)i[n]=+f.call(this,v[n],n);else for(n=0;g>n;++n)i[n]=f;if(o=[],"function"==typeof h)for(n=0;g>n;++n)o[n]=+h.call(this,v[n],n);else for(n=0;g>n;++n)o[n]=h;if(a=[],"function"==typeof d)for(n=0;p>n;++n)a[n]=+d.call(this,m[n],n);else for(n=0;p>n;++n)a[n]=d;return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){return n||(n=uo.behavior.drag().origin(ft).on("dragstart.force",zn).on("drag.force",e).on("dragend.force",Un)),arguments.length?void this.on("mouseover.force",Wn).on("mouseout.force",Jn).call(n):n},uo.rebind(s,u,"on")};var Ua=20,Wa=1;uo.layout.hierarchy=function(){function t(e,a,s){var u=i.call(n,e,a);if(e.depth=a,s.push(e),u&&(l=u.length)){for(var l,c,f=-1,h=e.children=[],d=0,p=a+1;++f<l;)c=t(u[f],p,s),c.parent=e,h.push(c),d+=c.value;r&&h.sort(r),o&&(e.value=d)}else o&&(e.value=+o.call(n,e,a)||0);return e}function e(t,r){var i=t.children,a=0;if(i&&(s=i.length))for(var s,u=-1,l=r+1;++u<s;)a+=e(i[u],l);else o&&(a=+o.call(n,t,r)||0);return o&&(t.value=a),a}function n(e){var n=[];return t(e,0,n),n}var r=Qn,i=Vn,o=Yn;return n.sort=function(t){return arguments.length?(r=t,n):r},n.children=function(t){return arguments.length?(i=t,n):i},n.value=function(t){return arguments.length?(o=t,n):o},n.revalue=function(t){return e(t,0),t},n},uo.layout.partition=function(){function t(e,n,r,i){var o=e.children;if(e.x=n,e.y=e.depth*i,e.dx=r,e.dy=i,o&&(a=o.length)){var a,s,u,l=-1;for(r=e.value?r/e.value:0;++l<a;)t(s=o[l],n,u=s.value*r,i),n+=u}}function e(t){var n=t.children,r=0;if(n&&(i=n.length))for(var i,o=-1;++o<i;)r=Math.max(r,e(n[o]));return 1+r}function n(n,o){var a=r.call(this,n,o);return t(a[0],0,i[0],i[1]/e(a[0])),a}var r=uo.layout.hierarchy(),i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},Xn(n,r)},uo.layout.pie=function(){function t(o){var a=o.map(function(n,r){return+e.call(t,n,r)}),s=+("function"==typeof r?r.apply(this,arguments):r),u=(("function"==typeof i?i.apply(this,arguments):i)-s)/uo.sum(a),l=uo.range(o.length);null!=n&&l.sort(n===Ja?function(t,e){return a[e]-a[t]}:function(t,e){return n(o[t],o[e])});var c=[];return l.forEach(function(t){var e;c[t]={data:o[t],value:e=a[t],startAngle:s,endAngle:s+=e*u}}),c}var e=Number,n=Ja,r=0,i=2*jo;return t.value=function(n){return arguments.length?(e=n,t):e},t.sort=function(e){return arguments.length?(n=e,t):n},t.startAngle=function(e){return arguments.length?(r=e,t):r},t.endAngle=function(e){return arguments.length?(i=e,t):i},t};var Ja={};uo.layout.stack=function(){function t(s,u){var l=s.map(function(n,r){return e.call(t,n,r)}),c=l.map(function(e){return e.map(function(e,n){return[o.call(t,e,n),a.call(t,e,n)]})}),f=n.call(t,c,u);l=uo.permute(l,f),c=uo.permute(c,f);var h,d,p,g=r.call(t,c,u),m=l.length,v=l[0].length;for(d=0;v>d;++d)for(i.call(t,l[0][d],p=g[d],c[0][d][1]),h=1;m>h;++h)i.call(t,l[h][d],p+=c[h-1][d][1],c[h][d][1]);return s}var e=ft,n=nr,r=rr,i=er,o=Kn,a=tr;return t.values=function(n){return arguments.length?(e=n,t):e},t.order=function(e){return arguments.length?(n="function"==typeof e?e:Za.get(e)||nr,t):n},t.offset=function(e){return arguments.length?(r="function"==typeof e?e:Xa.get(e)||rr,t):r},t.x=function(e){return arguments.length?(o=e,t):o},t.y=function(e){return arguments.length?(a=e,t):a},t.out=function(e){return arguments.length?(i=e,t):i},t};var Za=uo.map({"inside-out":function(t){var e,n,r=t.length,i=t.map(ir),o=t.map(or),a=uo.range(r).sort(function(t,e){return i[t]-i[e]}),s=0,u=0,l=[],c=[];for(e=0;r>e;++e)n=a[e],u>s?(s+=o[n],l.push(n)):(u+=o[n],c.push(n));return c.reverse().concat(l)},reverse:function(t){return uo.range(t.length).reverse()},"default":nr}),Xa=uo.map({silhouette:function(t){var e,n,r,i=t.length,o=t[0].length,a=[],s=0,u=[];for(n=0;o>n;++n){for(e=0,r=0;i>e;e++)r+=t[e][n][1];r>s&&(s=r),a.push(r)}for(n=0;o>n;++n)u[n]=(s-a[n])/2;return u},wiggle:function(t){var e,n,r,i,o,a,s,u,l,c=t.length,f=t[0],h=f.length,d=[];for(d[0]=u=l=0,n=1;h>n;++n){for(e=0,i=0;c>e;++e)i+=t[e][n][1];for(e=0,o=0,s=f[n][0]-f[n-1][0];c>e;++e){for(r=0,a=(t[e][n][1]-t[e][n-1][1])/(2*s);e>r;++r)a+=(t[r][n][1]-t[r][n-1][1])/s;o+=a*t[e][n][1]}d[n]=u-=i?o/i*s:0,l>u&&(l=u)}for(n=0;h>n;++n)d[n]-=l;return d},expand:function(t){var e,n,r,i=t.length,o=t[0].length,a=1/i,s=[];for(n=0;o>n;++n){for(e=0,r=0;i>e;e++)r+=t[e][n][1];if(r)for(e=0;i>e;e++)t[e][n][1]/=r;else for(e=0;i>e;e++)t[e][n][1]=a}for(n=0;o>n;++n)s[n]=0;return s},zero:rr});uo.layout.histogram=function(){function t(t,o){for(var a,s,u=[],l=t.map(n,this),c=r.call(this,l,o),f=i.call(this,c,l,o),o=-1,h=l.length,d=f.length-1,p=e?1:1/h;++o<d;)a=u[o]=[],a.dx=f[o+1]-(a.x=f[o]),a.y=0;if(d>0)for(o=-1;++o<h;)s=l[o],s>=c[0]&&s<=c[1]&&(a=u[uo.bisect(f,s,1,d)-1],a.y+=p,a.push(t[o]));return u}var e=!0,n=Number,r=lr,i=sr;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(r=ct(e),t):r},t.bins=function(e){return arguments.length?(i="number"==typeof e?function(t){return ur(t,e)}:ct(e),t):i},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},uo.layout.tree=function(){function t(t,i){function o(t,e){var r=t.children,i=t._tree;if(r&&(a=r.length)){for(var a,u,l,c=r[0],f=c,h=-1;++h<a;)l=r[h],o(l,u),f=s(l,u,f),u=l;yr(t);var d=.5*(c._tree.prelim+l._tree.prelim);e?(i.prelim=e._tree.prelim+n(t,e),i.mod=i.prelim-d):i.prelim=d}else e&&(i.prelim=e._tree.prelim+n(t,e))}function a(t,e){t.x=t._tree.prelim+e;var n=t.children;if(n&&(r=n.length)){var r,i=-1;for(e+=t._tree.mod;++i<r;)a(n[i],e)}}function s(t,e,r){if(e){for(var i,o=t,a=t,s=e,u=t.parent.children[0],l=o._tree.mod,c=a._tree.mod,f=s._tree.mod,h=u._tree.mod;s=hr(s),o=fr(o),s&&o;)u=fr(u),a=hr(a),a._tree.ancestor=t,i=s._tree.prelim+f-o._tree.prelim-l+n(s,o),i>0&&(br(xr(s,t,r),t,i),l+=i,c+=i),f+=s._tree.mod,l+=o._tree.mod,h+=u._tree.mod,c+=a._tree.mod;s&&!hr(a)&&(a._tree.thread=s,a._tree.mod+=f-c),o&&!fr(u)&&(u._tree.thread=o,u._tree.mod+=l-h,r=t)}return r}var u=e.call(this,t,i),l=u[0];vr(l,function(t,e){t._tree={ancestor:t,prelim:0,mod:0,change:0,shift:0,number:e?e._tree.number+1:0}}),o(l),a(l,-l._tree.prelim);var c=dr(l,gr),f=dr(l,pr),h=dr(l,mr),d=c.x-n(c,f)/2,p=f.x+n(f,c)/2,g=h.depth||1;return vr(l,function(t){t.x=(t.x-d)/(p-d)*r[0],t.y=t.depth/g*r[1],delete t._tree}),u}var e=uo.layout.hierarchy().sort(null).value(null),n=cr,r=[1,1];return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(r=e,t):r},Xn(t,e)},uo.layout.pack=function(){function t(t,i){var o=e.call(this,t,i),a=o[0];a.x=0,a.y=0,vr(a,function(t){t.r=Math.sqrt(t.value)}),vr(a,Tr);var s=r[0],u=r[1],l=Math.max(2*a.r/s,2*a.r/u);if(n>0){var c=n*l/2;vr(a,function(t){t.r+=c}),vr(a,Tr),vr(a,function(t){t.r-=c}),l=Math.max(2*a.r/s,2*a.r/u)}return Cr(a,s/2,u/2,1/l),o}var e=uo.layout.hierarchy().sort(Er),n=0,r=[1,1];return t.size=function(e){return arguments.length?(r=e,t):r},t.padding=function(e){return arguments.length?(n=+e,t):n},Xn(t,e)},uo.layout.cluster=function(){function t(t,i){var o,a=e.call(this,t,i),s=a[0],u=0;vr(s,function(t){var e=t.children;e&&e.length?(t.x=$r(e),t.y=Nr(e)):(t.x=o?u+=n(t,o):0,t.y=0,o=t)});var l=Pr(s),c=Dr(s),f=l.x-n(l,c)/2,h=c.x+n(c,l)/2;return vr(s,function(t){t.x=(t.x-f)/(h-f)*r[0],t.y=(1-(s.y?t.y/s.y:1))*r[1]}),a}var e=uo.layout.hierarchy().sort(null).value(null),n=cr,r=[1,1];return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(r=e,t):r},Xn(t,e)},uo.layout.treemap=function(){function t(t,e){for(var n,r,i=-1,o=t.length;++i<o;)r=(n=t[i]).value*(0>e?0:e),n.area=isNaN(r)||0>=r?0:r}function e(n){var o=n.children;if(o&&o.length){var a,s,u,l=f(n),c=[],h=o.slice(),p=1/0,g="slice"===d?l.dx:"dice"===d?l.dy:"slice-dice"===d?1&n.depth?l.dy:l.dx:Math.min(l.dx,l.dy);for(t(h,l.dx*l.dy/n.value),c.area=0;(u=h.length)>0;)c.push(a=h[u-1]),c.area+=a.area,"squarify"!==d||(s=r(c,g))<=p?(h.pop(),p=s):(c.area-=c.pop().area,i(c,g,l,!1),g=Math.min(l.dx,l.dy),c.length=c.area=0,p=1/0);c.length&&(i(c,g,l,!0),c.length=c.area=0),o.forEach(e)}}function n(e){var r=e.children;if(r&&r.length){var o,a=f(e),s=r.slice(),u=[];for(t(s,a.dx*a.dy/e.value),u.area=0;o=s.pop();)u.push(o),u.area+=o.area,null!=o.z&&(i(u,o.z?a.dx:a.dy,a,!s.length),u.length=u.area=0);r.forEach(n)}}function r(t,e){for(var n,r=t.area,i=0,o=1/0,a=-1,s=t.length;++a<s;)(n=t[a].area)&&(o>n&&(o=n),n>i&&(i=n));return r*=r,e*=e,r?Math.max(e*i*p/r,r/(e*o*p)):1/0}function i(t,e,n,r){var i,o=-1,a=t.length,s=n.x,l=n.y,c=e?u(t.area/e):0;if(e==n.dx){for((r||c>n.dy)&&(c=n.dy);++o<a;)i=t[o],i.x=s,i.y=l,i.dy=c,s+=i.dx=Math.min(n.x+n.dx-s,c?u(i.area/c):0);i.z=!0,i.dx+=n.x+n.dx-s,n.y+=c,n.dy-=c}else{for((r||c>n.dx)&&(c=n.dx);++o<a;)i=t[o],i.x=s,i.y=l,i.dx=c,l+=i.dy=Math.min(n.y+n.dy-l,c?u(i.area/c):0);i.z=!1,i.dy+=n.y+n.dy-l,n.x+=c,n.dx-=c}}function o(r){var i=a||s(r),o=i[0];return o.x=0,o.y=0,o.dx=l[0],o.dy=l[1],a&&s.revalue(o),t([o],o.dx*o.dy/o.value),(a?n:e)(o),h&&(a=i),i}var a,s=uo.layout.hierarchy(),u=Math.round,l=[1,1],c=null,f=Hr,h=!1,d="squarify",p=.5*(1+Math.sqrt(5));return o.size=function(t){return arguments.length?(l=t,o):l},o.padding=function(t){function e(e){var n=t.call(o,e,e.depth);return null==n?Hr(e):Ir(e,"number"==typeof n?[n,n,n,n]:n)}function n(e){return Ir(e,t)}if(!arguments.length)return c;var r;return f=null==(c=t)?Hr:"function"==(r=typeof t)?e:"number"===r?(t=[t,t,t,t],n):n,o},o.round=function(t){return arguments.length?(u=t?Math.round:Number,o):u!=Number},o.sticky=function(t){return arguments.length?(h=t,a=null,o):h},o.ratio=function(t){return arguments.length?(p=t,o):p},o.mode=function(t){return arguments.length?(d=t+"",o):d},Xn(o,s)},uo.random={normal:function(t,e){var n=arguments.length;return 2>n&&(e=1),1>n&&(t=0),function(){var n,r,i;do n=2*Math.random()-1,r=2*Math.random()-1,i=n*n+r*r;while(!i||i>1);return t+e*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=uo.random.normal.apply(uo,arguments);return function(){return Math.exp(t())}},irwinHall:function(t){return function(){for(var e=0,n=0;t>n;n++)e+=Math.random();return e/t}}},uo.scale={},uo.scale.linear=function(){return qr([0,1],[0,1],yn,!1)},uo.scale.log=function(){return Zr(uo.scale.linear().domain([0,Math.LN10]),10,Xr,Vr)};var Va=uo.format(".0e");uo.scale.pow=function(){return Kr(uo.scale.linear(),1)},uo.scale.sqrt=function(){return uo.scale.pow().exponent(.5)},uo.scale.ordinal=function(){return ei([],{t:"range",a:[[]]})},uo.scale.category10=function(){return uo.scale.ordinal().range(Ya)},uo.scale.category20=function(){return uo.scale.ordinal().range(Qa)},uo.scale.category20b=function(){return uo.scale.ordinal().range(Ga)},uo.scale.category20c=function(){return uo.scale.ordinal().range(Ka)};var Ya=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],Qa=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],Ga=["#393b79","#5254a3","#6b6ecf","#9c9ede","#637939","#8ca252","#b5cf6b","#cedb9c","#8c6d31","#bd9e39","#e7ba52","#e7cb94","#843c39","#ad494a","#d6616b","#e7969c","#7b4173","#a55194","#ce6dbd","#de9ed6"],Ka=["#3182bd","#6baed6","#9ecae1","#c6dbef","#e6550d","#fd8d3c","#fdae6b","#fdd0a2","#31a354","#74c476","#a1d99b","#c7e9c0","#756bb1","#9e9ac8","#bcbddc","#dadaeb","#636363","#969696","#bdbdbd","#d9d9d9"];uo.scale.quantile=function(){return ni([],[])},uo.scale.quantize=function(){return ri(0,1,[0,1])},uo.scale.threshold=function(){return ii([.5],[0,1])},uo.scale.identity=function(){return oi([0,1])},uo.svg.arc=function(){function t(){var t=e.apply(this,arguments),o=n.apply(this,arguments),a=r.apply(this,arguments)+ts,s=i.apply(this,arguments)+ts,u=(a>s&&(u=a,a=s,s=u),s-a),l=jo>u?"0":"1",c=Math.cos(a),f=Math.sin(a),h=Math.cos(s),d=Math.sin(s);return u>=es?t?"M0,"+o+"A"+o+","+o+" 0 1,1 0,"+-o+"A"+o+","+o+" 0 1,1 0,"+o+"M0,"+t+"A"+t+","+t+" 0 1,0 0,"+-t+"A"+t+","+t+" 0 1,0 0,"+t+"Z":"M0,"+o+"A"+o+","+o+" 0 1,1 0,"+-o+"A"+o+","+o+" 0 1,1 0,"+o+"Z":t?"M"+o*c+","+o*f+"A"+o+","+o+" 0 "+l+",1 "+o*h+","+o*d+"L"+t*h+","+t*d+"A"+t+","+t+" 0 "+l+",0 "+t*c+","+t*f+"Z":"M"+o*c+","+o*f+"A"+o+","+o+" 0 "+l+",1 "+o*h+","+o*d+"L0,0Z"}var e=ai,n=si,r=ui,i=li;return t.innerRadius=function(n){return arguments.length?(e=ct(n),t):e},t.outerRadius=function(e){return arguments.length?(n=ct(e),t):n},t.startAngle=function(e){return arguments.length?(r=ct(e),t):r},t.endAngle=function(e){return arguments.length?(i=ct(e),t):i},t.centroid=function(){var t=(e.apply(this,arguments)+n.apply(this,arguments))/2,o=(r.apply(this,arguments)+i.apply(this,arguments))/2+ts;return[Math.cos(o)*t,Math.sin(o)*t]},t};var ts=-jo/2,es=2*jo-1e-6;uo.svg.line.radial=function(){var t=Pe(ci);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},je.reverse=Oe,Oe.reverse=je,uo.svg.area=function(){return fi(ft)},uo.svg.area.radial=function(){var t=fi(ci);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},uo.svg.chord=function(){
  function t(t,s){var u=e(this,o,t,s),l=e(this,a,t,s);return"M"+u.p0+r(u.r,u.p1,u.a1-u.a0)+(n(u,l)?i(u.r,u.p1,u.r,u.p0):i(u.r,u.p1,l.r,l.p0)+r(l.r,l.p1,l.a1-l.a0)+i(l.r,l.p1,u.r,u.p0))+"Z"}function e(t,e,n,r){var i=e.call(t,n,r),o=s.call(t,i,r),a=u.call(t,i,r)+ts,c=l.call(t,i,r)+ts;return{r:o,a0:a,a1:c,p0:[o*Math.cos(a),o*Math.sin(a)],p1:[o*Math.cos(c),o*Math.sin(c)]}}function n(t,e){return t.a0==e.a0&&t.a1==e.a1}function r(t,e,n){return"A"+t+","+t+" 0 "+ +(n>jo)+",1 "+e}function i(t,e,n,r){return"Q 0,0 "+r}var o=ce,a=fe,s=hi,u=ui,l=li;return t.radius=function(e){return arguments.length?(s=ct(e),t):s},t.source=function(e){return arguments.length?(o=ct(e),t):o},t.target=function(e){return arguments.length?(a=ct(e),t):a},t.startAngle=function(e){return arguments.length?(u=ct(e),t):u},t.endAngle=function(e){return arguments.length?(l=ct(e),t):l},t},uo.svg.diagonal=function(){function t(t,i){var o=e.call(this,t,i),a=n.call(this,t,i),s=(o.y+a.y)/2,u=[o,{x:o.x,y:s},{x:a.x,y:s},a];return u=u.map(r),"M"+u[0]+"C"+u[1]+" "+u[2]+" "+u[3]}var e=ce,n=fe,r=di;return t.source=function(n){return arguments.length?(e=ct(n),t):e},t.target=function(e){return arguments.length?(n=ct(e),t):n},t.projection=function(e){return arguments.length?(r=e,t):r},t},uo.svg.diagonal.radial=function(){var t=uo.svg.diagonal(),e=di,n=t.projection;return t.projection=function(t){return arguments.length?n(pi(e=t)):e},t},uo.svg.symbol=function(){function t(t,r){return(ns.get(e.call(this,t,r))||vi)(n.call(this,t,r))}var e=mi,n=gi;return t.type=function(n){return arguments.length?(e=ct(n),t):e},t.size=function(e){return arguments.length?(n=ct(e),t):n},t};var ns=uo.map({circle:vi,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*os)),n=e*os;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/is),n=e*is/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/is),n=e*is/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});uo.svg.symbolTypes=ns.keys();var rs,is=Math.sqrt(3),os=Math.tan(30*Ro),as=[],ss=0,us={ease:An,delay:0,duration:250};as.call=_o.call,as.empty=_o.empty,as.node=_o.node,uo.transition=function(t){return arguments.length?rs?t.transition():t:Po.transition()},uo.transition.prototype=as,as.select=function(t){var e,n,r,i=this.id,o=[];"function"!=typeof t&&(t=v(t));for(var a=-1,s=this.length;++a<s;){o.push(e=[]);for(var u=this[a],l=-1,c=u.length;++l<c;)(r=u[l])&&(n=t.call(r,r.__data__,l))?("__data__"in r&&(n.__data__=r.__data__),Ei(n,l,i,r.__transition__[i]),e.push(n)):e.push(null)}return yi(o,i)},as.selectAll=function(t){var e,n,r,i,o,a=this.id,s=[];"function"!=typeof t&&(t=y(t));for(var u=-1,l=this.length;++u<l;)for(var c=this[u],f=-1,h=c.length;++f<h;)if(r=c[f]){o=r.__transition__[a],n=t.call(r,r.__data__,f),s.push(e=[]);for(var d=-1,p=n.length;++d<p;)Ei(i=n[d],d,a,o),e.push(i)}return yi(s,a)},as.filter=function(t){var e,n,r,i=[];"function"!=typeof t&&(t=C(t));for(var o=0,a=this.length;a>o;o++){i.push(e=[]);for(var n=this[o],s=0,u=n.length;u>s;s++)(r=n[s])&&t.call(r,r.__data__,s)&&e.push(r)}return yi(i,this.id,this.time).ease(this.ease())},as.tween=function(t,e){var n=this.id;return arguments.length<2?this.node().__transition__[n].tween.get(t):H(this,null==e?function(e){e.__transition__[n].tween.remove(t)}:function(r){r.__transition__[n].tween.set(t,e)})},as.attr=function(t,e){function n(){this.removeAttribute(s)}function r(){this.removeAttributeNS(s.space,s.local)}function i(t){return null==t?n:(t+="",function(){var e,n=this.getAttribute(s);return n!==t&&(e=a(n,t),function(t){this.setAttribute(s,e(t))})})}function o(t){return null==t?r:(t+="",function(){var e,n=this.getAttributeNS(s.space,s.local);return n!==t&&(e=a(n,t),function(t){this.setAttributeNS(s.space,s.local,e(t))})})}if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var a=bn(t),s=uo.ns.qualify(t);return bi(this,"attr."+t,e,s.local?o:i)},as.attrTween=function(t,e){function n(t,n){var r=e.call(this,t,n,this.getAttribute(i));return r&&function(t){this.setAttribute(i,r(t))}}function r(t,n){var r=e.call(this,t,n,this.getAttributeNS(i.space,i.local));return r&&function(t){this.setAttributeNS(i.space,i.local,r(t))}}var i=uo.ns.qualify(t);return this.tween("attr."+t,i.local?r:n)},as.style=function(t,e,n){function r(){this.style.removeProperty(t)}function i(e){return null==e?r:(e+="",function(){var r,i=co.getComputedStyle(this,null).getPropertyValue(t);return i!==e&&(r=a(i,e),function(e){this.style.setProperty(t,r(e),n)})})}var o=arguments.length;if(3>o){if("string"!=typeof t){2>o&&(e="");for(n in t)this.style(n,t[n],e);return this}n=""}var a=bn(t);return bi(this,"style."+t,e,i)},as.styleTween=function(t,e,n){function r(r,i){var o=e.call(this,r,i,co.getComputedStyle(this,null).getPropertyValue(t));return o&&function(e){this.style.setProperty(t,o(e),n)}}return arguments.length<3&&(n=""),this.tween("style."+t,r)},as.text=function(t){return bi(this,"text",t,xi)},as.remove=function(){return this.each("end.transition",function(){var t;!this.__transition__&&(t=this.parentNode)&&t.removeChild(this)})},as.ease=function(t){var e=this.id;return arguments.length<1?this.node().__transition__[e].ease:("function"!=typeof t&&(t=uo.ease.apply(uo,arguments)),H(this,function(n){n.__transition__[e].ease=t}))},as.delay=function(t){var e=this.id;return H(this,"function"==typeof t?function(n,r,i){n.__transition__[e].delay=0|t.call(n,n.__data__,r,i)}:(t|=0,function(n){n.__transition__[e].delay=t}))},as.duration=function(t){var e=this.id;return H(this,"function"==typeof t?function(n,r,i){n.__transition__[e].duration=Math.max(1,0|t.call(n,n.__data__,r,i))}:(t=Math.max(1,0|t),function(n){n.__transition__[e].duration=t}))},as.each=function(t,e){var n=this.id;if(arguments.length<2){var r=us,i=rs;rs=n,H(this,function(e,r,i){us=e.__transition__[n],t.call(e,e.__data__,r,i)}),us=r,rs=i}else H(this,function(r){r.__transition__[n].event.on(t,e)});return this},as.transition=function(){for(var t,e,n,r,i=this.id,o=++ss,a=[],s=0,u=this.length;u>s;s++){a.push(t=[]);for(var e=this[s],l=0,c=e.length;c>l;l++)(n=e[l])&&(r=Object.create(n.__transition__[i]),r.delay+=r.duration,Ei(n,l,o,r)),t.push(n)}return yi(a,o)},uo.svg.axis=function(){function t(t){t.each(function(){var t,f=uo.select(this),h=null==l?n.ticks?n.ticks.apply(n,u):n.domain():l,d=null==e?n.tickFormat?n.tickFormat.apply(n,u):String:e,p=Mi(n,h,c),g=f.selectAll(".tick.minor").data(p,String),m=g.enter().insert("line",".tick").attr("class","tick minor").style("opacity",1e-6),v=uo.transition(g.exit()).style("opacity",1e-6).remove(),y=uo.transition(g).style("opacity",1),b=f.selectAll(".tick.major").data(h,String),x=b.enter().insert("g","path").attr("class","tick major").style("opacity",1e-6),E=uo.transition(b.exit()).style("opacity",1e-6).remove(),w=uo.transition(b).style("opacity",1),S=jr(n),M=f.selectAll(".domain").data([0]),T=(M.enter().append("path").attr("class","domain"),uo.transition(M)),A=n.copy(),_=this.__chart__||A;this.__chart__=A,x.append("line"),x.append("text");var C=x.select("line"),k=w.select("line"),N=b.select("text").text(d),$=x.select("text"),P=w.select("text");switch(r){case"bottom":t=wi,m.attr("y2",o),y.attr("x2",0).attr("y2",o),C.attr("y2",i),$.attr("y",Math.max(i,0)+s),k.attr("x2",0).attr("y2",i),P.attr("x",0).attr("y",Math.max(i,0)+s),N.attr("dy",".71em").style("text-anchor","middle"),T.attr("d","M"+S[0]+","+a+"V0H"+S[1]+"V"+a);break;case"top":t=wi,m.attr("y2",-o),y.attr("x2",0).attr("y2",-o),C.attr("y2",-i),$.attr("y",-(Math.max(i,0)+s)),k.attr("x2",0).attr("y2",-i),P.attr("x",0).attr("y",-(Math.max(i,0)+s)),N.attr("dy","0em").style("text-anchor","middle"),T.attr("d","M"+S[0]+","+-a+"V0H"+S[1]+"V"+-a);break;case"left":t=Si,m.attr("x2",-o),y.attr("x2",-o).attr("y2",0),C.attr("x2",-i),$.attr("x",-(Math.max(i,0)+s)),k.attr("x2",-i).attr("y2",0),P.attr("x",-(Math.max(i,0)+s)).attr("y",0),N.attr("dy",".32em").style("text-anchor","end"),T.attr("d","M"+-a+","+S[0]+"H0V"+S[1]+"H"+-a);break;case"right":t=Si,m.attr("x2",o),y.attr("x2",o).attr("y2",0),C.attr("x2",i),$.attr("x",Math.max(i,0)+s),k.attr("x2",i).attr("y2",0),P.attr("x",Math.max(i,0)+s).attr("y",0),N.attr("dy",".32em").style("text-anchor","start"),T.attr("d","M"+a+","+S[0]+"H0V"+S[1]+"H"+a)}if(n.ticks)x.call(t,_),w.call(t,A),E.call(t,A),m.call(t,_),y.call(t,A),v.call(t,A);else{var D=A.rangeBand()/2,H=function(t){return A(t)+D};x.call(t,H),w.call(t,H)}})}var e,n=uo.scale.linear(),r=ls,i=6,o=6,a=6,s=3,u=[10],l=null,c=0;return t.scale=function(e){return arguments.length?(n=e,t):n},t.orient=function(e){return arguments.length?(r=e in cs?e+"":ls,t):r},t.ticks=function(){return arguments.length?(u=arguments,t):u},t.tickValues=function(e){return arguments.length?(l=e,t):l},t.tickFormat=function(n){return arguments.length?(e=n,t):e},t.tickSize=function(e,n){if(!arguments.length)return i;var r=arguments.length-1;return i=+e,o=r>1?+n:i,a=r>0?+arguments[r]:i,t},t.tickPadding=function(e){return arguments.length?(s=+e,t):s},t.tickSubdivide=function(e){return arguments.length?(c=+e,t):c},t};var ls="bottom",cs={top:1,right:1,bottom:1,left:1};uo.svg.brush=function(){function t(o){o.each(function(){var o,a=uo.select(this),l=a.selectAll(".background").data([0]),f=a.selectAll(".extent").data([0]),h=a.selectAll(".resize").data(c,String);a.style("pointer-events","all").on("mousedown.brush",i).on("touchstart.brush",i),l.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),f.enter().append("rect").attr("class","extent").style("cursor","move"),h.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return fs[t]}).append("rect").attr("x",function(t){return/[ew]$/.test(t)?-3:null}).attr("y",function(t){return/^[ns]/.test(t)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),h.style("display",t.empty()?"none":null),h.exit().remove(),s&&(o=jr(s),l.attr("x",o[0]).attr("width",o[1]-o[0]),n(a)),u&&(o=jr(u),l.attr("y",o[0]).attr("height",o[1]-o[0]),r(a)),e(a)})}function e(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+f[+/e$/.test(t)][0]+","+f[+/^s/.test(t)][1]+")"})}function n(t){t.select(".extent").attr("x",f[0][0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",f[1][0]-f[0][0])}function r(t){t.select(".extent").attr("y",f[0][1]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",f[1][1]-f[0][1])}function i(){function i(){var t=uo.event.changedTouches;return t?uo.touches(y,t)[0]:uo.mouse(y)}function c(){32==uo.event.keyCode&&(T||(m=null,A[0]-=f[1][0],A[1]-=f[1][1],T=2),l())}function h(){32==uo.event.keyCode&&2==T&&(A[0]+=f[1][0],A[1]+=f[1][1],T=0,l())}function d(){var t=i(),o=!1;v&&(t[0]+=v[0],t[1]+=v[1]),T||(uo.event.altKey?(m||(m=[(f[0][0]+f[1][0])/2,(f[0][1]+f[1][1])/2]),A[0]=f[+(t[0]<m[0])][0],A[1]=f[+(t[1]<m[1])][1]):m=null),S&&p(t,s,0)&&(n(E),o=!0),M&&p(t,u,1)&&(r(E),o=!0),o&&(e(E),x({type:"brush",mode:T?"move":"resize"}))}function p(t,e,n){var r,i,a=jr(e),s=a[0],u=a[1],l=A[n],c=f[1][n]-f[0][n];return T&&(s-=l,u-=c+l),r=Math.max(s,Math.min(u,t[n])),T?i=(r+=l)+c:(m&&(l=Math.max(s,Math.min(u,2*m[n]-r))),r>l?(i=r,r=l):i=l),f[0][n]!==r||f[1][n]!==i?(o=null,f[0][n]=r,f[1][n]=i,!0):void 0}function g(){d(),E.style("pointer-events","all").selectAll(".resize").style("display",t.empty()?"none":null),uo.select("body").style("cursor",null),_.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),x({type:"brushend"}),l()}var m,v,y=this,b=uo.select(uo.event.target),x=a.of(y,arguments),E=uo.select(y),w=b.datum(),S=!/^(n|s)$/.test(w)&&s,M=!/^(e|w)$/.test(w)&&u,T=b.classed("extent"),A=i(),_=uo.select(co).on("mousemove.brush",d).on("mouseup.brush",g).on("touchmove.brush",d).on("touchend.brush",g).on("keydown.brush",c).on("keyup.brush",h);if(T)A[0]=f[0][0]-A[0],A[1]=f[0][1]-A[1];else if(w){var C=+/w$/.test(w),k=+/^n/.test(w);v=[f[1-C][0]-A[0],f[1-k][1]-A[1]],A[0]=f[C][0],A[1]=f[k][1]}else uo.event.altKey&&(m=A.slice());E.style("pointer-events","none").selectAll(".resize").style("display",null),uo.select("body").style("cursor",b.style("cursor")),x({type:"brushstart"}),d(),l()}var o,a=h(t,"brushstart","brush","brushend"),s=null,u=null,c=hs[0],f=[[0,0],[0,0]];return t.x=function(e){return arguments.length?(s=e,c=hs[!s<<1|!u],t):s},t.y=function(e){return arguments.length?(u=e,c=hs[!s<<1|!u],t):u},t.extent=function(e){var n,r,i,a,l;return arguments.length?(o=[[0,0],[0,0]],s&&(n=e[0],r=e[1],u&&(n=n[0],r=r[0]),o[0][0]=n,o[1][0]=r,s.invert&&(n=s(n),r=s(r)),n>r&&(l=n,n=r,r=l),f[0][0]=0|n,f[1][0]=0|r),u&&(i=e[0],a=e[1],s&&(i=i[1],a=a[1]),o[0][1]=i,o[1][1]=a,u.invert&&(i=u(i),a=u(a)),i>a&&(l=i,i=a,a=l),f[0][1]=0|i,f[1][1]=0|a),t):(e=o||f,s&&(n=e[0][0],r=e[1][0],o||(n=f[0][0],r=f[1][0],s.invert&&(n=s.invert(n),r=s.invert(r)),n>r&&(l=n,n=r,r=l))),u&&(i=e[0][1],a=e[1][1],o||(i=f[0][1],a=f[1][1],u.invert&&(i=u.invert(i),a=u.invert(a)),i>a&&(l=i,i=a,a=l))),s&&u?[[n,i],[r,a]]:s?[n,r]:u&&[i,a])},t.clear=function(){return o=null,f[0][0]=f[0][1]=f[1][0]=f[1][1]=0,t},t.empty=function(){return s&&f[0][0]===f[1][0]||u&&f[0][1]===f[1][1]},uo.rebind(t,a,"on")};var fs={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},hs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];uo.time={};var ds=Date,ps=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];Ti.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){gs.setUTCDate.apply(this._,arguments)},setDay:function(){gs.setUTCDay.apply(this._,arguments)},setFullYear:function(){gs.setUTCFullYear.apply(this._,arguments)},setHours:function(){gs.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){gs.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){gs.setUTCMinutes.apply(this._,arguments)},setMonth:function(){gs.setUTCMonth.apply(this._,arguments)},setSeconds:function(){gs.setUTCSeconds.apply(this._,arguments)},setTime:function(){gs.setTime.apply(this._,arguments)}};var gs=Date.prototype,ms="%a %b %e %X %Y",vs="%m/%d/%Y",ys="%H:%M:%S",bs=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],xs=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Es=["January","February","March","April","May","June","July","August","September","October","November","December"],ws=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];uo.time.year=Ai(function(t){return t=uo.time.day(t),t.setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),uo.time.years=uo.time.year.range,uo.time.years.utc=uo.time.year.utc.range,uo.time.day=Ai(function(t){var e=new ds(1970,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),uo.time.days=uo.time.day.range,uo.time.days.utc=uo.time.day.utc.range,uo.time.dayOfYear=function(t){var e=uo.time.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},ps.forEach(function(t,e){t=t.toLowerCase(),e=7-e;var n=uo.time[t]=Ai(function(t){return(t=uo.time.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var n=uo.time.year(t).getDay();return Math.floor((uo.time.dayOfYear(t)+(n+e)%7)/7)-(n!==e)});uo.time[t+"s"]=n.range,uo.time[t+"s"].utc=n.utc.range,uo.time[t+"OfYear"]=function(t){var n=uo.time.year(t).getDay();return Math.floor((uo.time.dayOfYear(t)+(n+e)%7)/7)}}),uo.time.week=uo.time.sunday,uo.time.weeks=uo.time.sunday.range,uo.time.weeks.utc=uo.time.sunday.utc.range,uo.time.weekOfYear=uo.time.sundayOfYear,uo.time.format=function(t){function e(e){for(var r,i,o,a=[],s=-1,u=0;++s<n;)37===t.charCodeAt(s)&&(a.push(t.substring(u,s)),null!=(i=ks[r=t.charAt(++s)])&&(r=t.charAt(++s)),(o=Ns[r])&&(r=o(e,null==i?"e"===r?" ":"0":i)),a.push(r),u=s+1);return a.push(t.substring(u,s)),a.join("")}var n=t.length;return e.parse=function(e){var n={y:1900,m:0,d:1,H:0,M:0,S:0,L:0},r=Ci(n,t,e,0);if(r!=e.length)return null;"p"in n&&(n.H=n.H%12+12*n.p);var i=new ds;return i.setFullYear(n.y,n.m,n.d),i.setHours(n.H,n.M,n.S,n.L),i},e.toString=function(){return t},e};var Ss=ki(bs),Ms=ki(xs),Ts=ki(Es),As=Ni(Es),_s=ki(ws),Cs=Ni(ws),ks={"-":"",_:" ",0:"0"},Ns={a:function(t){return xs[t.getDay()]},A:function(t){return bs[t.getDay()]},b:function(t){return ws[t.getMonth()]},B:function(t){return Es[t.getMonth()]},c:uo.time.format(ms),d:function(t,e){return $i(t.getDate(),e,2)},e:function(t,e){return $i(t.getDate(),e,2)},H:function(t,e){return $i(t.getHours(),e,2)},I:function(t,e){return $i(t.getHours()%12||12,e,2)},j:function(t,e){return $i(1+uo.time.dayOfYear(t),e,3)},L:function(t,e){return $i(t.getMilliseconds(),e,3)},m:function(t,e){return $i(t.getMonth()+1,e,2)},M:function(t,e){return $i(t.getMinutes(),e,2)},p:function(t){return t.getHours()>=12?"PM":"AM"},S:function(t,e){return $i(t.getSeconds(),e,2)},U:function(t,e){return $i(uo.time.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return $i(uo.time.mondayOfYear(t),e,2)},x:uo.time.format(vs),X:uo.time.format(ys),y:function(t,e){return $i(t.getFullYear()%100,e,2)},Y:function(t,e){return $i(t.getFullYear()%1e4,e,4)},Z:Vi,"%":function(){return"%"}},$s={a:Pi,A:Di,b:Hi,B:Ii,c:Li,d:zi,e:zi,H:Ui,I:Ui,L:Zi,m:Bi,M:Wi,p:Xi,S:Ji,x:ji,X:Oi,y:Fi,Y:Ri},Ps=/^\s*\d+/,Ds=uo.map({am:0,pm:1});uo.time.format.utc=function(t){function e(t){try{ds=Ti;var e=new ds;return e._=t,n(e)}finally{ds=Date}}var n=uo.time.format(t);return e.parse=function(t){try{ds=Ti;var e=n.parse(t);return e&&e._}finally{ds=Date}},e.toString=n.toString,e};var Hs=uo.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ");uo.time.format.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Yi:Hs,Yi.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},Yi.toString=Hs.toString,uo.time.second=Ai(function(t){return new ds(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))},function(t){return t.getSeconds()}),uo.time.seconds=uo.time.second.range,uo.time.seconds.utc=uo.time.second.utc.range,uo.time.minute=Ai(function(t){return new ds(6e4*Math.floor(t/6e4))},function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))},function(t){return t.getMinutes()}),uo.time.minutes=uo.time.minute.range,uo.time.minutes.utc=uo.time.minute.utc.range,uo.time.hour=Ai(function(t){var e=t.getTimezoneOffset()/60;return new ds(36e5*(Math.floor(t/36e5-e)+e))},function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))},function(t){return t.getHours()}),uo.time.hours=uo.time.hour.range,uo.time.hours.utc=uo.time.hour.utc.range,uo.time.month=Ai(function(t){return t=uo.time.day(t),t.setDate(1),t},function(t,e){t.setMonth(t.getMonth()+e)},function(t){return t.getMonth()}),uo.time.months=uo.time.month.range,uo.time.months.utc=uo.time.month.utc.range;var Is=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ls=[[uo.time.second,1],[uo.time.second,5],[uo.time.second,15],[uo.time.second,30],[uo.time.minute,1],[uo.time.minute,5],[uo.time.minute,15],[uo.time.minute,30],[uo.time.hour,1],[uo.time.hour,3],[uo.time.hour,6],[uo.time.hour,12],[uo.time.day,1],[uo.time.day,2],[uo.time.week,1],[uo.time.month,1],[uo.time.month,3],[uo.time.year,1]],js=[[uo.time.format("%Y"),Ht],[uo.time.format("%B"),function(t){return t.getMonth()}],[uo.time.format("%b %d"),function(t){return 1!=t.getDate()}],[uo.time.format("%a %d"),function(t){return t.getDay()&&1!=t.getDate()}],[uo.time.format("%I %p"),function(t){return t.getHours()}],[uo.time.format("%I:%M"),function(t){return t.getMinutes()}],[uo.time.format(":%S"),function(t){return t.getSeconds()}],[uo.time.format(".%L"),function(t){return t.getMilliseconds()}]],Os=uo.scale.linear(),Rs=Ki(js);Ls.year=function(t,e){return Os.domain(t.map(eo)).ticks(e).map(to)},uo.time.scale=function(){return Qi(uo.scale.linear(),Ls,Rs)};var Fs=Ls.map(function(t){return[t[0].utc,t[1]]}),qs=[[uo.time.format.utc("%Y"),Ht],[uo.time.format.utc("%B"),function(t){return t.getUTCMonth()}],[uo.time.format.utc("%b %d"),function(t){return 1!=t.getUTCDate()}],[uo.time.format.utc("%a %d"),function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],[uo.time.format.utc("%I %p"),function(t){return t.getUTCHours()}],[uo.time.format.utc("%I:%M"),function(t){return t.getUTCMinutes()}],[uo.time.format.utc(":%S"),function(t){return t.getUTCSeconds()}],[uo.time.format.utc(".%L"),function(t){return t.getUTCMilliseconds()}]],Bs=Ki(qs);return Fs.year=function(t,e){return Os.domain(t.map(ro)).ticks(e).map(no)},uo.time.scale.utc=function(){return Qi(uo.scale.linear(),Fs,Bs)},uo.text=function(){return uo.xhr.apply(uo,arguments).response(io)},uo.json=function(t,e){return uo.xhr(t,"application/json",e).response(oo)},uo.html=function(t,e){return uo.xhr(t,"text/html",e).response(ao)},uo.xml=function(){return uo.xhr.apply(uo,arguments).response(so)},uo}(),$(document).on("click","#login-to-post-button",function(t){t.preventDefault(),$(".overlay").fadeIn(400),$(".login-container").show()}),$(document).on("click","#volunteer-button",function(t){t.preventDefault(),$(".overlay").fadeIn(400),$("#new-post-container").show()}),$(document).on("submit",".form-new-post",function(t){t.preventDefault();var e=(window.location.href,$(this).serialize()),n=$(this).attr("method"),r=$(this).attr("action"),i=$.ajax({method:n,url:r,data:e});i.done(function(t){$(".overlay").hide(),$("#new-post-container").hide();var e=$("input[name='post[volunteer]']:checked").val();"true"===e?$("#services-offered").prepend(t):$("#services-wanted").prepend(t),$(".form-new-post")[0].reset()}),i.fail(function(t){$(".errors").text("All fields must be filled.")})}),$(document).on("click",".post-tabs li",function(t){t.preventDefault(),$(".post-tabs li").removeClass("active"),$(".services").hide(),$(this).addClass("active");var e=$(".active").find("a").attr("href");$(e).show()}),$(document).on("click","#edit-post-link",function(t){t.preventDefault(),$(".overlay").fadeIn(400),$("#edit-post-container").show()}),$(document).on("click",".close",function(t){t.preventDefault(),$("#edit-post-container").hide(),$(".overlay").fadeOut(400)}),$(document).on("submit",".form-edit-post",function(t){t.preventDefault();var e=$(this).attr("method"),n=$(this).attr("action"),r=$(this).serialize(),i=$.ajax({method:e,url:n,data:r});i.done(function(t){$(".overlay").hide(),$("#edit-post-container").hide(),$("#post-info").empty(),$("#post-info").append(t),$(".form-edit-post")[0].reset()}),i.fail(function(t){$(".errors").text("All fields must be filled.")})}),$(document).on("click",".post-tabs li",function(t){t.preventDefault(),$(".post-tabs li").removeClass("active"),$(".services").hide(),$(this).addClass("active");var e=$(".active").find("a").attr("href");$(e).show()}),$(document).on("submit","#search-form",function(t){t.preventDefault();var e=$(this).attr("method"),n=$(this).attr("action"),r=$(this).serialize();console.log(r),$.ajax({method:e,url:n,data:r}).done(function(t){console.log(t),$("#post-search-results").empty(),$(".overlay").show(),$("#post-search-results").append(t),$("#post-search-results").show()}).fail(function(t){$(".errors").text("Sorry, no matching posts were found.")})}),$(document).on("click","#delete-post-link",function(t){t.preventDefault();var e=$(this).attr("href"),n=$(this).closest(".individual-post-listing");$.ajax({method:"delete",url:e}).done(function(t){n.remove()})}),function(){}.call(this);var geocoder,map;(function(){}).call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this),$(document).ready(function(){$(document).on("click","#login-button",function(t){t.preventDefault(),$(".errors").empty(),$(".overlay").fadeIn(400),$(".login-container").show()}),$(document).on("click","#x",function(t){$(".overlay, .login-container, #new-post-container, #edit-user-container, .register-container, #post-search-results").hide(),$("form").each(function(){this.reset()})}),$(document).on("submit","#login-form",function(t){t.preventDefault();var e=window.location.href,n=$(this).serialize(),r=$.ajax({method:"post",url:"/signin",data:n});r.done(function(t){window.location.replace(e)}),r.fail(function(t){$(".errors").text("Email or Password is Incorrect")})}),$(document).on("click",".left-section a",function(t){t.preventDefault(),$(".errors").empty(),$(".login-container, #new-post-container").hide();var e=$.ajax({method:"get",url:"/users/new"});e.done(function(t){$(".reg-form").append(t),$(".register-container").show()}),e.fail(function(t){$(".errors").text("Could not load new user form")})}),$(document).on("submit","#register-form",function(t){t.preventDefault();var e=window.location.href,n=$(this).serialize(),r=$.ajax({method:"post",url:"/users",data:n});r.done(function(t){window.location.replace(e)}),r.fail(function(t){$(".errors").text("There was a problem with your registration form. Please make sure all fields are filled out correctly.").css("color","red")})}),$(document).on("click","#update",function(t){t.preventDefault(),$(".overlay").fadeIn(400),$("#edit-user-container").show()}),$(document).on("submit",".user-edit",function(t){t.preventDefault();var e=$(this).serialize(),n=$(this).attr("method"),r=$(this).attr("action"),i=window.location.href,o=$.ajax({url:r,method:n,data:e});o.done(function(t){window.location.replace(i)}),o.fail(function(t){$(".errors").text("All fields must be filled.")})}),$(document).on("click","#reply-link",function(t){t.preventDefault();var e=$(this).attr("href"),n=$.ajax({method:"get",url:e});n.done(function(t){$(".overlay").fadeIn(400),$("#new-message-container").append(t)})}),$(document).on("click","#message-close",function(){$("#new-message-container").empty(),$(".overlay").fadeOut(400)}),$(document).on("submit","#new-message-form",function(t){t.preventDefault();var e=$(this).attr("action"),n=$(this).attr("method"),r=$(this).serialize(),i=$.ajax({method:n,url:e,data:r});i.done(function(t){$("#new-message-container").empty(),$(".overlay").fadeOut(400),$("#reply").html("Message Sent!")})}),$(document).on("click",".chain-show",function(t){t.preventDefault();var e=$(this).attr("id"),n=$(this).attr("href");divId=$(this).parents().eq(1).attr("id");var r=$.ajax({url:n,method:"get",data:e});r.done(function(t){$(".overlay").fadeIn(400),$("#message-container").append(t),$("#message-container").show()})}),$(document).on("click","#chain-close",function(t){t.preventDefault(),$(this).parent().empty(),$("#message-container").hide(),$(".overlay").fadeOut(400)}),$(document).on("submit","#new-reply-form",function(t){t.preventDefault();var e=$(this).attr("action"),n=$(this).attr("method"),r=$(this).serialize();$.ajax({method:n,url:e,data:r}).done(function(t){$("#message-container").empty(),$("#message-container").hide(),$(".overlay").fadeOut(400),$("#"+divId).replaceWith(t)})}),$(document).on("click","#user-image-link",function(t){t.preventDefault(),$(".overlay").fadeIn(400),$(".update-image-form").show()}),$(document).on("click",".close",function(t){t.preventDefault(),$(".update-image-form").hide(),$(".overlay").fadeOut(400)}),$(document).on("submit",".update-image-form",function(t){t.preventDefault();var e=$(this).attr("method"),n=$(this).attr("action"),r=$(".update-image-form").find("input[type=file]").val();$.ajax({method:e,url:n,data:{photo:r}}).done(function(t){$("#user-image-form").empty().hide(),$(".overlay").fadeOut(400)}).fail(function(t){$(".errors").text("Sorry, your photo could not be uploaded.")})}),$(document).on("click",".post-user-tabs li",function(t){t.preventDefault(),$(".post-user-tabs li").removeClass("active"),$(".user-posts").hide(),$(this).addClass("active");var e=$(".active").find("a").attr("href");$(e).show()}),$(document).on("click","#activation",function(t){t.preventDefault();var e=$(this).attr("action");if("Activate"===$(this).text()){data={active:!0};var n="Deactivate",r="#CD0809",i="fa fa-check-square-o"}else{data={active:!1};var n="Activate",r="#66CBFF",i="fa fa-minus-square"}$.ajax({method:"put",url:e,data:data}).done(function(t){$("#activation").text(n),$("#activation").css("background-color",r).css("color","white"),$("#active-icon i").removeClass(),$("#active-icon i").addClass(i)})})});