diff --git a/public/build/manifest.json b/public/build/manifest.json index 949edb97cbe..1f3e9e9bee8 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=8cf4d52", - "css/print-styles.css": "css/print-styles.css?version=8cf4d52", - "js/common.js": "js/common.js?version=8cf4d52" + "css/styles.css": "css/styles.css?version=02c6599", + "css/print-styles.css": "css/print-styles.css?version=02c6599", + "js/common.js": "js/common.js?version=02c6599" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 5c2140bab0f..3406ed7c15f 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.input-base,input[type=password],input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=password],input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.neg[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=password],input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.valid[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=password],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input[disabled][type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 7422d3009a8..eb75936ebc4 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 0e8bcd839d4..83d0716e8e0 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){!function(e,t){"use strict";function n(e,t,n){if(!e)throw me("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(z(e)&&(e=e.join(" ")),z(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=z(e)?e:e&&H(e)&&e.length?e.split(/\s+/):[],V(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType==Z)return n}}function l(e,t,n){V(t,function(t){e.addClass(t,n)})}function c(e,t,n){V(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(l(e,t,n.addClass),n.addClass=null),n.removeClass&&(c(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||j;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=j},e.$$prepared=!0}return e}function h(e,t){p(e,t),m(e,t)}function p(e,t){t.from&&(e.css(t.from),t.from=null)}function m(e,t){t.to&&(e.css(t.to),t.to=null)}function g(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=v(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=C(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var u=r.domOperation!==j?r.domOperation:null;return R(r,i),u&&(r.domOperation=u),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function v(e,t,n){function r(e){H(e)&&(e=e.split(" "));var t={};return V(e,function(e){e.length&&(t[e]=!0)}),t}var i=1,o=-1,a={};e=r(e),t=r(t),V(t,function(e,t){a[t]=i}),n=r(n),V(n,function(e,t){a[t]=a[t]===i?null:o});var s={addClass:"",removeClass:""};return V(a,function(t,n){var r,a;t===i?(r="addClass",a=!e[n]):t===o&&(r="removeClass",a=e[n]),a&&(s[r].length&&(s[r]+=" "),s[r]+=n)}),s}function $(e){return e instanceof t.element?e[0]:e}function y(e,t,n){var r="";t&&(r=o(t,X,!0)),n.addClass&&(r=C(r,o(n.addClass,Q))),n.removeClass&&(r=C(r,o(n.removeClass,J))),r.length&&(n.preparationClasses=r,e.addClass(r))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function w(e,t){var n=t?"-"+t+"s":"";return k(e,[he,n]),[he,n]}function x(e,t){var n=t?"paused":"",r=I+le;return k(e,[r,n]),[r,n]}function k(e,t){var n=t[0],r=t[1];e.style[n]=r}function C(e,t){return e?t?e+" "+t:e:t}function S(e){return[de,e+"s"]}function _(e,t){var n=t?fe:he;return[n,e+"s"]}function E(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return V(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],ve=["$interpolate",function(e){return{link:function(n,r,i){function o(e){e="on"===e||"true"===e,r.data(ne,e)}var a=i.ngAnimateChildren;t.isString(a)&&0===a.length?r.data(ne,!0):(o(e(a)(n)),i.$observe("ngAnimateChildren",o))}}}],$e="$$animateCss",ye=1e3,be=3,we=1.5,xe={transitionDuration:pe,transitionDelay:he,transitionProperty:F+oe,animationDuration:de,animationDelay:fe,animationIterationCount:I+ue},ke={transitionDuration:pe,transitionDelay:he,animationDuration:de,animationDelay:fe},Ce=["$animateProvider",function(e){var t=A(),n=A();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,r,s,u,l,c,g,v){function y(e,t){var n="$$ngAnimateParentKey",r=e.parentNode,i=r[n]||(r[n]=++U);return i+"-"+e.getAttribute("class")+"-"+t}function b(n,r,i,o){var a=t.get(i);return a||(a=E(e,n,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),t.put(i,a),a}function C(i,a,s,u){var l;if(t.count(s)>0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r<H.length;r++)H[r](e);H.length=0})}function A(e,t,n){var r=b(e,t,n,xe),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var R=f(r),U=0,H=[];return function(e,n){function l(){g()}function f(){g(!0)}function g(t){if(!(B||Z&&G)){B=!0,G=!1,q.$$skipPreparationClasses||r.removeClass(e,xe),r.removeClass(e,Se),x(W,!1),w(W,!1),V(le,function(e){W.style[e[0]]=""}),R(e,q),h(e,q),Object.keys(Y).length&&V(Y,function(e,t){e?W.style.setProperty(t,e):W.style.removeProperty(t)}),q.onDone&&q.onDone(),he&&he.length&&e.off(he.join(" "),U);var n=e.data($e);n&&(u.cancel(n[0].timer),e.removeData($e)),ee&&ee.complete(!t)}}function b(e){Re.blockTransition&&w(W,e),Re.blockKeyframeAnimation&&x(W,!!e)}function E(){return ee=new s({end:l,cancel:f}),D(j),g(),{$$willAnimate:!1,start:function(){return ee},end:l}}function U(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(be));Math.max(n-ue,0)>=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&M(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData($e)}}if(!B){if(!W.parentNode)return void g();var i=function(e){if(Z)G&&e&&(G=!1,g());else if(G=!e,je.animationDuration){var t=x(W,G);G?le.push(t):a(le,t)}},o=Ie>0&&(je.transitionDuration&&0===Me.transitionDuration||je.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(q.stagger>0){var Te=parseFloat(q.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Me=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=T(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Me?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function u(){p=!0,s(),h(e,a)}function l(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,v,$,o];break;case"addClass":a=[t,v,o];break;case"removeClass":a=[t,$,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(B(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(B(s))return s;return j}function c(e,t,r,i,o){var a=[];return V(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,u=function(e){a||(a=!0,(o||j)(e),i.complete(!e))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=l(s,e,t,r,function(e){var t=e===!1;u(t)}),i})}),a}function f(e,t,r,i,o){var a=c(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=c(e,"removeClass",r,i,"beforeRemoveClass"),u=c(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=c(e,"removeClass",r,i,"removeClass"),u=c(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(e){var t=[];return a.length&&V(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){V(t,function(t){e?t.cancel():t.end()})}}}var p=!1;3===arguments.length&&q(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var m,g,v=a.addClass,$=a.removeClass,y=i(r);if(y.length){var b,w;"leave"==t?(w="leave",b="afterLeave"):(w="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(m=f(e,t,a,y,w)),g=f(e,t,a,y,b)}if(m||g){var x;return{$$willAnimate:!0,end:function(){return x?x.end():(u(),x=new n,x.complete(!0)),x},start:function(){function e(e){u(e),x.complete(e)}function t(t){p||((r||j)(t),e(t))}if(x)return x;x=new n;var r,i=[];return m&&i.push(function(e){r=m(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),g&&i.push(function(e){r=g(e)}),x.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),x}}}}}]}],Ee=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){V(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],De="data-ng-animate",Me="$ngAnimatePin",Te=["$animateProvider",function(r){function i(e){if(!e)return null;var t=e.split(m),n=Object.create(null);return V(t,function(e){n[e]=!0}),n}function o(e,t){if(e&&t){var n=i(t);return e.split(m).some(function(e){return n[e]})}}function a(e,t,n,r){return v[e].some(function(e){return e(t,n,r)})}function l(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function M(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function T(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=M(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var T=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;T&&F(e);var Y={structural:T,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,T?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||T&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Me);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Me))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:T(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=T(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];0>=i&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}var r,i={children:[]},o=new c;for(r=0;r<e.length;r++){var a=e[r];o.put(a.domNode,e[r]={domNode:a.domNode,fn:a.fn,children:[]})}for(r=0;r<e.length;r++)t(e[r]);return n(i)}var g=[],v=f(e);return function(c,f,y){function b(e){var t="["+o+"]",n=e.hasAttribute(o)?[e]:e.querySelectorAll(t),r=[];return V(n,function(e){var t=e.getAttribute(o);t&&t.length&&r.push(e)}),r}function w(e){var t=[],n={};V(e,function(e,r){var i=e.element,a=$(i),s=e.event,u=["enter","move"].indexOf(s)>=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function k(e){for(var t=a.length-1;t>=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),M.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(T+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,M,T=this instanceof x,A=T?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&d&&(D=u.defer(),O.timeout=D.promise,f&&(M=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!T&&d&&(A.$cancelRequest=t.noop,l.cancel(M),D=M=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),T?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;r<o.length;r++)i[n?t.lowercase(o[r]):o[r]]=!0;return i}function o(t,n){null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t),c.innerHTML=t;var r=5;do{if(0===r)throw f("uinput","Failed to sanitize html because the input is unstable");r--,e.document.documentMode&&l(c),t=c.innerHTML,c.innerHTML=t}while(t!==c.innerHTML);for(var i=c.firstChild;i;){ -switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),a(i.attributes));break;case 3:n.chars(i.textContent)}var o;if(!(o=i.firstChild)&&(1==i.nodeType&&n.end(i.nodeName.toLowerCase()),o=i.nextSibling,!o))for(;null==o&&(i=i.parentNode,i!==c);)o=i.nextSibling,1==i.nodeType&&n.end(i.nodeName.toLowerCase());i=o}for(;i=c.firstChild;)c.removeChild(i)}function a(e){for(var t={},n=0,r=e.length;r>n;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("</"),i(e),i(">")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("<a "),t.isFunction(l)&&(l=l(e)),t.isObject(l))for(r in l)g.push(r+'="'+l[r]+'" ');else l={};!t.isDefined(u)||"target"in l||g.push('target="',u,'" '),g.push('href="',e.replace(/"/g,"""),'">'),c(n),g.push("</a>")}if(null==s||""===s)return s;if(!a(s))throw o("notstring","Expected string but received: {0}",s);for(var d,h,p,m=s,g=[];d=m.match(n);)h=d[0],d[2]||d[4]||(h=(d[3]?"http://":"mailto:")+h),p=d.index,c(m.substr(0,p)),f(h,d[0].replace(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r];if(i.element[0]===t[0]){n=i.scope;break}}return n}function v(e,t){t.item.sortable._destroy()}function $(e){return e.item.parent().find(k["ui-model-items"]).index(e.item)}function y(){r.$watchCollection("ngModel",function(){t(function(){u(i)&&i.sortable("refresh")},0,!1)}),S.start=function(e,t){if("auto"===k["ui-floating"]){var n=t.item.siblings(),r=u(angular.element(e.target));r.floating=m(n)}var i=$(t);t.item.sortable={model:a.$modelValue[i],index:i,source:t.item.parent(),sourceModel:a.$modelValue,cancel:function(){t.item.sortable._isCanceled=!0},isCanceled:function(){return t.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!t.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:t.item.sortable._isCustomHelperUsed,_destroy:function(){angular.forEach(t.item.sortable,function(e,n){t.item.sortable[n]=void 0})}}},S.activate=function(e,t){x=i.contents();var n=f(i);if(n&&n.length){var o=d(i,n);x=x.not(o)}var a=t.item.sortable._connectedSortables||[];a.push({element:i,scope:r}),t.item.sortable._connectedSortables=a},S.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=$(t);var n=t.item.parent();t.item.sortable.droptarget=n;var o=g(t.item.sortable._connectedSortables,n);t.item.sortable.droptargetModel=o.ngModel,i.sortable("cancel")}var s=!t.item.sortable.received&&p(i,t,x);s&&s.length&&(x=x.not(s)),x.appendTo(i),t.item.sortable.received&&(x=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)})},S.stop=function(e,t){if(!t.item.sortable.received&&"dropindex"in t.item.sortable&&!t.item.sortable.isCanceled())r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])});else if((!("dropindex"in t.item.sortable)||t.item.sortable.isCanceled())&&!angular.equals(i.contents(),x)){var n=p(i,t,x);n&&n.length&&(x=x.not(n)),x.appendTo(i)}x=null},S.receive=function(e,t){t.item.sortable.received=!0},S.remove=function(e,t){"dropindex"in t.item.sortable||(i.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||r.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},_.helper=function(e){return e&&"function"==typeof e?function(t,n){var r=e.apply(this,arguments);return n.sortable._isCustomHelperUsed=n!==r,r}:e},r.$watchCollection("uiSortable",function(e,t){var n=u(i);if(n){var r=c(e,t,n);r&&i.sortable("option",r)}},!0),c(k)}function b(){a?y():n.info("ui.sortable: ngModel not provided!",i),i.sortable(k)}function w(){return r.uiSortable&&r.uiSortable.disabled?!1:(b(),w.cancelWatcher(),w.cancelWatcher=angular.noop,!0)}var x,k={},C={"ui-floating":void 0,"ui-model-items":e.items},S={receive:null,remove:null,start:null,stop:null,update:null},_={helper:null};return angular.extend(k,C,e,r.uiSortable),angular.element.fn&&angular.element.fn.jquery?(w.cancelWatcher=angular.noop,void(w()||(w.cancelWatcher=r.$watch("uiSortable.disabled",w)))):void n.error("ui.sortable: jQuery should be included before AngularJS!")}}}])},{}],8:[function(e,t,n){!function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n<o.length?$e(o[n]):e}),s+="\nhttp://errors.angularjs.org/1.5.5/"+(e?e+"/":"")+a,r=i,n="?";r<o.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent($e(o[r]));return new t(s)}}function n(e){if(null==e||_(e))return!1;if(Wr(e)||w(e)||Ir&&e instanceof Ir)return!0;var t="length"in Object(e)&&e.length;return x(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Mr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function o(e){return function(t,n){e(n,t)}}function a(){return++Yr}function s(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function u(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;o>i;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function M(e){return"[object FormData]"===Vr.call(e)}function T(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function j(e){return Tr(e.nodeName||e[0]&&e[0].nodeName)}function L(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Mr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("<div>").append(e).html();try{return e[0].nodeType===ii?Tr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Tr(t)})}catch(t){return Tr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Mr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Me,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Tr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ma,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Mn,$$testability:Tn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Mi);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Ti),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ -var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Ii)return n}}function at(e){w(e)&&(e=e.split(" "));var t=me();return r(e,function(e){e.length&&(t[e]=!0)}),t}function st(e){return y(e)?e:{}}function ut(e,t,n,i){function o(e){try{e.apply(null,H(arguments,1))}finally{if($--,0===$)for(;y.length;)try{y.pop()()}catch(t){n.error(t)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){C=null,u(),l()}function u(){b=S(),b=v(b)?null:b,V(b,D)&&(b=D),D=b}function l(){x===c.url()&&w===b||(x=c.url(),w=b,r(_,function(e){e(c.url(),b)}))}var c=this,f=e.location,d=e.history,p=e.setTimeout,m=e.clearTimeout,g={};c.isMock=!1;var $=0,y=[];c.$$completeOutstandingRequest=o,c.$$incOutstandingRequestCount=function(){$++},c.notifyWhenNoOutstandingRequests=function(e){0===$?e():y.push(e)};var b,w,x=f.href,k=t.find("base"),C=null,S=i.history?function(){try{return d.state}catch(e){}}:h;u(),w=b,c.url=function(t,n,r){if(v(r)&&(r=null),f!==e.location&&(f=e.location),d!==e.history&&(d=e.history),t){var o=w===r;if(x===t&&(!i.history||o))return c;var s=x&&Vt(x)===Vt(t);return x=t,w=r,!i.history||s&&o?(s&&!C||(C=t),n?f.replace(t):s?f.hash=a(t):f.href=t,f.href!==t&&(C=t)):(d[n?"replaceState":"pushState"](r,"",t),u(),w=b),c}return C||f.href.replace(/%27/g,"'")},c.state=function(){return b};var _=[],E=!1,D=null;c.onUrlChange=function(t){return E||(i.history&&Ir(e).on("popstate",s),Ir(e).on("hashchange",s),E=!0),_.push(t),t},c.$$applicationDestroyed=function(){Ir(e).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var e=k.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return $++,n=p(function(){delete g[n],o(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],m(e),o(h),!0):!1}}function lt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new ut(e,r,t,n)}]}function ct(){this.$get=function(){function e(e,r){function i(e){e!=d&&(h?h==e&&(h=e.n):h=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in n)throw t("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=l({},r,{id:e}),u=me(),c=r&&r.capacity||Number.MAX_VALUE,f=me(),d=null,h=null;return n[e]={put:function(e,t){if(!v(t)){if(c<Number.MAX_VALUE){var n=f[e]||(f[e]={key:e});i(n)}return e in u||a++,u[e]=t,a>c&&this.remove(h.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;t==d&&(d=t.p),t==h&&(h=t.n),o(t.n,t.p),delete f[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=me(),a=0,f=me(),d=h=null},destroy:function(){u=null,s=null,f=null,delete n[e]},info:function(){return l({},s,{size:a})}}}var n={};return e.info=function(){var e={};return r(n,function(t,n){e[n]=t.info()}),e},e.get=function(e){return n[e]},e}}function ft(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function dt(){}function ht(t,n){function i(e,t,n){var i=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,o=me();return r(e,function(e,r){if(e in S)return void(o[r]=S[e]);var a=e.match(i);if(!a)throw Hi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,r,e,n?"controller bindings definition":"isolate scope definition");o[r]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||r},a[4]&&(S[e]=o[r])}),o}function a(e,t){var n={isolateScope:null,bindToController:null};if(y(e.scope)&&(e.bindToController===!0?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),y(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),y(n.bindToController)){var r=e.controller,o=e.controllerAs;if(!r)throw Hi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!$t(r,o))throw Hi("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}function s(e){var t=e.charAt(0);if(!t||t!==Tr(t))throw Hi("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Hi("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}var u={},c="Directive",f=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,g=/(([\w\-]+)(?:\:([^;]+))?;?)/,b=P("ngSrc,ngSrcset,src,srcset"),x=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/,S=me();this.directive=function M(e,n){return de(e,"directive"),w(e)?(s(e),ce(n,"directiveFactory"),u.hasOwnProperty(e)||(u[e]=[],t.factory(e+c,["$injector","$exceptionHandler",function(t,n){var i=[];return r(u[e],function(r,o){try{var a=t.invoke(r);C(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||e,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"EA",a.$$moduleName=r.$$moduleName,i.push(a)}catch(s){n(s)}}),i}])),u[e].push(n)):r(e,o(M)),this},this.component=function(e,t){function n(e){function n(t){return C(t)||Wr(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var o=t.template||t.templateUrl?t.template:"",a={controller:i,controllerAs:$t(t.controller)||t.controllerAs||"$ctrl",template:n(o),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return r(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}var i=t.controller||function(){};return r(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,C(i)&&(i[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return $(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var _=!0;this.debugInfoEnabled=function(e){return $(e)?(_=e,this):_};var D=10;this.onChangesTtl=function(e){return arguments.length?(D=e,this):D},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,i,o,s,m,$,S,M,T){function O(){try{if(!--ye)throw ge=void 0,Hi("infchng","{0} $onChanges() iterations reached. Aborting!\n",D);$.$apply(function(){for(var e=0,t=ge.length;t>e;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="<span "+t+">";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("<div>").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l<p.length;l+=3)f=p[l],m[f]=n[f]}else m=n;for(l=0,c=p.length;c>l;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m<e.length;m++)s=new F,u=q(e[m],[],s,0===m?r:void 0,i),l=u.length?G(u,e[m],s,t,n,null,[],[],o):null,l&&l.scope&&P.$$addScopeClass(s.$$element),f=l&&l.terminal||!(c=e[m].childNodes)||!c.length?null:U(c,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||f)&&(p.push(m,l,f),d=!0,h=h||l),o=null;return d?a:null}function z(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=me();for(var o in t.$$slots)t.$$slots[o]?i[o]=z(e,t.$$slots[o],n):i[o]=null;return r}function q(e,t,n,r,i){var o,a,s=e.nodeType,u=n.$attr;switch(s){case ni:K(t,mt(j(e)),"E",r,i);for(var l,c,d,h,p,m,v=e.attributes,$=0,b=v&&v.length;b>$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,M;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,M=pe(i,D,m,m.$$isolateBindings,S),M.removeWatches&&m.$on("$destroy",M.removeWatches));for(var T in $){var O=k[T],N=$[T],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Te(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(T=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,M&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var M=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Te(d)),fe(_,Ir(S),D),I(Ir(D),M)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function ie(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Hi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,J(r))}function oe(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&P.$$addBindingClass(t),function(e,t){var i=t.parent();n||P.$$addBindingClass(i),P.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function ae(t,n){switch(t=Tr(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Mr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=T(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=T(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=T(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function vt(e){e=Ir(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Tr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Tr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Tr(n)];return void 0===r&&(r=null),r}return t}}function Mt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||T(e)||M(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Mt(e.data,e.headers,e.status,u.transformResponse),Tt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Tr(t.method)]);e:for(n in o){r=Tr(n);for(i in s)if(Tr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Mt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Tr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Tt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Tt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Tr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; -switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&M.push(a(o.substring(S)));break}S!==w&&M.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,T.push(M.length),M.push("")}if(h&&M.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;M[T[t]]=e[t]}return M.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n<e.inputs.length;++n)e.inputs[n]=u(e.inputs[n]);return t.inputs=e.inputs,t}function l(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=gn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function c(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var s=l;return a=a[0],e.$watch(function(e){var t=a(e);return l(t,s)||(o=r(e,void 0,void 0,[t]),s=t&&gn(t)),o},t,n,i)}for(var u=[],c=[],f=0,d=a.length;d>f;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Mr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Mr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var r in o)Mr.call(o,r)&&(s[r]=o[r])}else s=o}r.$stateful=!0;var o,a,s,u=this,c=t.length>1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(M){t(M)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(M){t(M)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(M){t(M)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Tr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Tr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},i.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},i}]}function An(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){C(o)||(u=s,s=o,o=h);var l,c=H(arguments,3),f=$(u)&&!u,d=(f?r:n).defer(),p=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(t){d.reject(t),i(t)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s),p.$$timeoutId=l,a[l]=d,p}var a={};return o.cancel=function(e){return e&&e.$$timeoutId in a?(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function On(e){var t=e;return Nr&&(wo.setAttribute("href",t),t=wo.href),wo.setAttribute("href",t),{href:wo.href,protocol:wo.protocol?wo.protocol.replace(/:$/,""):"",host:wo.host,search:wo.search?wo.search.replace(/^\?/,""):"",hash:wo.hash?wo.hash.replace(/^#/,""):"",hostname:wo.hostname,port:wo.port,pathname:"/"===wo.pathname.charAt(0)?wo.pathname:"/"+wo.pathname}}function Fn(e){var t=w(e)?On(e):e;return t.protocol===xo.protocol&&t.host===xo.host}function Nn(){this.$get=m(e)}function In(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},r={},i="";return function(){var e,o,a,s,u,l=n.cookie||"";if(l!==i)for(i=l,e=i.split("; "),r={},a=0;a<e.length;a++)o=e[a],s=o.indexOf("="),s>0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",Mo),t("number",Hn),t("orderBy",ar),t("uppercase",To)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Tr(""+e),t=Tr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": -var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;a>l;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function Wn(e,t,n,r,i){if(!w(e)&&!x(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=qn(u),Yn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,d=o.e,h=[];for(s=c.reduce(function(e,t){return e&&!t},!0);0>f;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=So+e;return n&&(e=e.substr(e.length-t)),i+e}function Gn(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.value<t.value?-1:1):n=e.type<t.type?-1:1,n}return function(e,i,o){function u(e,t){return{value:e,predicateValues:c.map(function(n){return a(n.get(e),t)})}}function l(e,t){for(var n=0,r=0,i=c.length;i>r&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Tr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function mr(e,t,n,r){return function(i,o,a,s,u,l,c){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function d(e){return $(e)&&!k(e)?n(e)||void 0:e}gr(i,o,a,s),dr(i,o,a,s,u,l);var h,p=s&&s.$options&&s.$options.timezone;if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,h);return p&&(r=Q(r,p)),r}}),s.$formatters.push(function(e){if(e&&!k(e))throw Ca("datefmt","Expected `{0}` to be a date",e);return f(e)?(h=e,h&&p&&(h=Q(h,p,!0)),c("date")(e,r,p)):(h=null,"")}),$(a.min)||a.ngMin){var m;s.$validators.min=function(e){return!f(e)||v(m)||n(e)>=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function o(e){var t=[];return Wr(e)?(r(e,function(e){t=t.concat(o(e))}),t):w(e)?e.split(" "):y(e)?(r(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}return{restrict:"AC",link:function(a,s,u){function l(e){var t=f(e,1);u.$addClass(t)}function c(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||me(),i=[];return r(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Mr=Object.prototype.hasOwnProperty,Tr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Tr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Qr=function(){function t(){try{return new Function(""),!1}catch(e){return!0}}if(!$(Qr.rules)){var n=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");Qr.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else Qr.rules={noUnsafeEval:t(),noInlineStyle:!1}}return Qr.rules},Jr=function(){if($(Jr.name_))return Jr.name_;var t,n,r,i,o=Kr.length;for(n=0;o>n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Me.expando="ng339";var li=Me.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Me._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={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,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Tr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Tr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Me(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Me(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Te,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Mi=/^[^\(]*\(\s*([^\)]*)\)/m,Ti=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Vi=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(e,t,n,i,o){function a(e){this.setHost(e);var t=n(),r=function(e){o(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){var n=i[0];n&&n.hidden?r(e):t(e)},this._state=0}var s=0,u=1,l=2;return a.chain=function(e,t){function n(){return r===e.length?void t(!0):void e[r](function(e){return e===!1?void t(!1):(r++,void n())})}var r=0;n()},a.all=function(e,t){function n(n){o=o&&n,++i===e.length&&t(o)}var i=0,o=!0;r(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){this._state===l?e():this._doneCallbacks.push(e)},progress:h,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){t===!1?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},"catch":function(e){return this.getPromise()["catch"](e)},"finally":function(e){return this.getPromise()["finally"](e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;t._state===s&&(t._state=u,t._tick(function(){t._resolve(e)}))},_resolve:function(e){this._state!==l&&(r(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=l)}},a}]},zi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=R(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},Hi=t("$compile"),qi=new dt;ht.$inject=["$provide","$$sanitizeUriProvider"],pt.prototype.isFirstChange=function(){return this.previousValue===qi};var Yi=/^((?:x|data)[\:\-_])/i,Wi=t("$controller"),Bi=/^(\S+)(\s+as\s+([\w$]+))?$/,Gi=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Ir&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Zi="application/json",Qi={"Content-Type":Zi+";charset=utf-8"},Ji=/^\[|^\{(?!\{)/,Xi={"[":/]$/,"{":/}$/},Ki=/^\)\]\}',?\n/,eo=t("$http"),to=function(e){return function(){throw eo("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}},no=qr.$interpolateMinErr=t("$interpolate");no.throwNoconcat=function(e){throw no("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},no.interr=function(e,t){return no("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var ro=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,io={http:80,https:443,ftp:21},oo=t("$location"),ao={$$html5:!1,$$replace:!1,absUrl:Gt("$$absUrl"),url:function(e){if(v(e))return this.$$url;var t=ro.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Gt("$$protocol"),host:Gt("$$host"),port:Gt("$$port"),path:Zt("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(w(e)||x(e))e=e.toString(),this.$$search=K(e);else{if(!y(e))throw oo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=R(e,{}),r(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Zt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};r([Bt,Wt,Yt],function(e){e.prototype=Object.create(ao),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Yt||!this.$$html5)throw oo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=v(t)?null:t,this}});var so=t("$parse"),uo=Function.prototype.call,lo=Function.prototype.apply,co=Function.prototype.bind,fo=me();r("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=fo[t],o=fo[n],a=fo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Tr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=ho[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0, -value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var mo=function(e,t){this.lexer=e,this.options=t};mo.Program="Program",mo.ExpressionStatement="ExpressionStatement",mo.AssignmentExpression="AssignmentExpression",mo.ConditionalExpression="ConditionalExpression",mo.LogicalExpression="LogicalExpression",mo.BinaryExpression="BinaryExpression",mo.UnaryExpression="UnaryExpression",mo.CallExpression="CallExpression",mo.MemberExpression="MemberExpression",mo.Identifier="Identifier",mo.Literal="Literal",mo.ArrayExpression="ArrayExpression",mo.Property="Property",mo.ObjectExpression="ObjectExpression",mo.ThisExpression="ThisExpression",mo.LocalsExpression="LocalsExpression",mo.NGValueParameter="NGValueParameter",mo.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,i));var l=o.apply(void 0,s,i);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,i){var u,l=o(e,n,r,i);if(null!=l.value){en(l.context,s.expression),tn(l.value,s.expression);for(var c=[],f=0;f<a.length;++f)c.push(en(a[f](e,n,r,i),s.expression));u=en(l.value.apply(l.context,c),s.expression)}return t?{value:u}:u};case mo.AssignmentExpression:return i=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,r,a){var u=i(e,n,r,a),l=o(e,n,r,a);return en(u.value,s.expression),nn(u.context),u.context[u.name]=l,t?{value:l}:l};case mo.ArrayExpression:return a=[],r(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case mo.ObjectExpression:return a=[],r(e.properties,function(e){a.push({key:e.key.type===mo.Identifier?e.key.name:""+e.key.value,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case mo.ThisExpression:return function(e){return t?{value:e}:e};case mo.LocalsExpression:return function(e,n){return t?{value:n}:n};case mo.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?-a:0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=on(s,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=($(s)?s:0)-($(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var Mo=m(Tr),To=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Tr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;i<b.$parsers.length;i++)if(r=b.$parsers[i](r),v(r)){f=!1;break}x(b.$modelValue)&&isNaN(b.$modelValue)&&(b.$modelValue=m(e));var o=b.$modelValue,a=b.$options&&b.$options.allowInvalid;b.$$rawModelValue=r,a&&(b.$modelValue=r,t()),b.$$runValidators(r,b.$$lastCommittedViewValue,function(e){ -a||(b.$modelValue=e?r:void 0,t())})},this.$$writeModelToScope=function(){g(e,b.$modelValue),r(b.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){b.$viewValue=e,b.$options&&!b.$options.updateOnDefault||b.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=b.$options;i&&$(i.debounce)&&(n=i.debounce,x(n)?r=n:x(n[t])?r=n[t]:x(n["default"])&&(r=n["default"])),s.cancel(y),r?y=s(function(){b.$commitViewValue()},r):u.$$phase?b.$commitViewValue():e.$apply(function(){b.$commitViewValue()})},e.$watch(function(){var t=m(e);if(t!==b.$modelValue&&(b.$modelValue===b.$modelValue||t===t)){b.$modelValue=b.$$rawModelValue=t,f=void 0;for(var n=b.$formatters,r=n.length,i=t;r--;)i=n[r](i);b.$viewValue!==i&&(b.$$updateEmptyClasses(i),b.$viewValue=b.$$lastCommittedViewValue=i,b.$render(),b.$$runValidators(t,i,h))}return t})}],_a=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Sa,priority:1,compile:function(t){return t.addClass(va).addClass(ya).addClass(ma),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],Ea=/(\s+|^)default(\s+|$)/,Da=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=R(e.$eval(t.ngModelOptions)),$(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Gr(this.$options.updateOn.replace(Ea,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},Ma=sr({terminal:!0,priority:1e3}),Ta=t("ngOptions"),Aa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Oa=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Aa);if(!s)throw Ta("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return Je(e)},v=function(e,t){return g(e,k(e,t))},$=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},k=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:v,getWatchables:o(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;i>o;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},M=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(M(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(M(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),M(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Tr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,M,T,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))M=o,D=x||k;else{D=x||C,M=[];for(var I in o)Mr.call(o,I)&&"$"!==I.charAt(0)&&M.push(I)}for(w=M.length,A=new Array(w),f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],E=D(S,_,f),m[E])T=m[E],delete m[E],N[E]=T,A[f]=T;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(T=m[P],O=pe(T.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;T.scope.$destroy()}for(f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],T=A[f],T.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(T)!=$&&i.move(pe(T.clone),null,F),F=c(T),u(T.scope,f,y,_,b,S,w)}else p(function(e,t){T.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,T.clone=e,N[T.id]=T,u(T.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>r?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,u,l,c,f,d,h,p;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),f=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,u=f.length;u>o;o++)n=f[o],n.textContent=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),h=e.previewElement.querySelectorAll("[data-dz-remove]"),p=[],s=0,c=h.length;c>s;s++)i=h[s],p.push(i.addEventListener("click",r));return p}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;i>r;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(this),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;i>r;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;o>i;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=""+t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?l.call(arguments,1):[],o=0,a=n.length;a>o;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)e=i[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;o>i;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;o>i;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){ -return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){return 0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length?setTimeout(function(){return e.emit("queuecomplete")},0):void 0}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(i){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;a>o;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):""+this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='<div class="dz-fallback">',this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;i>r;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,u;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;u>s;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return"<strong>"+r+"</strong> "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;r>n;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,M,T,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,M=N.length;M>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,T=I.length;T>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&([#\w]+);/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function f(t,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=c({},f.defaults,n||{});var i,s,u=n.highlight,l=0;try{i=e.lex(t,n)}catch(d){return r(d)}s=i.length;var h=function(e){if(e)return n.highlight=u,r(e);var t;try{t=o.parse(i,n)}catch(a){e=a}return n.highlight=u,e?r(e):r(null,t)};if(!u||u.length<3)return h();if(delete n.highlight,!s)return h();for(;l<i.length;l++)!function(e){return"code"!==e.type?--s||h():u(e.text,e.lang,function(t,n){return t?h(t):null==n||n===e.text?--s||h():(e.text=n,e.escaped=!0,void(--s||h()))})}(i[l])}else try{return n&&(n=c({},f.defaults,n)),o.parse(e.lex(t,n),n)}catch(d){if(d.message+="\nPlease report this to https://github.com/chjj/marked.",(n||f.defaults).silent)return"<p>An error occured:</p><pre>"+a(d.message+"",!0)+"</pre>";throw d}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:l,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:l,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=u(d.item,"gm")(/bull/g,d.bullet)(),d.list=u(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=u(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=u(d.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,d._tag)(),d.paragraph=u(d.paragraph)("hr",d.hr)("heading",d.heading)("lheading",d.lheading)("blockquote",d.blockquote)("tag","<"+d._tag)("def",d.def)(),d.normal=c({},d),d.gfm=c({},d.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),d.gfm.paragraph=u(d.paragraph)("(?!","(?!"+d.gfm.fences.source.replace("\\1","\\2")+"|"+d.list.source.replace("\\1","\\3")+"|")(),d.tables=c({},d.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=d,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,a,s,u,l,c,f,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},c=0;c<u.align.length;c++)/^ *-+: *$/.test(u.align[c])?u.align[c]="right":/^ *:-+: *$/.test(u.align[c])?u.align[c]="center":/^ *:-+ *$/.test(u.align[c])?u.align[c]="left":u.align[c]=null;for(c=0;c<u.cells.length;c++)u.cells[c]=u.cells[c].split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,c=0;f>c;c++)u=o[c],l=u.length,u=u.replace(/^ *([*+-]|\d+\.) +/,""),~u.indexOf("\n ")&&(l-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+l+"}","gm"),"")),this.options.smartLists&&c!==f-1&&(s=d.bullet.exec(o[c+1])[0],a===s||a.length>1&&s.length>1||(e=o.slice(c+1).join("\n")+e,c=f-1)),i=r||/\n\n(?!\s*$)/.test(u),c!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c<u.align.length;c++)/^ *-+: *$/.test(u.align[c])?u.align[c]="right":/^ *:-+: *$/.test(u.align[c])?u.align[c]="center":/^ *:-+ *$/.test(u.align[c])?u.align[c]="left":u.align[c]=null;for(c=0;c<u.cells.length;c++)u.cells[c]=u.cells[c].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var h={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};h._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,h._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,h.link=u(h.link)("inside",h._inside)("href",h._href)(),h.reflink=u(h.reflink)("inside",h._inside)(),h.normal=c({},h),h.pedantic=c({},h.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),h.gfm=c({},h.normal,{escape:u(h.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(h.text)("]|","~]|")("|","|https?://|")()}),h.breaks=c({},h.gfm,{br:u(h.br)("{2,}","*")(),text:u(h.gfm.text)("{2,}","*")()}),r.rules=h,r.output=function(e,t,n){var i=new r(t,n);return i.output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=a(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;r>i;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+a(t,!0)+'">'+(n?e:a(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:a(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},i.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},i.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse(); -for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",a="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});a+=this.renderer.tablerow(n)}return this.renderer.table(o,a);case"blockquote_start":for(var a="";"blockquote_end"!==this.next().type;)a+=this.tok();return this.renderer.blockquote(a);case"list_start":for(var a="",s=this.token.ordered;"list_end"!==this.next().type;)a+=this.tok();return this.renderer.list(a,s);case"list_item_start":for(var a="";"list_item_end"!==this.next().type;)a+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(a);case"loose_item_start":for(var a="";"list_item_end"!==this.next().type;)a+=this.tok();return this.renderer.listitem(a);case"html":var u=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(u);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},l.exec=l,f.options=f.setOptions=function(e){return c(f.defaults,e),f},f.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1},f.Parser=o,f.parser=o.parse,f.Renderer=i,f.Lexer=e,f.lexer=e.lex,f.InlineLexer=r,f.inlineLexer=r.output,f.parse=f,"undefined"!=typeof t&&"object"==typeof n?t.exports=f:"function"==typeof define&&define.amd?define(function(){return f}):this.marked=f}).call(function(){return this||("undefined"!=typeof window?window:e)}())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],12:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return ur.apply(null,arguments)}function r(e){ur=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,r){return je(e,t,n,r,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function f(e){return null==e._pf&&(e._pf=c()),e._pf}function d(e){if(null==e._isValid){var t=f(e),n=lr.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function h(e){var t=l(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}function p(e){return void 0===e}function m(e,t){var n,r,i;if(p(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),p(t._i)||(e._i=t._i),p(t._f)||(e._f=t._f),p(t._l)||(e._l=t._l),p(t._strict)||(e._strict=t._strict),p(t._tzm)||(e._tzm=t._tzm),p(t._isUTC)||(e._isUTC=t._isUTC),p(t._offset)||(e._offset=t._offset),p(t._pf)||(e._pf=f(t)),p(t._locale)||(e._locale=t._locale),cr.length>0)for(n in cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function M(e){return e?e.toLowerCase().replace("_","-"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=M(e[o]).split("-"),t=i.length,n=M(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return T(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;n<e.length;n++)Ur[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Ur,e)&&Ur[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Qr.test(t)?"format":"standalone"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Qr.test(t)?"format":"standalone"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Te(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Me(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Me(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(J(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),d(t)&&(o+=f(t).charsLeftOver,o+=10*f(t).unusedTokens.length,f(t).score=o,(null==r||r>o)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Te(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Ue(){var e=[].slice.call(arguments,0);return Re("isBefore",e)}function Ve(){var e=[].slice.call(arguments,0);return Re("isAfter",e)}function ze(e){var t=R(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=I(),this._bubble()}function He(e){return e instanceof ze}function qe(e,t){Y(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function gt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function vt(e,t){var n,r=v(e)?e:Le(e);return this.isValid()&&r.isValid()?(t=L(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function $t(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function yt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function bt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t),"year"===t||"month"===t||"quarter"===t?(a=wt(this,r),"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:$(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return 0>t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?C(Date.prototype.toISOString)?this.toDate().toISOString():G(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):G(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Ct(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=G(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(v(e)&&e.isValid()||Le(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _t(e){return this.from(Le(),e)}function Et(e,t){return this.isValid()&&(v(e)&&e.isValid()||Le(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dt(e){return this.to(Le(),e)}function Mt(e){var t;return void 0===e?this._locale._abbr:(t=I(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function At(e){switch(e=L(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Ot(e){return e=L(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Nt(){return Math.floor(this.valueOf()/1e3)}function It(){return this._offset?new Date(this.valueOf()):this._d}function Pt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function jt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Lt(){return this.isValid()?this.toISOString():null}function Rt(){return d(this)}function Ut(){return u({},f(this))}function Vt(){return f(this).overflow}function zt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ht(e,t){Y(0,[e,e.length],0,t)}function qt(e){return Gt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Yt(e){return Gt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Bt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Gt(e,t,n,r,i){var o;return null==e?Ce(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Mn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), -this._longDateFormat[e])}function Tn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i<ro.s&&["s",i]||1>=o&&["m"]||o<ro.m&&["mm",o]||1>=a&&["h"]||a<ro.h&&["hh",a]||1>=s&&["d"]||s<ro.d&&["dd",s]||1>=u&&["M"]||u<ro.M&&["MM",u]||1>=l&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Mr=/\d\d\d\d\d\d?/,Tr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),j("month","M"),Q("M",Er),Q("MM",Er,kr),Q("MMM",function(e,t){return t.monthsShortRegex(e)}),Q("MMMM",function(e,t){return t.monthsRegex(e)}),ee(["M","MM"],function(e,t){t[zr]=y(e)-1}),ee(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[zr]=i:f(n).invalidMonth=e});var Qr=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Jr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Kr=Lr,ei=Lr,ti=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ri=/Z|[+-]\d\d(?::?\d\d)?/,ii=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],oi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ai=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=x("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),Y("Y",0,0,function(){var e=this.year();return 9999>=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Tr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Mr),Q("Hmm",Dr),Q("Hmmss",Mr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Tr,xr),Q("SS",Tr,kr),Q("SSS",Tr,Cr);var Mi;for(Mi="SSSS";Mi.length<=9;Mi+="S")Q(Mi,Fr);for(Mi="S";Mi.length<=9;Mi+="S")ee(Mi,kn);var Ti=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Mt,Ai.localeData=Tt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Ti,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Mn,Ri._invalidDate=Ii,Ri.invalidDate=Tn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Mt,oo.localeData=Tt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},M=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},T=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:M(u,["userAgent","platform","appName"]),flash:T(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Te(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); -var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='<object id="'+X.swfObjectId+'" name="'+X.swfObjectId+'" width="100%" height="100%" '+(f?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+u+'"')+">"+(f?'<param name="movie" value="'+u+'"/>':"")+'<param name="allowScriptAccess" value="'+r+'"/><param name="allowNetworking" value="'+i+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+o+'"/><div id="'+X.swfObjectId+'_fallbackContent"> </div></object>',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;t<e.length;t++)if(k.call(e,t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===Xe[e[t].zcClippingId].indexOf(this.id)&&Xe[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+Je++,Xe[e[t].zcClippingId]=[this.id],X.autoActivate===!0&&dt(e[t]));var n=Qe[this.id]&&Qe[this.id].elements;-1===n.indexOf(e[t])&&n.push(e[t])}return this},at=function(e){var t=Qe[this.id];if(!t)return this;var n,r=t.elements;e="undefined"==typeof e?r.slice(0):ft(e);for(var i=e.length;i--;)if(k.call(e,i)&&e[i]&&1===e[i].nodeType){for(n=0;-1!==(n=r.indexOf(e[i],n));)r.splice(n,1);var o=Xe[e[i].zcClippingId];if(o){for(n=0;-1!==(n=o.indexOf(this.id,n));)o.splice(n,1);0===o.length&&(X.autoActivate===!0&&ht(e[i]),delete e[i].zcClippingId)}}return this},st=function(){var e=Qe[this.id];return e&&e.elements?e.elements.slice(0):[]},ut=function(){Qe[this.id]&&(this.unclip(),this.off(),delete Qe[this.id])},lt=function(e){if(!e||!e.type)return!1;if(e.client&&e.client!==this)return!1;var t=Qe[this.id],n=t&&t.elements,r=!!n&&n.length>0,i=!e.target||r&&-1!==n.indexOf(e.target),o=e.relatedTarget&&r&&-1!==n.indexOf(e.relatedTarget),a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='<div class="dropzone-container">\n <div class="dz-message">Drop files or click here to upload</div>\n</div>'},{}],15:[function(e,t,n){t.exports='\n<div class="image-picker">\n <div>\n <img ng-if="image && image !== \'none\'" ng-src="{{image}}" ng-class="{{imageClass}}" alt="Image Preview">\n <img ng-if="image === \'\' && defaultImage" ng-src="{{defaultImage}}" ng-class="{{imageClass}}" alt="Image Preview">\n </div>\n <button class="button" type="button" ng-click="showImageManager()">Select Image</button>\n <br>\n\n <button class="text-button" ng-click="reset()" type="button">Reset</button>\n <span ng-show="showRemove" class="sep">|</span>\n <button ng-show="showRemove" class="text-button neg" ng-click="remove()" type="button">Remove</button>\n\n <input type="hidden" ng-attr-name="{{name}}" ng-attr-id="{{name}}" ng-attr-value="{{value}}">\n</div>'},{}],16:[function(e,t,n){t.exports='<div class="toggle-switch" ng-click="switch()" ng-class="{\'active\': isActive}">\n <input type="hidden" ng-attr-name="{{name}}" ng-attr-value="{{value}}"/>\n <div class="switch-handle"></div>\n</div>'},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t<e.tags.length;t++)e.tags[t].order=t}var s=Number(r.pageId);e.tags=[],e.sortOptions={handle:".handle",items:"> tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=t.find("textarea[markdown-input]"),i=t.find('button[data-action="insertImage"]'),o=0;r.blur(function(e){o=r[0].selectionStart}),r.keydown(function(e){if(73===e.which&&e.ctrlKey&&e.shiftKey){e.preventDefault();var t=r[0].selectionStart,n=r.val(),i="";r.val(n.substring(0,t)+i+n.substring(t)),r.focus(),r[0].selectionStart=t+",i.click(function(e){window.ImageManager.showExternal(function(e){var t=o,n=r.val(),i="";r.val(n.substring(0,t)+i+n.substring(t)),r.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("autosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(p=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),p.join()===t.join())return void(p=t);c[0].innerHTML="";for(var n=0;n<t.length;n++){var r=document.createElement("li");r.textContent=t[n],r.onclick=a,0===n&&(r.className="active",h=0),c[0].appendChild(r)}p=t}function a(e){var t=this.textContent;d[0].value=t,d.focus(),c.hide(),f=!1}function s(t,n){var r=n+"?search="+encodeURIComponent(t);return u[r]?new Promise(function(e,n){e(u[t])}):e.get(r).then(function(e){return u[t]=e.data,e.data})}var u={},l=document.createElement("ul");l.className="suggestion-box",l.style.position="absolute",l.style.display="none";var c=$(l),f=!1,d=!1,h=0;n.on("input","[autosuggest]",function(e){var t=$(this),n=t.val(),r=t.attr("autosuggest");if(n.length<3)return void(f&&(c.hide(),f=!1));var i=s(n.slice(0,3),r);i.then(function(e){n.length>2&&(e=e.filter(function(e){return-1!==e.toLowerCase().indexOf(n.toLowerCase())}).slice(0,4),o(t,e))})}),n.on("blur","[autosuggest]",function(e){setTimeout(function(){c.hide(),f=!1},200)}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if(13===e.keyCode){var o=t[h].textContent;return d[0].value=o,d.focus(),c.hide(),f=!1,e.preventDefault(),!1}}});var p=[]}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r<n.length;r++){var i=n[r];i(t)}return this},listen:function(e,t){return"undefined"==typeof this.listeners[e]&&(this.listeners[e]=[]),this.listeners[e].push(t),this}};window.Events=o;e("./services")(i,o),e("./directives")(i,o),e("./controllers")(i,o);jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){var e=$(".notification"),t=e.filter(".pos"),n=e.filter(".neg"),r=e.filter(".warning");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),window.Events.listen("warning",function(e){r.find("span").text(e),r.show()}),window.Events.listen("error",function(e){n.find("span").text(e),n.show()}),e.click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)}),$("#back-to-top").click(function(){$("#header").smoothScrollTo()});var i=!1,o=document.getElementById("back-to-top"),a=1200;window.addEventListener("scroll",function(){!i&&document.body.scrollTop>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&document.body.scrollTop<a&&(o.style.opacity=0,i=!1,setTimeout(function(){o.style.display="none"},500))}),$('[data-action="expand-entity-list-details"]').click(function(){$(".entity-list.compact").find("p").slideToggle(240)})}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";var r=t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code customhr autosave lists",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){window.ImageManager.showExternal(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange");var i='<a href="'+t.url+'" target="_blank">';i+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',i+="</a>", -r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('<img src="file://')&&(t.content="")},extraSetups:[],setup:function(e){for(var t=0;t<r.extraSetups.length;t++)r.extraSetups[t](e);!function(){function t(e){return e&&!(!e.textContent&&!e.innerText)}var n;e.on("dragstart",function(){var r=e.selection.getNode();"IMG"===r.nodeName&&(n=e.dom.getParent(r,".mceTemp"),n||"A"!==r.parentNode.nodeName||t(r.parentNode)||(n=r.parentNode))}),e.on("drop",function(t){var r=e.dom,i=tinymce.dom.RangeUtils.getCaretRangeFromPoint(t.clientX,t.clientY,e.getDoc());r.getParent(i.startContainer,".mceTemp")?t.preventDefault():n&&(t.preventDefault(),e.undoManager.transact(function(){e.selection.setRng(i),e.selection.setNode(n),r.remove(n)})),n=null})}(),e.addButton("image-insert",{title:"My title",icon:"image",tooltip:"Insert an image",onclick:function(){window.ImageManager.showExternal(function(t){var n='<a href="'+t.url+'" target="_blank">';n+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',n+="</a>",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){if(t.clipboardData){var n=t.clipboardData.items;if(n)for(var r=0;r<n.length;r++)if(-1!==n[r].type.indexOf("image")){var i=n[r].getAsFile(),o=new FormData,a="png",s=new XMLHttpRequest;if(i.name){var u=i.name.match(/\.(.+)$/);u&&(a=u[1])}var l="image-"+Math.random().toString(16).slice(2);e.execCommand("mceInsertContent",!1,'<img src="/loading.gif" id="'+l+'">');var c="image-"+Date.now()+"."+a;o.append("file",i,c),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),s.open("POST","/images/gallery/upload"),s.onload=function(){if(200===s.status||201===s.status){var t=JSON.parse(s.responseText);e.dom.setAttrib(l,"src",t.url)}else console.log("An error occured uploading the image"),console.log(s.responseText),e.dom.remove(l)},s.send(o)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){f.width(m+48+15),f.addClass("fixed"),p=!0}function i(){f.css("width","auto"),f.removeClass("fixed"),p=!1}function o(e){var t=c.scrollTop()>h;!t||p&&!e?t||!p&&!e||i():n()}var a=$("#pointer").detach(),s=a.children("div.pointer").first(),u=!1;if(a.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(a.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){u||a.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");a.find("input").val(i),a.find("button").first().attr("data-clipboard-text",i),r.before(a),a.show();var o=t.pageX-r.offset().left-s.width()/2;0>o&&(o=0);var l=o/r.width()*100;s.css("left",l+"%"),u=!0,setTimeout(function(){u=!1},100)}}),window.location.hash){var l=window.location.hash.replace(/\%20/g," ").substr(1);t(l)}var c=$(window),f=$(".book-tree"),d=$(document).height()>c.height()&&f.height()<$(".page-content").height(),h=$("#header").height()+$(".toolbar").height(),p=c.scrollTop()>h,m=f.width();d&&c.width()>1e3&&(c.scroll(function(){o(!1)}),o(!0))}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){!function(e,t){"use strict";function n(e,t,n){if(!e)throw me("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(z(e)&&(e=e.join(" ")),z(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=z(e)?e:e&&H(e)&&e.length?e.split(/\s+/):[],V(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType==Z)return n}}function l(e,t,n){V(t,function(t){e.addClass(t,n)})}function c(e,t,n){V(t,function(t){e.removeClass(t,n)})}function f(e){return function(t,n){n.addClass&&(l(e,t,n.addClass),n.addClass=null),n.removeClass&&(c(e,t,n.removeClass),n.removeClass=null)}}function d(e){if(e=e||{},!e.$$prepared){var t=e.domOperation||j;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=j},e.$$prepared=!0}return e}function h(e,t){p(e,t),m(e,t)}function p(e,t){t.from&&(e.css(t.from),t.from=null)}function m(e,t){t.to&&(e.css(t.to),t.to=null)}function g(e,t,n){var r=t.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=v(e.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=C(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var u=r.domOperation!==j?r.domOperation:null;return R(r,i),u&&(r.domOperation=u),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function v(e,t,n){function r(e){H(e)&&(e=e.split(" "));var t={};return V(e,function(e){e.length&&(t[e]=!0)}),t}var i=1,o=-1,a={};e=r(e),t=r(t),V(t,function(e,t){a[t]=i}),n=r(n),V(n,function(e,t){a[t]=a[t]===i?null:o});var s={addClass:"",removeClass:""};return V(a,function(t,n){var r,a;t===i?(r="addClass",a=!e[n]):t===o&&(r="removeClass",a=e[n]),a&&(s[r].length&&(s[r]+=" "),s[r]+=n)}),s}function $(e){return e instanceof t.element?e[0]:e}function y(e,t,n){var r="";t&&(r=o(t,X,!0)),n.addClass&&(r=C(r,o(n.addClass,Q))),n.removeClass&&(r=C(r,o(n.removeClass,J))),r.length&&(n.preparationClasses=r,e.addClass(r))}function b(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}function w(e,t){var n=t?"-"+t+"s":"";return k(e,[he,n]),[he,n]}function x(e,t){var n=t?"paused":"",r=I+le;return k(e,[r,n]),[r,n]}function k(e,t){var n=t[0],r=t[1];e.style[n]=r}function C(e,t){return e?t?e+" "+t:e:t}function S(e){return[de,e+"s"]}function _(e,t){var n=t?fe:he;return[n,e+"s"]}function E(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return V(n,function(e,t){var n=i[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function T(e){return 0===e||null!=e}function M(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o<t.length;o++)t[o]();i||e(function(){i||n()})}}var r,i;return r=t.queue=[],t.waitUntilQuiet=function(t){i&&i(),i=e(function(){i=null,t(),n()})},t}],ve=["$interpolate",function(e){return{link:function(n,r,i){function o(e){e="on"===e||"true"===e,r.data(ne,e)}var a=i.ngAnimateChildren;t.isString(a)&&0===a.length?r.data(ne,!0):(o(e(a)(n)),i.$observe("ngAnimateChildren",o))}}}],$e="$$animateCss",ye=1e3,be=3,we=1.5,xe={transitionDuration:pe,transitionDelay:he,transitionProperty:F+oe,animationDuration:de,animationDelay:fe,animationIterationCount:I+ue},ke={transitionDuration:pe,transitionDelay:he,animationDuration:de,animationDelay:fe},Ce=["$animateProvider",function(e){var t=A(),n=A();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,r,s,u,l,c,g,v){function y(e,t){var n="$$ngAnimateParentKey",r=e.parentNode,i=r[n]||(r[n]=++U);return i+"-"+e.getAttribute("class")+"-"+t}function b(n,r,i,o){var a=t.get(i);return a||(a=E(e,n,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),t.put(i,a),a}function C(i,a,s,u){var l;if(t.count(s)>0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r<H.length;r++)H[r](e);H.length=0})}function A(e,t,n){var r=b(e,t,n,xe),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var R=f(r),U=0,H=[];return function(e,n){function l(){g()}function f(){g(!0)}function g(t){if(!(B||Z&&G)){B=!0,G=!1,q.$$skipPreparationClasses||r.removeClass(e,xe),r.removeClass(e,Se),x(W,!1),w(W,!1),V(le,function(e){W.style[e[0]]=""}),R(e,q),h(e,q),Object.keys(Y).length&&V(Y,function(e,t){e?W.style.setProperty(t,e):W.style.removeProperty(t)}),q.onDone&&q.onDone(),he&&he.length&&e.off(he.join(" "),U);var n=e.data($e);n&&(u.cancel(n[0].timer),e.removeData($e)),ee&&ee.complete(!t)}}function b(e){Re.blockTransition&&w(W,e),Re.blockKeyframeAnimation&&x(W,!!e)}function E(){return ee=new s({end:l,cancel:f}),D(j),g(),{$$willAnimate:!1,start:function(){return ee},end:l}}function U(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(be));Math.max(n-ue,0)>=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&T(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n<t.length;n++)t[n]();e.removeData($e)}}if(!B){if(!W.parentNode)return void g();var i=function(e){if(Z)G&&e&&(G=!1,g());else if(G=!e,je.animationDuration){var t=x(W,G);G?le.push(t):a(le,t)}},o=Ie>0&&(je.transitionDuration&&0===Te.transitionDuration||je.animationDuration&&0===Te.animationDuration)&&Math.max(Te.animationDelay,Te.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Te;if(q.stagger>0){var Me=parseFloat(q.stagger);Te={transitionDelay:Me,animationDelay:Me,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Te=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=M(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Te?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=T(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=T(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(M(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Te.animationDelay>0&&0===Te.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!i[a]&&(r.push(t.get(s)),i[a]=!0)}return r}var o=f(r);return function(e,t,r,a){function s(){a.domOperation(),o(e,a)}function u(){p=!0,s(),h(e,a)}function l(e,t,r,i,o){var a;switch(r){case"animate":a=[t,i.from,i.to,o];break;case"setClass":a=[t,v,$,o];break;case"addClass":a=[t,v,o];break;case"removeClass":a=[t,$,o];break;default:a=[t,o]}a.push(i);var s=e.apply(e,a);if(s)if(B(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(B(s))return s;return j}function c(e,t,r,i,o){var a=[];return V(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,u=function(e){a||(a=!0,(o||j)(e),i.complete(!e))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=l(s,e,t,r,function(e){var t=e===!1;u(t)}),i})}),a}function f(e,t,r,i,o){var a=c(e,t,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=c(e,"removeClass",r,i,"beforeRemoveClass"),u=c(e,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=c(e,"removeClass",r,i,"removeClass"),u=c(e,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(e){var t=[];return a.length&&V(a,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){V(t,function(t){e?t.cancel():t.end()})}}}var p=!1;3===arguments.length&&q(r)&&(a=r,r=null),a=d(a),r||(r=e.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var m,g,v=a.addClass,$=a.removeClass,y=i(r);if(y.length){var b,w;"leave"==t?(w="leave",b="afterLeave"):(w="before"+t.charAt(0).toUpperCase()+t.substr(1),b=t),"enter"!==t&&"move"!==t&&(m=f(e,t,a,y,w)),g=f(e,t,a,y,b)}if(m||g){var x;return{$$willAnimate:!0,end:function(){return x?x.end():(u(),x=new n,x.complete(!0)),x},start:function(){function e(e){u(e),x.complete(e)}function t(t){p||((r||j)(t),e(t))}if(x)return x;x=new n;var r,i=[];return m&&i.push(function(e){r=m(e)}),i.length?i.push(function(e){s(),e(!0)}):s(),g&&i.push(function(e){r=g(e)}),x.setHost({end:function(){t()},cancel:function(){t(!0)}}),n.chain(i,e),x}}}}}]}],Ee=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){var n=t.element,r=t.event,i=t.options,o=t.classes;return e(n,r,o,i)}return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){function e(){return function(){V(o,function(e){e.end()})}}function n(e){a.complete(e)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),t.all(o,n);var a=new t({end:e(),cancel:e()});return a}}}return n(e)}}]}],De="data-ng-animate",Te="$ngAnimatePin",Me=["$animateProvider",function(r){function i(e){if(!e)return null;var t=e.split(m),n=Object.create(null);return V(t,function(e){n[e]=!0}),n}function o(e,t){if(e&&t){var n=i(t);return e.split(m).some(function(e){return n[e]})}}function a(e,t,n,r){return v[e].some(function(e){return e(t,n,r)})}function l(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function T(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=T(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var M=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;M&&F(e);var Y={structural:M,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,M?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||M&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Te);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Te))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:M(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=M(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Te,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,o=0,a=[];for(t=0;t<r.length;t++){var s=r[t];0>=i&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}var r,i={children:[]},o=new c;for(r=0;r<e.length;r++){var a=e[r];o.put(a.domNode,e[r]={domNode:a.domNode,fn:a.fn,children:[]})}for(r=0;r<e.length;r++)t(e[r]);return n(i)}var g=[],v=f(e);return function(c,f,y){function b(e){var t="["+o+"]",n=e.hasAttribute(o)?[e]:e.querySelectorAll(t),r=[];return V(n,function(e){var t=e.getAttribute(o);t&&t.length&&r.push(e)}),r}function w(e){var t=[],n={};V(e,function(e,r){var i=e.element,a=$(i),s=e.event,u=["enter","move"].indexOf(s)>=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var o=0;o<t.length;o++)if(i===t[o]){n.push(i);break}}return n.join(" ")}function k(e){for(var t=a.length-1;t>=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),T.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,T=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),T;t(c,T);var M=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(M+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:M,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?T:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),T)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Me).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,T,M=this instanceof x,A=M?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!M&&d&&(D=u.defer(),O.timeout=D.promise,f&&(T=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!M&&d&&(A.$cancelRequest=t.noop,l.cancel(T),D=T=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),M?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;r<o.length;r++)i[n?t.lowercase(o[r]):o[r]]=!0;return i}function o(t,n){null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t),c.innerHTML=t;var r=5;do{if(0===r)throw f("uinput","Failed to sanitize html because the input is unstable");r--,e.document.documentMode&&l(c),t=c.innerHTML,c.innerHTML=t}while(t!==c.innerHTML);for(var i=c.firstChild;i;){ +switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),a(i.attributes));break;case 3:n.chars(i.textContent)}var o;if(!(o=i.firstChild)&&(1==i.nodeType&&n.end(i.nodeName.toLowerCase()),o=i.nextSibling,!o))for(;null==o&&(i=i.parentNode,i!==c);)o=i.nextSibling,1==i.nodeType&&n.end(i.nodeName.toLowerCase());i=o}for(;i=c.firstChild;)c.removeChild(i)}function a(e){for(var t={},n=0,r=e.length;r>n;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("</"),i(e),i(">")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("<a "),t.isFunction(l)&&(l=l(e)),t.isObject(l))for(r in l)g.push(r+'="'+l[r]+'" ');else l={};!t.isDefined(u)||"target"in l||g.push('target="',u,'" '),g.push('href="',e.replace(/"/g,"""),'">'),c(n),g.push("</a>")}if(null==s||""===s)return s;if(!a(s))throw o("notstring","Expected string but received: {0}",s);for(var d,h,p,m=s,g=[];d=m.match(n);)h=d[0],d[2]||d[4]||(h=(d[3]?"http://":"mailto:")+h),p=d.index,c(m.substr(0,p)),f(h,d[0].replace(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r];if(i.element[0]===t[0]){n=i.scope;break}}return n}function v(e,t){t.item.sortable._destroy()}function $(e){return e.item.parent().find(k["ui-model-items"]).index(e.item)}function y(){r.$watchCollection("ngModel",function(){t(function(){u(i)&&i.sortable("refresh")},0,!1)}),S.start=function(e,t){if("auto"===k["ui-floating"]){var n=t.item.siblings(),r=u(angular.element(e.target));r.floating=m(n)}var i=$(t);t.item.sortable={model:a.$modelValue[i],index:i,source:t.item.parent(),sourceModel:a.$modelValue,cancel:function(){t.item.sortable._isCanceled=!0},isCanceled:function(){return t.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!t.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:t.item.sortable._isCustomHelperUsed,_destroy:function(){angular.forEach(t.item.sortable,function(e,n){t.item.sortable[n]=void 0})}}},S.activate=function(e,t){x=i.contents();var n=f(i);if(n&&n.length){var o=d(i,n);x=x.not(o)}var a=t.item.sortable._connectedSortables||[];a.push({element:i,scope:r}),t.item.sortable._connectedSortables=a},S.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=$(t);var n=t.item.parent();t.item.sortable.droptarget=n;var o=g(t.item.sortable._connectedSortables,n);t.item.sortable.droptargetModel=o.ngModel,i.sortable("cancel")}var s=!t.item.sortable.received&&p(i,t,x);s&&s.length&&(x=x.not(s)),x.appendTo(i),t.item.sortable.received&&(x=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)})},S.stop=function(e,t){if(!t.item.sortable.received&&"dropindex"in t.item.sortable&&!t.item.sortable.isCanceled())r.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])});else if((!("dropindex"in t.item.sortable)||t.item.sortable.isCanceled())&&!angular.equals(i.contents(),x)){var n=p(i,t,x);n&&n.length&&(x=x.not(n)),x.appendTo(i)}x=null},S.receive=function(e,t){t.item.sortable.received=!0},S.remove=function(e,t){"dropindex"in t.item.sortable||(i.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||r.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},_.helper=function(e){return e&&"function"==typeof e?function(t,n){var r=e.apply(this,arguments);return n.sortable._isCustomHelperUsed=n!==r,r}:e},r.$watchCollection("uiSortable",function(e,t){var n=u(i);if(n){var r=c(e,t,n);r&&i.sortable("option",r)}},!0),c(k)}function b(){a?y():n.info("ui.sortable: ngModel not provided!",i),i.sortable(k)}function w(){return r.uiSortable&&r.uiSortable.disabled?!1:(b(),w.cancelWatcher(),w.cancelWatcher=angular.noop,!0)}var x,k={},C={"ui-floating":void 0,"ui-model-items":e.items},S={receive:null,remove:null,start:null,stop:null,update:null},_={helper:null};return angular.extend(k,C,e,r.uiSortable),angular.element.fn&&angular.element.fn.jquery?(w.cancelWatcher=angular.noop,void(w()||(w.cancelWatcher=r.$watch("uiSortable.disabled",w)))):void n.error("ui.sortable: jQuery should be included before AngularJS!")}}}])},{}],8:[function(e,t,n){!function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n<o.length?$e(o[n]):e}),s+="\nhttp://errors.angularjs.org/1.5.5/"+(e?e+"/":"")+a,r=i,n="?";r<o.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent($e(o[r]));return new t(s)}}function n(e){if(null==e||_(e))return!1;if(Wr(e)||w(e)||Ir&&e instanceof Ir)return!0;var t="length"in Object(e)&&e.length;return x(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Tr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function o(e){return function(t,n){e(n,t)}}function a(){return++Yr}function s(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function u(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;o>i;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function T(e){return"[object FormData]"===Vr.call(e)}function M(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function j(e){return Mr(e.nodeName||e[0]&&e[0].nodeName)}function L(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("<div>").append(e).html();try{return e[0].nodeType===ii?Mr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Mr(t)})}catch(t){return Mr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Tr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Te,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Mr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ta,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Tn,$$testability:Mn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Te(e){if(e instanceof Te)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Te)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Te(e)}t?Re(this,Ee(e)):Re(this,e)}function Me(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Te,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Ti);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Mi),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ +var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Ii)return n}}function at(e){w(e)&&(e=e.split(" "));var t=me();return r(e,function(e){e.length&&(t[e]=!0)}),t}function st(e){return y(e)?e:{}}function ut(e,t,n,i){function o(e){try{e.apply(null,H(arguments,1))}finally{if($--,0===$)for(;y.length;)try{y.pop()()}catch(t){n.error(t)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function s(){C=null,u(),l()}function u(){b=S(),b=v(b)?null:b,V(b,D)&&(b=D),D=b}function l(){x===c.url()&&w===b||(x=c.url(),w=b,r(_,function(e){e(c.url(),b)}))}var c=this,f=e.location,d=e.history,p=e.setTimeout,m=e.clearTimeout,g={};c.isMock=!1;var $=0,y=[];c.$$completeOutstandingRequest=o,c.$$incOutstandingRequestCount=function(){$++},c.notifyWhenNoOutstandingRequests=function(e){0===$?e():y.push(e)};var b,w,x=f.href,k=t.find("base"),C=null,S=i.history?function(){try{return d.state}catch(e){}}:h;u(),w=b,c.url=function(t,n,r){if(v(r)&&(r=null),f!==e.location&&(f=e.location),d!==e.history&&(d=e.history),t){var o=w===r;if(x===t&&(!i.history||o))return c;var s=x&&Vt(x)===Vt(t);return x=t,w=r,!i.history||s&&o?(s&&!C||(C=t),n?f.replace(t):s?f.hash=a(t):f.href=t,f.href!==t&&(C=t)):(d[n?"replaceState":"pushState"](r,"",t),u(),w=b),c}return C||f.href.replace(/%27/g,"'")},c.state=function(){return b};var _=[],E=!1,D=null;c.onUrlChange=function(t){return E||(i.history&&Ir(e).on("popstate",s),Ir(e).on("hashchange",s),E=!0),_.push(t),t},c.$$applicationDestroyed=function(){Ir(e).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var e=k.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return $++,n=p(function(){delete g[n],o(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],m(e),o(h),!0):!1}}function lt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new ut(e,r,t,n)}]}function ct(){this.$get=function(){function e(e,r){function i(e){e!=d&&(h?h==e&&(h=e.n):h=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in n)throw t("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=l({},r,{id:e}),u=me(),c=r&&r.capacity||Number.MAX_VALUE,f=me(),d=null,h=null;return n[e]={put:function(e,t){if(!v(t)){if(c<Number.MAX_VALUE){var n=f[e]||(f[e]={key:e});i(n)}return e in u||a++,u[e]=t,a>c&&this.remove(h.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;t==d&&(d=t.p),t==h&&(h=t.n),o(t.n,t.p),delete f[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=me(),a=0,f=me(),d=h=null},destroy:function(){u=null,s=null,f=null,delete n[e]},info:function(){return l({},s,{size:a})}}}var n={};return e.info=function(){var e={};return r(n,function(t,n){e[n]=t.info()}),e},e.get=function(e){return n[e]},e}}function ft(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function dt(){}function ht(t,n){function i(e,t,n){var i=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,o=me();return r(e,function(e,r){if(e in S)return void(o[r]=S[e]);var a=e.match(i);if(!a)throw Hi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,r,e,n?"controller bindings definition":"isolate scope definition");o[r]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||r},a[4]&&(S[e]=o[r])}),o}function a(e,t){var n={isolateScope:null,bindToController:null};if(y(e.scope)&&(e.bindToController===!0?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),y(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),y(n.bindToController)){var r=e.controller,o=e.controllerAs;if(!r)throw Hi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!$t(r,o))throw Hi("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}function s(e){var t=e.charAt(0);if(!t||t!==Mr(t))throw Hi("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Hi("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}var u={},c="Directive",f=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,g=/(([\w\-]+)(?:\:([^;]+))?;?)/,b=P("ngSrc,ngSrcset,src,srcset"),x=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/,S=me();this.directive=function T(e,n){return de(e,"directive"),w(e)?(s(e),ce(n,"directiveFactory"),u.hasOwnProperty(e)||(u[e]=[],t.factory(e+c,["$injector","$exceptionHandler",function(t,n){var i=[];return r(u[e],function(r,o){try{var a=t.invoke(r);C(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||e,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"EA",a.$$moduleName=r.$$moduleName,i.push(a)}catch(s){n(s)}}),i}])),u[e].push(n)):r(e,o(T)),this},this.component=function(e,t){function n(e){function n(t){return C(t)||Wr(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var o=t.template||t.templateUrl?t.template:"",a={controller:i,controllerAs:$t(t.controller)||t.controllerAs||"$ctrl",template:n(o),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return r(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}var i=t.controller||function(){};return r(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,C(i)&&(i[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return $(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var _=!0;this.debugInfoEnabled=function(e){return $(e)?(_=e,this):_};var D=10;this.onChangesTtl=function(e){return arguments.length?(D=e,this):D},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,i,o,s,m,$,S,T,M){function O(){try{if(!--ye)throw ge=void 0,Hi("infchng","{0} $onChanges() iterations reached. Aborting!\n",D);$.$apply(function(){for(var e=0,t=ge.length;t>e;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="<span "+t+">";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("<div>").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l<p.length;l+=3)f=p[l],m[f]=n[f]}else m=n;for(l=0,c=p.length;c>l;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m<e.length;m++)s=new F,u=q(e[m],[],s,0===m?r:void 0,i),l=u.length?G(u,e[m],s,t,n,null,[],[],o):null,l&&l.scope&&P.$$addScopeClass(s.$$element),f=l&&l.terminal||!(c=e[m].childNodes)||!c.length?null:U(c,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||f)&&(p.push(m,l,f),d=!0,h=h||l),o=null;return d?a:null}function z(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=me();for(var o in t.$$slots)t.$$slots[o]?i[o]=z(e,t.$$slots[o],n):i[o]=null;return r}function q(e,t,n,r,i){var o,a,s=e.nodeType,u=n.$attr;switch(s){case ni:K(t,mt(j(e)),"E",r,i);for(var l,c,d,h,p,m,v=e.attributes,$=0,b=v&&v.length;b>$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,T;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,T=pe(i,D,m,m.$$isolateBindings,S),T.removeWatches&&m.$on("$destroy",T.removeWatches));for(var M in $){var O=k[M],N=$[M],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,T=!1,M=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(T=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Me(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(M=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)M=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,T&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=T,h.templateOnThisElement=M,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var T=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Me(d)),fe(_,Ir(S),D),I(Ir(D),T)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function ie(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Hi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,J(r))}function oe(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&P.$$addBindingClass(t),function(e,t){var i=t.parent();n||P.$$addBindingClass(i),P.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function ae(t,n){switch(t=Mr(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Tr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=M(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=M(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=M(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function vt(e){e=Ir(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Mr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Mr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Mr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Mt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||M(e)||T(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Tt(e.data,e.headers,e.status,u.transformResponse),Mt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Mr(t.method)]);e:for(n in o){r=Mr(n);for(i in s)if(Mr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Tt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Mr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Mt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Mt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Mr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; +switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,T=[],M=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&T.push(a(o.substring(S)));break}S!==w&&T.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,M.push(T.length),T.push("")}if(h&&T.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;T[M[t]]=e[t]}return T.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n<e.inputs.length;++n)e.inputs[n]=u(e.inputs[n]);return t.inputs=e.inputs,t}function l(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=gn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function c(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var s=l;return a=a[0],e.$watch(function(e){var t=a(e);return l(t,s)||(o=r(e,void 0,void 0,[t]),s=t&&gn(t)),o},t,n,i)}for(var u=[],c=[],f=0,d=a.length;d>f;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Tr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Tr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var r in o)Tr.call(o,r)&&(s[r]=o[r])}else s=o}r.$stateful=!0;var o,a,s,u=this,c=t.length>1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(T){t(T)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(T){t(T)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(T){t(T)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Mr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Mr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Tn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Mn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},i.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},i}]}function An(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){C(o)||(u=s,s=o,o=h);var l,c=H(arguments,3),f=$(u)&&!u,d=(f?r:n).defer(),p=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(t){d.reject(t),i(t)}finally{delete a[p.$$timeoutId]}f||e.$apply()},s),p.$$timeoutId=l,a[l]=d,p}var a={};return o.cancel=function(e){return e&&e.$$timeoutId in a?(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function On(e){var t=e;return Nr&&(wo.setAttribute("href",t),t=wo.href),wo.setAttribute("href",t),{href:wo.href,protocol:wo.protocol?wo.protocol.replace(/:$/,""):"",host:wo.host,search:wo.search?wo.search.replace(/^\?/,""):"",hash:wo.hash?wo.hash.replace(/^#/,""):"",hostname:wo.hostname,port:wo.port,pathname:"/"===wo.pathname.charAt(0)?wo.pathname:"/"+wo.pathname}}function Fn(e){var t=w(e)?On(e):e;return t.protocol===xo.protocol&&t.host===xo.host}function Nn(){this.$get=m(e)}function In(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},r={},i="";return function(){var e,o,a,s,u,l=n.cookie||"";if(l!==i)for(i=l,e=i.split("; "),r={},a=0;a<e.length;a++)o=e[a],s=o.indexOf("="),s>0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",To),t("number",Hn),t("orderBy",ar),t("uppercase",Mo)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Mr(""+e),t=Mr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": +var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;a>l;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}function Wn(e,t,n,r,i){if(!w(e)&&!x(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=qn(u),Yn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,d=o.e,h=[];for(s=c.reduce(function(e,t){return e&&!t},!0);0>f;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=So+e;return n&&(e=e.substr(e.length-t)),i+e}function Gn(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.value<t.value?-1:1):n=e.type<t.type?-1:1,n}return function(e,i,o){function u(e,t){return{value:e,predicateValues:c.map(function(n){return a(n.get(e),t)})}}function l(e,t){for(var n=0,r=0,i=c.length;i>r&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Mr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function mr(e,t,n,r){return function(i,o,a,s,u,l,c){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function d(e){return $(e)&&!k(e)?n(e)||void 0:e}gr(i,o,a,s),dr(i,o,a,s,u,l);var h,p=s&&s.$options&&s.$options.timezone;if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,h);return p&&(r=Q(r,p)),r}}),s.$formatters.push(function(e){if(e&&!k(e))throw Ca("datefmt","Expected `{0}` to be a date",e);return f(e)?(h=e,h&&p&&(h=Q(h,p,!0)),c("date")(e,r,p)):(h=null,"")}),$(a.min)||a.ngMin){var m;s.$validators.min=function(e){return!f(e)||v(m)||n(e)>=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function o(e){var t=[];return Wr(e)?(r(e,function(e){t=t.concat(o(e))}),t):w(e)?e.split(" "):y(e)?(r(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}return{restrict:"AC",link:function(a,s,u){function l(e){var t=f(e,1);u.$addClass(t)}function c(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||me(),i=[];return r(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Tr=Object.prototype.hasOwnProperty,Mr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Mr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Qr=function(){function t(){try{return new Function(""),!1}catch(e){return!0}}if(!$(Qr.rules)){var n=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");Qr.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else Qr.rules={noUnsafeEval:t(),noInlineStyle:!1}}return Qr.rules},Jr=function(){if($(Jr.name_))return Jr.name_;var t,n,r,i,o=Kr.length;for(n=0;o>n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Te.expando="ng339";var li=Te.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Te._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={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,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Te.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Te(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Mr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Te[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Mr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Te.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Te(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Te(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Te(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Te(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Me,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Te.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Te.prototype.bind=Te.prototype.on,Te.prototype.unbind=Te.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Mi=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Vi=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(e,t,n,i,o){function a(e){this.setHost(e);var t=n(),r=function(e){o(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){var n=i[0];n&&n.hidden?r(e):t(e)},this._state=0}var s=0,u=1,l=2;return a.chain=function(e,t){function n(){return r===e.length?void t(!0):void e[r](function(e){return e===!1?void t(!1):(r++,void n())})}var r=0;n()},a.all=function(e,t){function n(n){o=o&&n,++i===e.length&&t(o)}var i=0,o=!0;r(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){this._state===l?e():this._doneCallbacks.push(e)},progress:h,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){t===!1?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},"catch":function(e){return this.getPromise()["catch"](e)},"finally":function(e){return this.getPromise()["finally"](e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;t._state===s&&(t._state=u,t._tick(function(){t._resolve(e)}))},_resolve:function(e){this._state!==l&&(r(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=l)}},a}]},zi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(t.addClass(a.addClass),a.addClass=null),a.removeClass&&(t.removeClass(a.removeClass),a.removeClass=null),a.to&&(t.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=R(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(t.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},Hi=t("$compile"),qi=new dt;ht.$inject=["$provide","$$sanitizeUriProvider"],pt.prototype.isFirstChange=function(){return this.previousValue===qi};var Yi=/^((?:x|data)[\:\-_])/i,Wi=t("$controller"),Bi=/^(\S+)(\s+as\s+([\w$]+))?$/,Gi=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Ir&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Zi="application/json",Qi={"Content-Type":Zi+";charset=utf-8"},Ji=/^\[|^\{(?!\{)/,Xi={"[":/]$/,"{":/}$/},Ki=/^\)\]\}',?\n/,eo=t("$http"),to=function(e){return function(){throw eo("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}},no=qr.$interpolateMinErr=t("$interpolate");no.throwNoconcat=function(e){throw no("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},no.interr=function(e,t){return no("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var ro=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,io={http:80,https:443,ftp:21},oo=t("$location"),ao={$$html5:!1,$$replace:!1,absUrl:Gt("$$absUrl"),url:function(e){if(v(e))return this.$$url;var t=ro.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Gt("$$protocol"),host:Gt("$$host"),port:Gt("$$port"),path:Zt("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(w(e)||x(e))e=e.toString(),this.$$search=K(e);else{if(!y(e))throw oo("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=R(e,{}),r(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Zt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};r([Bt,Wt,Yt],function(e){e.prototype=Object.create(ao),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Yt||!this.$$html5)throw oo("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=v(t)?null:t,this}});var so=t("$parse"),uo=Function.prototype.call,lo=Function.prototype.apply,co=Function.prototype.bind,fo=me();r("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=fo[t],o=fo[n],a=fo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Mr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=ho[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0, +value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var mo=function(e,t){this.lexer=e,this.options=t};mo.Program="Program",mo.ExpressionStatement="ExpressionStatement",mo.AssignmentExpression="AssignmentExpression",mo.ConditionalExpression="ConditionalExpression",mo.LogicalExpression="LogicalExpression",mo.BinaryExpression="BinaryExpression",mo.UnaryExpression="UnaryExpression",mo.CallExpression="CallExpression",mo.MemberExpression="MemberExpression",mo.Identifier="Identifier",mo.Literal="Literal",mo.ArrayExpression="ArrayExpression",mo.Property="Property",mo.ObjectExpression="ObjectExpression",mo.ThisExpression="ThisExpression",mo.LocalsExpression="LocalsExpression",mo.NGValueParameter="NGValueParameter",mo.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,i));var l=o.apply(void 0,s,i);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,i){var u,l=o(e,n,r,i);if(null!=l.value){en(l.context,s.expression),tn(l.value,s.expression);for(var c=[],f=0;f<a.length;++f)c.push(en(a[f](e,n,r,i),s.expression));u=en(l.value.apply(l.context,c),s.expression)}return t?{value:u}:u};case mo.AssignmentExpression:return i=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,r,a){var u=i(e,n,r,a),l=o(e,n,r,a);return en(u.value,s.expression),nn(u.context),u.context[u.name]=l,t?{value:l}:l};case mo.ArrayExpression:return a=[],r(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case mo.ObjectExpression:return a=[],r(e.properties,function(e){a.push({key:e.key.type===mo.Identifier?e.key.name:""+e.key.value,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case mo.ThisExpression:return function(e){return t?{value:e}:e};case mo.LocalsExpression:return function(e,n){return t?{value:n}:n};case mo.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?-a:0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=on(s,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=($(s)?s:0)-($(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var To=m(Mr),Mo=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Mr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;i<b.$parsers.length;i++)if(r=b.$parsers[i](r),v(r)){f=!1;break}x(b.$modelValue)&&isNaN(b.$modelValue)&&(b.$modelValue=m(e));var o=b.$modelValue,a=b.$options&&b.$options.allowInvalid;b.$$rawModelValue=r,a&&(b.$modelValue=r,t()),b.$$runValidators(r,b.$$lastCommittedViewValue,function(e){ +a||(b.$modelValue=e?r:void 0,t())})},this.$$writeModelToScope=function(){g(e,b.$modelValue),r(b.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){b.$viewValue=e,b.$options&&!b.$options.updateOnDefault||b.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=b.$options;i&&$(i.debounce)&&(n=i.debounce,x(n)?r=n:x(n[t])?r=n[t]:x(n["default"])&&(r=n["default"])),s.cancel(y),r?y=s(function(){b.$commitViewValue()},r):u.$$phase?b.$commitViewValue():e.$apply(function(){b.$commitViewValue()})},e.$watch(function(){var t=m(e);if(t!==b.$modelValue&&(b.$modelValue===b.$modelValue||t===t)){b.$modelValue=b.$$rawModelValue=t,f=void 0;for(var n=b.$formatters,r=n.length,i=t;r--;)i=n[r](i);b.$viewValue!==i&&(b.$$updateEmptyClasses(i),b.$viewValue=b.$$lastCommittedViewValue=i,b.$render(),b.$$runValidators(t,i,h))}return t})}],_a=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Sa,priority:1,compile:function(t){return t.addClass(va).addClass(ya).addClass(ma),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],Ea=/(\s+|^)default(\s+|$)/,Da=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=R(e.$eval(t.ngModelOptions)),$(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Gr(this.$options.updateOn.replace(Ea,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},Ta=sr({terminal:!0,priority:1e3}),Ma=t("ngOptions"),Aa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Oa=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Aa);if(!s)throw Ma("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return Je(e)},v=function(e,t){return g(e,k(e,t))},$=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},k=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:v,getWatchables:o(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;i>o;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},T=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(T(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(T(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),T(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Mr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,T,M,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))T=o,D=x||k;else{D=x||C,T=[];for(var I in o)Tr.call(o,I)&&"$"!==I.charAt(0)&&T.push(I)}for(w=T.length,A=new Array(w),f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],E=D(S,_,f),m[E])M=m[E],delete m[E],N[E]=M,A[f]=M;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(M=m[P],O=pe(M.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;M.scope.$destroy()}for(f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],M=A[f],M.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(M)!=$&&i.move(pe(M.clone),null,F),F=c(M),u(M.scope,f,y,_,b,S,w)}else p(function(e,t){M.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,M.clone=e,N[M.id]=M,u(M.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>r?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,u,l,c,f,d,h,p;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),f=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,u=f.length;u>o;o++)n=f[o],n.textContent=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),h=e.previewElement.querySelectorAll("[data-dz-remove]"),p=[],s=0,c=h.length;c>s;s++)i=h[s],p.push(i.addEventListener("click",r));return p}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;i>r;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(this),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;i>r;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;o>i;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=""+t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?l.call(arguments,1):[],o=0,a=n.length;a>o;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)e=i[n],e.status!==t.UPLOADING&&e.status!==t.QUEUED||o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;o>i;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;o>i;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){ +return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){return 0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length?setTimeout(function(){return e.emit("queuecomplete")},0):void 0}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(i){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;a>o;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):""+this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='<div class="dz-fallback">',this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;i>r;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,u;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;u>s;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return"<strong>"+r+"</strong> "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;r>n;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,T,M,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,T=N.length;T>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,M=I.length;M>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&([#\w]+);/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function f(t,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=c({},f.defaults,n||{});var i,s,u=n.highlight,l=0;try{i=e.lex(t,n)}catch(d){return r(d)}s=i.length;var h=function(e){if(e)return n.highlight=u,r(e);var t;try{t=o.parse(i,n)}catch(a){e=a}return n.highlight=u,e?r(e):r(null,t)};if(!u||u.length<3)return h();if(delete n.highlight,!s)return h();for(;l<i.length;l++)!function(e){return"code"!==e.type?--s||h():u(e.text,e.lang,function(t,n){return t?h(t):null==n||n===e.text?--s||h():(e.text=n,e.escaped=!0,void(--s||h()))})}(i[l])}else try{return n&&(n=c({},f.defaults,n)),o.parse(e.lex(t,n),n)}catch(d){if(d.message+="\nPlease report this to https://github.com/chjj/marked.",(n||f.defaults).silent)return"<p>An error occured:</p><pre>"+a(d.message+"",!0)+"</pre>";throw d}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:l,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:l,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=u(d.item,"gm")(/bull/g,d.bullet)(),d.list=u(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=u(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=u(d.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,d._tag)(),d.paragraph=u(d.paragraph)("hr",d.hr)("heading",d.heading)("lheading",d.lheading)("blockquote",d.blockquote)("tag","<"+d._tag)("def",d.def)(),d.normal=c({},d),d.gfm=c({},d.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),d.gfm.paragraph=u(d.paragraph)("(?!","(?!"+d.gfm.fences.source.replace("\\1","\\2")+"|"+d.list.source.replace("\\1","\\3")+"|")(),d.tables=c({},d.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=d,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,a,s,u,l,c,f,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},c=0;c<u.align.length;c++)/^ *-+: *$/.test(u.align[c])?u.align[c]="right":/^ *:-+: *$/.test(u.align[c])?u.align[c]="center":/^ *:-+ *$/.test(u.align[c])?u.align[c]="left":u.align[c]=null;for(c=0;c<u.cells.length;c++)u.cells[c]=u.cells[c].split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,c=0;f>c;c++)u=o[c],l=u.length,u=u.replace(/^ *([*+-]|\d+\.) +/,""),~u.indexOf("\n ")&&(l-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+l+"}","gm"),"")),this.options.smartLists&&c!==f-1&&(s=d.bullet.exec(o[c+1])[0],a===s||a.length>1&&s.length>1||(e=o.slice(c+1).join("\n")+e,c=f-1)),i=r||/\n\n(?!\s*$)/.test(u),c!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c<u.align.length;c++)/^ *-+: *$/.test(u.align[c])?u.align[c]="right":/^ *:-+: *$/.test(u.align[c])?u.align[c]="center":/^ *:-+ *$/.test(u.align[c])?u.align[c]="left":u.align[c]=null;for(c=0;c<u.cells.length;c++)u.cells[c]=u.cells[c].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var h={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};h._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,h._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,h.link=u(h.link)("inside",h._inside)("href",h._href)(),h.reflink=u(h.reflink)("inside",h._inside)(),h.normal=c({},h),h.pedantic=c({},h.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),h.gfm=c({},h.normal,{escape:u(h.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(h.text)("]|","~]|")("|","|https?://|")()}),h.breaks=c({},h.gfm,{br:u(h.br)("{2,}","*")(),text:u(h.gfm.text)("{2,}","*")()}),r.rules=h,r.output=function(e,t,n){var i=new r(t,n);return i.output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=a(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;r>i;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+a(t,!0)+'">'+(n?e:a(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:a(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},i.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},i.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse(); +for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",a="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});a+=this.renderer.tablerow(n)}return this.renderer.table(o,a);case"blockquote_start":for(var a="";"blockquote_end"!==this.next().type;)a+=this.tok();return this.renderer.blockquote(a);case"list_start":for(var a="",s=this.token.ordered;"list_end"!==this.next().type;)a+=this.tok();return this.renderer.list(a,s);case"list_item_start":for(var a="";"list_item_end"!==this.next().type;)a+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(a);case"loose_item_start":for(var a="";"list_item_end"!==this.next().type;)a+=this.tok();return this.renderer.listitem(a);case"html":var u=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(u);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},l.exec=l,f.options=f.setOptions=function(e){return c(f.defaults,e),f},f.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1},f.Parser=o,f.parser=o.parse,f.Renderer=i,f.Lexer=e,f.lexer=e.lex,f.InlineLexer=r,f.inlineLexer=r.output,f.parse=f,"undefined"!=typeof t&&"object"==typeof n?t.exports=f:"function"==typeof define&&define.amd?define(function(){return f}):this.marked=f}).call(function(){return this||("undefined"!=typeof window?window:e)}())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],12:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return ur.apply(null,arguments)}function r(e){ur=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,r){return je(e,t,n,r,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function f(e){return null==e._pf&&(e._pf=c()),e._pf}function d(e){if(null==e._isValid){var t=f(e),n=lr.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function h(e){var t=l(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}function p(e){return void 0===e}function m(e,t){var n,r,i;if(p(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),p(t._i)||(e._i=t._i),p(t._f)||(e._f=t._f),p(t._l)||(e._l=t._l),p(t._strict)||(e._strict=t._strict),p(t._tzm)||(e._tzm=t._tzm),p(t._isUTC)||(e._isUTC=t._isUTC),p(t._offset)||(e._offset=t._offset),p(t._pf)||(e._pf=f(t)),p(t._locale)||(e._locale=t._locale),cr.length>0)for(n in cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function T(e){return e?e.toLowerCase().replace("_","-"):e}function M(e){for(var t,n,r,i,o=0;o<e.length;){for(i=T(e[o]).split("-"),t=i.length,n=T(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return M(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;n<e.length;n++)Ur[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Ur,e)&&Ur[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Qr.test(t)?"format":"standalone"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Qr.test(t)?"format":"standalone"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Me(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Te(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Te(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Me(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(J(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Me(t),d(t)&&(o+=f(t).charsLeftOver,o+=10*f(t).unusedTokens.length,f(t).score=o,(null==r||r>o)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Me(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Ue(){var e=[].slice.call(arguments,0);return Re("isBefore",e)}function Ve(){var e=[].slice.call(arguments,0);return Re("isAfter",e)}function ze(e){var t=R(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=I(),this._bubble()}function He(e){return e instanceof ze}function qe(e,t){Y(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function gt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function vt(e,t){var n,r=v(e)?e:Le(e);return this.isValid()&&r.isValid()?(t=L(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function $t(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function yt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function bt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t),"year"===t||"month"===t||"quarter"===t?(a=wt(this,r),"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:$(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return 0>t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?C(Date.prototype.toISOString)?this.toDate().toISOString():G(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):G(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Ct(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=G(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(v(e)&&e.isValid()||Le(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _t(e){return this.from(Le(),e)}function Et(e,t){return this.isValid()&&(v(e)&&e.isValid()||Le(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dt(e){return this.to(Le(),e)}function Tt(e){var t;return void 0===e?this._locale._abbr:(t=I(e),null!=t&&(this._locale=t),this)}function Mt(){return this._locale}function At(e){switch(e=L(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Ot(e){return e=L(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Nt(){return Math.floor(this.valueOf()/1e3)}function It(){return this._offset?new Date(this.valueOf()):this._d}function Pt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function jt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Lt(){return this.isValid()?this.toISOString():null}function Rt(){return d(this)}function Ut(){return u({},f(this))}function Vt(){return f(this).overflow}function zt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ht(e,t){Y(0,[e,e.length],0,t)}function qt(e){return Gt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Yt(e){return Gt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Bt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Gt(e,t,n,r,i){var o;return null==e?Ce(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Tn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), +this._longDateFormat[e])}function Mn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i<ro.s&&["s",i]||1>=o&&["m"]||o<ro.m&&["mm",o]||1>=a&&["h"]||a<ro.h&&["hh",a]||1>=s&&["d"]||s<ro.d&&["dd",s]||1>=u&&["M"]||u<ro.M&&["MM",u]||1>=l&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Tr=/\d\d\d\d\d\d?/,Mr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),j("month","M"),Q("M",Er),Q("MM",Er,kr),Q("MMM",function(e,t){return t.monthsShortRegex(e)}),Q("MMMM",function(e,t){return t.monthsRegex(e)}),ee(["M","MM"],function(e,t){t[zr]=y(e)-1}),ee(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[zr]=i:f(n).invalidMonth=e});var Qr=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Jr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Kr=Lr,ei=Lr,ti=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ri=/Z|[+-]\d\d(?::?\d\d)?/,ii=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],oi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ai=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=x("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),Y("Y",0,0,function(){var e=this.year();return 9999>=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Mr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Tr),Q("Hmm",Dr),Q("Hmmss",Tr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Mr,xr),Q("SS",Mr,kr),Q("SSS",Mr,Cr);var Ti;for(Ti="SSSS";Ti.length<=9;Ti+="S")Q(Ti,Fr);for(Ti="S";Ti.length<=9;Ti+="S")ee(Ti,kn);var Mi=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Tt,Ai.localeData=Mt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Mi,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Tn,Ri._invalidDate=Ii,Ri.invalidDate=Mn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Tt,oo.localeData=Mt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},T=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},M=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:T(u,["userAgent","platform","appName"]),flash:M(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Me(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Te(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); +var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='<object id="'+X.swfObjectId+'" name="'+X.swfObjectId+'" width="100%" height="100%" '+(f?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+u+'"')+">"+(f?'<param name="movie" value="'+u+'"/>':"")+'<param name="allowScriptAccess" value="'+r+'"/><param name="allowNetworking" value="'+i+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+o+'"/><div id="'+X.swfObjectId+'_fallbackContent"> </div></object>',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Te=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Me=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;t<e.length;t++)if(k.call(e,t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===Xe[e[t].zcClippingId].indexOf(this.id)&&Xe[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+Je++,Xe[e[t].zcClippingId]=[this.id],X.autoActivate===!0&&dt(e[t]));var n=Qe[this.id]&&Qe[this.id].elements;-1===n.indexOf(e[t])&&n.push(e[t])}return this},at=function(e){var t=Qe[this.id];if(!t)return this;var n,r=t.elements;e="undefined"==typeof e?r.slice(0):ft(e);for(var i=e.length;i--;)if(k.call(e,i)&&e[i]&&1===e[i].nodeType){for(n=0;-1!==(n=r.indexOf(e[i],n));)r.splice(n,1);var o=Xe[e[i].zcClippingId];if(o){for(n=0;-1!==(n=o.indexOf(this.id,n));)o.splice(n,1);0===o.length&&(X.autoActivate===!0&&ht(e[i]),delete e[i].zcClippingId)}}return this},st=function(){var e=Qe[this.id];return e&&e.elements?e.elements.slice(0):[]},ut=function(){Qe[this.id]&&(this.unclip(),this.off(),delete Qe[this.id])},lt=function(e){if(!e||!e.type)return!1;if(e.client&&e.client!==this)return!1;var t=Qe[this.id],n=t&&t.elements,r=!!n&&n.length>0,i=!e.target||r&&-1!==n.indexOf(e.target),o=e.relatedTarget&&r&&-1!==n.indexOf(e.relatedTarget),a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='<div class="dropzone-container">\n <div class="dz-message">Drop files or click here to upload</div>\n</div>'},{}],15:[function(e,t,n){t.exports='\n<div class="image-picker">\n <div>\n <img ng-if="image && image !== \'none\'" ng-src="{{image}}" ng-class="{{imageClass}}" alt="Image Preview">\n <img ng-if="image === \'\' && defaultImage" ng-src="{{defaultImage}}" ng-class="{{imageClass}}" alt="Image Preview">\n </div>\n <button class="button" type="button" ng-click="showImageManager()">Select Image</button>\n <br>\n\n <button class="text-button" ng-click="reset()" type="button">Reset</button>\n <span ng-show="showRemove" class="sep">|</span>\n <button ng-show="showRemove" class="text-button neg" ng-click="remove()" type="button">Remove</button>\n\n <input type="hidden" ng-attr-name="{{name}}" ng-attr-id="{{name}}" ng-attr-value="{{value}}">\n</div>'},{}],16:[function(e,t,n){t.exports='<div class="toggle-switch" ng-click="switch()" ng-class="{\'active\': isActive}">\n <input type="hidden" ng-attr-name="{{name}}" ng-attr-value="{{value}}"/>\n <div class="switch-handle"></div>\n</div>'},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.$on("editor-keydown",function(e,t){83==t.keyCode&&(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)&&(t.preventDefault(),c())}),t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t<e.tags.length;t++)e.tags[t].order=t}var s=Number(r.pageId);e.tags=[],e.sortOptions={handle:".handle",items:"> tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){u=i[0].scrollHeight,l=i.height(),c=o[0].scrollHeight,f=o.height()}var i=t.find("textarea[markdown-input]"),o=t.find(".markdown-display").first(),a=t.find('button[data-action="insertImage"]'),s=0;i.blur(function(e){s=i[0].selectionStart});var u=void 0,l=void 0,c=void 0,f=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var d=800,h=0;i.on("scroll",function(e){var t=Date.now();t-h>d&&r();var n=i.scrollTop()/(u-l),a=(c-f)*n;o.scrollTop(a),h=t}),i.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=i[0].selectionStart,r=i.val(),o="";return i.val(r.substring(0,n)+o+r.substring(n)),i.focus(),i[0].selectionStart=n+"}e.$emit("editor-keydown",t)}),a.click(function(e){window.ImageManager.showExternal(function(e){var t=s,n=i.val(),r="";i.val(n.substring(0,t)+r+n.substring(t)),i.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n<t.length;n++){var r=document.createElement("li");r.textContent=t[n],r.onclick=a,0===n&&(r.className="active",h=0),c[0].appendChild(r)}m=t}function a(e){var t=this.textContent;d[0].value=t,d.focus(),c.hide(),f=!1}function s(t,n){var r=-1!==n.indexOf("?"),i=n+(r?"&":"?")+"search="+encodeURIComponent(t);return"undefined"!=typeof u[i]?new Promise(function(e,t){e(u[i])}):e.get(i).then(function(e){return u[i]=e.data,e.data})}var u={},l=document.createElement("ul");l.className="suggestion-box",l.style.position="absolute",l.style.display="none";var c=$(l),f=!1,d=!1,h=0;n.on("input focus","[autosuggest]",function(e){var t=$(this),n=t.val(),r=t.attr("autosuggest"),i=t.attr("autosuggest-type");if("value"===i.toLowerCase()){var a=t.closest("tr").find('[autosuggest-type="name"]').first(),u=a.val();""!==u&&(r+="?name="+encodeURIComponent(u))}var l=s(n.slice(0,3),r);l.then(function(e){0===n.length?o(t,e.slice(0,6)):(e=e.filter(function(e){return-1!==e.toLowerCase().indexOf(n.toLowerCase())}).slice(0,4),o(t,e))})});var p=0;n.on("blur","[autosuggest]",function(e){var t=Date.now();setTimeout(function(){t>p&&(c.hide(),f=!1)},200)}),n.on("focus","[autosuggest]",function(e){p=Date.now()}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if((13===e.keyCode||9===e.keyCode)&&!e.shiftKey){var o=t[h].textContent;if(d[0].value=o,d.focus(),c.hide(),f=!1,13===e.keyCode)return e.preventDefault(),!1}}});var m=[]}}}]),e.directive("entitySelector",["$http","$sce",function(e,t){return{restrict:"A",scope:!0,link:function(n,r,i){function o(e){var t=e.attr("data-entity-type"),n=e.attr("data-entity-id"),i=!e.hasClass("selected");r.find(".selected").removeClass("selected").removeClass("primary-background"),i&&e.addClass("selected").addClass("primary-background");var o=i?t+":"+n:"";s.val(o)}function a(){var e=i.entityTypes?encodeURIComponent(i.entityTypes):encodeURIComponent("page,book,chapter");return"/ajax/search/entities?types="+e}n.loading=!0,n.entityResults=!1,n.search="";var s=r.find("[entity-selector-input]").first();r.on("click",".entity-list a",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).closest("[data-entity-type]");o(t)}),r.on("click","[data-entity-type]",function(e){o($(this))}),e.get(a()).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1}),n.searchEntities=function(){n.loading=!0,s.val("");var r=a()+"&term="+encodeURIComponent(n.search);e.get(r).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1})}}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r<n.length;r++){var i=n[r];i(t)}return this},listen:function(e,t){return"undefined"==typeof this.listeners[e]&&(this.listeners[e]=[]),this.listeners[e].push(t),this}};window.Events=o;e("./services")(i,o),e("./directives")(i,o),e("./controllers")(i,o);jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){var e=$(".notification"),t=e.filter(".pos"),n=e.filter(".neg"),r=e.filter(".warning");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),window.Events.listen("warning",function(e){r.find("span").text(e),r.show()}),window.Events.listen("error",function(e){n.find("span").text(e),n.show()}),e.click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)}),$("#back-to-top").click(function(){$("#header").smoothScrollTo()});var i=!1,o=document.getElementById("back-to-top"),a=1200;window.addEventListener("scroll",function(){!i&&document.body.scrollTop>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&document.body.scrollTop<a&&(o.style.opacity=0,i=!1,setTimeout(function(){o.style.display="none"},500))}),$('[data-action="expand-entity-list-details"]').click(function(){$(".entity-list.compact").find("p").not(".empty-text").slideToggle(240)})}),e("./pages/page-show")},{"./controllers":17, +"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";var r=t.exports={selector:"#html-editor",content_css:["/css/styles.css","/libs/material-design-iconic-font/css/material-design-iconic-font.min.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code customhr autosave lists",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p",exact:!0,classes:""},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"},{title:"Callouts",items:[{title:"Success",block:"p",exact:!0,attributes:{"class":"callout success"}},{title:"Info",block:"p",exact:!0,attributes:{"class":"callout info"}},{title:"Warning",block:"p",exact:!0,attributes:{"class":"callout warning"}},{title:"Danger",block:"p",exact:!0,attributes:{"class":"callout danger"}}]}],style_formats_merge:!1,formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){window.ImageManager.showExternal(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange");var i='<a href="'+t.url+'" target="_blank">';i+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',i+="</a>",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('<img src="file://')&&(t.content="")},extraSetups:[],setup:function(e){for(var t=0;t<r.extraSetups.length;t++)r.extraSetups[t](e);!function(){function t(e){return e&&!(!e.textContent&&!e.innerText)}var n;e.on("dragstart",function(){var r=e.selection.getNode();"IMG"===r.nodeName&&(n=e.dom.getParent(r,".mceTemp"),n||"A"!==r.parentNode.nodeName||t(r.parentNode)||(n=r.parentNode))}),e.on("drop",function(t){var r=e.dom,i=tinymce.dom.RangeUtils.getCaretRangeFromPoint(t.clientX,t.clientY,e.getDoc());r.getParent(i.startContainer,".mceTemp")?t.preventDefault():n&&(t.preventDefault(),e.undoManager.transact(function(){e.selection.setRng(i),e.selection.setNode(n),r.remove(n)})),n=null})}(),e.addButton("image-insert",{title:"My title",icon:"image",tooltip:"Insert an image",onclick:function(){window.ImageManager.showExternal(function(t){var n='<a href="'+t.url+'" target="_blank">';n+='<img src="'+t.thumbs.display+'" alt="'+t.name+'">',n+="</a>",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){if(t.clipboardData){var n=t.clipboardData.items;if(n)for(var r=0;r<n.length;r++)if(-1!==n[r].type.indexOf("image")){var i=n[r].getAsFile(),o=new FormData,a="png",s=new XMLHttpRequest;if(i.name){var u=i.name.match(/\.(.+)$/);u&&(a=u[1])}var l="image-"+Math.random().toString(16).slice(2);e.execCommand("mceInsertContent",!1,'<img src="/loading.gif" id="'+l+'">');var c="image-"+Date.now()+"."+a;o.append("file",i,c),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),s.open("POST","/images/gallery/upload"),s.onload=function(){if(200===s.status||201===s.status){var t=JSON.parse(s.responseText);e.dom.setAttrib(l,"src",t.url)}else console.log("An error occured uploading the image"),console.log(s.responseText),e.dom.remove(l)},s.send(o)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;0>o&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file