photolayout 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/dist/demo.min.css ADDED
@@ -0,0 +1 @@
1
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.initialism,.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:after,.dl-horizontal dd:before{content:" ";display:table}.dl-horizontal dd:after{clear:both}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:after,.container:before{content:" ";display:table}.container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container-fluid:after,.container-fluid:before{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-15px;margin-right:-15px}.row:after,.row:before{content:" ";display:table}.row:after{clear:both}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333%}.col-xs-2{width:16.66667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333%}.col-xs-5{width:41.66667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333%}.col-xs-8{width:66.66667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333%}.col-xs-11{width:91.66667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333%}.col-xs-pull-2{right:16.66667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333%}.col-xs-pull-5{right:41.66667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333%}.col-xs-pull-8{right:66.66667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333%}.col-xs-pull-11{right:91.66667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333%}.col-xs-push-2{left:16.66667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333%}.col-xs-push-5{left:41.66667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333%}.col-xs-push-8{left:66.66667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333%}.col-xs-push-11{left:91.66667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333%}.col-xs-offset-2{margin-left:16.66667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333%}.col-xs-offset-5{margin-left:41.66667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333%}.col-xs-offset-8{margin-left:66.66667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333%}.col-xs-offset-11{margin-left:91.66667%}.col-xs-offset-12{margin-left:100%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333%}.col-sm-2{width:16.66667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333%}.col-sm-5{width:41.66667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333%}.col-sm-8{width:66.66667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333%}.col-sm-11{width:91.66667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333%}.col-sm-pull-2{right:16.66667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333%}.col-sm-pull-5{right:41.66667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333%}.col-sm-pull-8{right:66.66667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333%}.col-sm-pull-11{right:91.66667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333%}.col-sm-push-2{left:16.66667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333%}.col-sm-push-5{left:41.66667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333%}.col-sm-push-8{left:66.66667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333%}.col-sm-push-11{left:91.66667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333%}.col-sm-offset-2{margin-left:16.66667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333%}.col-sm-offset-5{margin-left:41.66667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333%}.col-sm-offset-8{margin-left:66.66667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333%}.col-sm-offset-11{margin-left:91.66667%}.col-sm-offset-12{margin-left:100%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333%}.col-md-2{width:16.66667%}.col-md-3{width:25%}.col-md-4{width:33.33333%}.col-md-5{width:41.66667%}.col-md-6{width:50%}.col-md-7{width:58.33333%}.col-md-8{width:66.66667%}.col-md-9{width:75%}.col-md-10{width:83.33333%}.col-md-11{width:91.66667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333%}.col-md-pull-2{right:16.66667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333%}.col-md-pull-5{right:41.66667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333%}.col-md-pull-8{right:66.66667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333%}.col-md-pull-11{right:91.66667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333%}.col-md-push-2{left:16.66667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333%}.col-md-push-5{left:41.66667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333%}.col-md-push-8{left:66.66667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333%}.col-md-push-11{left:91.66667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333%}.col-md-offset-2{margin-left:16.66667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333%}.col-md-offset-5{margin-left:41.66667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333%}.col-md-offset-8{margin-left:66.66667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333%}.col-md-offset-11{margin-left:91.66667%}.col-md-offset-12{margin-left:100%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333%}.col-lg-2{width:16.66667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333%}.col-lg-5{width:41.66667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333%}.col-lg-8{width:66.66667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333%}.col-lg-11{width:91.66667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333%}.col-lg-pull-2{right:16.66667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333%}.col-lg-pull-5{right:41.66667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333%}.col-lg-pull-8{right:66.66667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333%}.col-lg-pull-11{right:91.66667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333%}.col-lg-push-2{left:16.66667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333%}.col-lg-push-5{left:41.66667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333%}.col-lg-push-8{left:66.66667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333%}.col-lg-push-11{left:91.66667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333%}.col-lg-offset-2{margin-left:16.66667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333%}.col-lg-offset-5{margin-left:41.66667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333%}.col-lg-offset-8{margin-left:66.66667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333%}.col-lg-offset-11{margin-left:91.66667%}.col-lg-offset-12{margin-left:100%}}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}.form-control,output{display:block;font-size:14px;line-height:1.42857;color:#555}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\9}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.33333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.33333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:after,.form-horizontal .form-group:before{content:" ";display:table}.form-horizontal .form-group:after{clear:both}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}
data/dist/demo.min.js ADDED
@@ -0,0 +1,28 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["demo.min"]=e():t["demo.min"]=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),u=n(2),a=r(u),c=n(4);r(c);e["default"]={},(0,o["default"])(function(){var t,e,n,r,i,u,c,s,f;return e=(0,o["default"])("<style></style>"),t=(0,o["default"])("body"),t.append(e),n=[],i=!1,c=function(){var e,r,u,a,c;if(!i){for(i=!0,(0,o["default"])(".i").remove(),n.length=0,r=u=0,a=Math.min(1e3,(0,o["default"])("#images").val()-1);a>=0?a>=u:u>=a;r=a>=0?++u:--u)n.push({id:r,ratio:.2+1.5*Math.random()}),e=Math.round(75*Math.random())+50,c="background-color: rgb("+e+","+e+","+e+");",t.append('<div class="i i'+r+'" style="'+c+'"></div>');return s(),i=!1}},u=!1,s=function(){var t,r,i,a;if(!u)return a=!0,t=(0,o["default"])("body"),i=new window.photolayout["default"].ResponsiveLayout({line_height:Math.max(25,(0,o["default"])("#line_height").val()),margin:Math.max(0,Math.min(100,(0,o["default"])("#margin").val()))}),i.add(n),r=i.css(),e.html(r),(0,o["default"])("#css_length").html(r.length),(0,o["default"])("#breakpoints").html(i.breakpoints().join(", ")),u=!1,f()},f=a["default"].throttle(function(){var t,e,n;return e=0,n=0,t=(0,o["default"])(".i"),t.each(function(t,r){var i;return i=(0,o["default"])(r).outerHeight(),e=Math.max(i,e),n+=i}),(0,o["default"])("#height_max").html(Math.round(e,2)),(0,o["default"])("#height_avg").html(Math.round(n/t.length,2))},200),(0,o["default"])(window).on("resize",f),r=function(e,n){return t.on("change",e,n),t.on("keyup",e,n)},r("#images",c),c(),r("#line_height",s),r("#margin",s)})},function(t,e,n){var r,i;/*!
2
+ * jQuery JavaScript Library v3.0.0
3
+ * https://jquery.com/
4
+ *
5
+ * Includes Sizzle.js
6
+ * https://sizzlejs.com/
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license
10
+ * https://jquery.org/license
11
+ *
12
+ * Date: 2016-06-09T18:02Z
13
+ */
14
+ !function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function u(t,e){e=e||rt;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function a(t){var e=!!t&&"length"in t&&t.length,n=gt.type(t);return"function"===n||gt.isWindow(t)?!1:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function c(t,e,n){if(gt.isFunction(e))return gt.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return gt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(kt.test(e))return gt.filter(e,t,n);e=gt.filter(e,t)}return gt.grep(t,function(t){return ct.call(e,t)>-1!==n&&1===t.nodeType})}function s(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){var e={};return gt.each(t.match(Ot)||[],function(t,n){e[n]=!0}),e}function l(t){return t}function p(t){throw t}function h(t,e,n){var r;try{t&&gt.isFunction(r=t.promise)?r.call(t).done(e).fail(n):t&&gt.isFunction(r=t.then)?r.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function d(){rt.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d),gt.ready()}function v(){this.expando=gt.expando+v.uid++}function g(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Wt,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Mt.test(n)?JSON.parse(n):n}catch(i){}Ht.set(t,e,n)}else n=void 0;return n}function y(t,e,n,r){var i,o=1,u=20,a=r?function(){return r.cur()}:function(){return gt.css(t,e,"")},c=a(),s=n&&n[3]||(gt.cssNumber[e]?"":"px"),f=(gt.cssNumber[e]||"px"!==s&&+c)&&$t.exec(gt.css(t,e));if(f&&f[3]!==s){s=s||f[3],n=n||[],f=+c||1;do o=o||".5",f/=o,gt.style(t,e,f+s);while(o!==(o=a()/c)&&1!==o&&--u)}return n&&(f=+f||+c||0,i=n[1]?f+(n[1]+1)*n[2]:+n[2],r&&(r.unit=s,r.start=f,r.end=i)),i}function m(t){var e,n=t.ownerDocument,r=t.nodeName,i=Xt[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=gt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),Xt[r]=i,i)}function _(t,e){for(var n,r,i=[],o=0,u=t.length;u>o;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=It.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&zt(r)&&(i[o]=m(r))):"none"!==n&&(i[o]="none",It.set(r,"display",n)));for(o=0;u>o;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function b(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&gt.nodeName(t,e)?gt.merge([t],n):n}function x(t,e){for(var n=0,r=t.length;r>n;n++)It.set(t[n],"globalEval",!e||It.get(e[n],"globalEval"))}function w(t,e,n,r,i){for(var o,u,a,c,s,f,l=e.createDocumentFragment(),p=[],h=0,d=t.length;d>h;h++)if(o=t[h],o||0===o)if("object"===gt.type(o))gt.merge(p,o.nodeType?[o]:o);else if(Qt.test(o)){for(u=u||l.appendChild(e.createElement("div")),a=(Gt.exec(o)||["",""])[1].toLowerCase(),c=Kt[a]||Kt._default,u.innerHTML=c[1]+gt.htmlPrefilter(o)+c[2],f=c[0];f--;)u=u.lastChild;gt.merge(p,u.childNodes),u=l.firstChild,u.textContent=""}else p.push(e.createTextNode(o));for(l.textContent="",h=0;o=p[h++];)if(r&&gt.inArray(o,r)>-1)i&&i.push(o);else if(s=gt.contains(o.ownerDocument,o),u=b(l.appendChild(o),"script"),s&&x(u),n)for(f=0;o=u[f++];)Yt.test(o.type||"")&&n.push(o);return l}function T(){return!0}function j(){return!1}function C(){try{return rt.activeElement}catch(t){}}function k(t,e,n,r,i,o){var u,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)k(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=j;else if(!i)return t;return 1===o&&(u=i,i=function(t){return gt().off(t),u.apply(this,arguments)},i.guid=u.guid||(u.guid=gt.guid++)),t.each(function(){gt.event.add(this,e,i,r,n)})}function A(t,e){return gt.nodeName(t,"table")&&gt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function E(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function S(t){var e=oe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function N(t,e){var n,r,i,o,u,a,c,s;if(1===e.nodeType){if(It.hasData(t)&&(o=It.access(t),u=It.set(e,o),s=o.events)){delete u.handle,u.events={};for(i in s)for(n=0,r=s[i].length;r>n;n++)gt.event.add(e,i,s[i][n])}Ht.hasData(t)&&(a=Ht.access(t),c=gt.extend({},a),Ht.set(e,c))}}function D(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Vt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function O(t,e,n,r){e=ut.apply([],e);var i,o,a,c,s,f,l=0,p=t.length,h=p-1,d=e[0],v=gt.isFunction(d);if(v||p>1&&"string"==typeof d&&!dt.checkClone&&ie.test(d))return t.each(function(i){var o=t.eq(i);v&&(e[0]=d.call(this,i,o.html())),O(o,e,n,r)});if(p&&(i=w(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=gt.map(b(i,"script"),E),c=a.length;p>l;l++)s=i,l!==h&&(s=gt.clone(s,!0,!0),c&&gt.merge(a,b(s,"script"))),n.call(t[l],s,l);if(c)for(f=a[a.length-1].ownerDocument,gt.map(a,S),l=0;c>l;l++)s=a[l],Yt.test(s.type||"")&&!It.access(s,"globalEval")&&gt.contains(f,s)&&(s.src?gt._evalUrl&&gt._evalUrl(s.src):u(s.textContent.replace(ue,""),f))}return t}function L(t,e,n){for(var r,i=e?gt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||gt.cleanData(b(r)),r.parentNode&&(n&&gt.contains(r.ownerDocument,r)&&x(b(r,"script")),r.parentNode.removeChild(r));return t}function q(t,e,n){var r,i,o,u,a=t.style;return n=n||se(t),n&&(u=n.getPropertyValue(e)||n[e],""!==u||gt.contains(t.ownerDocument,t)||(u=gt.style(t,e)),!dt.pixelMarginRight()&&ce.test(u)&&ae.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=u,u=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==u?u+"":u}function R(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function F(t){if(t in de)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=he.length;n--;)if(t=he[n]+e,t in de)return t}function I(t,e,n){var r=$t.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function H(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,u=0;4>o;o+=2)"margin"===n&&(u+=gt.css(t,n+Bt[o],!0,i)),r?("content"===n&&(u-=gt.css(t,"padding"+Bt[o],!0,i)),"margin"!==n&&(u-=gt.css(t,"border"+Bt[o]+"Width",!0,i))):(u+=gt.css(t,"padding"+Bt[o],!0,i),"padding"!==n&&(u+=gt.css(t,"border"+Bt[o]+"Width",!0,i)));return u}function M(t,e,n){var r,i=!0,o=se(t),u="border-box"===gt.css(t,"boxSizing",!1,o);if(t.getClientRects().length&&(r=t.getBoundingClientRect()[e]),0>=r||null==r){if(r=q(t,e,o),(0>r||null==r)&&(r=t.style[e]),ce.test(r))return r;i=u&&(dt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+H(t,e,n||(u?"border":"content"),i,o)+"px"}function W(t,e,n,r,i){return new W.prototype.init(t,e,n,r,i)}function P(){ge&&(n.requestAnimationFrame(P),gt.fx.tick())}function $(){return n.setTimeout(function(){ve=void 0}),ve=gt.now()}function B(t,e){var n,r=0,i={height:t};for(e=e?1:0;4>r;r+=2-e)n=Bt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function z(t,e,n){for(var r,i=(V.tweeners[e]||[]).concat(V.tweeners["*"]),o=0,u=i.length;u>o;o++)if(r=i[o].call(n,e,t))return r}function U(t,e,n){var r,i,o,u,a,c,s,f,l="width"in e||"height"in e,p=this,h={},d=t.style,v=t.nodeType&&zt(t),g=It.get(t,"fxshow");n.queue||(u=gt._queueHooks(t,"fx"),null==u.unqueued&&(u.unqueued=0,a=u.empty.fire,u.empty.fire=function(){u.unqueued||a()}),u.unqueued++,p.always(function(){p.always(function(){u.unqueued--,gt.queue(t,"fx").length||u.empty.fire()})}));for(r in e)if(i=e[r],ye.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}h[r]=g&&g[r]||gt.style(t,r)}if(c=!gt.isEmptyObject(e),c||!gt.isEmptyObject(h)){l&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],s=g&&g.display,null==s&&(s=It.get(t,"display")),f=gt.css(t,"display"),"none"===f&&(s?f=s:(_([t],!0),s=t.style.display||s,f=gt.css(t,"display"),_([t]))),("inline"===f||"inline-block"===f&&null!=s)&&"none"===gt.css(t,"float")&&(c||(p.done(function(){d.display=s}),null==s&&(f=d.display,s="none"===f?"":f)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),c=!1;for(r in h)c||(g?"hidden"in g&&(v=g.hidden):g=It.access(t,"fxshow",{display:s}),o&&(g.hidden=!v),v&&_([t],!0),p.done(function(){v||_([t]),It.remove(t,"fxshow");for(r in h)gt.style(t,r,h[r])})),c=z(v?g[r]:0,r,p),r in g||(g[r]=c.start,v&&(c.end=c.start,c.start=0))}}function X(t,e){var n,r,i,o,u;for(n in t)if(r=gt.camelCase(n),i=e[r],o=t[n],gt.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),u=gt.cssHooks[r],u&&"expand"in u){o=u.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function V(t,e,n){var r,i,o=0,u=V.prefilters.length,a=gt.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var e=ve||$(),n=Math.max(0,s.startTime+s.duration-e),r=n/s.duration||0,o=1-r,u=0,c=s.tweens.length;c>u;u++)s.tweens[u].run(o);return a.notifyWith(t,[s,o,n]),1>o&&c?n:(a.resolveWith(t,[s]),!1)},s=a.promise({elem:t,props:gt.extend({},e),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ve||$(),duration:n.duration,tweens:[],createTween:function(e,n){var r=gt.Tween(t,s.opts,e,n,s.opts.specialEasing[e]||s.opts.easing);return s.tweens.push(r),r},stop:function(e){var n=0,r=e?s.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)s.tweens[n].run(1);return e?(a.notifyWith(t,[s,1,0]),a.resolveWith(t,[s,e])):a.rejectWith(t,[s,e]),this}}),f=s.props;for(X(f,s.opts.specialEasing);u>o;o++)if(r=V.prefilters[o].call(s,t,f,s.opts))return gt.isFunction(r.stop)&&(gt._queueHooks(s.elem,s.opts.queue).stop=gt.proxy(r.stop,r)),r;return gt.map(f,z,s),gt.isFunction(s.opts.start)&&s.opts.start.call(t,s),gt.fx.timer(gt.extend(c,{elem:t,anim:s,queue:s.opts.queue})),s.progress(s.opts.progress).done(s.opts.done,s.opts.complete).fail(s.opts.fail).always(s.opts.always)}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function Y(t,e,n,r){var i;if(gt.isArray(e))gt.each(e,function(e,i){n||Ne.test(t)?r(t,i):Y(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==gt.type(e))r(t,e);else for(i in e)Y(t+"["+i+"]",e[i],n,r)}function K(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Ot)||[];if(gt.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Q(t,e,n,r){function i(a){var c;return o[a]=!0,gt.each(t[a]||[],function(t,a){var s=a(e,n,r);return"string"!=typeof s||u||o[s]?u?!(c=s):void 0:(e.dataTypes.unshift(s),i(s),!1)}),c}var o={},u=t===$e;return i(e.dataTypes[0])||!o["*"]&&i("*")}function Z(t,e){var n,r,i=gt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&gt.extend(!0,t,r),t}function J(t,e,n){for(var r,i,o,u,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}u||(u=i)}o=o||u}return o?(o!==c[0]&&c.unshift(o),n[o]):void 0}function tt(t,e,n,r){var i,o,u,a,c,s={},f=t.dataTypes.slice();if(f[1])for(u in t.converters)s[u.toLowerCase()]=t.converters[u];for(o=f.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=f.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(u=s[c+" "+o]||s["* "+o],!u)for(i in s)if(a=i.split(" "),a[1]===o&&(u=s[c+" "+a[0]]||s["* "+a[0]])){u===!0?u=s[i]:s[i]!==!0&&(o=a[0],f.unshift(a[1]));break}if(u!==!0)if(u&&t["throws"])e=u(e);else try{e=u(e)}catch(l){return{state:"parsererror",error:u?l:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}function et(t){return gt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var nt=[],rt=n.document,it=Object.getPrototypeOf,ot=nt.slice,ut=nt.concat,at=nt.push,ct=nt.indexOf,st={},ft=st.toString,lt=st.hasOwnProperty,pt=lt.toString,ht=pt.call(Object),dt={},vt="3.0.0",gt=function(t,e){return new gt.fn.init(t,e)},yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,mt=/^-ms-/,_t=/-([a-z])/g,bt=function(t,e){return e.toUpperCase()};gt.fn=gt.prototype={jquery:vt,constructor:gt,length:0,toArray:function(){return ot.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:ot.call(this)},pushStack:function(t){var e=gt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return gt.each(this,t)},map:function(t){return this.pushStack(gt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ot.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()},push:at,sort:nt.sort,splice:nt.splice},gt.extend=gt.fn.extend=function(){var t,e,n,r,i,o,u=arguments[0]||{},a=1,c=arguments.length,s=!1;for("boolean"==typeof u&&(s=u,u=arguments[a]||{},a++),"object"==typeof u||gt.isFunction(u)||(u={}),a===c&&(u=this,a--);c>a;a++)if(null!=(t=arguments[a]))for(e in t)n=u[e],r=t[e],u!==r&&(s&&r&&(gt.isPlainObject(r)||(i=gt.isArray(r)))?(i?(i=!1,o=n&&gt.isArray(n)?n:[]):o=n&&gt.isPlainObject(n)?n:{},u[e]=gt.extend(s,o,r)):void 0!==r&&(u[e]=r));return u},gt.extend({expando:"jQuery"+(vt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===gt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=gt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return t&&"[object Object]"===ft.call(t)?(e=it(t))?(n=lt.call(e,"constructor")&&e.constructor,"function"==typeof n&&pt.call(n)===ht):!0:!1},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?st[ft.call(t)]||"object":typeof t},globalEval:function(t){u(t)},camelCase:function(t){return t.replace(mt,"ms-").replace(_t,bt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(a(t))for(n=t.length;n>r&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(yt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(a(Object(t))?gt.merge(n,"string"==typeof t?[t]:t):at.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:ct.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;n>r;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,u=t.length,a=!n;u>o;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,u=[];if(a(t))for(r=t.length;r>o;o++)i=e(t[o],o,n),null!=i&&u.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&u.push(i);return ut.apply([],u)},guid:1,proxy:function(t,e){var n,r,i;return"string"==typeof e&&(n=t[e],e=t,t=n),gt.isFunction(t)?(r=ot.call(arguments,2),i=function(){return t.apply(e||this,r.concat(ot.call(arguments)))},i.guid=t.guid=t.guid||gt.guid++,i):void 0},now:Date.now,support:dt}),"function"==typeof Symbol&&(gt.fn[Symbol.iterator]=nt[Symbol.iterator]),gt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){st["[object "+e+"]"]=e.toLowerCase()});var xt=/*!
15
+ * Sizzle CSS Selector Engine v2.3.0
16
+ * https://sizzlejs.com/
17
+ *
18
+ * Copyright jQuery Foundation and other contributors
19
+ * Released under the MIT license
20
+ * http://jquery.org/license
21
+ *
22
+ * Date: 2016-01-04
23
+ */
24
+ function(t){function e(t,e,n,r){var i,o,u,a,c,s,f,p=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&((e?e.ownerDocument||e:P)!==L&&O(e),e=e||L,R)){if(11!==d&&(c=yt.exec(t)))if(i=c[1]){if(9===d){if(!(u=e.getElementById(i)))return n;if(u.id===i)return n.push(u),n}else if(p&&(u=p.getElementById(i))&&M(e,u)&&u.id===i)return n.push(u),n}else{if(c[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((i=c[3])&&w.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(i)),n}if(w.qsa&&!X[t+" "]&&(!F||!F.test(t))){if(1!==d)p=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(xt,wt):e.setAttribute("id",a=W),s=k(t),o=s.length;o--;)s[o]="#"+a+" "+h(s[o]);f=s.join(","),p=mt.test(t)&&l(e.parentNode)||e}if(f)try{return Z.apply(n,p.querySelectorAll(f)),n}catch(v){}finally{a===W&&e.removeAttribute("id")}}}return E(t.replace(at,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[W]=!0,t}function i(t){var e=L.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=e}function u(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function c(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function s(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&e.disabled===!1&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!jt(e))!==t)}}function f(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),u=o.length;u--;)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))})})}function l(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function p(){}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=e.next,o=i||r,u=n&&"parentNode"===o,a=B++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||u)return t(e,n,i)}:function(e,n,c){var s,f,l,p=[$,a];if(c){for(;e=e[r];)if((1===e.nodeType||u)&&t(e,n,c))return!0}else for(;e=e[r];)if(1===e.nodeType||u)if(l=e[W]||(e[W]={}),f=l[e.uniqueID]||(l[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((s=f[o])&&s[0]===$&&s[1]===a)return p[2]=s[2];if(f[o]=p,p[2]=t(e,n,c))return!0}}}function v(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 y(t,e,n,r,i){for(var o,u=[],a=0,c=t.length,s=null!=e;c>a;a++)(o=t[a])&&(n&&!n(o,r,i)||(u.push(o),s&&e.push(a)));return u}function m(t,e,n,i,o,u){return i&&!i[W]&&(i=m(i)),o&&!o[W]&&(o=m(o,u)),r(function(r,u,a,c){var s,f,l,p=[],h=[],d=u.length,v=r||g(e||"*",a.nodeType?[a]:a,[]),m=!t||!r&&e?v:y(v,p,t,a,c),_=n?o||(r?t:d||i)?[]:u:m;if(n&&n(m,_,a,c),i)for(s=y(_,h),i(s,[],a,c),f=s.length;f--;)(l=s[f])&&(_[h[f]]=!(m[h[f]]=l));if(r){if(o||t){if(o){for(s=[],f=_.length;f--;)(l=_[f])&&s.push(m[f]=l);o(null,_=[],s,c)}for(f=_.length;f--;)(l=_[f])&&(s=o?tt(r,l):p[f])>-1&&(r[s]=!(u[s]=l))}}else _=y(_===u?_.splice(d,_.length):_),o?o(null,u,_,c):Z.apply(u,_)})}function _(t){for(var e,n,r,i=t.length,o=T.relative[t[0].type],u=o||T.relative[" "],a=o?1:0,c=d(function(t){return t===e},u,!0),s=d(function(t){return tt(e,t)>-1},u,!0),f=[function(t,n,r){var i=!o&&(r||n!==S)||((e=n).nodeType?c(t,n,r):s(t,n,r));return e=null,i}];i>a;a++)if(n=T.relative[t[a].type])f=[d(v(f),n)];else{if(n=T.filter[t[a].type].apply(null,t[a].matches),n[W]){for(r=++a;i>r&&!T.relative[t[r].type];r++);return m(a>1&&v(f),a>1&&h(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,r>a&&_(t.slice(a,r)),i>r&&_(t=t.slice(r)),i>r&&h(t))}f.push(n)}return v(f)}function b(t,n){var i=n.length>0,o=t.length>0,u=function(r,u,a,c,s){var f,l,p,h=0,d="0",v=r&&[],g=[],m=S,_=r||o&&T.find.TAG("*",s),b=$+=null==m?1:Math.random()||.1,x=_.length;for(s&&(S=u===L||u||s);d!==x&&null!=(f=_[d]);d++){if(o&&f){for(l=0,u||f.ownerDocument===L||(O(f),a=!R);p=t[l++];)if(p(f,u||L,a)){c.push(f);break}s&&($=b)}i&&((f=!p&&f)&&h--,r&&v.push(f))}if(h+=d,i&&d!==h){for(l=0;p=n[l++];)p(v,g,u,a);if(r){if(h>0)for(;d--;)v[d]||g[d]||(g[d]=K.call(c));g=y(g)}Z.apply(c,g),s&&!r&&g.length>0&&h+n.length>1&&e.uniqueSort(c)}return s&&($=b,S=m),v};return i?r(u):u}var x,w,T,j,C,k,A,E,S,N,D,O,L,q,R,F,I,H,M,W="sizzle"+1*new Date,P=t.document,$=0,B=0,z=n(),U=n(),X=n(),V=function(t,e){return t===e&&(D=!0),0},G={}.hasOwnProperty,Y=[],K=Y.pop,Q=Y.push,Z=Y.push,J=Y.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="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",ut=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ct=new RegExp("^"+nt+"*,"+nt+"*"),st=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ft=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),lt=new RegExp(ot),pt=new RegExp("^"+rt+"$"),ht={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,mt=/[+~]/,_t=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),bt=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)},xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,wt=function(t,e){return e?"\x00"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){O()},jt=d(function(t){return t.disabled===!0},{dir:"parentNode",next:"legend"});try{Z.apply(Y=J.call(P.childNodes),P.childNodes),Y[P.childNodes.length].nodeType}catch(Ct){Z={apply:Y.length?function(t,e){Q.apply(t,J.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}w=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},O=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:P;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,q=L.documentElement,R=!C(L),P!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Tt,!1):n.attachEvent&&n.attachEvent("onunload",Tt)),w.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=i(function(t){return t.appendChild(L.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=gt.test(L.getElementsByClassName),w.getById=i(function(t){return q.appendChild(t).id=W,!L.getElementsByName||!L.getElementsByName(W).length}),w.getById?(T.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&R){var n=e.getElementById(t);return n?[n]:[]}},T.filter.ID=function(t){var e=t.replace(_t,bt);return function(t){return t.getAttribute("id")===e}}):(delete T.find.ID,T.filter.ID=function(t){var e=t.replace(_t,bt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),T.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.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},T.find.CLASS=w.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&R?e.getElementsByClassName(t):void 0},I=[],F=[],(w.qsa=gt.test(L.querySelectorAll))&&(i(function(t){q.appendChild(t).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||F.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+W+"-]").length||F.push("~="),t.querySelectorAll(":checked").length||F.push(":checked"),t.querySelectorAll("a#"+W+"+*").length||F.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=L.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&F.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&F.push(":enabled",":disabled"),q.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&F.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=gt.test(H=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(t){w.disconnectedMatch=H.call(t,"*"),H.call(t,"[s!='']:x"),I.push("!=",ot)}),F=F.length&&new RegExp(F.join("|")),I=I.length&&new RegExp(I.join("|")),e=gt.test(q.compareDocumentPosition),M=e||gt.test(q.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===L||t.ownerDocument===P&&M(P,t)?-1:e===L||e.ownerDocument===P&&M(P,e)?1:N?tt(N,t)-tt(N,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],c=[e];if(!i||!o)return t===L?-1:e===L?1:i?-1:o?1:N?tt(N,t)-tt(N,e):0;if(i===o)return u(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;a[r]===c[r];)r++;return r?u(a[r],c[r]):a[r]===P?-1:c[r]===P?1:0},L):L},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==L&&O(t),n=n.replace(ft,"='$1']"),w.matchesSelector&&R&&!X[n+" "]&&(!I||!I.test(n))&&(!F||!F.test(n)))try{var r=H.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,L,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==L&&O(t),M(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==L&&O(t);var n=T.attrHandle[e.toLowerCase()],r=n&&G.call(T.attrHandle,e.toLowerCase())?n(t,e,!R):void 0;return void 0!==r?r:w.attributes||!R?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(xt,wt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(D=!w.detectDuplicates,N=!w.sortStable&&t.slice(0),t.sort(V),D){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return N=null,t},j=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+=j(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=j(e);return n},T=e.selectors={cacheLength:50,createPseudo:r,match:ht,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(_t,bt),t[3]=(t[3]||t[4]||t[5]||"").replace(_t,bt),"~="===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 ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=k(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(_t,bt).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(ut," ")+" ").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),u="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,c){var s,f,l,p,h,d,v=o!==u?"nextSibling":"previousSibling",g=e.parentNode,y=a&&e.nodeName.toLowerCase(),m=!c&&!a,_=!1;if(g){if(o){for(;v;){for(p=e;p=p[v];)if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=v="only"===t&&!d&&"nextSibling"}return!0}if(d=[u?g.firstChild:g.lastChild],u&&m){for(p=g,l=p[W]||(p[W]={}),f=l[p.uniqueID]||(l[p.uniqueID]={}),s=f[t]||[],h=s[0]===$&&s[1],_=h&&s[2],p=h&&g.childNodes[h];p=++h&&p&&p[v]||(_=h=0)||d.pop();)if(1===p.nodeType&&++_&&p===e){f[t]=[$,h,_];break}}else if(m&&(p=e,l=p[W]||(p[W]={}),f=l[p.uniqueID]||(l[p.uniqueID]={}),s=f[t]||[],h=s[0]===$&&s[1],_=h),_===!1)for(;(p=++h&&p&&p[v]||(_=h=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++_||(m&&(l=p[W]||(p[W]={}),f=l[p.uniqueID]||(l[p.uniqueID]={}),f[t]=[$,_]),p!==e)););return _-=i,_===r||_%r===0&&_/r>=0}}},PSEUDO:function(t,n){var i,o=T.pseudos[t]||T.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[W]?o(n):o.length>1?(i=[t,t,"",n],T.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),u=i.length;u--;)r=tt(t,i[u]),t[r]=!(e[r]=i[u])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=A(t.replace(at,"$1"));return i[W]?r(function(t,e,n,r){for(var o,u=i(t,null,r,[]),a=t.length;a--;)(o=u[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(_t,bt),function(e){return(e.textContent||e.innerText||j(e)).indexOf(t)>-1}}),lang:r(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_t,bt).toLowerCase(),function(e){var n;do if(n=R?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===q},focus:function(t){return t===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!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!T.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:f(function(){return[0]}),last:f(function(t,e){return[e-1]}),eq:f(function(t,e,n){return[0>n?n+e:n]}),even:f(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:f(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:f(function(t,e,n){for(var r=0>n?n+e:n;--r>=0;)t.push(r);return t}),gt:f(function(t,e,n){for(var r=0>n?n+e:n;++r<e;)t.push(r);return t})}},T.pseudos.nth=T.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=c(x);return p.prototype=T.filters=T.pseudos,T.setFilters=new p,k=e.tokenize=function(t,n){var r,i,o,u,a,c,s,f=U[t+" "];if(f)return n?0:f.slice(0);for(a=t,c=[],s=T.preFilter;a;){r&&!(i=ct.exec(a))||(i&&(a=a.slice(i[0].length)||a),c.push(o=[])),r=!1,(i=st.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(at," ")}),a=a.slice(r.length));for(u in T.filter)!(i=ht[u].exec(a))||s[u]&&!(i=s[u](i))||(r=i.shift(),o.push({value:r,type:u,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):U(t,c).slice(0)},A=e.compile=function(t,e){var n,r=[],i=[],o=X[t+" "];if(!o){for(e||(e=k(t)),n=e.length;n--;)o=_(e[n]),o[W]?r.push(o):i.push(o);o=X(t,b(i,r)),o.selector=t}return o},E=e.select=function(t,e,n,r){var i,o,u,a,c,s="function"==typeof t&&t,f=!r&&k(t=s.selector||t);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(u=o[0]).type&&w.getById&&9===e.nodeType&&R&&T.relative[o[1].type]){if(e=(T.find.ID(u.matches[0].replace(_t,bt),e)||[])[0],!e)return n;s&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ht.needsContext.test(t)?0:o.length;i--&&(u=o[i],!T.relative[a=u.type]);)if((c=T.find[a])&&(r=c(u.matches[0].replace(_t,bt),mt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&h(o),!t)return Z.apply(n,r),n;break}}return(s||A(t,f))(r,e,!R,n,!e||mt.test(t)&&l(e.parentNode)||e),n},w.sortStable=W.split("").sort(V).join("")===W,w.detectDuplicates=!!D,O(),w.sortDetached=i(function(t){return 1&t.compareDocumentPosition(L.createElement("fieldset"))}),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)}),w.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}(n);gt.find=xt,gt.expr=xt.selectors,gt.expr[":"]=gt.expr.pseudos,gt.uniqueSort=gt.unique=xt.uniqueSort,gt.text=xt.getText,gt.isXMLDoc=xt.isXML,gt.contains=xt.contains,gt.escapeSelector=xt.escape;var wt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&gt(t).is(n))break;r.push(t)}return r},Tt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},jt=gt.expr.match.needsContext,Ct=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,kt=/^.[^:#\[\.,]*$/;gt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?gt.find.matchesSelector(r,t)?[r]:[]:gt.find.matches(t,gt.grep(e,function(t){return 1===t.nodeType}))},gt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){for(e=0;r>e;e++)if(gt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;r>e;e++)gt.find(t,i[e],n);return r>1?gt.uniqueSort(n):n},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,"string"==typeof t&&jt.test(t)?gt(t):t||[],!1).length}});var At,Et=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,St=gt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||At,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Et.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof gt?e[0]:e,gt.merge(this,gt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:rt,!0)),Ct.test(r[1])&&gt.isPlainObject(e))for(r in e)gt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=rt.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):gt.isFunction(t)?void 0!==n.ready?n.ready(t):t(gt):gt.makeArray(t,this)};St.prototype=gt.fn,At=gt(rt);var Nt=/^(?:parents|prev(?:Until|All))/,Dt={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(t){var e=gt(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(gt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],u="string"!=typeof t&&gt(t);if(!jt.test(t))for(;i>r;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:1===n.nodeType&&gt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?gt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ct.call(gt(t),this[0]):ct.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(gt.uniqueSort(gt.merge(this.get(),gt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),gt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return wt(t,"parentNode")},parentsUntil:function(t,e,n){return wt(t,"parentNode",n)},next:function(t){return s(t,"nextSibling")},prev:function(t){return s(t,"previousSibling")},nextAll:function(t){return wt(t,"nextSibling")},prevAll:function(t){return wt(t,"previousSibling")},nextUntil:function(t,e,n){return wt(t,"nextSibling",n)},prevUntil:function(t,e,n){return wt(t,"previousSibling",n)},siblings:function(t){return Tt((t.parentNode||{}).firstChild,t)},children:function(t){return Tt(t.firstChild)},contents:function(t){return t.contentDocument||gt.merge([],t.childNodes)}},function(t,e){gt.fn[t]=function(n,r){var i=gt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=gt.filter(r,i)),this.length>1&&(Dt[t]||gt.uniqueSort(i),Nt.test(t)&&i.reverse()),this.pushStack(i)}});var Ot=/\S+/g;gt.Callbacks=function(t){t="string"==typeof t?f(t):gt.extend({},t);var e,n,r,i,o=[],u=[],a=-1,c=function(){for(i=t.once,r=e=!0;u.length;a=-1)for(n=u.shift();++a<o.length;)o[a].apply(n[0],n[1])===!1&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},s={add:function(){return o&&(n&&!e&&(a=o.length-1,u.push(n)),function r(e){gt.each(e,function(e,n){gt.isFunction(n)?t.unique&&s.has(n)||o.push(n):n&&n.length&&"string"!==gt.type(n)&&r(n)})}(arguments),n&&!e&&c()),this},remove:function(){return gt.each(arguments,function(t,e){for(var n;(n=gt.inArray(e,o,n))>-1;)o.splice(n,1),a>=n&&a--}),this},has:function(t){return t?gt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=u=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],u.push(n),e||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},gt.extend({Deferred:function(t){var e=[["notify","progress",gt.Callbacks("memory"),gt.Callbacks("memory"),2],["resolve","done",gt.Callbacks("once memory"),gt.Callbacks("once memory"),0,"resolved"],["reject","fail",gt.Callbacks("once memory"),gt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(t){return i.then(null,t)},pipe:function(){var t=arguments;return gt.Deferred(function(n){gt.each(e,function(e,r){var i=gt.isFunction(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&gt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var a=this,c=arguments,s=function(){var n,s;if(!(u>t)){if(n=r.apply(a,c),n===e.promise())throw new TypeError("Thenable self-resolution");s=n&&("object"==typeof n||"function"==typeof n)&&n.then,gt.isFunction(s)?i?s.call(n,o(u,e,l,i),o(u,e,p,i)):(u++,s.call(n,o(u,e,l,i),o(u,e,p,i),o(u,e,l,e.notifyWith))):(r!==l&&(a=void 0,c=[n]),(i||e.resolveWith)(a,c))}},f=i?s:function(){try{s()}catch(n){gt.Deferred.exceptionHook&&gt.Deferred.exceptionHook(n,f.stackTrace),t+1>=u&&(r!==p&&(a=void 0,c=[n]),e.rejectWith(a,c))}};t?f():(gt.Deferred.getStackHook&&(f.stackTrace=gt.Deferred.getStackHook()),n.setTimeout(f))}}var u=0;return gt.Deferred(function(n){e[0][3].add(o(0,n,gt.isFunction(i)?i:l,n.notifyWith)),e[1][3].add(o(0,n,gt.isFunction(t)?t:l)),e[2][3].add(o(0,n,gt.isFunction(r)?r:p))}).promise()},promise:function(t){return null!=t?gt.extend(t,i):i}},o={};return gt.each(e,function(t,n){var u=n[2],a=n[5];i[n[1]]=u.add,a&&u.add(function(){r=a},e[3-t][2].disable,e[0][2].lock),u.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=u.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ot.call(arguments),o=gt.Deferred(),u=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ot.call(arguments):n,--e||o.resolveWith(r,i)}};if(1>=e&&(h(t,o.done(u(n)).resolve,o.reject),"pending"===o.state()||gt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)h(i[n],u(n),o.reject);return o.promise()}});var Lt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;gt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Lt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)};var qt=gt.Deferred();gt.fn.ready=function(t){return qt.then(t),this},gt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?gt.readyWait++:gt.ready(!0)},ready:function(t){(t===!0?--gt.readyWait:gt.isReady)||(gt.isReady=!0,t!==!0&&--gt.readyWait>0||qt.resolveWith(rt,[gt]))}}),gt.ready.then=qt.then,"complete"===rt.readyState||"loading"!==rt.readyState&&!rt.documentElement.doScroll?n.setTimeout(gt.ready):(rt.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d));var Rt=function(t,e,n,r,i,o,u){var a=0,c=t.length,s=null==n;if("object"===gt.type(n)){i=!0;for(a in n)Rt(t,e,a,n[a],!0,o,u)}else if(void 0!==r&&(i=!0,gt.isFunction(r)||(u=!0),s&&(u?(e.call(t,r),e=null):(s=e,e=function(t,e,n){return s.call(gt(t),n)})),e))for(;c>a;a++)e(t[a],n,u?r:r.call(t[a],a,e(t[a],n)));return i?t:s?e.call(t):c?e(t[0],n):o},Ft=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};v.uid=1,v.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Ft(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[gt.camelCase(e)]=n;else for(r in e)i[gt.camelCase(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][gt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){gt.isArray(e)?e=e.map(gt.camelCase):(e=gt.camelCase(e),e=e in r?[e]:e.match(Ot)||[]),n=e.length;for(;n--;)delete r[e[n]]}(void 0===e||gt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!gt.isEmptyObject(e)}};var It=new v,Ht=new v,Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Wt=/[A-Z]/g;gt.extend({hasData:function(t){return Ht.hasData(t)||It.hasData(t)},data:function(t,e,n){return Ht.access(t,e,n)},removeData:function(t,e){Ht.remove(t,e)},_data:function(t,e,n){return It.access(t,e,n)},_removeData:function(t,e){It.remove(t,e)}}),gt.fn.extend({data:function(t,e){var n,r,i,o=this[0],u=o&&o.attributes;if(void 0===t){if(this.length&&(i=Ht.get(o),1===o.nodeType&&!It.get(o,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&(r=u[n].name,0===r.indexOf("data-")&&(r=gt.camelCase(r.slice(5)),g(o,r,i[r])));It.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Ht.set(this,t)}):Rt(this,function(e){var n;if(o&&void 0===e){if(n=Ht.get(o,t),void 0!==n)return n;if(n=g(o,t),void 0!==n)return n}else this.each(function(){Ht.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Ht.remove(this,t)})}}),gt.extend({queue:function(t,e,n){var r;return t?(e=(e||"fx")+"queue",r=It.get(t,e),n&&(!r||gt.isArray(n)?r=It.access(t,e,gt.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=gt.queue(t,e),r=n.length,i=n.shift(),o=gt._queueHooks(t,e),u=function(){gt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,u,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return It.get(t,n)||It.access(t,n,{empty:gt.Callbacks("once memory").add(function(){It.remove(t,[e+"queue",n])})})}}),gt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?gt.queue(this[0],t):void 0===e?this:this.each(function(){var n=gt.queue(this,t,e);gt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&gt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){gt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=gt.Deferred(),o=this,u=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";u--;)n=It.get(o[u],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var Pt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$t=new RegExp("^(?:([+-])=|)("+Pt+")([a-z%]*)$","i"),Bt=["Top","Right","Bottom","Left"],zt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&gt.contains(t.ownerDocument,t)&&"none"===gt.css(t,"display")},Ut=function(t,e,n,r){var i,o,u={};for(o in e)u[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=u[o];return i},Xt={};gt.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){zt(this)?gt(this).show():gt(this).hide()})}});var Vt=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Yt=/^$|\/(?:java|ecma)script/i,Kt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Kt.optgroup=Kt.option,Kt.tbody=Kt.tfoot=Kt.colgroup=Kt.caption=Kt.thead,Kt.th=Kt.td;var Qt=/<|&#?\w+;/;!function(){var t=rt.createDocumentFragment(),e=t.appendChild(rt.createElement("div")),n=rt.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),dt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",dt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Zt=rt.documentElement,Jt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;
25
+ gt.event={global:{},add:function(t,e,n,r,i){var o,u,a,c,s,f,l,p,h,d,v,g=It.get(t);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&gt.find.matchesSelector(Zt,i),n.guid||(n.guid=gt.guid++),(c=g.events)||(c=g.events={}),(u=g.handle)||(u=g.handle=function(e){return"undefined"!=typeof gt&&gt.event.triggered!==e.type?gt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Ot)||[""],s=e.length;s--;)a=ee.exec(e[s])||[],h=v=a[1],d=(a[2]||"").split(".").sort(),h&&(l=gt.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=gt.event.special[h]||{},f=gt.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&gt.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=c[h])||(p=c[h]=[],p.delegateCount=0,l.setup&&l.setup.call(t,r,d,u)!==!1||t.addEventListener&&t.addEventListener(h,u)),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),gt.event.global[h]=!0)},remove:function(t,e,n,r,i){var o,u,a,c,s,f,l,p,h,d,v,g=It.hasData(t)&&It.get(t);if(g&&(c=g.events)){for(e=(e||"").match(Ot)||[""],s=e.length;s--;)if(a=ee.exec(e[s])||[],h=v=a[1],d=(a[2]||"").split(".").sort(),h){for(l=gt.event.special[h]||{},h=(r?l.delegateType:l.bindType)||h,p=c[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)f=p[o],!i&&v!==f.origType||n&&n.guid!==f.guid||a&&!a.test(f.namespace)||r&&r!==f.selector&&("**"!==r||!f.selector)||(p.splice(o,1),f.selector&&p.delegateCount--,l.remove&&l.remove.call(t,f));u&&!p.length&&(l.teardown&&l.teardown.call(t,d,g.handle)!==!1||gt.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)gt.event.remove(t,h+e[s],n,r,!0);gt.isEmptyObject(c)&&It.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,u,a=gt.event.fix(t),c=new Array(arguments.length),s=(It.get(this,"events")||{})[a.type]||[],f=gt.event.special[a.type]||{};for(c[0]=a,e=1;e<arguments.length;e++)c[e]=arguments[e];if(a.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,a)!==!1){for(u=gt.event.handlers.call(this,a,s),e=0;(i=u[e++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,r=((gt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c),void 0!==r&&(a.result=r)===!1&&(a.preventDefault(),a.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,r,i,o,u=[],a=e.delegateCount,c=t.target;if(a&&c.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(c.disabled!==!0||"click"!==t.type)){for(r=[],n=0;a>n;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?gt(i,this).index(c)>-1:gt.find(i,this,null,[c]).length),r[i]&&r.push(o);r.length&&u.push({elem:c,handlers:r})}return a<e.length&&u.push({elem:this,handlers:e.slice(a)}),u},addProp:function(t,e){Object.defineProperty(gt.Event.prototype,t,{enumerable:!0,configurable:!0,get:gt.isFunction(e)?function(){return this.originalEvent?e(this.originalEvent):void 0}:function(){return this.originalEvent?this.originalEvent[t]:void 0},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[gt.expando]?t:new gt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==C()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===C()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&gt.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return gt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},gt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},gt.Event=function(t,e){return this instanceof gt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?T:j,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&gt.extend(this,e),this.timeStamp=t&&t.timeStamp||gt.now(),void(this[gt.expando]=!0)):new gt.Event(t,e)},gt.Event.prototype={constructor:gt.Event,isDefaultPrevented:j,isPropagationStopped:j,isImmediatePropagationStopped:j,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=T,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=T,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=T,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},gt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Jt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&te.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},gt.event.addProp),gt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){gt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||gt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),gt.fn.extend({on:function(t,e,n,r){return k(this,t,e,n,r)},one:function(t,e,n,r){return k(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,gt(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=j),this.each(function(){gt.event.remove(this,t,n,e)})}});var ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,re=/<script|<style|<link/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,oe=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;gt.extend({htmlPrefilter:function(t){return t.replace(ne,"<$1></$2>")},clone:function(t,e,n){var r,i,o,u,a=t.cloneNode(!0),c=gt.contains(t.ownerDocument,t);if(!(dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||gt.isXMLDoc(t)))for(u=b(a),o=b(t),r=0,i=o.length;i>r;r++)D(o[r],u[r]);if(e)if(n)for(o=o||b(t),u=u||b(a),r=0,i=o.length;i>r;r++)N(o[r],u[r]);else N(t,a);return u=b(a,"script"),u.length>0&&x(u,!c&&b(t,"script")),a},cleanData:function(t){for(var e,n,r,i=gt.event.special,o=0;void 0!==(n=t[o]);o++)if(Ft(n)){if(e=n[It.expando]){if(e.events)for(r in e.events)i[r]?gt.event.remove(n,r):gt.removeEvent(n,r,e.handle);n[It.expando]=void 0}n[Ht.expando]&&(n[Ht.expando]=void 0)}}}),gt.fn.extend({detach:function(t){return L(this,t,!0)},remove:function(t){return L(this,t)},text:function(t){return Rt(this,function(t){return void 0===t?gt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=A(this,t);e.appendChild(t)}})},prepend:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=A(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(gt.cleanData(b(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return gt.clone(this,t,e)})},html:function(t){return Rt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!re.test(t)&&!Kt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=gt.htmlPrefilter(t);try{for(;r>n;n++)e=this[n]||{},1===e.nodeType&&(gt.cleanData(b(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return O(this,arguments,function(e){var n=this.parentNode;gt.inArray(this,t)<0&&(gt.cleanData(b(this)),n&&n.replaceChild(e,this))},t)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){gt.fn[t]=function(t){for(var n,r=[],i=gt(t),o=i.length-1,u=0;o>=u;u++)n=u===o?this:this.clone(!0),gt(i[u])[e](n),at.apply(r,n.get());return this.pushStack(r)}});var ae=/^margin/,ce=new RegExp("^("+Pt+")(?!px)[a-z%]+$","i"),se=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)};!function(){function t(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Zt.appendChild(u);var t=n.getComputedStyle(a);e="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,a.style.marginRight="50%",i="4px"===t.marginRight,Zt.removeChild(u),a=null}}var e,r,i,o,u=rt.createElement("div"),a=rt.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===a.style.backgroundClip,u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.appendChild(a),gt.extend(dt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var fe=/^(none|table(?!-c[ea]).+)/,le={position:"absolute",visibility:"hidden",display:"block"},pe={letterSpacing:"0",fontWeight:"400"},he=["Webkit","Moz","ms"],de=rt.createElement("div").style;gt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=q(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,u,a=gt.camelCase(e),c=t.style;return e=gt.cssProps[a]||(gt.cssProps[a]=F(a)||a),u=gt.cssHooks[e]||gt.cssHooks[a],void 0===n?u&&"get"in u&&void 0!==(i=u.get(t,!1,r))?i:c[e]:(o=typeof n,"string"===o&&(i=$t.exec(n))&&i[1]&&(n=y(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(gt.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),u&&"set"in u&&void 0===(n=u.set(t,n,r))||(c[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,u,a=gt.camelCase(e);return e=gt.cssProps[a]||(gt.cssProps[a]=F(a)||a),u=gt.cssHooks[e]||gt.cssHooks[a],u&&"get"in u&&(i=u.get(t,!0,n)),void 0===i&&(i=q(t,e,r)),"normal"===i&&e in pe&&(i=pe[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),gt.each(["height","width"],function(t,e){gt.cssHooks[e]={get:function(t,n,r){return n?!fe.test(gt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?M(t,e,r):Ut(t,le,function(){return M(t,e,r)}):void 0},set:function(t,n,r){var i,o=r&&se(t),u=r&&H(t,e,r,"border-box"===gt.css(t,"boxSizing",!1,o),o);return u&&(i=$t.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=gt.css(t,e)),I(t,n,u)}}}),gt.cssHooks.marginLeft=R(dt.reliableMarginLeft,function(t,e){return e?(parseFloat(q(t,"marginLeft"))||t.getBoundingClientRect().left-Ut(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px":void 0}),gt.each({margin:"",padding:"",border:"Width"},function(t,e){gt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[t+Bt[r]+e]=o[r]||o[r-2]||o[0];return i}},ae.test(t)||(gt.cssHooks[t+e].set=I)}),gt.fn.extend({css:function(t,e){return Rt(this,function(t,e,n){var r,i,o={},u=0;if(gt.isArray(e)){for(r=se(t),i=e.length;i>u;u++)o[e[u]]=gt.css(t,e[u],!1,r);return o}return void 0!==n?gt.style(t,e,n):gt.css(t,e)},t,e,arguments.length>1)}}),gt.Tween=W,W.prototype={constructor:W,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||gt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(gt.cssNumber[n]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,n=W.propHooks[this.prop];return this.options.duration?this.pos=e=gt.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):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=gt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){gt.fx.step[t.prop]?gt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[gt.cssProps[t.prop]]&&!gt.cssHooks[t.prop]?t.elem[t.prop]=t.now:gt.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},gt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},gt.fx=W.prototype.init,gt.fx.step={};var ve,ge,ye=/^(?:toggle|show|hide)$/,me=/queueHooks$/;gt.Animation=gt.extend(V,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return y(n.elem,t,$t.exec(e),n),n}]},tweener:function(t,e){gt.isFunction(t)?(e=t,t=["*"]):t=t.match(Ot);for(var n,r=0,i=t.length;i>r;r++)n=t[r],V.tweeners[n]=V.tweeners[n]||[],V.tweeners[n].unshift(e)},prefilters:[U],prefilter:function(t,e){e?V.prefilters.unshift(t):V.prefilters.push(t)}}),gt.speed=function(t,e,n){var r=t&&"object"==typeof t?gt.extend({},t):{complete:n||!n&&e||gt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!gt.isFunction(e)&&e};return gt.fx.off||rt.hidden?r.duration=0:r.duration="number"==typeof r.duration?r.duration:r.duration in gt.fx.speeds?gt.fx.speeds[r.duration]:gt.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){gt.isFunction(r.old)&&r.old.call(this),r.queue&&gt.dequeue(this,r.queue)},r},gt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(zt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=gt.isEmptyObject(t),o=gt.speed(e,n,r),u=function(){var e=V(this,gt.extend({},t),o);(i||It.get(this,"finish"))&&e.stop(!0)};return u.finish=u,i||o.queue===!1?this.each(u):this.queue(o.queue,u)},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=gt.timers,u=It.get(this);if(i)u[i]&&u[i].stop&&r(u[i]);else for(i in u)u[i]&&u[i].stop&&me.test(i)&&r(u[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||gt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=It.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=gt.timers,u=r?r.length:0;for(n.finish=!0,gt.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;u>e;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),gt.each(["toggle","show","hide"],function(t,e){var n=gt.fn[e];gt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(B(e,!0),t,r,i)}}),gt.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){gt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),gt.timers=[],gt.fx.tick=function(){var t,e=0,n=gt.timers;for(ve=gt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||gt.fx.stop(),ve=void 0},gt.fx.timer=function(t){gt.timers.push(t),t()?gt.fx.start():gt.timers.pop()},gt.fx.interval=13,gt.fx.start=function(){ge||(ge=n.requestAnimationFrame?n.requestAnimationFrame(P):n.setInterval(gt.fx.tick,gt.fx.interval))},gt.fx.stop=function(){n.cancelAnimationFrame?n.cancelAnimationFrame(ge):n.clearInterval(ge),ge=null},gt.fx.speeds={slow:600,fast:200,_default:400},gt.fn.delay=function(t,e){return t=gt.fx?gt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=rt.createElement("input"),e=rt.createElement("select"),n=e.appendChild(rt.createElement("option"));t.type="checkbox",dt.checkOn=""!==t.value,dt.optSelected=n.selected,t=rt.createElement("input"),t.value="t",t.type="radio",dt.radioValue="t"===t.value}();var _e,be=gt.expr.attrHandle;gt.fn.extend({attr:function(t,e){return Rt(this,gt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){gt.removeAttr(this,t)})}}),gt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?gt.prop(t,e,n):(1===o&&gt.isXMLDoc(t)||(i=gt.attrHooks[e.toLowerCase()]||(gt.expr.match.bool.test(e)?_e:void 0)),void 0!==n?null===n?void gt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=gt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&gt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Ot);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),_e={set:function(t,e,n){return e===!1?gt.removeAttr(t,n):t.setAttribute(n,n),n}},gt.each(gt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=be[e]||gt.find.attr;be[e]=function(t,e,r){var i,o,u=e.toLowerCase();return r||(o=be[u],be[u]=i,i=null!=n(t,e,r)?u:null,be[u]=o),i}});var xe=/^(?:input|select|textarea|button)$/i,we=/^(?:a|area)$/i;gt.fn.extend({prop:function(t,e){return Rt(this,gt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[gt.propFix[t]||t]})}}),gt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&gt.isXMLDoc(t)||(e=gt.propFix[e]||e,i=gt.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=gt.find.attr(t,"tabindex");return e?parseInt(e,10):xe.test(t.nodeName)||we.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),dt.optSelected||(gt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),gt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){gt.propFix[this.toLowerCase()]=this});var Te=/[\t\r\n\f]/g;gt.fn.extend({addClass:function(t){var e,n,r,i,o,u,a,c=0;if(gt.isFunction(t))return this.each(function(e){gt(this).addClass(t.call(this,e,G(this)))});if("string"==typeof t&&t)for(e=t.match(Ot)||[];n=this[c++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(Te," ")){for(u=0;o=e[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=gt.trim(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,u,a,c=0;if(gt.isFunction(t))return this.each(function(e){gt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Ot)||[];n=this[c++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(Te," ")){for(u=0;o=e[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=gt.trim(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):gt.isFunction(t)?this.each(function(n){gt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=gt(this),o=t.match(Ot)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=G(this),e&&It.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":It.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(n)+" ").replace(Te," ").indexOf(e)>-1)return!0;return!1}});var je=/\r/g,Ce=/[\x20\t\r\n\f]+/g;gt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=gt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,gt(this).val()):t,null==i?i="":"number"==typeof i?i+="":gt.isArray(i)&&(i=gt.map(i,function(t){return null==t?"":t+""})),e=gt.valHooks[this.type]||gt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=gt.valHooks[i.type]||gt.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(je,""):null==n?"":n)}}}),gt.extend({valHooks:{option:{get:function(t){var e=gt.find.attr(t,"value");return null!=e?e:gt.trim(gt.text(t)).replace(Ce," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type,u=o?null:[],a=o?i+1:r.length,c=0>i?a:o?i:0;a>c;c++)if(n=r[c],(n.selected||c===i)&&!n.disabled&&(!n.parentNode.disabled||!gt.nodeName(n.parentNode,"optgroup"))){if(e=gt(n).val(),o)return e;u.push(e)}return u},set:function(t,e){for(var n,r,i=t.options,o=gt.makeArray(e),u=i.length;u--;)r=i[u],(r.selected=gt.inArray(gt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),gt.each(["radio","checkbox"],function(){gt.valHooks[this]={set:function(t,e){return gt.isArray(e)?t.checked=gt.inArray(gt(t).val(),e)>-1:void 0}},dt.checkOn||(gt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ke=/^(?:focusinfocus|focusoutblur)$/;gt.extend(gt.event,{trigger:function(t,e,r,i){var o,u,a,c,s,f,l,p=[r||rt],h=lt.call(t,"type")?t.type:t,d=lt.call(t,"namespace")?t.namespace.split("."):[];if(u=a=r=r||rt,3!==r.nodeType&&8!==r.nodeType&&!ke.test(h+gt.event.triggered)&&(h.indexOf(".")>-1&&(d=h.split("."),h=d.shift(),d.sort()),s=h.indexOf(":")<0&&"on"+h,t=t[gt.expando]?t:new gt.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:gt.makeArray(e,[t]),l=gt.event.special[h]||{},i||!l.trigger||l.trigger.apply(r,e)!==!1)){if(!i&&!l.noBubble&&!gt.isWindow(r)){for(c=l.delegateType||h,ke.test(c+h)||(u=u.parentNode);u;u=u.parentNode)p.push(u),a=u;a===(r.ownerDocument||rt)&&p.push(a.defaultView||a.parentWindow||n)}for(o=0;(u=p[o++])&&!t.isPropagationStopped();)t.type=o>1?c:l.bindType||h,f=(It.get(u,"events")||{})[t.type]&&It.get(u,"handle"),f&&f.apply(u,e),f=s&&u[s],f&&f.apply&&Ft(u)&&(t.result=f.apply(u,e),t.result===!1&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||l._default&&l._default.apply(p.pop(),e)!==!1||!Ft(r)||s&&gt.isFunction(r[h])&&!gt.isWindow(r)&&(a=r[s],a&&(r[s]=null),gt.event.triggered=h,r[h](),gt.event.triggered=void 0,a&&(r[s]=a)),t.result}},simulate:function(t,e,n){var r=gt.extend(new gt.Event,n,{type:t,isSimulated:!0});gt.event.trigger(r,null,e)}}),gt.fn.extend({trigger:function(t,e){return this.each(function(){gt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?gt.event.trigger(t,e,n,!0):void 0}}),gt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){gt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),gt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),dt.focusin="onfocusin"in n,dt.focusin||gt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){gt.event.simulate(e,t.target,gt.event.fix(t))};gt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=It.access(r,e);i||r.addEventListener(t,n,!0),It.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=It.access(r,e)-1;i?It.access(r,e,i):(r.removeEventListener(t,n,!0),It.remove(r,e))}}});var Ae=n.location,Ee=gt.now(),Se=/\?/;gt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(r){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||gt.error("Invalid XML: "+t),e};var Ne=/\[\]$/,De=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;gt.param=function(t,e){var n,r=[],i=function(t,e){var n=gt.isFunction(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(gt.isArray(t)||t.jquery&&!gt.isPlainObject(t))gt.each(t,function(){i(this.name,this.value)});else for(n in t)Y(n,t[n],e,i);return r.join("&")},gt.fn.extend({serialize:function(){return gt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=gt.prop(this,"elements");return t?gt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!gt(this).is(":disabled")&&Le.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!Vt.test(t))}).map(function(t,e){var n=gt(this).val();return null==n?null:gt.isArray(n)?gt.map(n,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:n.replace(De,"\r\n")}}).get()}});var qe=/%20/g,Re=/#.*$/,Fe=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,He=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Me=/^(?:GET|HEAD)$/,We=/^\/\//,Pe={},$e={},Be="*/".concat("*"),ze=rt.createElement("a");ze.href=Ae.href,gt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:He.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":gt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Z(Z(t,gt.ajaxSettings),e):Z(gt.ajaxSettings,t)},ajaxPrefilter:K(Pe),ajaxTransport:K($e),ajax:function(t,e){function r(t,e,r,a){var s,p,h,b,x,w=e;f||(f=!0,c&&n.clearTimeout(c),i=void 0,u=a||"",T.readyState=t>0?4:0,s=t>=200&&300>t||304===t,r&&(b=J(d,T,r)),b=tt(d,b,T,s),s?(d.ifModified&&(x=T.getResponseHeader("Last-Modified"),x&&(gt.lastModified[o]=x),x=T.getResponseHeader("etag"),x&&(gt.etag[o]=x)),204===t||"HEAD"===d.type?w="nocontent":304===t?w="notmodified":(w=b.state,p=b.data,h=b.error,s=!h)):(h=w,!t&&w||(w="error",0>t&&(t=0))),T.status=t,T.statusText=(e||w)+"",s?y.resolveWith(v,[p,w,T]):y.rejectWith(v,[T,w,h]),T.statusCode(_),_=void 0,l&&g.trigger(s?"ajaxSuccess":"ajaxError",[T,d,s?p:h]),m.fireWith(v,[T,w]),l&&(g.trigger("ajaxComplete",[T,d]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,u,a,c,s,f,l,p,h,d=gt.ajaxSetup({},e),v=d.context||d,g=d.context&&(v.nodeType||v.jquery)?gt(v):gt.event,y=gt.Deferred(),m=gt.Callbacks("once memory"),_=d.statusCode||{},b={},x={},w="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(f){if(!a)for(a={};e=Ie.exec(u);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(t,e){return null==f&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==f&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)T.always(t[T.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return i&&i.abort(e),r(0,e),this}};if(y.promise(T),d.url=((t||d.url||Ae.href)+"").replace(We,Ae.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Ot)||[""],null==d.crossDomain){s=rt.createElement("a");try{s.href=d.url,s.href=s.href,d.crossDomain=ze.protocol+"//"+ze.host!=s.protocol+"//"+s.host}catch(j){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=gt.param(d.data,d.traditional)),Q(Pe,d,e,T),f)return T;l=gt.event&&d.global,l&&0===gt.active++&&gt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Me.test(d.type),o=d.url.replace(Re,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(qe,"+")):(h=d.url.slice(o.length),d.data&&(o+=(Se.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(o=o.replace(Fe,""),h=(Se.test(o)?"&":"?")+"_="+Ee++ +h),d.url=o+h),d.ifModified&&(gt.lastModified[o]&&T.setRequestHeader("If-Modified-Since",gt.lastModified[o]),gt.etag[o]&&T.setRequestHeader("If-None-Match",gt.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Be+"; q=0.01":""):d.accepts["*"]);for(p in d.headers)T.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(d.beforeSend.call(v,T,d)===!1||f))return T.abort();if(w="abort",m.add(d.complete),T.done(d.success),T.fail(d.error),i=Q($e,d,e,T)){if(T.readyState=1,l&&g.trigger("ajaxSend",[T,d]),f)return T;d.async&&d.timeout>0&&(c=n.setTimeout(function(){T.abort("timeout")},d.timeout));try{f=!1,i.send(b,r)}catch(j){if(f)throw j;r(-1,j)}}else r(-1,"No Transport");return T},getJSON:function(t,e,n){return gt.get(t,e,n,"json")},getScript:function(t,e){return gt.get(t,void 0,e,"script")}}),gt.each(["get","post"],function(t,e){gt[e]=function(t,n,r,i){return gt.isFunction(n)&&(i=i||r,r=n,n=void 0),gt.ajax(gt.extend({url:t,type:e,dataType:i,data:n,success:r},gt.isPlainObject(t)&&t))}}),gt._evalUrl=function(t){return gt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},gt.fn.extend({wrapAll:function(t){var e;return this[0]&&(gt.isFunction(t)&&(t=t.call(this[0])),e=gt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return gt.isFunction(t)?this.each(function(e){gt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=gt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=gt.isFunction(t);return this.each(function(n){gt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){gt(this).replaceWith(this.childNodes)}),this}}),gt.expr.pseudos.hidden=function(t){return!gt.expr.pseudos.visible(t)},gt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},gt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,
26
+ 1223:204},Xe=gt.ajaxSettings.xhr();dt.cors=!!Xe&&"withCredentials"in Xe,dt.ajax=Xe=!!Xe,gt.ajaxTransport(function(t){var e,r;return dt.cors||Xe&&!t.crossDomain?{send:function(i,o){var u,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(u in t.xhrFields)a[u]=t.xhrFields[u];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(u in i)a.setRequestHeader(u,i[u]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ue[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(c){if(e)throw c}},abort:function(){e&&e()}}:void 0}),gt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),gt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return gt.globalEval(t),t}}}),gt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),gt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=gt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),rt.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ve=[],Ge=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||gt.expando+"_"+Ee++;return this[t]=!0,t}}),gt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,u,a=t.jsonp!==!1&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=gt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ge,"$1"+i):t.jsonp!==!1&&(t.url+=(Se.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return u||gt.error(i+" was not called"),u[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){u=arguments},r.always(function(){void 0===o?gt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(i)),u&&gt.isFunction(o)&&o(u[0]),u=o=void 0}),"script"):void 0}),dt.createHTMLDocument=function(){var t=rt.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),gt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(dt.createHTMLDocument?(e=rt.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=rt.location.href,e.head.appendChild(r)):e=rt),i=Ct.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=w([t],e,o),o&&o.length&&gt(o).remove(),gt.merge([],i.childNodes))},gt.fn.load=function(t,e,n){var r,i,o,u=this,a=t.indexOf(" ");return a>-1&&(r=gt.trim(t.slice(a)),t=t.slice(0,a)),gt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),u.length>0&&gt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,u.html(r?gt("<div>").append(gt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){u.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){gt.fn[e]=function(t){return this.on(e,t)}}),gt.expr.pseudos.animated=function(t){return gt.grep(gt.timers,function(e){return t===e.elem}).length},gt.offset={setOffset:function(t,e,n){var r,i,o,u,a,c,s,f=gt.css(t,"position"),l=gt(t),p={};"static"===f&&(t.style.position="relative"),a=l.offset(),o=gt.css(t,"top"),c=gt.css(t,"left"),s=("absolute"===f||"fixed"===f)&&(o+c).indexOf("auto")>-1,s?(r=l.position(),u=r.top,i=r.left):(u=parseFloat(o)||0,i=parseFloat(c)||0),gt.isFunction(e)&&(e=e.call(t,n,gt.extend({},a))),null!=e.top&&(p.top=e.top-a.top+u),null!=e.left&&(p.left=e.left-a.left+i),"using"in e?e.using.call(t,p):l.css(p)}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){gt.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),r.width||r.height?(i=o.ownerDocument,n=et(i),e=i.documentElement,{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===gt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),gt.nodeName(t[0],"html")||(r=t.offset()),r={top:r.top+gt.css(t[0],"borderTopWidth",!0),left:r.left+gt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-r.top-gt.css(n,"marginTop",!0),left:e.left-r.left-gt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===gt.css(t,"position");)t=t.offsetParent;return t||Zt})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;gt.fn[t]=function(r){return Rt(this,function(t,r,i){var o=et(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),gt.each(["top","left"],function(t,e){gt.cssHooks[e]=R(dt.pixelPosition,function(t,n){return n?(n=q(t,e),ce.test(n)?gt(t).position()[e]+"px":n):void 0})}),gt.each({Height:"height",Width:"width"},function(t,e){gt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){gt.fn[r]=function(i,o){var u=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return Rt(this,function(e,n,i){var o;return gt.isWindow(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?gt.css(e,n,a):gt.style(e,n,i,a)},e,u?i:void 0,u)}})}),gt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),gt.parseJSON=JSON.parse,r=[],i=function(){return gt}.apply(e,r),!(void 0!==i&&(t.exports=i));var Ye=n.jQuery,Ke=n.$;return gt.noConflict=function(t){return n.$===gt&&(n.$=Ke),t&&n.jQuery===gt&&(n.jQuery=Ye),gt},o||(n.jQuery=n.$=gt),gt})},function(t,e,n){var r;(function(t,i){(function(){function o(t,e){return t.set(e[0],e[1]),t}function u(t,e){return t.add(e),t}function a(t,e,n){var r=n.length;switch(r){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function c(t,e,n,r){for(var i=-1,o=t?t.length:0;++i<o;){var u=t[i];e(r,u,n(u),t)}return r}function s(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=t?t.length:0;n--&&e(t[n],n,t)!==!1;);return t}function l(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(!e(t[n],n,t))return!1;return!0}function p(t,e){for(var n=-1,r=t?t.length:0,i=0,o=[];++n<r;){var u=t[n];e(u,n,t)&&(o[i++]=u)}return o}function h(t,e){var n=t?t.length:0;return!!n&&w(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=t?t.length:0;++r<i;)if(n(e,t[r]))return!0;return!1}function v(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function g(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function y(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function m(t,e,n,r){var i=t?t.length:0;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function _(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function b(t,e,n){var r;return n(t,function(t,n,i){return e(t,n,i)?(r=n,!1):void 0}),r}function x(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function w(t,e,n){if(e!==e)return P(t,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function T(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function j(t,e){var n=t?t.length:0;return n?A(t,e)/n:kt}function C(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function k(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function A(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==Z&&(n=n===Z?o:n+o)}return n}function E(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function S(t,e){return v(e,function(e){return[e,t[e]]})}function N(t){return function(e){return t(e)}}function D(t,e){return v(e,function(e){return t[e]})}function O(t,e){return t.has(e)}function L(t,e){for(var n=-1,r=t.length;++n<r&&w(e,t[n],0)>-1;);return n}function q(t,e){for(var n=t.length;n--&&w(e,t[n],0)>-1;);return n}function R(t){return t&&t.Object===Object?t:null}function F(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&r++;return r}function I(t){return Sn[t]}function H(t){return Nn[t]}function M(t){return"\\"+On[t]}function W(t,e){return null==t?Z:t[e]}function P(t,e,n){for(var r=t.length,i=e+(n?1:-1);n?i--:++i<r;){var o=t[i];if(o!==o)return i}return-1}function $(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function B(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function z(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function U(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n];u!==e&&u!==rt||(t[n]=rt,o[i++]=n)}return o}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function V(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function G(t){if(!t||!Tn.test(t))return t.length;for(var e=xn.lastIndex=0;xn.test(t);)e++;return e}function Y(t){return t.match(xn)}function K(t){return Dn[t]}function Q(t){function e(t){if(ma(t)&&!yl(t)&&!(t instanceof i)){if(t instanceof r)return t;if(Ss.call(t,"__wrapped__"))return lo(t)}return new r(t)}function n(){}function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=Z}function i(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=At,this.__views__=[]}function R(){var t=new i(this.__wrapped__);return t.__actions__=ni(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ni(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ni(this.__views__),t}function Re(){if(this.__filtered__){var t=new i(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Fe(){var t=this.__wrapped__.value(),e=this.__dir__,n=yl(t),r=0>e,i=n?t.length:0,o=$i(0,i,this.__views__),u=o.start,a=o.end,c=a-u,s=r?a:u-1,f=this.__iteratees__,l=f.length,p=0,h=Js(c,this.__takeCount__);if(!n||tt>i||i==c&&h==c)return Ir(t,this.__actions__);var d=[];t:for(;c--&&h>p;){s+=e;for(var v=-1,g=t[s];++v<l;){var y=f[v],m=y.iteratee,_=y.type,b=m(g);if(_==xt)g=b;else if(!b){if(_==bt)continue t;break t}}d[p++]=g}return d}function Ie(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function He(){this.__data__=lf?lf(null):{}}function Me(t){return this.has(t)&&delete this.__data__[t]}function We(t){var e=this.__data__;if(lf){var n=e[t];return n===nt?Z:n}return Ss.call(e,t)?e[t]:Z}function Pe(t){var e=this.__data__;return lf?e[t]!==Z:Ss.call(e,t)}function $e(t,e){var n=this.__data__;return n[t]=lf&&e===Z?nt:e,this}function Be(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ze(){this.__data__=[]}function Ue(t){var e=this.__data__,n=dn(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():zs.call(e,n,1),!0}function Xe(t){var e=this.__data__,n=dn(e,t);return 0>n?Z:e[n][1]}function Ve(t){return dn(this.__data__,t)>-1}function Ge(t,e){var n=this.__data__,r=dn(n,t);return 0>r?n.push([t,e]):n[r][1]=e,this}function Ye(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ke(){this.__data__={hash:new Ie,map:new(af||Be),string:new Ie}}function Qe(t){return Fi(this,t)["delete"](t)}function Ze(t){return Fi(this,t).get(t)}function Je(t){return Fi(this,t).has(t)}function tn(t,e){return Fi(this,t).set(t,e),this}function en(t){var e=-1,n=t?t.length:0;for(this.__data__=new Ye;++e<n;)this.add(t[e])}function nn(t){return this.__data__.set(t,nt),this}function rn(t){return this.__data__.has(t)}function on(t){this.__data__=new Be(t)}function un(){this.__data__=new Be}function an(t){return this.__data__["delete"](t)}function cn(t){return this.__data__.get(t)}function sn(t){return this.__data__.has(t)}function fn(t,e){var n=this.__data__;return n instanceof Be&&n.__data__.length==tt&&(n=this.__data__=new Ye(n.__data__)),n.set(t,e),this}function ln(t,e,n,r){return t===Z||ea(t,js[n])&&!Ss.call(r,n)?e:t}function pn(t,e,n){(n===Z||ea(t[e],n))&&("number"!=typeof e||n!==Z||e in t)||(t[e]=n)}function hn(t,e,n){var r=t[e];Ss.call(t,e)&&ea(r,n)&&(n!==Z||e in t)||(t[e]=n)}function dn(t,e){for(var n=t.length;n--;)if(ea(t[n][0],e))return n;return-1}function vn(t,e,n,r){return Tf(t,function(t,i,o){e(r,t,n(t),o)}),r}function gn(t,e){return t&&ri(e,rc(e),t)}function yn(t,e){for(var n=-1,r=null==t,i=e.length,o=Array(i);++n<i;)o[n]=r?Z:tc(t,e[n]);return o}function mn(t,e,n){return t===t&&(n!==Z&&(t=n>=t?t:n),e!==Z&&(t=t>=e?t:e)),t}function xn(t,e,n,r,i,o,u){var a;if(r&&(a=o?r(t,i,o,u):r(t)),a!==Z)return a;if(!ya(t))return t;var c=yl(t);if(c){if(a=zi(t),!e)return ni(t,a)}else{var f=Pi(t),l=f==Rt||f==Ft;if(ml(t))return zr(t,e);if(f==Mt||f==Nt||l&&!o){if($(t))return o?t:{};if(a=Ui(l?{}:t),!e)return ii(t,gn(a,t))}else{if(!En[f])return o?t:{};a=Xi(t,f,xn,e)}}u||(u=new on);var p=u.get(t);if(p)return p;if(u.set(t,a),!c)var h=n?Di(t):rc(t);return s(h||t,function(i,o){h&&(o=i,i=t[o]),hn(a,o,xn(i,e,n,r,o,t,u))}),a}function Sn(t){var e=rc(t),n=e.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=e[i],u=t[o],a=r[o];if(a===Z&&!(o in Object(r))||!u(a))return!1}return!0}}function Nn(t){return ya(t)?$s(t):{}}function Dn(t,e,n){if("function"!=typeof t)throw new ws(et);return Us(function(){t.apply(Z,n)},e)}function On(t,e,n,r){var i=-1,o=h,u=!0,a=t.length,c=[],s=e.length;if(!a)return c;n&&(e=v(e,N(n))),r?(o=d,u=!1):e.length>=tt&&(o=O,u=!1,e=new en(e));t:for(;++i<a;){var f=t[i],l=n?n(f):f;if(f=r||0!==f?f:0,u&&l===l){for(var p=s;p--;)if(e[p]===l)continue t;c.push(f)}else o(e,l,r)||c.push(f)}return c}function Rn(t,e){var n=!0;return Tf(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Fn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],u=e(o);if(null!=u&&(a===Z?u===u&&!Oa(u):n(u,a)))var a=u,c=o}return c}function Hn(t,e,n,r){var i=t.length;for(n=Ma(n),0>n&&(n=-n>i?0:i+n),r=r===Z||r>i?i:Ma(r),0>r&&(r+=i),r=n>r?0:Wa(r);r>n;)t[n++]=e;return t}function Mn(t,e){var n=[];return Tf(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Wn(t,e,n,r,i){var o=-1,u=t.length;for(n||(n=Gi),i||(i=[]);++o<u;){var a=t[o];e>0&&n(a)?e>1?Wn(a,e-1,n,r,i):g(i,a):r||(i[i.length]=a)}return i}function Bn(t,e){return t&&Cf(t,e,rc)}function zn(t,e){return t&&kf(t,e,rc)}function Un(t,e){return p(e,function(e){return da(t[e])})}function Xn(t,e){e=Zi(e,t)?[e]:$r(e);for(var n=0,r=e.length;null!=t&&r>n;)t=t[so(e[n++])];return n&&n==r?t:Z}function Vn(t,e,n){var r=e(t);return yl(t)?r:g(r,n(t))}function Gn(t,e){return t>e}function Yn(t,e){return null!=t&&(Ss.call(t,e)||"object"==typeof t&&e in t&&null===Mi(t))}function Kn(t,e){return null!=t&&e in Object(t)}function Qn(t,e,n){return t>=Js(e,n)&&t<Zs(e,n)}function Zn(t,e,n){for(var r=n?d:h,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,s=[];u--;){var f=t[u];u&&e&&(f=v(f,N(e))),c=Js(f.length,c),a[u]=!n&&(e||i>=120&&f.length>=120)?new en(u&&f):Z}f=t[0];var l=-1,p=a[0];t:for(;++l<i&&s.length<c;){var g=f[l],y=e?e(g):g;if(g=n||0!==g?g:0,!(p?O(p,y):r(s,y,n))){for(u=o;--u;){var m=a[u];if(!(m?O(m,y):r(t[u],y,n)))continue t}p&&p.push(y),s.push(g)}}return s}function Jn(t,e,n,r){return Bn(t,function(t,i,o){e(r,n(t),i,o)}),r}function tr(t,e,n){Zi(e,t)||(e=$r(e),t=ao(t,e),e=Do(e));var r=null==t?t:t[so(e)];return null==r?Z:a(r,t,n)}function er(t,e,n,r,i){return t===e?!0:null==t||null==e||!ya(t)&&!ma(e)?t!==t&&e!==e:nr(t,e,er,n,r,i)}function nr(t,e,n,r,i,o){var u=yl(t),a=yl(e),c=Dt,s=Dt;u||(c=Pi(t),c=c==Nt?Mt:c),a||(s=Pi(e),s=s==Nt?Mt:s);var f=c==Mt&&!$(t),l=s==Mt&&!$(e),p=c==s;if(p&&!f)return o||(o=new on),u||La(t)?Ei(t,e,n,r,i,o):Si(t,e,c,n,r,i,o);if(!(i&vt)){var h=f&&Ss.call(t,"__wrapped__"),d=l&&Ss.call(e,"__wrapped__");if(h||d){var v=h?t.value():t,g=d?e.value():e;return o||(o=new on),n(v,g,r,i,o)}}return p?(o||(o=new on),Ni(t,e,n,r,i,o)):!1}function rr(t,e,n,r){var i=n.length,o=i,u=!r;if(null==t)return!o;for(t=Object(t);i--;){var a=n[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var c=a[0],s=t[c],f=a[1];if(u&&a[2]){if(s===Z&&!(c in t))return!1}else{var l=new on;if(r)var p=r(s,f,c,t,e,l);if(!(p===Z?er(f,s,r,dt|vt,l):p))return!1}}return!0}function ir(t){if(!ya(t)||eo(t))return!1;var e=da(t)||$(t)?qs:Se;return e.test(fo(t))}function or(t){return"function"==typeof t?t:null==t?Xc:"object"==typeof t?yl(t)?lr(t[0],t[1]):fr(t):ts(t)}function ur(t){return Qs(Object(t))}function ar(t){t=null==t?t:Object(t);var e=[];for(var n in t)e.push(n);return e}function cr(t,e){return e>t}function sr(t,e){var n=-1,r=ia(t)?Array(t.length):[];return Tf(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function fr(t){var e=Ii(t);return 1==e.length&&e[0][2]?io(e[0][0],e[0][1]):function(n){return n===t||rr(n,t,e)}}function lr(t,e){return Zi(t)&&ro(e)?io(so(t),e):function(n){var r=tc(n,t);return r===Z&&r===e?nc(n,t):er(e,r,Z,dt|vt)}}function pr(t,e,n,r,i){if(t!==e){if(!yl(e)&&!La(e))var o=ic(e);s(o||e,function(u,a){if(o&&(a=u,u=e[a]),ya(u))i||(i=new on),hr(t,e,a,n,pr,r,i);else{var c=r?r(t[a],u,a+"",t,e,i):Z;c===Z&&(c=u),pn(t,a,c)}})}}function hr(t,e,n,r,i,o,u){var a=t[n],c=e[n],s=u.get(c);if(s)return void pn(t,n,s);var f=o?o(a,c,n+"",t,e,u):Z,l=f===Z;l&&(f=c,yl(c)||La(c)?yl(a)?f=a:oa(a)?f=ni(a):(l=!1,f=xn(c,!0)):Aa(c)||na(c)?na(a)?f=$a(a):!ya(a)||r&&da(a)?(l=!1,f=xn(c,!0)):f=a:l=!1),u.set(c,f),l&&i(f,c,r,o,u),u["delete"](c),pn(t,n,f)}function dr(t,e){var n=t.length;if(n)return e+=0>e?n:0,Ki(e,n)?t[e]:Z}function vr(t,e,n){var r=-1;e=v(e.length?e:[Xc],N(Ri()));var i=sr(t,function(t,n,i){var o=v(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return k(i,function(t,e){return Jr(t,e,n)})}function gr(t,e){return t=Object(t),y(e,function(e,n){return n in t&&(e[n]=t[n]),e},{})}function yr(t,e){for(var n=-1,r=Oi(t),i=r.length,o={};++n<i;){var u=r[n],a=t[u];e(a,u)&&(o[u]=a)}return o}function mr(t){return function(e){return null==e?Z:e[t]}}function _r(t){return function(e){return Xn(e,t)}}function br(t,e,n,r){var i=r?T:w,o=-1,u=e.length,a=t;for(t===e&&(e=ni(e)),n&&(a=v(t,N(n)));++o<u;)for(var c=0,s=e[o],f=n?n(s):s;(c=i(a,f,c,r))>-1;)a!==t&&zs.call(a,c,1),zs.call(t,c,1);return t}function xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;if(Ki(i))zs.call(t,i,1);else if(Zi(i,t))delete t[so(i)];else{var u=$r(i),a=ao(t,u);null!=a&&delete a[so(Do(u))]}}}return t}function wr(t,e){return t+Vs(ef()*(e-t+1))}function Tr(t,e,n,r){for(var i=-1,o=Zs(Xs((e-t)/(n||1)),0),u=Array(o);o--;)u[r?o:++i]=t,t+=n;return u}function jr(t,e){var n="";if(!t||1>e||e>jt)return n;do e%2&&(n+=t),e=Vs(e/2),e&&(t+=t);while(e);return n}function Cr(t,e,n,r){e=Zi(e,t)?[e]:$r(e);for(var i=-1,o=e.length,u=o-1,a=t;null!=a&&++i<o;){var c=so(e[i]);if(ya(a)){var s=n;if(i!=u){var f=a[c];s=r?r(f,c,a):Z,s===Z&&(s=null==f?Ki(e[i+1])?[]:{}:f)}hn(a,c,s)}a=a[c]}return t}function kr(t,e,n){var r=-1,i=t.length;0>e&&(e=-e>i?0:i+e),n=n>i?i:n,0>n&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function Ar(t,e){var n;return Tf(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function Er(t,e,n){var r=0,i=t?t.length:r;if("number"==typeof e&&e===e&&St>=i){for(;i>r;){var o=r+i>>>1,u=t[o];null!==u&&!Oa(u)&&(n?e>=u:e>u)?r=o+1:i=o}return i}return Sr(t,e,Xc,n)}function Sr(t,e,n,r){e=n(e);for(var i=0,o=t?t.length:0,u=e!==e,a=null===e,c=Oa(e),s=e===Z;o>i;){var f=Vs((i+o)/2),l=n(t[f]),p=l!==Z,h=null===l,d=l===l,v=Oa(l);if(u)var g=r||d;else g=s?d&&(r||p):a?d&&p&&(r||!h):c?d&&p&&!h&&(r||!v):h||v?!1:r?e>=l:e>l;g?i=f+1:o=f}return Js(o,Et)}function Nr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!ea(a,c)){var c=a;o[i++]=0===u?0:u}}return o}function Dr(t){return"number"==typeof t?t:Oa(t)?kt:+t}function Or(t){if("string"==typeof t)return t;if(Oa(t))return wf?wf.call(t):"";var e=t+"";return"0"==e&&1/t==-Tt?"-0":e}function Lr(t,e,n){var r=-1,i=h,o=t.length,u=!0,a=[],c=a;if(n)u=!1,i=d;else if(o>=tt){var s=e?null:Ef(t);if(s)return X(s);u=!1,i=O,c=new en}else c=e?[]:a;t:for(;++r<o;){var f=t[r],l=e?e(f):f;if(f=n||0!==f?f:0,u&&l===l){for(var p=c.length;p--;)if(c[p]===l)continue t;e&&c.push(l),a.push(f)}else i(c,l,n)||(c!==a&&c.push(l),a.push(f))}return a}function qr(t,e){e=Zi(e,t)?[e]:$r(e),t=ao(t,e);var n=so(Do(e));return!(null!=t&&Yn(t,n))||delete t[n]}function Rr(t,e,n,r){return Cr(t,e,n(Xn(t,e)),r)}function Fr(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?kr(t,r?0:o,r?o+1:i):kr(t,r?o+1:0,r?i:o)}function Ir(t,e){var n=t;return n instanceof i&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,g([t],e.args))},n)}function Hr(t,e,n){for(var r=-1,i=t.length;++r<i;)var o=o?g(On(o,t[r],e,n),On(t[r],o,e,n)):t[r];return o&&o.length?Lr(o,e,n):[]}function Mr(t,e,n){for(var r=-1,i=t.length,o=e.length,u={};++r<i;){var a=o>r?e[r]:Z;n(u,t[r],a)}return u}function Wr(t){return oa(t)?t:[]}function Pr(t){return"function"==typeof t?t:Xc}function $r(t){return yl(t)?t:qf(t)}function Br(t,e,n){var r=t.length;return n=n===Z?r:n,!e&&n>=r?t:kr(t,e,n)}function zr(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function Ur(t){var e=new t.constructor(t.byteLength);return new Hs(e).set(new Hs(t)),e}function Xr(t,e){var n=e?Ur(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Vr(t,e,n){var r=e?n(z(t),!0):z(t);return y(r,o,new t.constructor)}function Gr(t){var e=new t.constructor(t.source,Ce.exec(t));return e.lastIndex=t.lastIndex,e}function Yr(t,e,n){var r=e?n(X(t),!0):X(t);return y(r,u,new t.constructor)}function Kr(t){return xf?Object(xf.call(t)):{}}function Qr(t,e){var n=e?Ur(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Zr(t,e){if(t!==e){var n=t!==Z,r=null===t,i=t===t,o=Oa(t),u=e!==Z,a=null===e,c=e===e,s=Oa(e);if(!a&&!s&&!o&&t>e||o&&u&&c&&!a&&!s||r&&u&&c||!n&&c||!i)return 1;if(!r&&!o&&!s&&e>t||s&&n&&i&&!r&&!o||a&&n&&i||!u&&i||!c)return-1}return 0}function Jr(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,u=i.length,a=n.length;++r<u;){var c=Zr(i[r],o[r]);if(c){if(r>=a)return c;var s=n[r];return c*("desc"==s?-1:1)}}return t.index-e.index}function ti(t,e,n,r){for(var i=-1,o=t.length,u=n.length,a=-1,c=e.length,s=Zs(o-u,0),f=Array(c+s),l=!r;++a<c;)f[a]=e[a];for(;++i<u;)(l||o>i)&&(f[n[i]]=t[i]);for(;s--;)f[a++]=t[i++];return f}function ei(t,e,n,r){for(var i=-1,o=t.length,u=-1,a=n.length,c=-1,s=e.length,f=Zs(o-a,0),l=Array(f+s),p=!r;++i<f;)l[i]=t[i];for(var h=i;++c<s;)l[h+c]=e[c];for(;++u<a;)(p||o>i)&&(l[h+n[u]]=t[i++]);return l}function ni(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function ri(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var u=e[i],a=r?r(n[u],t[u],u,n,t):t[u];hn(n,u,a)}return n}function ii(t,e){return ri(t,Wi(t),e)}function oi(t,e){return function(n,r){var i=yl(n)?c:vn,o=e?e():{};return i(n,t,Ri(r),o)}}function ui(t){return Uu(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:Z,u=i>2?n[2]:Z;for(o=t.length>3&&"function"==typeof o?(i--,o):Z,u&&Qi(n[0],n[1],u)&&(o=3>i?Z:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function ai(t,e){return function(n,r){if(null==n)return n;if(!ia(n))return t(n,r);for(var i=n.length,o=e?i:-1,u=Object(n);(e?o--:++o<i)&&r(u[o],o,u)!==!1;);return n}}function ci(t){return function(e,n,r){for(var i=-1,o=Object(e),u=r(e),a=u.length;a--;){var c=u[t?a:++i];if(n(o[c],c,o)===!1)break}return e}}function si(t,e,n){function r(){var e=this&&this!==Pn&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e&it,o=pi(t);return r}function fi(t){return function(e){e=za(e);var n=Tn.test(e)?Y(e):Z,r=n?n[0]:e.charAt(0),i=n?Br(n,1).join(""):e.slice(1);return r[t]()+i}}function li(t){return function(e){return y($c(wc(e).replace(_n,"")),t,"")}}function pi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Nn(t.prototype),r=t.apply(n,e);return ya(r)?r:n}}function hi(t,e,n){function r(){for(var o=arguments.length,u=Array(o),c=o,s=qi(r);c--;)u[c]=arguments[c];var f=3>o&&u[0]!==s&&u[o-1]!==s?[]:U(u,s);if(o-=f.length,n>o)return ji(t,e,gi,r.placeholder,Z,u,f,Z,Z,n-o);var l=this&&this!==Pn&&this instanceof r?i:t;return a(l,this,u)}var i=pi(t);return r}function di(t){return function(e,n,r){var i=Object(e);if(n=Ri(n,3),!ia(e))var o=rc(e);var u=t(o||e,function(t,e){return o&&(e=t,t=i[e]),n(t,e,i)},r);return u>-1?e[o?o[u]:u]:Z}}function vi(t){return Uu(function(e){e=Wn(e,1);var n=e.length,i=n,o=r.prototype.thru;for(t&&e.reverse();i--;){var u=e[i];if("function"!=typeof u)throw new ws(et);if(o&&!a&&"wrapper"==Li(u))var a=new r([],!0)}for(i=a?i:n;++i<n;){u=e[i];var c=Li(u),s="wrapper"==c?Sf(u):Z;a=s&&to(s[0])&&s[1]==(lt|at|st|pt)&&!s[4].length&&1==s[9]?a[Li(s[0])].apply(a,s[3]):1==u.length&&to(u)?a[c]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&yl(r)&&r.length>=tt)return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function gi(t,e,n,r,i,o,u,a,c,s){function f(){for(var y=arguments.length,m=Array(y),_=y;_--;)m[_]=arguments[_];if(d)var b=qi(f),x=F(m,b);if(r&&(m=ti(m,r,i,d)),o&&(m=ei(m,o,u,d)),y-=x,d&&s>y){var w=U(m,b);return ji(t,e,gi,f.placeholder,n,m,w,a,c,s-y)}var T=p?n:this,j=h?T[t]:t;return y=m.length,a?m=co(m,a):v&&y>1&&m.reverse(),l&&y>c&&(m.length=c),this&&this!==Pn&&this instanceof f&&(j=g||pi(j)),j.apply(T,m)}var l=e&lt,p=e&it,h=e&ot,d=e&(at|ct),v=e&ht,g=h?Z:pi(t);return f}function yi(t,e){return function(n,r){return Jn(n,t,e(r),{})}}function mi(t){return function(e,n){var r;if(e===Z&&n===Z)return 0;if(e!==Z&&(r=e),n!==Z){if(r===Z)return n;"string"==typeof e||"string"==typeof n?(e=Or(e),n=Or(n)):(e=Dr(e),n=Dr(n)),r=t(e,n)}return r}}function _i(t){return Uu(function(e){return e=1==e.length&&yl(e[0])?v(e[0],N(Ri())):v(Wn(e,1,Yi),N(Ri())),Uu(function(n){var r=this;return t(e,function(t){return a(t,r,n)})})})}function bi(t,e){e=e===Z?" ":Or(e);var n=e.length;if(2>n)return n?jr(e,t):e;var r=jr(e,Xs(t/G(e)));return Tn.test(e)?Br(Y(r),0,t).join(""):r.slice(0,t)}function xi(t,e,n,r){function i(){for(var e=-1,c=arguments.length,s=-1,f=r.length,l=Array(f+c),p=this&&this!==Pn&&this instanceof i?u:t;++s<f;)l[s]=r[s];for(;c--;)l[s++]=arguments[++e];return a(p,o?n:this,l)}var o=e&it,u=pi(t);return i}function wi(t){return function(e,n,r){return r&&"number"!=typeof r&&Qi(e,n,r)&&(n=r=Z),e=Pa(e),e=e===e?e:0,n===Z?(n=e,e=0):n=Pa(n)||0,r=r===Z?n>e?1:-1:Pa(r)||0,Tr(e,n,r,t)}}function Ti(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Pa(e),n=Pa(n)),t(e,n)}}function ji(t,e,n,r,i,o,u,a,c,s){var f=e&at,l=f?u:Z,p=f?Z:u,h=f?o:Z,d=f?Z:o;e|=f?st:ft,e&=~(f?ft:st),e&ut||(e&=~(it|ot));var v=[t,e,i,h,l,d,p,a,c,s],g=n.apply(Z,v);return to(t)&&Lf(g,v),g.placeholder=r,g}function Ci(t){var e=bs[t];return function(t,n){if(t=Pa(t),n=Js(Ma(n),292)){var r=(za(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(za(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ki(t){return function(e){var n=Pi(e);return n==It?z(e):n==$t?V(e):S(e,t(e))}}function Ai(t,e,n,r,i,o,u,a){var c=e&ot;if(!c&&"function"!=typeof t)throw new ws(et);var s=r?r.length:0;if(s||(e&=~(st|ft),r=i=Z),u=u===Z?u:Zs(Ma(u),0),a=a===Z?a:Ma(a),s-=i?i.length:0,e&ft){var f=r,l=i;r=i=Z}var p=c?Z:Sf(t),h=[t,e,n,r,i,f,l,o,u,a];if(p&&oo(h,p),t=h[0],e=h[1],n=h[2],r=h[3],i=h[4],a=h[9]=null==h[9]?c?0:t.length:Zs(h[9]-s,0),!a&&e&(at|ct)&&(e&=~(at|ct)),e&&e!=it)d=e==at||e==ct?hi(t,e,a):e!=st&&e!=(it|st)||i.length?gi.apply(Z,h):xi(t,e,n,r);else var d=si(t,e,n);var v=p?Af:Lf;return v(d,h)}function Ei(t,e,n,r,i,o){var u=i&vt,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;var s=o.get(t);if(s)return s==e;var f=-1,l=!0,p=i&dt?new en:Z;for(o.set(t,e);++f<a;){var h=t[f],d=e[f];if(r)var v=u?r(d,h,f,e,t,o):r(h,d,f,t,e,o);if(v!==Z){if(v)continue;l=!1;break}if(p){if(!_(e,function(t,e){return p.has(e)||h!==t&&!n(h,t,r,i,o)?void 0:p.add(e)})){l=!1;break}}else if(h!==d&&!n(h,d,r,i,o)){l=!1;break}}return o["delete"](t),l}function Si(t,e,n,r,i,o,u){switch(n){case Gt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Vt:return!(t.byteLength!=e.byteLength||!r(new Hs(t),new Hs(e)));case Ot:case Lt:return+t==+e;case qt:return t.name==e.name&&t.message==e.message;case Ht:return t!=+t?e!=+e:t==+e;case Pt:case Bt:return t==e+"";case It:var a=z;case $t:var c=o&vt;if(a||(a=X),t.size!=e.size&&!c)return!1;var s=u.get(t);return s?s==e:(o|=dt,u.set(t,e),Ei(a(t),a(e),r,i,o,u));case zt:if(xf)return xf.call(t)==xf.call(e)}return!1}function Ni(t,e,n,r,i,o){var u=i&vt,a=rc(t),c=a.length,s=rc(e),f=s.length;if(c!=f&&!u)return!1;for(var l=c;l--;){var p=a[l];if(!(u?p in e:Yn(e,p)))return!1}var h=o.get(t);if(h)return h==e;var d=!0;o.set(t,e);for(var v=u;++l<c;){p=a[l];var g=t[p],y=e[p];if(r)var m=u?r(y,g,p,e,t,o):r(g,y,p,t,e,o);if(!(m===Z?g===y||n(g,y,r,i,o):m)){d=!1;break}v||(v="constructor"==p)}if(d&&!v){var _=t.constructor,b=e.constructor;_!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o["delete"](t),d}function Di(t){return Vn(t,rc,Wi)}function Oi(t){return Vn(t,ic,Df)}function Li(t){for(var e=t.name+"",n=df[e],r=Ss.call(df,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function qi(t){var n=Ss.call(e,"placeholder")?e:t;return n.placeholder}function Ri(){var t=e.iteratee||Vc;return t=t===Vc?or:t,arguments.length?t(arguments[0],arguments[1]):t}function Fi(t,e){var n=t.__data__;return Ji(e)?n["string"==typeof e?"string":"hash"]:n.map}function Ii(t){for(var e=rc(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,ro(i)]}return e}function Hi(t,e){var n=W(t,e);return ir(n)?n:Z}function Mi(t){return Gs(Object(t))}function Wi(t){return Ws(Object(t))}function Pi(t){return Os.call(t)}function $i(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=Js(e,t+u);break;case"takeRight":t=Zs(t,e-u)}}return{start:t,end:e}}function Bi(t,e,n){e=Zi(e,t)?[e]:$r(e);for(var r,i=-1,o=e.length;++i<o;){var u=so(e[i]);if(!(r=null!=t&&n(t,u)))break;t=t[u]}if(r)return r;var o=t?t.length:0;return!!o&&ga(o)&&Ki(u,o)&&(yl(t)||Da(t)||na(t))}function zi(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&Ss.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Ui(t){return"function"!=typeof t.constructor||no(t)?{}:Nn(Mi(t))}function Xi(t,e,n,r){var i=t.constructor;switch(e){case Vt:return Ur(t);case Ot:case Lt:return new i(+t);case Gt:return Xr(t,r);case Yt:case Kt:case Qt:case Zt:
27
+ case Jt:case te:case ee:case ne:case re:return Qr(t,r);case It:return Vr(t,r,n);case Ht:case Bt:return new i(t);case Pt:return Gr(t);case $t:return Yr(t,r,n);case zt:return Kr(t)}}function Vi(t){var e=t?t.length:Z;return ga(e)&&(yl(t)||Da(t)||na(t))?E(e,String):null}function Gi(t){return yl(t)||na(t)}function Yi(t){return yl(t)&&!(2==t.length&&!da(t[0]))}function Ki(t,e){return e=null==e?jt:e,!!e&&("number"==typeof t||De.test(t))&&t>-1&&t%1==0&&e>t}function Qi(t,e,n){if(!ya(n))return!1;var r=typeof e;return("number"==r?ia(n)&&Ki(e,n.length):"string"==r&&e in n)?ea(n[e],t):!1}function Zi(t,e){if(yl(t))return!1;var n=typeof t;return"number"==n||"symbol"==n||"boolean"==n||null==t||Oa(t)?!0:ve.test(t)||!de.test(t)||null!=e&&t in Object(e)}function Ji(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function to(t){var n=Li(t),r=e[n];if("function"!=typeof r||!(n in i.prototype))return!1;if(t===r)return!0;var o=Sf(r);return!!o&&t===o[0]}function eo(t){return!!As&&As in t}function no(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||js;return t===n}function ro(t){return t===t&&!ya(t)}function io(t,e){return function(n){return null==n?!1:n[t]===e&&(e!==Z||t in Object(n))}}function oo(t,e){var n=t[1],r=e[1],i=n|r,o=(it|ot|lt)>i,u=r==lt&&n==at||r==lt&&n==pt&&t[7].length<=e[8]||r==(lt|pt)&&e[7].length<=e[8]&&n==at;if(!o&&!u)return t;r&it&&(t[2]=e[2],i|=n&it?0:ut);var a=e[3];if(a){var c=t[3];t[3]=c?ti(c,a,e[4]):a,t[4]=c?U(t[3],rt):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?ei(c,a,e[6]):a,t[6]=c?U(t[5],rt):e[6]),a=e[7],a&&(t[7]=a),r&lt&&(t[8]=null==t[8]?e[8]:Js(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function uo(t,e,n,r,i,o){return ya(t)&&ya(e)&&pr(t,e,Z,uo,o.set(e,t)),t}function ao(t,e){return 1==e.length?t:Xn(t,kr(e,0,-1))}function co(t,e){for(var n=t.length,r=Js(e.length,n),i=ni(t);r--;){var o=e[r];t[r]=Ki(o,n)?i[o]:Z}return t}function so(t){if("string"==typeof t||Oa(t))return t;var e=t+"";return"0"==e&&1/t==-Tt?"-0":e}function fo(t){if(null!=t){try{return Es.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function lo(t){if(t instanceof i)return t.clone();var e=new r(t.__wrapped__,t.__chain__);return e.__actions__=ni(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function po(t,e,n){e=(n?Qi(t,e,n):e===Z)?1:Zs(Ma(e),0);var r=t?t.length:0;if(!r||1>e)return[];for(var i=0,o=0,u=Array(Xs(r/e));r>i;)u[o++]=kr(t,i,i+=e);return u}function ho(t){for(var e=-1,n=t?t.length:0,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function vo(){for(var t=arguments.length,e=Array(t?t-1:0),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return t?g(yl(n)?ni(n):[n],Wn(e,1)):[]}function go(t,e,n){var r=t?t.length:0;return r?(e=n||e===Z?1:Ma(e),kr(t,0>e?0:e,r)):[]}function yo(t,e,n){var r=t?t.length:0;return r?(e=n||e===Z?1:Ma(e),e=r-e,kr(t,0,0>e?0:e)):[]}function mo(t,e){return t&&t.length?Fr(t,Ri(e,3),!0,!0):[]}function _o(t,e){return t&&t.length?Fr(t,Ri(e,3),!0):[]}function bo(t,e,n,r){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Qi(t,e,n)&&(n=0,r=i),Hn(t,e,n,r)):[]}function xo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=null==n?0:Ma(n);return 0>i&&(i=Zs(r+i,0)),x(t,Ri(e,3),i)}function wo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=r-1;return n!==Z&&(i=Ma(n),i=0>n?Zs(r+i,0):Js(i,r-1)),x(t,Ri(e,3),i,!0)}function To(t){var e=t?t.length:0;return e?Wn(t,1):[]}function jo(t){var e=t?t.length:0;return e?Wn(t,Tt):[]}function Co(t,e){var n=t?t.length:0;return n?(e=e===Z?1:Ma(e),Wn(t,e)):[]}function ko(t){for(var e=-1,n=t?t.length:0,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function Ao(t){return t&&t.length?t[0]:Z}function Eo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=null==n?0:Ma(n);return 0>i&&(i=Zs(r+i,0)),w(t,e,i)}function So(t){return yo(t,1)}function No(t,e){return t?Ks.call(t,e):""}function Do(t){var e=t?t.length:0;return e?t[e-1]:Z}function Oo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=r;if(n!==Z&&(i=Ma(n),i=(0>i?Zs(r+i,0):Js(i,r-1))+1),e!==e)return P(t,i-1,!0);for(;i--;)if(t[i]===e)return i;return-1}function Lo(t,e){return t&&t.length?dr(t,Ma(e)):Z}function qo(t,e){return t&&t.length&&e&&e.length?br(t,e):t}function Ro(t,e,n){return t&&t.length&&e&&e.length?br(t,e,Ri(n)):t}function Fo(t,e,n){return t&&t.length&&e&&e.length?br(t,e,Z,n):t}function Io(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Ri(e,3);++r<o;){var u=t[r];e(u,r,t)&&(n.push(u),i.push(r))}return xr(t,i),n}function Ho(t){return t?rf.call(t):t}function Mo(t,e,n){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Qi(t,e,n)?(e=0,n=r):(e=null==e?0:Ma(e),n=n===Z?r:Ma(n)),kr(t,e,n)):[]}function Wo(t,e){return Er(t,e)}function Po(t,e,n){return Sr(t,e,Ri(n))}function $o(t,e){var n=t?t.length:0;if(n){var r=Er(t,e);if(n>r&&ea(t[r],e))return r}return-1}function Bo(t,e){return Er(t,e,!0)}function zo(t,e,n){return Sr(t,e,Ri(n),!0)}function Uo(t,e){var n=t?t.length:0;if(n){var r=Er(t,e,!0)-1;if(ea(t[r],e))return r}return-1}function Xo(t){return t&&t.length?Nr(t):[]}function Vo(t,e){return t&&t.length?Nr(t,Ri(e)):[]}function Go(t){return go(t,1)}function Yo(t,e,n){return t&&t.length?(e=n||e===Z?1:Ma(e),kr(t,0,0>e?0:e)):[]}function Ko(t,e,n){var r=t?t.length:0;return r?(e=n||e===Z?1:Ma(e),e=r-e,kr(t,0>e?0:e,r)):[]}function Qo(t,e){return t&&t.length?Fr(t,Ri(e,3),!1,!0):[]}function Zo(t,e){return t&&t.length?Fr(t,Ri(e,3)):[]}function Jo(t){return t&&t.length?Lr(t):[]}function tu(t,e){return t&&t.length?Lr(t,Ri(e)):[]}function eu(t,e){return t&&t.length?Lr(t,Z,e):[]}function nu(t){if(!t||!t.length)return[];var e=0;return t=p(t,function(t){return oa(t)?(e=Zs(t.length,e),!0):void 0}),E(e,function(e){return v(t,mr(e))})}function ru(t,e){if(!t||!t.length)return[];var n=nu(t);return null==e?n:v(n,function(t){return a(e,Z,t)})}function iu(t,e){return Mr(t||[],e||[],hn)}function ou(t,e){return Mr(t||[],e||[],Cr)}function uu(t){var n=e(t);return n.__chain__=!0,n}function au(t,e){return e(t),t}function cu(t,e){return e(t)}function su(){return uu(this)}function fu(){return new r(this.value(),this.__chain__)}function lu(){this.__values__===Z&&(this.__values__=Ia(this.value()));var t=this.__index__>=this.__values__.length,e=t?Z:this.__values__[this.__index__++];return{done:t,value:e}}function pu(){return this}function hu(t){for(var e,r=this;r instanceof n;){var i=lo(r);i.__index__=0,i.__values__=Z,e?o.__wrapped__=i:e=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,e}function du(){var t=this.__wrapped__;if(t instanceof i){var e=t;return this.__actions__.length&&(e=new i(this)),e=e.reverse(),e.__actions__.push({func:cu,args:[Ho],thisArg:Z}),new r(e,this.__chain__)}return this.thru(Ho)}function vu(){return Ir(this.__wrapped__,this.__actions__)}function gu(t,e,n){var r=yl(t)?l:Rn;return n&&Qi(t,e,n)&&(e=Z),r(t,Ri(e,3))}function yu(t,e){var n=yl(t)?p:Mn;return n(t,Ri(e,3))}function mu(t,e){return Wn(ju(t,e),1)}function _u(t,e){return Wn(ju(t,e),Tt)}function bu(t,e,n){return n=n===Z?1:Ma(n),Wn(ju(t,e),n)}function xu(t,e){var n=yl(t)?s:Tf;return n(t,Ri(e,3))}function wu(t,e){var n=yl(t)?f:jf;return n(t,Ri(e,3))}function Tu(t,e,n,r){t=ia(t)?t:gc(t),n=n&&!r?Ma(n):0;var i=t.length;return 0>n&&(n=Zs(i+n,0)),Da(t)?i>=n&&t.indexOf(e,n)>-1:!!i&&w(t,e,n)>-1}function ju(t,e){var n=yl(t)?v:sr;return n(t,Ri(e,3))}function Cu(t,e,n,r){return null==t?[]:(yl(e)||(e=null==e?[]:[e]),n=r?Z:n,yl(n)||(n=null==n?[]:[n]),vr(t,e,n))}function ku(t,e,n){var r=yl(t)?y:C,i=arguments.length<3;return r(t,Ri(e,4),n,i,Tf)}function Au(t,e,n){var r=yl(t)?m:C,i=arguments.length<3;return r(t,Ri(e,4),n,i,jf)}function Eu(t,e){var n=yl(t)?p:Mn;return e=Ri(e,3),n(t,function(t,n,r){return!e(t,n,r)})}function Su(t){var e=ia(t)?t:gc(t),n=e.length;return n>0?e[wr(0,n-1)]:Z}function Nu(t,e,n){var r=-1,i=Ia(t),o=i.length,u=o-1;for(e=(n?Qi(t,e,n):e===Z)?1:mn(Ma(e),0,o);++r<e;){var a=wr(r,u),c=i[a];i[a]=i[r],i[r]=c}return i.length=e,i}function Du(t){return Nu(t,At)}function Ou(t){if(null==t)return 0;if(ia(t)){var e=t.length;return e&&Da(t)?G(t):e}if(ma(t)){var n=Pi(t);if(n==It||n==$t)return t.size}return rc(t).length}function Lu(t,e,n){var r=yl(t)?_:Ar;return n&&Qi(t,e,n)&&(e=Z),r(t,Ri(e,3))}function qu(){return ms.now()}function Ru(t,e){if("function"!=typeof e)throw new ws(et);return t=Ma(t),function(){return--t<1?e.apply(this,arguments):void 0}}function Fu(t,e,n){return e=n?Z:e,e=t&&null==e?t.length:e,Ai(t,lt,Z,Z,Z,Z,e)}function Iu(t,e){var n;if("function"!=typeof e)throw new ws(et);return t=Ma(t),function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=Z),n}}function Hu(t,e,n){e=n?Z:e;var r=Ai(t,at,Z,Z,Z,Z,Z,e);return r.placeholder=Hu.placeholder,r}function Mu(t,e,n){e=n?Z:e;var r=Ai(t,ct,Z,Z,Z,Z,Z,e);return r.placeholder=Mu.placeholder,r}function Wu(t,e,n){function r(e){var n=p,r=h;return p=h=Z,m=e,v=t.apply(r,n)}function i(t){return m=t,g=Us(a,e),_?r(t):v}function o(t){var n=t-y,r=t-m,i=e-n;return b?Js(i,d-r):i}function u(t){var n=t-y,r=t-m;return y===Z||n>=e||0>n||b&&r>=d}function a(){var t=qu();return u(t)?c(t):void(g=Us(a,o(t)))}function c(t){return g=Z,x&&p?r(t):(p=h=Z,v)}function s(){m=0,p=y=h=g=Z}function f(){return g===Z?v:c(qu())}function l(){var t=qu(),n=u(t);if(p=arguments,h=this,y=t,n){if(g===Z)return i(y);if(b)return g=Us(a,e),r(y)}return g===Z&&(g=Us(a,e)),v}var p,h,d,v,g,y,m=0,_=!1,b=!1,x=!0;if("function"!=typeof t)throw new ws(et);return e=Pa(e)||0,ya(n)&&(_=!!n.leading,b="maxWait"in n,d=b?Zs(Pa(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),l.cancel=s,l.flush=f,l}function Pu(t){return Ai(t,ht)}function $u(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new ws(et);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return n.cache=o.set(i,u),u};return n.cache=new($u.Cache||Ye),n}function Bu(t){if("function"!=typeof t)throw new ws(et);return function(){return!t.apply(this,arguments)}}function zu(t){return Iu(2,t)}function Uu(t,e){if("function"!=typeof t)throw new ws(et);return e=Zs(e===Z?t.length-1:Ma(e),0),function(){for(var n=arguments,r=-1,i=Zs(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];switch(e){case 0:return t.call(this,o);case 1:return t.call(this,n[0],o);case 2:return t.call(this,n[0],n[1],o)}var u=Array(e+1);for(r=-1;++r<e;)u[r]=n[r];return u[e]=o,a(t,this,u)}}function Xu(t,e){if("function"!=typeof t)throw new ws(et);return e=e===Z?0:Zs(Ma(e),0),Uu(function(n){var r=n[e],i=Br(n,0,e);return r&&g(i,r),a(t,this,i)})}function Vu(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ws(et);return ya(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Wu(t,e,{leading:r,maxWait:e,trailing:i})}function Gu(t){return Fu(t,1)}function Yu(t,e){return e=null==e?Xc:e,pl(e,t)}function Ku(){if(!arguments.length)return[];var t=arguments[0];return yl(t)?t:[t]}function Qu(t){return xn(t,!1,!0)}function Zu(t,e){return xn(t,!1,!0,e)}function Ju(t){return xn(t,!0,!0)}function ta(t,e){return xn(t,!0,!0,e)}function ea(t,e){return t===e||t!==t&&e!==e}function na(t){return oa(t)&&Ss.call(t,"callee")&&(!Bs.call(t,"callee")||Os.call(t)==Nt)}function ra(t){return ma(t)&&Os.call(t)==Vt}function ia(t){return null!=t&&ga(Nf(t))&&!da(t)}function oa(t){return ma(t)&&ia(t)}function ua(t){return t===!0||t===!1||ma(t)&&Os.call(t)==Ot}function aa(t){return ma(t)&&Os.call(t)==Lt}function ca(t){return!!t&&1===t.nodeType&&ma(t)&&!Aa(t)}function sa(t){if(ia(t)&&(yl(t)||Da(t)||da(t.splice)||na(t)||ml(t)))return!t.length;if(ma(t)){var e=Pi(t);if(e==It||e==$t)return!t.size}for(var n in t)if(Ss.call(t,n))return!1;return!(hf&&rc(t).length)}function fa(t,e){return er(t,e)}function la(t,e,n){n="function"==typeof n?n:Z;var r=n?n(t,e):Z;return r===Z?er(t,e,n):!!r}function pa(t){return ma(t)?Os.call(t)==qt||"string"==typeof t.message&&"string"==typeof t.name:!1}function ha(t){return"number"==typeof t&&Ys(t)}function da(t){var e=ya(t)?Os.call(t):"";return e==Rt||e==Ft}function va(t){return"number"==typeof t&&t==Ma(t)}function ga(t){return"number"==typeof t&&t>-1&&t%1==0&&jt>=t}function ya(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ma(t){return!!t&&"object"==typeof t}function _a(t){return ma(t)&&Pi(t)==It}function ba(t,e){return t===e||rr(t,e,Ii(e))}function xa(t,e,n){return n="function"==typeof n?n:Z,rr(t,e,Ii(e),n)}function wa(t){return ka(t)&&t!=+t}function Ta(t){if(Of(t))throw new _s("This method is not supported with `core-js`. Try https://github.com/es-shims.");return ir(t)}function ja(t){return null===t}function Ca(t){return null==t}function ka(t){return"number"==typeof t||ma(t)&&Os.call(t)==Ht}function Aa(t){if(!ma(t)||Os.call(t)!=Mt||$(t))return!1;var e=Mi(t);if(null===e)return!0;var n=Ss.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Es.call(n)==Ds}function Ea(t){return ya(t)&&Os.call(t)==Pt}function Sa(t){return va(t)&&t>=-jt&&jt>=t}function Na(t){return ma(t)&&Pi(t)==$t}function Da(t){return"string"==typeof t||!yl(t)&&ma(t)&&Os.call(t)==Bt}function Oa(t){return"symbol"==typeof t||ma(t)&&Os.call(t)==zt}function La(t){return ma(t)&&ga(t.length)&&!!An[Os.call(t)]}function qa(t){return t===Z}function Ra(t){return ma(t)&&Pi(t)==Ut}function Fa(t){return ma(t)&&Os.call(t)==Xt}function Ia(t){if(!t)return[];if(ia(t))return Da(t)?Y(t):ni(t);if(Ps&&t[Ps])return B(t[Ps]());var e=Pi(t),n=e==It?z:e==$t?X:gc;return n(t)}function Ha(t){if(!t)return 0===t?t:0;if(t=Pa(t),t===Tt||t===-Tt){var e=0>t?-1:1;return e*Ct}return t===t?t:0}function Ma(t){var e=Ha(t),n=e%1;return e===e?n?e-n:e:0}function Wa(t){return t?mn(Ma(t),0,At):0}function Pa(t){if("number"==typeof t)return t;if(Oa(t))return kt;if(ya(t)){var e=da(t.valueOf)?t.valueOf():t;t=ya(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(_e,"");var n=Ee.test(t);return n||Ne.test(t)?qn(t.slice(2),n?2:8):Ae.test(t)?kt:+t}function $a(t){return ri(t,ic(t))}function Ba(t){return mn(Ma(t),-jt,jt)}function za(t){return null==t?"":Or(t)}function Ua(t,e){var n=Nn(t);return e?gn(n,e):n}function Xa(t,e){return b(t,Ri(e,3),Bn)}function Va(t,e){return b(t,Ri(e,3),zn)}function Ga(t,e){return null==t?t:Cf(t,Ri(e,3),ic)}function Ya(t,e){return null==t?t:kf(t,Ri(e,3),ic)}function Ka(t,e){return t&&Bn(t,Ri(e,3))}function Qa(t,e){return t&&zn(t,Ri(e,3))}function Za(t){return null==t?[]:Un(t,rc(t))}function Ja(t){return null==t?[]:Un(t,ic(t))}function tc(t,e,n){var r=null==t?Z:Xn(t,e);return r===Z?n:r}function ec(t,e){return null!=t&&Bi(t,e,Yn)}function nc(t,e){return null!=t&&Bi(t,e,Kn)}function rc(t){var e=no(t);if(!e&&!ia(t))return ur(t);var n=Vi(t),r=!!n,i=n||[],o=i.length;for(var u in t)!Yn(t,u)||r&&("length"==u||Ki(u,o))||e&&"constructor"==u||i.push(u);return i}function ic(t){for(var e=-1,n=no(t),r=ar(t),i=r.length,o=Vi(t),u=!!o,a=o||[],c=a.length;++e<i;){var s=r[e];u&&("length"==s||Ki(s,c))||"constructor"==s&&(n||!Ss.call(t,s))||a.push(s)}return a}function oc(t,e){var n={};return e=Ri(e,3),Bn(t,function(t,r,i){n[e(t,r,i)]=t}),n}function uc(t,e){var n={};return e=Ri(e,3),Bn(t,function(t,r,i){n[r]=e(t,r,i)}),n}function ac(t,e){return e=Ri(e),yr(t,function(t,n){return!e(t,n)})}function cc(t,e){return null==t?{}:yr(t,Ri(e))}function sc(t,e,n){e=Zi(e,t)?[e]:$r(e);var r=-1,i=e.length;for(i||(t=Z,i=1);++r<i;){var o=null==t?Z:t[so(e[r])];o===Z&&(r=i,o=n),t=da(o)?o.call(t):o}return t}function fc(t,e,n){return null==t?t:Cr(t,e,n)}function lc(t,e,n,r){return r="function"==typeof r?r:Z,null==t?t:Cr(t,e,n,r)}function pc(t,e,n){var r=yl(t)||La(t);if(e=Ri(e,4),null==n)if(r||ya(t)){var i=t.constructor;n=r?yl(t)?new i:[]:da(i)?Nn(Mi(t)):{}}else n={};return(r?s:Bn)(t,function(t,r,i){return e(n,t,r,i)}),n}function hc(t,e){return null==t?!0:qr(t,e)}function dc(t,e,n){return null==t?t:Rr(t,e,Pr(n))}function vc(t,e,n,r){return r="function"==typeof r?r:Z,null==t?t:Rr(t,e,Pr(n),r)}function gc(t){return t?D(t,rc(t)):[]}function yc(t){return null==t?[]:D(t,ic(t))}function mc(t,e,n){return n===Z&&(n=e,e=Z),n!==Z&&(n=Pa(n),n=n===n?n:0),e!==Z&&(e=Pa(e),e=e===e?e:0),mn(Pa(t),e,n)}function _c(t,e,n){return e=Pa(e)||0,n===Z?(n=e,e=0):n=Pa(n)||0,t=Pa(t),Qn(t,e,n)}function bc(t,e,n){if(n&&"boolean"!=typeof n&&Qi(t,e,n)&&(e=n=Z),n===Z&&("boolean"==typeof e?(n=e,e=Z):"boolean"==typeof t&&(n=t,t=Z)),t===Z&&e===Z?(t=0,e=1):(t=Pa(t)||0,e===Z?(e=t,t=0):e=Pa(e)||0),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=ef();return Js(t+i*(e-t+Ln("1e-"+((i+"").length-1))),e)}return wr(t,e)}function xc(t){return zl(za(t).toLowerCase())}function wc(t){return t=za(t),t&&t.replace(Oe,I).replace(bn,"")}function Tc(t,e,n){t=za(t),e=Or(e);var r=t.length;return n=n===Z?r:mn(Ma(n),0,r),n-=e.length,n>=0&&t.indexOf(e,n)==n}function jc(t){return t=za(t),t&&fe.test(t)?t.replace(ce,H):t}function Cc(t){return t=za(t),t&&me.test(t)?t.replace(ye,"\\$&"):t}function kc(t,e,n){t=za(t),e=Ma(e);var r=e?G(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return bi(Vs(i),n)+t+bi(Xs(i),n)}function Ac(t,e,n){t=za(t),e=Ma(e);var r=e?G(t):0;return e&&e>r?t+bi(e-r,n):t}function Ec(t,e,n){t=za(t),e=Ma(e);var r=e?G(t):0;return e&&e>r?bi(e-r,n)+t:t}function Sc(t,e,n){return n||null==e?e=0:e&&(e=+e),t=za(t).replace(_e,""),tf(t,e||(ke.test(t)?16:10))}function Nc(t,e,n){return e=(n?Qi(t,e,n):e===Z)?1:Ma(e),jr(za(t),e)}function Dc(){var t=arguments,e=za(t[0]);return t.length<3?e:nf.call(e,t[1],t[2])}function Oc(t,e,n){return n&&"number"!=typeof n&&Qi(t,e,n)&&(e=n=Z),(n=n===Z?At:n>>>0)?(t=za(t),t&&("string"==typeof e||null!=e&&!Ea(e))&&(e=Or(e),""==e&&Tn.test(t))?Br(Y(t),0,n):of.call(t,e,n)):[]}function Lc(t,e,n){return t=za(t),n=mn(Ma(n),0,t.length),t.lastIndexOf(Or(e),n)==n}function qc(t,n,r){var i=e.templateSettings;r&&Qi(t,n,r)&&(n=Z),t=za(t),n=Tl({},n,i,ln);var o,u,a=Tl({},n.imports,i.imports,ln),c=rc(a),s=D(a,c),f=0,l=n.interpolate||Le,p="__p += '",h=xs((n.escape||Le).source+"|"+l.source+"|"+(l===he?je:Le).source+"|"+(n.evaluate||Le).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++kn+"]")+"\n";t.replace(h,function(e,n,r,i,a,c){return r||(r=i),p+=t.slice(f,c).replace(qe,M),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+e.length,e}),p+="';\n";var v=n.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(ie,""):p).replace(oe,"$1").replace(ue,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Ul(function(){return Function(c,d+"return "+p).apply(Z,s)});if(g.source=p,pa(g))throw g;return g}function Rc(t){return za(t).toLowerCase()}function Fc(t){return za(t).toUpperCase()}function Ic(t,e,n){if(t=za(t),t&&(n||e===Z))return t.replace(_e,"");if(!t||!(e=Or(e)))return t;var r=Y(t),i=Y(e),o=L(r,i),u=q(r,i)+1;return Br(r,o,u).join("")}function Hc(t,e,n){if(t=za(t),t&&(n||e===Z))return t.replace(xe,"");if(!t||!(e=Or(e)))return t;var r=Y(t),i=q(r,Y(e))+1;return Br(r,0,i).join("")}function Mc(t,e,n){if(t=za(t),t&&(n||e===Z))return t.replace(be,"");if(!t||!(e=Or(e)))return t;var r=Y(t),i=L(r,Y(e));return Br(r,i).join("")}function Wc(t,e){var n=gt,r=yt;if(ya(e)){var i="separator"in e?e.separator:i;n="length"in e?Ma(e.length):n,r="omission"in e?Or(e.omission):r}t=za(t);var o=t.length;if(Tn.test(t)){var u=Y(t);o=u.length}if(n>=o)return t;var a=n-G(r);if(1>a)return r;var c=u?Br(u,0,a).join(""):t.slice(0,a);if(i===Z)return c+r;if(u&&(a+=c.length-a),Ea(i)){if(t.slice(a).search(i)){var s,f=c;for(i.global||(i=xs(i.source,za(Ce.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var l=s.index;c=c.slice(0,l===Z?a:l)}}else if(t.indexOf(Or(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r}function Pc(t){return t=za(t),t&&se.test(t)?t.replace(ae,K):t}function $c(t,e,n){return t=za(t),e=n?Z:e,e===Z&&(e=jn.test(t)?wn:we),t.match(e)||[]}function Bc(t){var e=t?t.length:0,n=Ri();return t=e?v(t,function(t){if("function"!=typeof t[1])throw new ws(et);return[n(t[0]),t[1]]}):[],Uu(function(n){for(var r=-1;++r<e;){var i=t[r];if(a(i[0],this,n))return a(i[1],this,n)}})}function zc(t){return Sn(xn(t,!0))}function Uc(t){return function(){return t}}function Xc(t){return t}function Vc(t){return or("function"==typeof t?t:xn(t,!0))}function Gc(t){return fr(xn(t,!0))}function Yc(t,e){return lr(t,xn(e,!0))}function Kc(t,e,n){var r=rc(e),i=Un(e,r);null!=n||ya(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Un(e,rc(e)));var o=!(ya(n)&&"chain"in n&&!n.chain),u=da(t);return s(i,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=ni(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,g([this.value()],arguments))})}),t}function Qc(){return Pn._===this&&(Pn._=Ls),this}function Zc(){}function Jc(t){return t=Ma(t),Uu(function(e){return dr(e,t)})}function ts(t){return Zi(t)?mr(so(t)):_r(t)}function es(t){return function(e){return null==t?Z:Xn(t,e)}}function ns(){return[]}function rs(){return!1}function is(){return{}}function os(){return""}function us(){return!0}function as(t,e){if(t=Ma(t),1>t||t>jt)return[];var n=At,r=Js(t,At);e=Ri(e),t-=At;for(var i=E(r,e);++n<t;)e(n);return i}function cs(t){return yl(t)?v(t,so):Oa(t)?[t]:ni(qf(t))}function ss(t){var e=++Ns;return za(t)+e}function fs(t){return t&&t.length?Fn(t,Xc,Gn):Z}function ls(t,e){return t&&t.length?Fn(t,Ri(e),Gn):Z}function ps(t){return j(t,Xc)}function hs(t,e){return j(t,Ri(e))}function ds(t){return t&&t.length?Fn(t,Xc,cr):Z}function vs(t,e){return t&&t.length?Fn(t,Ri(e),cr):Z}function gs(t){return t&&t.length?A(t,Xc):0}function ys(t,e){return t&&t.length?A(t,Ri(e)):0}t=t?$n.defaults({},t,$n.pick(Pn,Cn)):Pn;var ms=t.Date,_s=t.Error,bs=t.Math,xs=t.RegExp,ws=t.TypeError,Ts=t.Array.prototype,js=t.Object.prototype,Cs=t.String.prototype,ks=t["__core-js_shared__"],As=function(){var t=/[^.]+$/.exec(ks&&ks.keys&&ks.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Es=t.Function.prototype.toString,Ss=js.hasOwnProperty,Ns=0,Ds=Es.call(Object),Os=js.toString,Ls=Pn._,qs=xs("^"+Es.call(Ss).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rs=In?t.Buffer:Z,Fs=t.Reflect,Is=t.Symbol,Hs=t.Uint8Array,Ms=Fs?Fs.enumerate:Z,Ws=Object.getOwnPropertySymbols,Ps="symbol"==typeof(Ps=Is&&Is.iterator)?Ps:Z,$s=Object.create,Bs=js.propertyIsEnumerable,zs=Ts.splice,Us=function(e,n){return t.setTimeout.call(Pn,e,n)},Xs=bs.ceil,Vs=bs.floor,Gs=Object.getPrototypeOf,Ys=t.isFinite,Ks=Ts.join,Qs=Object.keys,Zs=bs.max,Js=bs.min,tf=t.parseInt,ef=bs.random,nf=Cs.replace,rf=Ts.reverse,of=Cs.split,uf=Hi(t,"DataView"),af=Hi(t,"Map"),cf=Hi(t,"Promise"),sf=Hi(t,"Set"),ff=Hi(t,"WeakMap"),lf=Hi(Object,"create"),pf=ff&&new ff,hf=!Bs.call({valueOf:1},"valueOf"),df={},vf=fo(uf),gf=fo(af),yf=fo(cf),mf=fo(sf),_f=fo(ff),bf=Is?Is.prototype:Z,xf=bf?bf.valueOf:Z,wf=bf?bf.toString:Z;e.templateSettings={escape:le,evaluate:pe,interpolate:he,variable:"",imports:{_:e}},e.prototype=n.prototype,e.prototype.constructor=e,r.prototype=Nn(n.prototype),r.prototype.constructor=r,i.prototype=Nn(n.prototype),i.prototype.constructor=i,Ie.prototype.clear=He,Ie.prototype["delete"]=Me,Ie.prototype.get=We,Ie.prototype.has=Pe,Ie.prototype.set=$e,Be.prototype.clear=ze,Be.prototype["delete"]=Ue,Be.prototype.get=Xe,Be.prototype.has=Ve,Be.prototype.set=Ge,Ye.prototype.clear=Ke,Ye.prototype["delete"]=Qe,Ye.prototype.get=Ze,Ye.prototype.has=Je,Ye.prototype.set=tn,en.prototype.add=en.prototype.push=nn,en.prototype.has=rn,on.prototype.clear=un,on.prototype["delete"]=an,on.prototype.get=cn,on.prototype.has=sn,on.prototype.set=fn;var Tf=ai(Bn),jf=ai(zn,!0),Cf=ci(),kf=ci(!0);Ms&&!Bs.call({valueOf:1},"valueOf")&&(ar=function(t){return B(Ms(t))});var Af=pf?function(t,e){return pf.set(t,e),t}:Xc,Ef=sf&&1/X(new sf([,-0]))[1]==Tt?function(t){return new sf(t)}:Zc,Sf=pf?function(t){return pf.get(t)}:Zc,Nf=mr("length");Ws||(Wi=ns);var Df=Ws?function(t){for(var e=[];t;)g(e,Wi(t)),t=Mi(t);return e}:Wi;(uf&&Pi(new uf(new ArrayBuffer(1)))!=Gt||af&&Pi(new af)!=It||cf&&Pi(cf.resolve())!=Wt||sf&&Pi(new sf)!=$t||ff&&Pi(new ff)!=Ut)&&(Pi=function(t){var e=Os.call(t),n=e==Mt?t.constructor:Z,r=n?fo(n):Z;if(r)switch(r){case vf:return Gt;case gf:return It;case yf:return Wt;case mf:return $t;case _f:return Ut}return e});var Of=ks?da:rs,Lf=function(){var t=0,e=0;return function(n,r){var i=qu(),o=_t-(i-e);if(e=i,o>0){if(++t>=mt)return n}else t=0;return Af(n,r)}}(),qf=$u(function(t){var e=[];return za(t).replace(ge,function(t,n,r,i){e.push(r?i.replace(Te,"$1"):n||t)}),e}),Rf=Uu(function(t,e){return oa(t)?On(t,Wn(e,1,oa,!0)):[]}),Ff=Uu(function(t,e){var n=Do(e);return oa(n)&&(n=Z),oa(t)?On(t,Wn(e,1,oa,!0),Ri(n)):[]}),If=Uu(function(t,e){var n=Do(e);return oa(n)&&(n=Z),oa(t)?On(t,Wn(e,1,oa,!0),Z,n):[]}),Hf=Uu(function(t){var e=v(t,Wr);return e.length&&e[0]===t[0]?Zn(e):[]}),Mf=Uu(function(t){var e=Do(t),n=v(t,Wr);return e===Do(n)?e=Z:n.pop(),n.length&&n[0]===t[0]?Zn(n,Ri(e)):[]}),Wf=Uu(function(t){var e=Do(t),n=v(t,Wr);return e===Do(n)?e=Z:n.pop(),n.length&&n[0]===t[0]?Zn(n,Z,e):[]}),Pf=Uu(qo),$f=Uu(function(t,e){e=Wn(e,1);var n=t?t.length:0,r=yn(t,e);return xr(t,v(e,function(t){return Ki(t,n)?+t:t}).sort(Zr)),r}),Bf=Uu(function(t){return Lr(Wn(t,1,oa,!0))}),zf=Uu(function(t){var e=Do(t);return oa(e)&&(e=Z),Lr(Wn(t,1,oa,!0),Ri(e))}),Uf=Uu(function(t){var e=Do(t);return oa(e)&&(e=Z),Lr(Wn(t,1,oa,!0),Z,e)}),Xf=Uu(function(t,e){return oa(t)?On(t,e):[]}),Vf=Uu(function(t){return Hr(p(t,oa))}),Gf=Uu(function(t){var e=Do(t);return oa(e)&&(e=Z),Hr(p(t,oa),Ri(e))}),Yf=Uu(function(t){var e=Do(t);return oa(e)&&(e=Z),Hr(p(t,oa),Z,e)}),Kf=Uu(nu),Qf=Uu(function(t){var e=t.length,n=e>1?t[e-1]:Z;return n="function"==typeof n?(t.pop(),n):Z,ru(t,n)}),Zf=Uu(function(t){t=Wn(t,1);var e=t.length,n=e?t[0]:0,o=this.__wrapped__,u=function(e){return yn(e,t)};return!(e>1||this.__actions__.length)&&o instanceof i&&Ki(n)?(o=o.slice(n,+n+(e?1:0)),o.__actions__.push({func:cu,args:[u],thisArg:Z}),new r(o,this.__chain__).thru(function(t){return e&&!t.length&&t.push(Z),t})):this.thru(u)}),Jf=oi(function(t,e,n){Ss.call(t,n)?++t[n]:t[n]=1}),tl=di(xo),el=di(wo),nl=oi(function(t,e,n){Ss.call(t,n)?t[n].push(e):t[n]=[e]}),rl=Uu(function(t,e,n){var r=-1,i="function"==typeof e,o=Zi(e),u=ia(t)?Array(t.length):[];return Tf(t,function(t){var c=i?e:o&&null!=t?t[e]:Z;u[++r]=c?a(c,t,n):tr(t,e,n)}),u}),il=oi(function(t,e,n){t[n]=e}),ol=oi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ul=Uu(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Qi(t,e[0],e[1])?e=[]:n>2&&Qi(e[0],e[1],e[2])&&(e=[e[0]]),e=1==e.length&&yl(e[0])?e[0]:Wn(e,1,Yi),vr(t,e,[])}),al=Uu(function(t,e,n){var r=it;if(n.length){var i=U(n,qi(al));r|=st}return Ai(t,r,e,n,i)}),cl=Uu(function(t,e,n){var r=it|ot;if(n.length){var i=U(n,qi(cl));r|=st}return Ai(e,r,t,n,i)}),sl=Uu(function(t,e){return Dn(t,1,e)}),fl=Uu(function(t,e,n){return Dn(t,Pa(e)||0,n)});$u.Cache=Ye;var ll=Uu(function(t,e){e=1==e.length&&yl(e[0])?v(e[0],N(Ri())):v(Wn(e,1,Yi),N(Ri()));var n=e.length;return Uu(function(r){for(var i=-1,o=Js(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return a(t,this,r)})}),pl=Uu(function(t,e){var n=U(e,qi(pl));return Ai(t,st,Z,e,n)}),hl=Uu(function(t,e){var n=U(e,qi(hl));return Ai(t,ft,Z,e,n)}),dl=Uu(function(t,e){return Ai(t,pt,Z,Z,Z,Wn(e,1))}),vl=Ti(Gn),gl=Ti(function(t,e){return t>=e}),yl=Array.isArray,ml=Rs?function(t){return t instanceof Rs}:rs,_l=Ti(cr),bl=Ti(function(t,e){return e>=t}),xl=ui(function(t,e){if(hf||no(e)||ia(e))return void ri(e,rc(e),t);for(var n in e)Ss.call(e,n)&&hn(t,n,e[n])}),wl=ui(function(t,e){if(hf||no(e)||ia(e))return void ri(e,ic(e),t);for(var n in e)hn(t,n,e[n])}),Tl=ui(function(t,e,n,r){ri(e,ic(e),t,r)}),jl=ui(function(t,e,n,r){ri(e,rc(e),t,r)}),Cl=Uu(function(t,e){return yn(t,Wn(e,1))}),kl=Uu(function(t){return t.push(Z,ln),a(Tl,Z,t)}),Al=Uu(function(t){return t.push(Z,uo),a(Ol,Z,t)}),El=yi(function(t,e,n){t[e]=n},Uc(Xc)),Sl=yi(function(t,e,n){Ss.call(t,e)?t[e].push(n):t[e]=[n]},Ri),Nl=Uu(tr),Dl=ui(function(t,e,n){pr(t,e,n)}),Ol=ui(function(t,e,n,r){pr(t,e,n,r)}),Ll=Uu(function(t,e){return null==t?{}:(e=v(Wn(e,1),so),gr(t,On(Oi(t),e)))}),ql=Uu(function(t,e){return null==t?{}:gr(t,v(Wn(e,1),so))}),Rl=ki(rc),Fl=ki(ic),Il=li(function(t,e,n){return e=e.toLowerCase(),t+(n?xc(e):e)}),Hl=li(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ml=li(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Wl=fi("toLowerCase"),Pl=li(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),$l=li(function(t,e,n){return t+(n?" ":"")+zl(e)}),Bl=li(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),zl=fi("toUpperCase"),Ul=Uu(function(t,e){try{return a(t,Z,e)}catch(n){return pa(n)?n:new _s(n)}}),Xl=Uu(function(t,e){return s(Wn(e,1),function(e){e=so(e),t[e]=al(t[e],t)}),t}),Vl=vi(),Gl=vi(!0),Yl=Uu(function(t,e){return function(n){return tr(n,t,e)}}),Kl=Uu(function(t,e){return function(n){return tr(t,n,e)}}),Ql=_i(v),Zl=_i(l),Jl=_i(_),tp=wi(),ep=wi(!0),np=mi(function(t,e){return t+e}),rp=Ci("ceil"),ip=mi(function(t,e){return t/e}),op=Ci("floor"),up=mi(function(t,e){return t*e}),ap=Ci("round"),cp=mi(function(t,e){return t-e});return e.after=Ru,e.ary=Fu,e.assign=xl,e.assignIn=wl,e.assignInWith=Tl,e.assignWith=jl,e.at=Cl,e.before=Iu,e.bind=al,e.bindAll=Xl,e.bindKey=cl,e.castArray=Ku,e.chain=uu,e.chunk=po,e.compact=ho,e.concat=vo,e.cond=Bc,e.conforms=zc,e.constant=Uc,e.countBy=Jf,e.create=Ua,e.curry=Hu,e.curryRight=Mu,e.debounce=Wu,e.defaults=kl,e.defaultsDeep=Al,e.defer=sl,e.delay=fl,e.difference=Rf,e.differenceBy=Ff,e.differenceWith=If,e.drop=go,e.dropRight=yo,e.dropRightWhile=mo,e.dropWhile=_o,e.fill=bo,e.filter=yu,e.flatMap=mu,e.flatMapDeep=_u,e.flatMapDepth=bu,e.flatten=To,e.flattenDeep=jo,e.flattenDepth=Co,e.flip=Pu,e.flow=Vl,e.flowRight=Gl,e.fromPairs=ko,e.functions=Za,e.functionsIn=Ja,e.groupBy=nl,e.initial=So,e.intersection=Hf,e.intersectionBy=Mf,e.intersectionWith=Wf,e.invert=El,e.invertBy=Sl,e.invokeMap=rl,e.iteratee=Vc,e.keyBy=il,e.keys=rc,e.keysIn=ic,e.map=ju,e.mapKeys=oc,e.mapValues=uc,e.matches=Gc,e.matchesProperty=Yc,e.memoize=$u,e.merge=Dl,e.mergeWith=Ol,e.method=Yl,e.methodOf=Kl,e.mixin=Kc,e.negate=Bu,e.nthArg=Jc,e.omit=Ll,e.omitBy=ac,e.once=zu,e.orderBy=Cu,e.over=Ql,e.overArgs=ll,e.overEvery=Zl,e.overSome=Jl,e.partial=pl,e.partialRight=hl,e.partition=ol,e.pick=ql,e.pickBy=cc,e.property=ts,e.propertyOf=es,e.pull=Pf,e.pullAll=qo,e.pullAllBy=Ro,e.pullAllWith=Fo,e.pullAt=$f,e.range=tp,e.rangeRight=ep,e.rearg=dl,e.reject=Eu,e.remove=Io,e.rest=Uu,e.reverse=Ho,e.sampleSize=Nu,e.set=fc,e.setWith=lc,e.shuffle=Du,e.slice=Mo,e.sortBy=ul,e.sortedUniq=Xo,e.sortedUniqBy=Vo,e.split=Oc,e.spread=Xu,e.tail=Go,e.take=Yo,e.takeRight=Ko,e.takeRightWhile=Qo,e.takeWhile=Zo,e.tap=au,e.throttle=Vu,e.thru=cu,e.toArray=Ia,e.toPairs=Rl,e.toPairsIn=Fl,e.toPath=cs,e.toPlainObject=$a,e.transform=pc,e.unary=Gu,e.union=Bf,e.unionBy=zf,e.unionWith=Uf,e.uniq=Jo,e.uniqBy=tu,e.uniqWith=eu,e.unset=hc,e.unzip=nu,e.unzipWith=ru,e.update=dc,e.updateWith=vc,e.values=gc,e.valuesIn=yc,e.without=Xf,e.words=$c,e.wrap=Yu,e.xor=Vf,e.xorBy=Gf,e.xorWith=Yf,e.zip=Kf,e.zipObject=iu,e.zipObjectDeep=ou,e.zipWith=Qf,e.entries=Rl,e.entriesIn=Fl,e.extend=wl,e.extendWith=Tl,Kc(e,e),e.add=np,e.attempt=Ul,e.camelCase=Il,e.capitalize=xc,e.ceil=rp,e.clamp=mc,e.clone=Qu,e.cloneDeep=Ju,e.cloneDeepWith=ta,e.cloneWith=Zu,e.deburr=wc,e.divide=ip,e.endsWith=Tc,e.eq=ea,e.escape=jc,e.escapeRegExp=Cc,e.every=gu,e.find=tl,e.findIndex=xo,e.findKey=Xa,e.findLast=el,e.findLastIndex=wo,e.findLastKey=Va,e.floor=op,e.forEach=xu,e.forEachRight=wu,e.forIn=Ga,e.forInRight=Ya,e.forOwn=Ka,e.forOwnRight=Qa,e.get=tc,e.gt=vl,e.gte=gl,e.has=ec,e.hasIn=nc,e.head=Ao,e.identity=Xc,e.includes=Tu,e.indexOf=Eo,e.inRange=_c,e.invoke=Nl,e.isArguments=na,e.isArray=yl,e.isArrayBuffer=ra,e.isArrayLike=ia,e.isArrayLikeObject=oa,e.isBoolean=ua,e.isBuffer=ml,e.isDate=aa,e.isElement=ca,e.isEmpty=sa,e.isEqual=fa,e.isEqualWith=la,e.isError=pa,e.isFinite=ha,e.isFunction=da,e.isInteger=va,e.isLength=ga,e.isMap=_a,e.isMatch=ba,e.isMatchWith=xa,e.isNaN=wa,e.isNative=Ta,
28
+ e.isNil=Ca,e.isNull=ja,e.isNumber=ka,e.isObject=ya,e.isObjectLike=ma,e.isPlainObject=Aa,e.isRegExp=Ea,e.isSafeInteger=Sa,e.isSet=Na,e.isString=Da,e.isSymbol=Oa,e.isTypedArray=La,e.isUndefined=qa,e.isWeakMap=Ra,e.isWeakSet=Fa,e.join=No,e.kebabCase=Hl,e.last=Do,e.lastIndexOf=Oo,e.lowerCase=Ml,e.lowerFirst=Wl,e.lt=_l,e.lte=bl,e.max=fs,e.maxBy=ls,e.mean=ps,e.meanBy=hs,e.min=ds,e.minBy=vs,e.stubArray=ns,e.stubFalse=rs,e.stubObject=is,e.stubString=os,e.stubTrue=us,e.multiply=up,e.nth=Lo,e.noConflict=Qc,e.noop=Zc,e.now=qu,e.pad=kc,e.padEnd=Ac,e.padStart=Ec,e.parseInt=Sc,e.random=bc,e.reduce=ku,e.reduceRight=Au,e.repeat=Nc,e.replace=Dc,e.result=sc,e.round=ap,e.runInContext=Q,e.sample=Su,e.size=Ou,e.snakeCase=Pl,e.some=Lu,e.sortedIndex=Wo,e.sortedIndexBy=Po,e.sortedIndexOf=$o,e.sortedLastIndex=Bo,e.sortedLastIndexBy=zo,e.sortedLastIndexOf=Uo,e.startCase=$l,e.startsWith=Lc,e.subtract=cp,e.sum=gs,e.sumBy=ys,e.template=qc,e.times=as,e.toFinite=Ha,e.toInteger=Ma,e.toLength=Wa,e.toLower=Rc,e.toNumber=Pa,e.toSafeInteger=Ba,e.toString=za,e.toUpper=Fc,e.trim=Ic,e.trimEnd=Hc,e.trimStart=Mc,e.truncate=Wc,e.unescape=Pc,e.uniqueId=ss,e.upperCase=Bl,e.upperFirst=zl,e.each=xu,e.eachRight=wu,e.first=Ao,Kc(e,function(){var t={};return Bn(e,function(n,r){Ss.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=J,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),s(["drop","take"],function(t,e){i.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new i(this);n=n===Z?1:Zs(Ma(n),0);var o=this.clone();return r?o.__takeCount__=Js(n,o.__takeCount__):o.__views__.push({size:Js(n,At),type:t+(o.__dir__<0?"Right":"")}),o},i.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),s(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==bt||n==wt;i.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ri(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),s(["head","last"],function(t,e){var n="take"+(e?"Right":"");i.prototype[t]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");i.prototype[t]=function(){return this.__filtered__?new i(this):this[n](1)}}),i.prototype.compact=function(){return this.filter(Xc)},i.prototype.find=function(t){return this.filter(t).head()},i.prototype.findLast=function(t){return this.reverse().find(t)},i.prototype.invokeMap=Uu(function(t,e){return"function"==typeof t?new i(this):this.map(function(n){return tr(n,t,e)})}),i.prototype.reject=function(t){return t=Ri(t,3),this.filter(function(e){return!t(e)})},i.prototype.slice=function(t,e){t=Ma(t);var n=this;return n.__filtered__&&(t>0||0>e)?new i(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==Z&&(e=Ma(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},i.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},i.prototype.toArray=function(){return this.take(At)},Bn(i.prototype,function(t,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),u=/^(?:head|last)$/.test(n),a=e[u?"take"+("last"==n?"Right":""):n],c=u||/^find/.test(n);a&&(e.prototype[n]=function(){var n=this.__wrapped__,s=u?[1]:arguments,f=n instanceof i,l=s[0],p=f||yl(n),h=function(t){var n=a.apply(e,g([t],s));return u&&d?n[0]:n};p&&o&&"function"==typeof l&&1!=l.length&&(f=p=!1);var d=this.__chain__,v=!!this.__actions__.length,y=c&&!d,m=f&&!v;if(!c&&p){n=m?n:new i(this);var _=t.apply(n,s);return _.__actions__.push({func:cu,args:[h],thisArg:Z}),new r(_,d)}return y&&m?t.apply(this,s):(_=this.thru(h),y?u?_.value()[0]:_.value():_)})}),s(["pop","push","shift","sort","splice","unshift"],function(t){var n=Ts[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(yl(e)?e:[],t)}return this[r](function(e){return n.apply(yl(e)?e:[],t)})}}),Bn(i.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=df[i]||(df[i]=[]);o.push({name:n,func:r})}}),df[gi(Z,ot).name]=[{name:"wrapper",func:Z}],i.prototype.clone=R,i.prototype.reverse=Re,i.prototype.value=Fe,e.prototype.at=Zf,e.prototype.chain=su,e.prototype.commit=fu,e.prototype.next=lu,e.prototype.plant=hu,e.prototype.reverse=du,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=vu,Ps&&(e.prototype[Ps]=pu),e}var Z,J="4.13.1",tt=200,et="Expected a function",nt="__lodash_hash_undefined__",rt="__lodash_placeholder__",it=1,ot=2,ut=4,at=8,ct=16,st=32,ft=64,lt=128,pt=256,ht=512,dt=1,vt=2,gt=30,yt="...",mt=150,_t=16,bt=1,xt=2,wt=3,Tt=1/0,jt=9007199254740991,Ct=1.7976931348623157e308,kt=NaN,At=4294967295,Et=At-1,St=At>>>1,Nt="[object Arguments]",Dt="[object Array]",Ot="[object Boolean]",Lt="[object Date]",qt="[object Error]",Rt="[object Function]",Ft="[object GeneratorFunction]",It="[object Map]",Ht="[object Number]",Mt="[object Object]",Wt="[object Promise]",Pt="[object RegExp]",$t="[object Set]",Bt="[object String]",zt="[object Symbol]",Ut="[object WeakMap]",Xt="[object WeakSet]",Vt="[object ArrayBuffer]",Gt="[object DataView]",Yt="[object Float32Array]",Kt="[object Float64Array]",Qt="[object Int8Array]",Zt="[object Int16Array]",Jt="[object Int32Array]",te="[object Uint8Array]",ee="[object Uint8ClampedArray]",ne="[object Uint16Array]",re="[object Uint32Array]",ie=/\b__p \+= '';/g,oe=/\b(__p \+=) '' \+/g,ue=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ae=/&(?:amp|lt|gt|quot|#39|#96);/g,ce=/[&<>"'`]/g,se=RegExp(ae.source),fe=RegExp(ce.source),le=/<%-([\s\S]+?)%>/g,pe=/<%([\s\S]+?)%>/g,he=/<%=([\s\S]+?)%>/g,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ve=/^\w*$/,ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,ye=/[\\^$.*+?()[\]{}|]/g,me=RegExp(ye.source),_e=/^\s+|\s+$/g,be=/^\s+/,xe=/\s+$/,we=/[a-zA-Z0-9]+/g,Te=/\\(\\)?/g,je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ce=/\w*$/,ke=/^0x/i,Ae=/^[-+]0x[0-9a-f]+$/i,Ee=/^0b[01]+$/i,Se=/^\[object .+?Constructor\]$/,Ne=/^0o[0-7]+$/i,De=/^(?:0|[1-9]\d*)$/,Oe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Le=/($^)/,qe=/['\n\r\u2028\u2029\\]/g,Re="\\ud800-\\udfff",Fe="\\u0300-\\u036f\\ufe20-\\ufe23",Ie="\\u20d0-\\u20f0",He="\\u2700-\\u27bf",Me="a-z\\xdf-\\xf6\\xf8-\\xff",We="\\xac\\xb1\\xd7\\xf7",Pe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$e="\\u2000-\\u206f",Be=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ze="A-Z\\xc0-\\xd6\\xd8-\\xde",Ue="\\ufe0e\\ufe0f",Xe=We+Pe+$e+Be,Ve="['’]",Ge="["+Re+"]",Ye="["+Xe+"]",Ke="["+Fe+Ie+"]",Qe="\\d+",Ze="["+He+"]",Je="["+Me+"]",tn="[^"+Re+Xe+Qe+He+Me+ze+"]",en="\\ud83c[\\udffb-\\udfff]",nn="(?:"+Ke+"|"+en+")",rn="[^"+Re+"]",on="(?:\\ud83c[\\udde6-\\uddff]){2}",un="[\\ud800-\\udbff][\\udc00-\\udfff]",an="["+ze+"]",cn="\\u200d",sn="(?:"+Je+"|"+tn+")",fn="(?:"+an+"|"+tn+")",ln="(?:"+Ve+"(?:d|ll|m|re|s|t|ve))?",pn="(?:"+Ve+"(?:D|LL|M|RE|S|T|VE))?",hn=nn+"?",dn="["+Ue+"]?",vn="(?:"+cn+"(?:"+[rn,on,un].join("|")+")"+dn+hn+")*",gn=dn+hn+vn,yn="(?:"+[Ze,on,un].join("|")+")"+gn,mn="(?:"+[rn+Ke+"?",Ke,on,un,Ge].join("|")+")",_n=RegExp(Ve,"g"),bn=RegExp(Ke,"g"),xn=RegExp(en+"(?="+en+")|"+mn+gn,"g"),wn=RegExp([an+"?"+Je+"+"+ln+"(?="+[Ye,an,"$"].join("|")+")",fn+"+"+pn+"(?="+[Ye,an+sn,"$"].join("|")+")",an+"?"+sn+"+"+ln,an+"+"+pn,Qe,yn].join("|"),"g"),Tn=RegExp("["+cn+Re+Fe+Ie+Ue+"]"),jn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Cn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","isFinite","parseInt","setTimeout"],kn=-1,An={};An[Yt]=An[Kt]=An[Qt]=An[Zt]=An[Jt]=An[te]=An[ee]=An[ne]=An[re]=!0,An[Nt]=An[Dt]=An[Vt]=An[Ot]=An[Gt]=An[Lt]=An[qt]=An[Rt]=An[It]=An[Ht]=An[Mt]=An[Pt]=An[$t]=An[Bt]=An[Ut]=!1;var En={};En[Nt]=En[Dt]=En[Vt]=En[Gt]=En[Ot]=En[Lt]=En[Yt]=En[Kt]=En[Qt]=En[Zt]=En[Jt]=En[It]=En[Ht]=En[Mt]=En[Pt]=En[$t]=En[Bt]=En[zt]=En[te]=En[ee]=En[ne]=En[re]=!0,En[qt]=En[Rt]=En[Ut]=!1;var Sn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Nn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Dn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},On={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ln=parseFloat,qn=parseInt,Rn="object"==typeof e&&e,Fn=Rn&&"object"==typeof t&&t,In=Fn&&Fn.exports===Rn,Hn=R("object"==typeof i&&i),Mn=R("object"==typeof self&&self),Wn=R("object"==typeof this&&this),Pn=Hn||Mn||Wn||Function("return this")(),$n=Q();(Mn||{})._=$n,r=function(){return $n}.call(e,n,e,t),!(r!==Z&&(t.exports=r))}).call(this)}).call(e,n(3)(t),function(){return this}())},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){}])});
@@ -0,0 +1,615 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["photolayout"] = factory();
8
+ else
9
+ root["photolayout"] = factory();
10
+ })(this, function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId])
20
+ /******/ return installedModules[moduleId].exports;
21
+
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ exports: {},
25
+ /******/ id: moduleId,
26
+ /******/ loaded: false
27
+ /******/ };
28
+
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.loaded = true;
34
+
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+
39
+
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+
46
+ /******/ // __webpack_public_path__
47
+ /******/ __webpack_require__.p = "";
48
+
49
+ /******/ // Load entry module and return exports
50
+ /******/ return __webpack_require__(0);
51
+ /******/ })
52
+ /************************************************************************/
53
+ /******/ ([
54
+ /* 0 */
55
+ /***/ function(module, exports, __webpack_require__) {
56
+
57
+ 'use strict';
58
+
59
+ Object.defineProperty(exports, "__esModule", {
60
+ value: true
61
+ });
62
+
63
+ var _layout = __webpack_require__(8);
64
+
65
+ var _layout2 = _interopRequireDefault(_layout);
66
+
67
+ var _responsivelayout = __webpack_require__(12);
68
+
69
+ var _responsivelayout2 = _interopRequireDefault(_responsivelayout);
70
+
71
+ var _css = __webpack_require__(11);
72
+
73
+ var _css2 = _interopRequireDefault(_css);
74
+
75
+ var _configuration = __webpack_require__(10);
76
+
77
+ var _configuration2 = _interopRequireDefault(_configuration);
78
+
79
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
80
+
81
+ ;
82
+ var photolayout;
83
+
84
+ photolayout = {
85
+ Layout: _layout2.default,
86
+ ResponsiveLayout: _responsivelayout2.default,
87
+ Configuration: _configuration2.default
88
+ };
89
+
90
+ exports.default = photolayout;
91
+
92
+ /***/ },
93
+ /* 1 */,
94
+ /* 2 */,
95
+ /* 3 */,
96
+ /* 4 */,
97
+ /* 5 */,
98
+ /* 6 */,
99
+ /* 7 */,
100
+ /* 8 */
101
+ /***/ function(module, exports, __webpack_require__) {
102
+
103
+ 'use strict';
104
+
105
+ Object.defineProperty(exports, "__esModule", {
106
+ value: true
107
+ });
108
+
109
+ var _line = __webpack_require__(9);
110
+
111
+ var _line2 = _interopRequireDefault(_line);
112
+
113
+ var _configuration = __webpack_require__(10);
114
+
115
+ var _configuration2 = _interopRequireDefault(_configuration);
116
+
117
+ var _css = __webpack_require__(11);
118
+
119
+ var _css2 = _interopRequireDefault(_css);
120
+
121
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
122
+
123
+ ;
124
+ ;
125
+
126
+ var Layout;
127
+
128
+ Layout = function () {
129
+ function Layout(config) {
130
+ if (config instanceof _configuration2.default) {
131
+ this._config = config;
132
+ } else {
133
+ this._config = new _configuration2.default(config);
134
+ }
135
+ this._current_line = new _line2.default(this._config, this);
136
+ this._lines = [this._current_line];
137
+ }
138
+
139
+ Layout.prototype.add = function (object) {
140
+ var i, len, o;
141
+ if (object instanceof Array) {
142
+ for (i = 0, len = object.length; i < len; i++) {
143
+ o = object[i];
144
+ this.add(o);
145
+ }
146
+ return this;
147
+ }
148
+ if (this._current_line.accept(object)) {
149
+ this._current_line.add(object);
150
+ } else {
151
+ this._current_line = new _line2.default(this._config, this);
152
+ this._lines.push(this._current_line);
153
+ this._current_line.add(object);
154
+ }
155
+ return this;
156
+ };
157
+
158
+ Layout.prototype.getItems = function (start, end) {
159
+ var height, i, item, items, j, k, l, len, len1, len2, len3, line, offset_y, ref, ref1, ref2, ref3;
160
+ if (start == null) {
161
+ start = 0;
162
+ }
163
+ items = [];
164
+ offset_y = 0;
165
+ if (start === 0 && end == null) {
166
+ ref = this._lines;
167
+ for (i = 0, len = ref.length; i < len; i++) {
168
+ line = ref[i];
169
+ ref1 = line.getItems(offset_y);
170
+ for (j = 0, len1 = ref1.length; j < len1; j++) {
171
+ item = ref1[j];
172
+ items.push(item);
173
+ }
174
+ if (item != null) {
175
+ offset_y += item.h + this._config.margin();
176
+ }
177
+ }
178
+ return items;
179
+ }
180
+ raise('ERROR ');
181
+ ref2 = this._lines;
182
+ for (k = 0, len2 = ref2.length; k < len2; k++) {
183
+ line = ref2[k];
184
+ height = line.height();
185
+ if (offset_y < start) {
186
+ offset_y += height + this._config.margin();
187
+ continue;
188
+ }
189
+ ref3 = line.getItems(offset_y);
190
+ for (l = 0, len3 = ref3.length; l < len3; l++) {
191
+ item = ref3[l];
192
+ items.push(item);
193
+ }
194
+ offset_y += height + this._config.margin();
195
+ if (end != null && offset_y >= end) {
196
+ break;
197
+ }
198
+ }
199
+ return items;
200
+ };
201
+
202
+ Layout.prototype.height = function () {
203
+ var height, i, len, line, ref;
204
+ height = 0;
205
+ ref = this._lines;
206
+ for (i = 0, len = ref.length; i < len; i++) {
207
+ line = ref[i];
208
+ height += line.height();
209
+ }
210
+ height += (this._lines.length - 1) * this._config.margin();
211
+ return height;
212
+ };
213
+
214
+ Layout.prototype.min_max_line_ratio = function () {
215
+ var i, len, line, max, min, ref;
216
+ min = max = this._lines[0].ratio();
217
+ ref = this._lines;
218
+ for (i = 0, len = ref.length; i < len; i++) {
219
+ line = ref[i];
220
+ min = Math.min(line.ratio(), min);
221
+ max = Math.max(line.ratio(), max);
222
+ }
223
+ return [min, max];
224
+ };
225
+
226
+ Layout.prototype.css = function () {
227
+ return new _css2.default().add_rules(this._config.selector(), {
228
+ float: 'left',
229
+ margin: "0 " + this._config.margin() + "% " + this._config.margin() + "% 0"
230
+ }).add_block(this.css_for_items()).css();
231
+ };
232
+
233
+ Layout.prototype.css_for_items = function () {
234
+ var css, end_of_line_selectors, i, item, j, len, len1, line, line_selectors, ref, ref1, selector;
235
+ css = new _css2.default();
236
+ end_of_line_selectors = [];
237
+ ref = this._lines;
238
+ for (i = 0, len = ref.length; i < len; i++) {
239
+ line = ref[i];
240
+ line_selectors = [];
241
+ ref1 = line.getItems();
242
+ for (j = 0, len1 = ref1.length; j < len1; j++) {
243
+ item = ref1[j];
244
+ selector = this._config.selector() + item.o.id;
245
+ css.add_rules(selector, {
246
+ width: item.w + '%'
247
+ });
248
+ line_selectors.push(selector);
249
+ }
250
+ css.add_rules(line_selectors.join(','), {
251
+ 'padding-top': line.height() + '%'
252
+ });
253
+ end_of_line_selectors.push(selector);
254
+ }
255
+ if (this._config.margin() > 0) {
256
+ css.add_rules(end_of_line_selectors.join(','), {
257
+ 'margin-right': 0
258
+ });
259
+ }
260
+ return css.css();
261
+ };
262
+
263
+ return Layout;
264
+ }();
265
+
266
+ Layout.layout = function (config, items) {
267
+ var layout;
268
+ layout = new Layout(config);
269
+ layout.add(items);
270
+ return layout.getItems();
271
+ };
272
+
273
+ exports.default = Layout;
274
+ ;
275
+
276
+ /***/ },
277
+ /* 9 */
278
+ /***/ function(module, exports, __webpack_require__) {
279
+
280
+ 'use strict';
281
+
282
+ Object.defineProperty(exports, "__esModule", {
283
+ value: true
284
+ });
285
+
286
+ var _configuration = __webpack_require__(10);
287
+
288
+ var _configuration2 = _interopRequireDefault(_configuration);
289
+
290
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
291
+
292
+ ;
293
+ var Line;
294
+
295
+ Line = function () {
296
+ function Line(config, _layout) {
297
+ this._layout = _layout;
298
+ if (config instanceof _configuration2.default) {
299
+ this._config = config;
300
+ } else {
301
+ this._config = new _configuration2.default(config);
302
+ }
303
+ this._objects = [];
304
+ this._objects_ratio = 0;
305
+ }
306
+
307
+ Line.prototype.accept = function (object) {
308
+ if (this._objects.length === 0) {
309
+ return true;
310
+ }
311
+ if (1 / this.calculate_ratio_with(object) > this._config.zoom()) {
312
+ return true;
313
+ }
314
+ return false;
315
+ };
316
+
317
+ Line.prototype.ratio = function () {
318
+ if (this._layout._lines.indexOf(this) === this._layout._lines.length - 1) {
319
+ if (1 / this._config.zoom() > this._objects_ratio) {
320
+ return 1 / this._config.zoom();
321
+ }
322
+ }
323
+ return this._objects_ratio;
324
+ };
325
+
326
+ Line.prototype.height = function () {
327
+ if (this._objects.length === 0) {
328
+ return 0;
329
+ }
330
+ return 100.0 / this.ratio();
331
+ };
332
+
333
+ Line.prototype.add = function (object) {
334
+ if (this._objects.length === 0) {
335
+ this._objects_ratio = this.object_ratio(object);
336
+ } else {
337
+ this._objects_ratio += this.object_ratio(object);
338
+ }
339
+ return this._objects.push(object);
340
+ };
341
+
342
+ Line.prototype.getItems = function (offset_y) {
343
+ var i, items, len, line_height, line_width, object, object_ratio, offset_x, ratio, ref, width;
344
+ if (this._objects.length === 0) {
345
+ return [];
346
+ }
347
+ items = [];
348
+ offset_x = 0;
349
+ line_width = 100.0 - (this._objects.length - 1) * this._config.margin();
350
+ ratio = this.ratio();
351
+ line_height = line_width / ratio;
352
+ ref = this._objects;
353
+ for (i = 0, len = ref.length; i < len; i++) {
354
+ object = ref[i];
355
+ object_ratio = this.object_ratio(object);
356
+ width = line_height * object_ratio;
357
+ items.push({
358
+ o: object,
359
+ w: width,
360
+ h: line_height,
361
+ offset_x: offset_x,
362
+ offset_y: offset_y
363
+ });
364
+ offset_x += width + this._config.margin();
365
+ }
366
+ return items;
367
+ };
368
+
369
+ Line.prototype.calculate_ratio_with = function (object) {
370
+ return this._objects_ratio + this.object_ratio(object);
371
+ };
372
+
373
+ Line.prototype.object_ratio = function (object) {
374
+ return object.ratio;
375
+ };
376
+
377
+ return Line;
378
+ }();
379
+
380
+ exports.default = Line;
381
+
382
+ /***/ },
383
+ /* 10 */
384
+ /***/ function(module, exports) {
385
+
386
+ 'use strict';
387
+
388
+ Object.defineProperty(exports, "__esModule", {
389
+ value: true
390
+ });
391
+ var Configuration;
392
+
393
+ Configuration = function () {
394
+ function Configuration(_config) {
395
+ this._config = _config;
396
+ }
397
+
398
+ Configuration.prototype.zoom = function () {
399
+ return this._config.zoom || 1.0;
400
+ };
401
+
402
+ Configuration.prototype.line_height = function () {
403
+ if (this._config.line_height == null) {
404
+ return 200;
405
+ }
406
+ return this._config.line_height;
407
+ };
408
+
409
+ Configuration.prototype.margin = function () {
410
+ if (this._config.margin == null) {
411
+ return 5.0;
412
+ }
413
+ return this._config.margin * 1.0;
414
+ };
415
+
416
+ Configuration.prototype.tolerance = function () {
417
+ if (this._config.tolerance == null) {
418
+ return 0.3;
419
+ }
420
+ return this._config.tolerance * 1.0;
421
+ };
422
+
423
+ Configuration.prototype.max_width = function () {
424
+ if (this._config.max_width == null) {
425
+ return 2500;
426
+ }
427
+ return this._config.max_width * 1.0;
428
+ };
429
+
430
+ Configuration.prototype.min_width = function () {
431
+ if (this._config.min_width == null) {
432
+ return 200;
433
+ }
434
+ return this._config.max_width * 1.0;
435
+ };
436
+
437
+ Configuration.prototype.selector = function () {
438
+ return '.i';
439
+ };
440
+
441
+ Configuration.prototype.to_hash = function () {
442
+ return {
443
+ line_height: this.line_height(),
444
+ margin: this.margin(),
445
+ tolerance: this.tolerance(),
446
+ max_width: this.max_width(),
447
+ min_width: this.min_width(),
448
+ selector: this.selector()
449
+ };
450
+ };
451
+
452
+ Configuration.prototype.derivate = function (options) {
453
+ var hash, k, v;
454
+ hash = this.to_hash();
455
+ for (k in options) {
456
+ v = options[k];
457
+ hash[k] = v;
458
+ }
459
+ return new Configuration(hash);
460
+ };
461
+
462
+ return Configuration;
463
+ }();
464
+
465
+ exports.default = Configuration;
466
+ ;
467
+
468
+ /***/ },
469
+ /* 11 */
470
+ /***/ function(module, exports) {
471
+
472
+ "use strict";
473
+
474
+ Object.defineProperty(exports, "__esModule", {
475
+ value: true
476
+ });
477
+ var Css;
478
+
479
+ Css = function () {
480
+ function Css() {
481
+ this._css = '';
482
+ }
483
+
484
+ Css.prototype.add_block = function (css, wrapper) {
485
+ if (wrapper != null) {
486
+ this._css += wrapper + "{" + css + "}";
487
+ } else {
488
+ this._css += css;
489
+ }
490
+ return this;
491
+ };
492
+
493
+ Css.prototype.add_rules = function (selector, rules) {
494
+ var css, property, value;
495
+ css = '';
496
+ for (property in rules) {
497
+ value = rules[property];
498
+ css += property + ":" + value + ";";
499
+ }
500
+ this.add_block(css, selector);
501
+ return this;
502
+ };
503
+
504
+ Css.prototype.css = function () {
505
+ return this._css;
506
+ };
507
+
508
+ return Css;
509
+ }();
510
+
511
+ exports.default = Css;
512
+
513
+ /***/ },
514
+ /* 12 */
515
+ /***/ function(module, exports, __webpack_require__) {
516
+
517
+ 'use strict';
518
+
519
+ Object.defineProperty(exports, "__esModule", {
520
+ value: true
521
+ });
522
+
523
+ var _layout = __webpack_require__(8);
524
+
525
+ var _layout2 = _interopRequireDefault(_layout);
526
+
527
+ var _css = __webpack_require__(11);
528
+
529
+ var _css2 = _interopRequireDefault(_css);
530
+
531
+ var _configuration = __webpack_require__(10);
532
+
533
+ var _configuration2 = _interopRequireDefault(_configuration);
534
+
535
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
536
+
537
+ ;
538
+ var ResponsiveLayout;
539
+
540
+ ResponsiveLayout = function () {
541
+ function ResponsiveLayout(config) {
542
+ if (config instanceof _configuration2.default) {
543
+ this._config = config;
544
+ } else {
545
+ this._config = new _configuration2.default(config);
546
+ }
547
+ this._photos = [];
548
+ this._layouts = void 0;
549
+ }
550
+
551
+ ResponsiveLayout.prototype.getLayouts = function () {
552
+ var layout, max, min, ref, tolerance, width;
553
+ if (this._layouts != null) {
554
+ return this._layouts;
555
+ }
556
+ this._layouts = {};
557
+ width = this._config.max_width();
558
+ while (width > this._config.min_width()) {
559
+ layout = new _layout2.default(this._config.derivate({
560
+ zoom: this._config.line_height() / width,
561
+ margin: this._config.margin() / width * 100
562
+ }));
563
+ layout.add(this._photos);
564
+ this._layouts[width] = layout;
565
+ ref = layout.min_max_line_ratio(), min = ref[0], max = ref[1];
566
+ tolerance = width - width * this._config.tolerance();
567
+ width -= Math.round(tolerance / min);
568
+ }
569
+ return this._layouts;
570
+ };
571
+
572
+ ResponsiveLayout.prototype.add = function (photo) {
573
+ var i, len, p;
574
+ if (photo instanceof Array) {
575
+ for (i = 0, len = photo.length; i < len; i++) {
576
+ p = photo[i];
577
+ this.add(p);
578
+ }
579
+ return this;
580
+ }
581
+ this._photos.push(photo);
582
+ this._layouts = void 0;
583
+ return this;
584
+ };
585
+
586
+ ResponsiveLayout.prototype.layout_for = function (width) {
587
+ return layout;
588
+ };
589
+
590
+ ResponsiveLayout.prototype.breakpoints = function () {
591
+ return Object.keys(this.getLayouts()).sort(function (a, b) {
592
+ return b - a;
593
+ });
594
+ };
595
+
596
+ ResponsiveLayout.prototype.css = function () {
597
+ var css, i, len, ref, width;
598
+ css = new _css2.default();
599
+ ref = this.breakpoints();
600
+ for (i = 0, len = ref.length; i < len; i++) {
601
+ width = ref[i];
602
+ css.add_block(this._layouts[width].css(), "@media (max-width: " + width + "px)");
603
+ }
604
+ return css.css();
605
+ };
606
+
607
+ return ResponsiveLayout;
608
+ }();
609
+
610
+ exports.default = ResponsiveLayout;
611
+
612
+ /***/ }
613
+ /******/ ])
614
+ });
615
+ ;