From b1faf65934f5159b095d22db1fab829fc71cdcf7 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 9 Apr 2016 15:49:02 +0100 Subject: [PATCH] Updated assets for release 0.9.0 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 20 +++++++++++--------- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index fb9c309c7..1cec07867 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=93b1377", - "css/print-styles.css": "css/print-styles.css?version=93b1377", - "js/common.js": "js/common.js?version=93b1377" + "css/styles.css": "css/styles.css?version=b7e7aa9", + "css/print-styles.css": "css/print-styles.css?version=b7e7aa9", + "js/common.js": "js/common.js?version=b7e7aa9" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index d679f20a0..8f1153cc1 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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.clearfix:after,.container-fluid:after,.container:after,.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,.row:after,.title-input .page-content input[type=text]{clear:both}*{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}.block,.search-box,.toggle-switch,.toggle-switch:after,form.search-box{position:relative}.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}.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}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-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}.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}.pointer:before,.toggle-switch:after{content:''}.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%}.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}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;user-select:none}.toggle-switch:after{display:block;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 .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%}.search-box{max-width:100%}.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%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}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}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}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;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,.setting-nav{text-align:center}.setting-nav a{padding:16px;display:inline-block;color:#666}.setting-nav 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}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);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}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}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 h3{margin: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:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-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 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:6px 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;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;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}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)} \ 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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.clearfix:after,.container-fluid:after,.container:after,.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 hr,.row:after,.title-input .page-content input[type=text]{clear:both}*{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}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-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:''}.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%;-webkit-flex:1;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-flex:1;-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-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;-webkit-flex:none;-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;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 .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%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}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.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;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);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}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}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 h3{margin: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:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-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 hr{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:6px 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;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;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}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index ff8092620..0db4c869a 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}.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}.dz-message,.italic,em,i{font-style:italic}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;src:url(/fonts/roboto-bold-webfont.eot);src:url(/fonts/roboto-bold-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bold-webfont.woff2) format("woff2"),url(/fonts/roboto-bold-webfont.woff) format("woff"),url(/fonts/roboto-bold-webfont.ttf) format("truetype"),url(/fonts/roboto-bold-webfont.svg#robotobold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-bolditalic-webfont.eot);src:url(/fonts/roboto-bolditalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bolditalic-webfont.woff2) format("woff2"),url(/fonts/roboto-bolditalic-webfont.woff) format("woff"),url(/fonts/roboto-bolditalic-webfont.ttf) format("truetype"),url(/fonts/roboto-bolditalic-webfont.svg#robotobold_italic) format("svg");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-italic-webfont.eot);src:url(/fonts/roboto-italic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-italic-webfont.woff2) format("woff2"),url(/fonts/roboto-italic-webfont.woff) format("woff"),url(/fonts/roboto-italic-webfont.ttf) format("truetype"),url(/fonts/roboto-italic-webfont.svg#robotoitalic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-light-webfont.eot);src:url(/fonts/roboto-light-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-light-webfont.woff2) format("woff2"),url(/fonts/roboto-light-webfont.woff) format("woff"),url(/fonts/roboto-light-webfont.ttf) format("truetype"),url(/fonts/roboto-light-webfont.svg#robotolight) format("svg");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-lightitalic-webfont.eot);src:url(/fonts/roboto-lightitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-lightitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-lightitalic-webfont.woff) format("woff"),url(/fonts/roboto-lightitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-lightitalic-webfont.svg#robotolight_italic) format("svg");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-medium-webfont.eot);src:url(/fonts/roboto-medium-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-medium-webfont.woff2) format("woff2"),url(/fonts/roboto-medium-webfont.woff) format("woff"),url(/fonts/roboto-medium-webfont.ttf) format("truetype"),url(/fonts/roboto-medium-webfont.svg#robotomedium) format("svg");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-mediumitalic-webfont.eot);src:url(/fonts/roboto-mediumitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-mediumitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-mediumitalic-webfont.woff) format("woff"),url(/fonts/roboto-mediumitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-mediumitalic-webfont.svg#robotomedium_italic) format("svg");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-regular-webfont.eot);src:url(/fonts/roboto-regular-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-regular-webfont.woff2) format("woff2"),url(/fonts/roboto-regular-webfont.woff) format("woff"),url(/fonts/roboto-regular-webfont.ttf) format("truetype"),url(/fonts/roboto-regular-webfont.svg#robotoregular) format("svg");font-weight:400;font-style:normal}*{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,.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}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;white-space:pre;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;white-space:pre;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}.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}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-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,.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.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%}.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}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 .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%}.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%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}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}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}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}.anim.fadeIn{opacity:0;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:160ms;animation-duration:160ms;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.menuIn,.anim.searchResult{-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:searchResult;animation-name:searchResult;-webkit-animation-duration:220ms;animation-duration:220ms;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.anim.notification{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:notification;animation-name:notification;-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.anim.notification.stopped{-webkit-animation-name:notificationStopped;animation-name:notificationStopped}@-webkit-keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.anim.menuIn{-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-animation-name:menuIn;animation-name:menuIn;-webkit-animation-duration:120ms;animation-duration:120ms;-webkit-animation-delay:0s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@-webkit-keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}@keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-animation-name:pointer;animation-name:pointer;-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.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}.mce-container-body.mce-flow-layout{text-align:center}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-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{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-flex:1;-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:-webkit-flex;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{-webkit-transform:scale3d(.92,.92,.92);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;-webkit-flex:1;-ms-flex:1;flex:1;border-top:1px solid #ddd}.image-manager-content{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-flex:1;-ms-flex:1;flex:1}.dz-message{font-size:1.4em;color:#aaa;text-align:center;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@-webkit-keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}.dropzone,.dropzone *{box-sizing:border-box}.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;text-align:center;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;text-align:center;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{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,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{-webkit-animation:pulse 6s ease infinite;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);-webkit-transform:scale(1);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,.setting-nav{text-align:center}.setting-nav a{padding:16px;display:inline-block;color:#666}.setting-nav 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}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);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}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}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 h3{margin: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:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-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:both}.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:6px 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;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;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}.avatar,.notification{background-color:#EEE}.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}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important}.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;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation-name:loadingBob;animation-name:loadingBob;-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;-webkit-animation-delay:.3s;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;-webkit-animation-delay:0s;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;-webkit-animation-delay:.6s;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} \ No newline at end of file +code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}#markdown-editor textarea:focus,.contained-search-box input:active,.contained-search-box input:focus,.text-button:active,.text-button:focus,form.search-box input{outline:0}.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;src:url(/fonts/roboto-bold-webfont.eot);src:url(/fonts/roboto-bold-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bold-webfont.woff2) format("woff2"),url(/fonts/roboto-bold-webfont.woff) format("woff"),url(/fonts/roboto-bold-webfont.ttf) format("truetype"),url(/fonts/roboto-bold-webfont.svg#robotobold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-bolditalic-webfont.eot);src:url(/fonts/roboto-bolditalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bolditalic-webfont.woff2) format("woff2"),url(/fonts/roboto-bolditalic-webfont.woff) format("woff"),url(/fonts/roboto-bolditalic-webfont.ttf) format("truetype"),url(/fonts/roboto-bolditalic-webfont.svg#robotobold_italic) format("svg");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-italic-webfont.eot);src:url(/fonts/roboto-italic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-italic-webfont.woff2) format("woff2"),url(/fonts/roboto-italic-webfont.woff) format("woff"),url(/fonts/roboto-italic-webfont.ttf) format("truetype"),url(/fonts/roboto-italic-webfont.svg#robotoitalic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-light-webfont.eot);src:url(/fonts/roboto-light-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-light-webfont.woff2) format("woff2"),url(/fonts/roboto-light-webfont.woff) format("woff"),url(/fonts/roboto-light-webfont.ttf) format("truetype"),url(/fonts/roboto-light-webfont.svg#robotolight) format("svg");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-lightitalic-webfont.eot);src:url(/fonts/roboto-lightitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-lightitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-lightitalic-webfont.woff) format("woff"),url(/fonts/roboto-lightitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-lightitalic-webfont.svg#robotolight_italic) format("svg");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-medium-webfont.eot);src:url(/fonts/roboto-medium-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-medium-webfont.woff2) format("woff2"),url(/fonts/roboto-medium-webfont.woff) format("woff"),url(/fonts/roboto-medium-webfont.ttf) format("truetype"),url(/fonts/roboto-medium-webfont.svg#robotomedium) format("svg");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-mediumitalic-webfont.eot);src:url(/fonts/roboto-mediumitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-mediumitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-mediumitalic-webfont.woff) format("woff"),url(/fonts/roboto-mediumitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-mediumitalic-webfont.svg#robotomedium_italic) format("svg");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-regular-webfont.eot);src:url(/fonts/roboto-regular-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-regular-webfont.woff2) format("woff2"),url(/fonts/roboto-regular-webfont.woff) format("woff"),url(/fonts/roboto-regular-webfont.ttf) format("truetype"),url(/fonts/roboto-regular-webfont.svg#robotoregular) format("svg");font-weight:400;font-style:normal}@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}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-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.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%;-webkit-flex:1;-ms-flex:1;flex:1;border:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-flex:1;-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-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;-webkit-flex:none;-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 .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%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}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.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;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:160ms;animation-duration:160ms;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.menuIn,.anim.searchResult{-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:searchResult;animation-name:searchResult;-webkit-animation-duration:220ms;animation-duration:220ms;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.anim.notification{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:notification;animation-name:notification;-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.anim.notification.stopped{-webkit-animation-name:notificationStopped;animation-name:notificationStopped}@-webkit-keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.anim.menuIn{-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-animation-name:menuIn;animation-name:menuIn;-webkit-animation-duration:120ms;animation-duration:120ms;-webkit-animation-delay:0s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@-webkit-keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}@keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-animation-name:pointer;animation-name:pointer;-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.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%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-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{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-flex:1;-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:-webkit-flex;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{-webkit-transform:scale3d(.92,.92,.92);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;-webkit-flex:1;-ms-flex:1;flex:1}.image-manager-content{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-flex:1;-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}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@-webkit-keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);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{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,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{-webkit-animation:pulse 6s ease infinite;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);-webkit-transform:scale(1);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}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}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);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}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}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 h3{margin: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:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-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:both}.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:6px 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;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;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}.avatar,.notification{background-color:#EEE}.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}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important}.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;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation-name:loadingBob;animation-name:loadingBob;-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;-webkit-animation-delay:.3s;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;-webkit-animation-delay:0s;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;-webkit-animation-delay:.6s;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:-webkit-flex;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{-webkit-flex:5;-ms-flex:5;flex:5}.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 diff --git a/public/js/common.js b/public/js/common.js index a105a90f4..5bf8a71ee 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,9 +1,11 @@ -!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;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function s(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function u(e){if(e instanceof V)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return V(l(e))}return e.nodeType===Z?V(e):void 0}function l(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return U(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 O(e){return 0===e||null!=e}function F(e,t){var n=I,r=e+"s";return t?n+=oe:r+=" linear all",[n,r]}function M(){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 N(e,t,n){U(n,function(n){e[n]=G(e[n])?e[n]:t.style.getPropertyValue(n)})}var I,j,P,_,L=t.noop,R=t.copy,z=t.extend,V=t.element,U=t.forEach,q=t.isArray,H=t.isString,B=t.isObject,W=t.isUndefined,G=t.isDefined,Q=t.isFunction,Y=t.isElement,Z=1,X="-add",J="-remove",K="ng-",ee="-active",te="-prepare",ne="ng-animate",re="$$ngAnimateChildren",ie="";W(e.ontransitionend)&&G(e.onwebkittransitionend)?(ie="-webkit-",I="WebkitTransition",j="webkitTransitionEnd transitionend"):(I="transition",j="transitionend"),W(e.onanimationend)&&G(e.onwebkitanimationend)?(ie="-webkit-",P="WebkitAnimation",_="webkitAnimationEnd animationend"):(P="animation",_="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=P+se,de=P+oe,he=I+se,me=I+oe,ve=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;o0&&(l=n.get(s),!l)){var c=a(o,"-stagger");r.addClass(i,c),l=T(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 k(e){V.push(e),f.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Y=!0,p())}function V(){function t(){if(!G){if(b(!1),U(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),M(e,H),r.addClass(e,ke),Re.recalculateTimingStyles){if(Ce=W.className+" "+$e,Te=$(W,Ce),_e=D(W,Ce,Te),Le=_e.maxDelay,ne=Math.max(Le,0),ie=_e.maxDuration,0===ie)return void p();Re.hasTransitions=_e.transitionDuration>0,Re.hasAnimations=_e.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof H.delay&&O(H.delay)?parseFloat(H.delay):Le,ne=Math.max(Le,0),_e.animationDelay=Le,ze=A(Le,!0),le.push(ze),W.style[ze[0]]=ze[1]),re=ne*be,oe=ie*be,H.easing){var t,i=H.easing;Re.hasTransitions&&(t=I+ue,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=P+ue,le.push([t,i]),W.style[t]=i)}_e.transitionDuration&&de.push(j),_e.animationDuration&&de.push(_),se=Date.now();var o=re+xe*oe,a=se+o,s=e.data(ye)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(p)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(p),e.data(ye,s)}de.length&&e.on(de.join(" "),z),H.to&&(H.cleanupStyles&&N(B,W,Object.keys(H.to)),v(e,H))}}function n(){var t=e.data(ye);if(t){for(var n=1;n0&&(_e.transitionDuration&&0===De.transitionDuration||_e.animationDuration&&0===De.animationDuration)&&Math.max(De.animationDelay,De.transitionDelay);o?u(t,Math.floor(o*je*be),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var H=n||{};H.$$prepared||(H=d(R(H)));var B={},W=y(e);if(!W||!W.parentNode||!g.enabled())return T();var G,Q,Y,Z,te,ne,re,ie,oe,se,le=[],ce=e.attr("class"),pe=o(H),de=[];if(0===H.duration||!c.animations&&!c.transitions)return T();var he=H.event&&q(H.event)?H.event.join(" "):H.event,me=he&&H.structural,ve="",ge="";me?ve=a(he,K,!0):he&&(ve=he),H.addClass&&(ge+=a(H.addClass,X)),H.removeClass&&(ge.length&&(ge+=" "),ge+=a(H.removeClass,J)),H.applyClassesEarly&&ge.length&&M(e,H);var $e=[ve,ge].join(" ").trim(),Ce=ce+" "+$e,ke=a($e,ee),Se=pe.to&&Object.keys(pe.to).length>0,Ae=(H.keyframeStyle||"").length>0;if(!Ae&&!Se&&!$e)return T();var Te,De;if(H.stagger>0){var Oe=parseFloat(H.stagger);De={transitionDelay:Oe,animationDelay:Oe,transitionDuration:0,animationDuration:0}}else Te=$(W,Ce),De=w(W,$e,Te,Ee);H.$$skipPreparationClasses||r.addClass(e,$e);var Fe;if(H.transitionStyle){var Me=[I,H.transitionStyle];E(W,Me),le.push(Me)}if(H.duration>=0){Fe=W.style[I].length>0;var Ne=F(H.duration,Fe);E(W,Ne),le.push(Ne)}if(H.keyframeStyle){var Ie=[P,H.keyframeStyle];E(W,Ie),le.push(Ie)}var je=De?H.staggerIndex>=0?H.staggerIndex:t.count(Te):0,Pe=0===je;Pe&&!H.skipBlocking&&x(W,fe);var _e=D(W,Ce,Te),Le=_e.maxDelay;ne=Math.max(Le,0),ie=_e.maxDuration;var Re={};if(Re.hasTransitions=_e.transitionDuration>0,Re.hasAnimations=_e.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==_e.transitionProperty,Re.applyTransitionDuration=Se&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=H.duration&&Re.hasAnimations,Re.applyTransitionDelay=O(H.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=O(H.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ge.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=H.duration?parseFloat(H.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,_e.transitionDuration=ie,Fe=W.style[I+ae].length>0,le.push(F(ie,Fe))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,_e.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return T();if(null!=H.delay){var ze;"boolean"!=typeof H.delay&&(ze=parseFloat(H.delay),ne=Math.max(ze,0)),Re.applyTransitionDelay&&le.push(A(ze)),Re.applyAnimationDelay&&le.push(A(ze,!0))}return null==H.duration&&_e.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*be,oe=ie*be,H.skipBlocking||(Re.blockTransition=_e.transitionDuration>0,Re.blockKeyframeAnimation=_e.animationDuration>0&&De.animationDelay>0&&0===De.animationDuration),H.from&&(H.cleanupStyles&&N(B,W,Object.keys(H.from)),m(e,H)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):H.skipBlocking||x(W,!1),{$$willAnimate:!0,end:l,start:function(){return G?void 0:(te={end:l,cancel:f,resume:null,pause:null},Z=new i(te),k(V),Z)}}}}]}],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,f){function d(e){return e.replace(/\bng-\S+\b/g,"")}function h(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=y(e).getBoundingClientRect();return U(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=$.scrollTop;break;case"left":r+=$.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(v,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function p(){var t=d(f(u)),n=h(t,g),r=h(g,t),a=e(v,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){v.remove(),a.removeClass(n),u.removeClass(n)}var v=V(y(a).cloneNode(!0)),g=d(f(v));a.addClass(n),u.addClass(n),v.addClass(r),w.append(v);var b,x=c();if(!x&&(b=p(),!b))return m();var C=x||b;return{start:function(){function e(){n&&n.end()}var t,n=C.start();return n.done(function(){return n=null,!b&&(b=p())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function v(e,t,n,r){var i=g(e,L),o=g(t,L),a=[];return U(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(){U(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),U(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 g(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=k(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return L;var $=f[0].body,b=y(u),w=V(t(b)||$.contains(b)?b:$);p(c);return function(e){return e.from&&e.to?v(e.from,e.to,e.classes,e.anchors):g(e)}}]}],Ae=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=q(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var a=1,s=2,c=" ",f=this.rules={skip:[],cancel:[],join:[]};f.join.push(function(e,t,n){return!t.structural&&o(t)}),f.skip.push(function(e,t,n){return!t.structural&&!o(t)}),f.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),f.skip.push(function(e,t,n){return n.structural&&n.state===s&&!t.structural}),f.cancel.push(function(e,t,n){return n.structural&&t.structural}),f.cancel.push(function(e,t,n){return n.state===s&&t.structural}),f.cancel.push(function(e,t,r){var i=t.addClass,o=t.removeClass,a=r.addClass,s=r.removeClass;return W(i)&&W(o)||W(a)&&W(s)?!1:n(i,s)||n(o,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(t,n,c,f,m,v,$,x,C,E){function k(){var e=!1;return function(t){e?t():n.$$postDigest(function(){e=!0,t()})}}function S(e,t){return g(e,t,{})}function A(e,t,n){var r=y(t),i=y(e),o=[],a=L[n];return a&&U(a,function(e){K.call(e.node,r)?o.push(e.callback):"leave"===n&&K.call(e.node,i)&&o.push(e.callback)}),o}function T(e,r,l){function c(n,r,i,o){T(function(){var n=A(x,e,r);n.length&&t(function(){U(n,function(t){t(e,i,o)})})}),n.progress(r,i,o)}function p(t){w(e,C),J(e,C),h(e,C),C.domOperation(),E.complete(!t)}var m,x,C=R(l);e=u(e),e&&(m=y(e),x=e.parent()),C=d(C);var E=new $,T=k();if(q(C.addClass)&&(C.addClass=C.addClass.join(" ")),C.addClass&&!H(C.addClass)&&(C.addClass=null),q(C.removeClass)&&(C.removeClass=C.removeClass.join(" ")),C.removeClass&&!H(C.removeClass)&&(C.removeClass=null),C.from&&!B(C.from)&&(C.from=null),C.to&&!B(C.to)&&(C.to=null),!m)return p(),E;var F=[m.className,C.addClass,C.removeClass].join(" ");if(!X(F))return p(),E;var _=["enter","move","leave"].indexOf(r)>=0,L=!P||f[0].hidden||j.get(m),z=!L&&I.get(m)||{},V=!!z.state;if(L||V&&z.state==a||(L=!M(e,x,r)),L)return p(),E;_&&D(e);var W={structural:_,element:e,event:r,addClass:C.addClass,removeClass:C.removeClass,close:p,options:C,runner:E};if(V){var G=i("skip",e,W,z);if(G)return z.state===s?(p(),E):(g(e,z,W),z.runner);var Q=i("cancel",e,W,z);if(Q)if(z.state===s)z.runner.end();else{if(!z.structural)return g(e,z,W),z.runner;z.close()}else{var Y=i("join",e,W,z);if(Y){if(z.state!==s)return b(e,_?r:null,C),r=W.event=z.event,C=g(e,z,W),z.runner;S(e,W)}}}else S(e,W);var Z=W.structural;if(Z||(Z="animate"===W.event&&Object.keys(W.options.to||{}).length>0||o(W)),!Z)return p(),O(e),E;var K=(z.counter||0)+1;return W.counter=K,N(e,a,W),n.$$postDigest(function(){var t=I.get(m),n=!t;t=t||{};var i=e.parent()||[],a=i.length>0&&("animate"===t.event||t.structural||o(t));if(n||t.counter!==K||!a)return n&&(J(e,C),h(e,C)),(n||_&&t.event!==r)&&(C.domOperation(),E.end()),void(a||O(e));r=!t.structural&&o(t,!0)?"setClass":t.event,N(e,s);var u=v(e,r,t.options);u.done(function(t){p(!t);var n=I.get(m);n&&n.counter===K&&O(y(e)),c(E,r,"close",{})}),E.setHost(u),c(E,r,"start",{})}),E}function D(e){var t=y(e),n=t.querySelectorAll("["+De+"]");U(n,function(e){var t=parseInt(e.getAttribute(De)),n=I.get(e);if(n)switch(t){case s:n.runner.end();case a:I.remove(e)}})}function O(e){var t=y(e);t.removeAttribute(De),I.remove(t)}function F(e,t){return y(e)===y(t)}function M(e,t,n){var r,i=V(f[0].body),o=F(e,i)||"HTML"===e[0].nodeName,a=F(e,c),s=!1,u=j.get(y(e)),l=e.data(Oe);for(l&&(t=l);t&&t.length;){a||(a=F(t,c));var p=t[0];if(p.nodeType!==Z)break;var d=I.get(p)||{};if(!s){var h=j.get(p);if(h===!0&&u!==!1){u=!0;break}h===!1&&(u=!1),s=d.structural}if(W(r)||r===!0){var m=t.data(re);G(m)&&(r=m)}if(s&&r===!1)break;if(o||(o=F(t,i)),o&&a)break;t=a||!(l=t.data(Oe))?t.parent():l}var v=(!s||r)&&u!==!0;return v&&a&&o}function N(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(De,t);var i=I.get(r),o=i?z(i,n):n;I.put(r,o)}var I=new m,j=new m,P=null,_=n.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(_(),n.$$postDigest(function(){n.$$postDigest(function(){null===P&&(P=!0)})}))}),L={},Q=e.classNameFilter(),X=Q?function(e){return Q.test(e)}:function(){return!0},J=p(C),K=Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))};return{on:function(e,t,n){var r=l(t);L[e]=L[e]||[],L[e].push({node:r,callback:n})},off:function(e,t,n){function r(e,t,n){var r=l(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}var i=L[e];i&&(L[e]=1===arguments.length?null:r(i,t,n))},pin:function(e,t){r(Y(e),"element","not an element"),r(Y(t),"parentElement","not an element"),e.data(Oe,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,T(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!P;else{var r=Y(e);if(r){var i=y(e),o=j.get(i);1===n?t=!o:j.put(i,!t)}else t=P=!!e}return t}}}]}],Me=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function r(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,f){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=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=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";U(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:V(e)}})}else t.push(e)});var r={},i={};return U(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],p=a.animationID.toString();if(!i[p]){var d=i[p]={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:[]};d.classes.length?t.push(d):(t.push(c),t.push(f))}i[p].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=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function E(){c.addClass(ne),F&&e.addClass(c,F),M&&(e.removeClass(c,M),M=null)}function k(e,t){function n(e){r(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=r(c);!e||"leave"===p&&$.$$domOperationFired||e.end()}function A(t){c.off("$destroy",S),n(c),g(c,$),h(c,$),$.domOperation(),F&&e.removeClass(c,F),c.removeClass(ne),D.complete(!t)}$=d($);var T=["enter","move","leave"].indexOf(p)>=0,D=new l({end:function(){A()},cancel:function(){A(!0)}});if(!a.length)return A(),D;t(c,D);var O=i(c.attr("class"),i($.addClass,$.removeClass)),F=$.tempClasses;F&&(O+=" "+F,$.tempClasses=null);var M;return T&&(M="ng-"+p+te,e.addClass(c,M)),v.push({element:c,classes:O,event:p,structural:T,options:$,beforeStart:E,close:A}),c.on("$destroy",S),v.length>1?D:(s.$$postDigest(function(){var e=[];U(v,function(t){r(t.element)?e.push(t):t.close()}),v.length=0;var t=w(e),n=[];U(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,i=e.anchors?e.from.element||e.to.element:e.element;if(r(i)){var o=C(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),k(e,a)}else n()}})}),f(m(n))}),D)}}]}],Ne=["$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",Ne).directive("ngAnimateChildren",$e).factory("$$rAFScheduler",ge).provider("$$animateQueue",Fe).provider("$$animation",Me).provider("$animateCss",ke).provider("$$animateCssDriver",Se).provider("$$animateJs",Ae).provider("$$animateJsDriver",Te)}(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,n){"use strict";function r(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&s.test("."+e)}function i(e,i){if(!r(i))throw a("badmember",'Dotted member path "@{0}" is invalid.',i);for(var o=i.split("."),s=0,u=o.length;u>s&&t.isDefined(e);s++){var l=o[s];e=null!==e?e[l]:n}return e}function o(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 a=t.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,r=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(s,u,l,c){function f(e){return p(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function p(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({},r.defaults,t),this.urlParams={}}function h(e,f,p,b){function w(e,t){var n={};return t=g({},f,t),v(t,function(t,r){y(t)&&(t=t()),n[r]=t&&t.charAt&&"@"==t.charAt(0)?i(e,t.substr(1)):t}),n}function x(e){return e.resource}function C(e){o(e||{},this)}var E=new d(e,b);return p=g({},r.defaults.actions,p),C.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},v(p,function(e,i){var f=/^(POST|PUT|PATCH)$/i.test(e.method),p=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:b&&t.isDefined(b.cancellable)?b.cancellable:r.defaults.cancellable;p&&!t.isNumber(p)&&(u.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,p=null),C[i]=function(r,u,h,b){var k,S,A,T={};switch(arguments.length){case 4:A=b,S=h;case 3:case 2:if(!y(u)){T=r,k=u,S=h;break}if(y(r)){S=r,A=u;break}S=u,A=h;case 1:y(r)?S=r:f?k=r:T=r;break;case 0:break;default:throw a("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,O,F=this instanceof C,M=F?k:e.isArray?[]:new C(k),N={},I=e.interceptor&&e.interceptor.response||x,j=e.interceptor&&e.interceptor.responseError||n;v(e,function(e,t){switch(t){default:N[t]=$(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!F&&d&&(D=l.defer(),N.timeout=D.promise,p&&(O=c(D.resolve,p))),f&&(N.data=k),E.setUrlParams(N,g({},w(k,e.params||{}),T),e.url);var P=s(N).then(function(n){var r=n.data;if(r){if(t.isArray(r)!==!!e.isArray)throw a("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",i,e.isArray?"array":"object",t.isArray(r)?"array":"object",N.method,N.url);if(e.isArray)M.length=0,v(r,function(e){"object"==typeof e?M.push(new C(e)):M.push(e)});else{var s=M.$promise;o(r,M),M.$promise=s}}return n.resource=M,n},function(e){return(A||m)(e),l.reject(e)});return P["finally"](function(){M.$resolved=!0,!F&&d&&(M.$cancelRequest=t.noop,c.cancel(O),D=O=N.timeout=null)}),P=P.then(function(e){var t=I(e);return(S||m)(t,e.headers),t},j),F?P:(M.$promise=P,M.$resolved=!1,d&&(M.$cancelRequest=D.resolve),M)},C.prototype["$"+i]=function(e,t,n){y(e)&&(n=t,t=e,e={});var r=C[i].call(this,e,this,t,n);return r.$promise||r}}),C.bind=function(t){return h(e,g({},f,t),p)},C}var m=t.noop,v=t.forEach,g=t.extend,$=t.copy,y=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var o,s,u=this,l=i||u.template,c="",d=u.urlParams={};v(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw a("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(d[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return c=e,""}),r=r||{},v(u.urlParams,function(e,n){o=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(o)&&null!==o?(s=e.isQueryParamValue?p(o,!0):f(o),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=c+l.replace(/\/\\\./,"/."),v(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,n){"use strict";function r(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(C,w),function(e){var t=[];return a(e,l(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 i(e){var n=[],r=l(n,t.noop);return r.chars(e),n.join("")}function o(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function u(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,">")}function l(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&x[e]&&(r=e),r||C[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),s="img"===e&&"src"===a||"background"===a;A[a]!==!0||E[a]===!0&&!n(r,s)||(i(" "),i(o),i('="'),i(u(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||C[e]!==!0||m[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(u(e))}}}function c(e){if(e.nodeType===Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;r>n;n++){var i=t[n],o=i.name.toLowerCase();("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&(e.removeAttributeNode(i),n--,r--)}var a=e.firstChild;a&&c(a),a=e.nextSibling,a&&c(a)}var f,p=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,m=o("area,br,col,hr,img,wbr"),v=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=o("rp,rt"),$=t.extend({},g,v),y=t.extend({},v,o("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")),b=t.extend({},g,o("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")),w=o("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"),x=o("script,style"),C=t.extend({},m,y,b,$),E=o("background,cite,href,longdesc,src,xlink:href"),k=o("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=o("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),A=t.extend({},E,S,k);!function(e){var t;if(!e.document||!e.document.implementation)throw p("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)f=r[0];else{var i=t.createElement("html");f=t.createElement("body"),i.appendChild(f),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",r),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&v.push(i(e))}function f(e,n){var r;if(v.push("'),c(n),v.push("")}if(null==s||""===s)return s;if(!a(s))throw o("notstring","Expected string but received: {0}",s);for(var p,d,h,m=s,v=[];p=m.match(n);)d=p[0],p[2]||p[4]||(d=(p[3]?"http://":"mailto:")+d),h=p.index,c(m.substr(0,h)),f(d,p[0].replace(r,"")),m=m.substring(h+p[0].length);return c(m),e(v.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){!function(e,t,n){"use strict";function r(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=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(S(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(Wr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Dr.call(e,r)&&t.call(n,e[r],r,e);return e}function a(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(w(a)||S(a))for(var s=Object.keys(a),u=0,f=s.length;f>u;u++){var p=s[u],d=a[p];n&&w(d)?k(d)?e[p]=new Date(d.valueOf()):A(d)?e[p]=new RegExp(d):d.nodeName?e[p]=d.cloneNode(!0):_(d)?e[p]=d.clone():(w(e[p])||(e[p]=Wr(d)?[]:{}),c(e[p],[d],!0)):e[p]=d}}return l(e,r),e}function f(e){return c(e,Lr.call(arguments,1),!1)}function p(e){return c(e,Lr.call(arguments,1),!0)}function d(e){return parseInt(e,10)}function h(e,t){return f(Object.create(e),t)}function m(){}function v(e){return e}function g(e){return function(){return e}}function $(e){return S(e.toString)&&e.toString!==Vr}function y(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!Ur(e)}function C(e){return"string"==typeof e}function E(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function S(e){return"function"==typeof e}function A(e){return"[object RegExp]"===Vr.call(e)}function T(e){return e&&e.window===e}function D(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"[object File]"===Vr.call(e)}function F(e){return"[object FormData]"===Vr.call(e)}function M(e){return"[object Blob]"===Vr.call(e)}function N(e){return"boolean"==typeof e}function I(e){return e&&S(e.then)}function j(e){return e&&E(e.length)&&Gr.test(Vr.call(e))}function P(e){return"[object ArrayBuffer]"===Vr.call(e)}function _(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function L(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function V(e,t){function r(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(x(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)Dr.call(e,n)&&(t[n]=i(e[n]));return l(t,r),t}function i(e){if(!w(e))return e;var t=s.indexOf(e);if(-1!==t)return u[t];if(T(e)||D(e))throw qr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=a(e);return o===n&&(o=Wr(e)?[]:Object.create(Ur(e)),i=!0),s.push(e),u.push(o),i?r(e,o):o}function a(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}return S(e.cloneNode)?e.cloneNode(!0):void 0}var s=[],u=[];if(t){if(j(t)||P(t))throw qr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw qr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),s.push(e),u.push(t),r(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(w(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function q(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)?q(e.getTime(),t.getTime()):!1;if(A(e))return A(t)?e.toString()==t.toString():!1;if(D(e)||D(t)||T(e)||T(t)||Wr(t)||k(t)||A(t))return!1;i=ge();for(r in e)if("$"!==r.charAt(0)&&!S(e[r])){if(!q(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&b(t[r])&&!S(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!q(e[r],t[r]))return!1;return!0}}return!1}function H(e,t,n){return e.concat(Lr.call(t,n))}function B(e,t){return Lr.call(e,t||0)}function W(e,t){var n=arguments.length>2?B(arguments,2):[];return!S(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,H(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function G(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:T(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":D(r)&&(i="$SCOPE"),i}function Q(e,t){return"undefined"==typeof e?n:(E(t)||(t=t?2:null),JSON.stringify(e,G,t))}function Y(e){return C(e)?JSON.parse(e):e}function Z(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function X(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function J(e,t,n){n=n?-1:1;var r=Z(t,e.getTimezoneOffset());return X(e,n*(r-e.getTimezoneOffset()))}function K(e){e=jr(e).clone();try{e.empty()}catch(t){}var n=jr("
").append(e).html();try{return e[0].nodeType===ri?Or(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Or(t)})}catch(t){return Or(n)}}function ee(e){try{return decodeURIComponent(e)}catch(t){}}function te(e){var t={};return o((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=ee(r),b(r)&&(i=b(i)?ee(i):!0,Dr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ne(e){var t=[];return o(e,function(e,n){Wr(e)?o(e,function(e){t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}):t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}),t.length?t.join("&"):""}function re(e){return ie(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ie(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 oe(e,t){var n,r,i=Jr.length;for(r=0;i>r;++r)if(n=Jr[r]+t,C(n=e.getAttribute(n)))return n;return null}function ae(e,t){var n,r,i={};o(Jr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Jr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==oe(n,"strict-di"),t(n,r?[r]:[],i))}function se(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=jr(n),n.injector()){var e=n[0]===t?"document":K(n);throw qr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=it(r,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},u=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),Hr.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(S(Hr.resumeDeferredBootstrap)&&Hr.resumeDeferredBootstrap()))}function ue(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function le(e){var t=Hr.element(e).injector();if(!t)throw qr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ce(e,t){return t=t||"_",e.replace(Kr,function(e,n){return(n?t:"")+e.toLowerCase()})}function fe(){var t;if(!ei){var r=Xr();Pr=y(r)?e.jQuery:r?e[r]:n,Pr&&Pr.fn.on?(jr=Pr,f(Pr.fn,{scope:xi.scope,isolateScope:xi.isolateScope,controller:xi.controller,injector:xi.injector,inheritedData:xi.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)}):jr=Fe,Hr.element=jr,ei=!0}}function pe(e,t,n){if(!e)throw qr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function de(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),pe(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function he(e,t){if("hasOwnProperty"===e)throw qr("badname","hasOwnProperty is not a valid {0} name",t)}function me(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&&S(e)?W(o,e):e}function ve(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=jr(Lr.call(e,0,i))),t.push(n));return t||e}function ge(){return Object.create(null)}function $e(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,o){return o&&S(o)&&(o.$$moduleName=r),i.push([e,t,arguments]),c}}if(!o)throw n("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.",r);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ye(e){var t=[];return JSON.stringify(e,function(e,n){if(n=G(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?ye(e):e}function we(t){f(t,{bootstrap:se,copy:V,extend:f,merge:p,equals:q,element:jr,forEach:o,injector:it,noop:m,bind:W,toJson:Q,fromJson:Y,identity:v,isUndefined:y,isDefined:b,isString:C,isFunction:S,isObject:w,isNumber:E,isElement:_,isArray:Wr,version:si,isDate:k,lowercase:Or,uppercase:Fr,callbacks:{counter:0},getTestability:le,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:ue}),(_r=$e(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Cn}),e.provider("$compile",ht).directive({a:To,input:Bo,textarea:Bo,form:No,script:za,select:qa,style:Ba,option:Ha,ngBind:Qo,ngBindHtml:Zo,ngBindTemplate:Yo,ngClass:Jo,ngClassEven:ea,ngClassOdd:Ko,ngCloak:ta,ngController:na,ngForm:Io,ngHide:Na,ngIf:oa,ngInclude:aa,ngInit:ua,ngNonBindable:Ea,ngPluralize:Ta,ngRepeat:Da,ngShow:Ma,ngStyle:Ia,ngSwitch:ja,ngSwitchWhen:Pa,ngSwitchDefault:_a,ngOptions:Aa,ngTransclude:Ra,ngModel:wa,ngList:la,ngChange:Xo,pattern:Ga,ngPattern:Ga,required:Wa,ngRequired:Wa,minlength:Ya,ngMinlength:Ya,maxlength:Qa,ngMaxlength:Qa,ngValue:Go,ngModelOptions:Ca}).directive({ngInclude:sa}).directive(Do).directive(ra),e.provider({$anchorScroll:ot,$animate:Li,$animateCss:Vi,$$animateJs:Pi,$$animateQueue:_i,$$AnimateRunner:zi,$$animateAsyncRun:Ri,$browser:ft,$cacheFactory:pt,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:_n,$$forceReflow:Wi,$interpolate:jt,$interval:Pt,$http:Ft,$httpParamSerializer:Ct,$httpParamSerializerJQLike:Et,$httpBackend:Nt,$xhrFactory:Mt,$location:Zt,$log:Xt,$parse:gn,$rootScope:xn,$q:$n,$$q:yn,$sce:An,$sceDelegate:Sn,$sniffer:Tn,$templateCache:dt,$templateRequest:Dn,$$testability:On,$timeout:Fn,$window:In,$$rAF:wn,$$jqLite:Je,$$HashMap:Si,$$cookieReader:Pn})}])}function xe(){return++li}function Ce(e){return e.replace(pi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(di,"Moz$1")}function Ee(e){return!gi.test(e)}function ke(e){var t=e.nodeType;return t===ti||!t||t===oi}function Se(e){for(var t in ui[e.ng339])return!0;return!1}function Ae(e){for(var t=0,n=e.length;n>t;t++)je(e[t])}function Te(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(Ee(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=($i.exec(e)||["",""])[1].toLowerCase(),i=bi[r]||bi._default,n.innerHTML=i[1]+e.replace(yi,"<$1>")+i[2],a=i[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function De(e,n){n=n||t;var r;return(r=vi.exec(e))?[n.createElement(r[1])]:(r=Te(e,n))?r.childNodes:[]}function Oe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Fe(e){if(e instanceof Fe)return e;var t;if(C(e)&&(e=Qr(e),t=!0),!(this instanceof Fe)){if(t&&"<"!=e.charAt(0))throw mi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Fe(e)}t?Ve(this,De(e)):Ve(this,e)}function Me(e){return e.cloneNode(!0)}function Ne(e,t){if(t||je(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)je(n[r])}function Ie(e,t,n,r){if(b(r))throw mi("offargs","jqLite#off() does not support the `selector` argument");var i=Pe(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&z(r||[],n),b(n)&&r&&r.length>0||(fi(e,t,s),delete a[t])};o(t.split(" "),function(e){u(e),hi[e]&&u(hi[e])})}else for(t in a)"$destroy"!==t&&fi(e,t,s),delete a[t]}function je(e,t){var r=e.ng339,i=r&&ui[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Ie(e)),delete ui[r],e.ng339=n}}function Pe(e,t){var r=e.ng339,i=r&&ui[r];return t&&!i&&(e.ng339=r=xe(),i=ui[r]={events:{},data:{},handle:n}),i}function _e(e,t,n){if(ke(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=Pe(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Le(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Re(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Qr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Qr(t)+" "," ")))})}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Qr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Qr(n))}}function Ve(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 qe(e,"$"+(t||"ngController")+"Controller")}function qe(e,t,n){e.nodeType==oi&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=jr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ai&&e.host}}function He(e){for(Ne(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Be(e,t){t||Ne(e);var n=e.parentNode;n&&n.removeChild(e)}function We(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):jr(n).on("load",t)}function Ge(e,t){var n=Ci[t.toLowerCase()];return n&&Ei[R(e)]&&n}function Qe(e){return ki[e]}function Ye(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(y(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||Ze;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 Ze(e,t,n){n.call(e,t)}function Xe(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!wi.call(e,r))&&n.call(e,t)}function Je(){this.$get=function(){return f(Fe,{hasClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),ze(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Re(e,t)}})}}function Ke(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||u)():r+":"+e}function et(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function tt(e){var t=e.toString().replace(Fi,""),n=t.match(Ai)||t.match(Ti);return n}function nt(e){var t=tt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function rt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw C(n)&&n||(n=e.name||nt(e)),Mi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=tt(e),o(i[1].split(Di),function(e){e.replace(Oi,function(e,t,n){r.push(n)})})}e.$inject=r}}else Wr(e)?(a=e.length-1,de(e[a],"fn"),r=e.slice(0,a)):de(e,"fn",!0);return r}function it(e,t){function r(e){return function(t,n){return w(t)?void o(t,s(e)):e(t,n)}}function i(e,t){if(he(e,"service"),(S(t)||Wr(t))&&(t=E.instantiate(t)),!t.$get)throw Mi("pget","Provider '{0}' must define $get factory method.",e);return x[e+v]=t}function a(e,t){return function(){var n=T.invoke(t,this);if(y(n))throw Mi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function u(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function l(e,t){return u(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return u(e,g(t),!1)}function f(e,t){he(e,"constant"),x[e]=t,k[e]=t}function p(e,t){var n=E.get(e+v),r=n.$get;n.$get=function(){var e=T.invoke(r,n);return T.invoke(t,null,{$delegate:e})}}function d(e){pe(y(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=E.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{C(e)?(t=_r(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):S(e)?n.push(E.invoke(e)):Wr(e)?n.push(E.invoke(e)):de(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),Mi("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]===m)throw Mi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=m,e[t]=n(t,r)}catch(i){throw e[t]===m&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=it.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Mi("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>=Ir?!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:it.$$annotate,has:function(t){return x.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=t===!0;var m={},v="Provider",$=[],b=new et([],!0),x={$provide:{provider:r(i),factory:r(u),service:r(l),value:r(c),constant:r(f),decorator:p}},E=x.$injector=h(x,function(e,t){throw Hr.isString(t)&&$.push(t),Mi("unpr","Unknown provider: {0}",$.join(" <- "))}),k={},A=h(k,function(e,t){var r=E.get(e+v,t);return T.invoke(r.$get,r,n,e)}),T=A;x["$injector"+v]={$get:g(A)};var D=d(e);return T=A.get("$injector"),T.strictDi=t,o(D,function(e){e&&T.invoke(e)}),T}function ot(){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"===R(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(S(e))e=e();else if(_(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else E(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=C(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)&&We(function(){r.$evalAsync(s)})}),s}]}function at(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function st(e){for(var t=0;tl&&this.remove(d.key),t}},get:function(e){if(l";var r=le.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function F(e,t){try{e.addClass(t)}catch(n){}}function M(e,n,r,i,o){e instanceof jr||(e=jr(e));for(var a=/\S+/,s=0,u=e.length;u>s;s++){var l=e[s];l.nodeType===ri&&l.nodeValue.match(a)&&Oe(l,e[s]=t.createElement("span"))}var c=j(e,n,e,r,i,o);M.$$addScopeClass(e);var f=null;return function(t,n,r){pe(t,"scope"),o&&o.needsNewScope&&(t=t.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=I(s));var u;if(u="html"!==f?jr(te(f,jr("
").append(e).html())):n?xi.clone.call(e):e,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return M.$$addScopeInfo(u,t),n&&n(u,t),c&&c(t,u,u,i),u}}function I(e){var t=e&&e[0];return t&&"foreignobject"!==R(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function j(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,l,c,f,p,d,v;if(h){var g=r.length;for(v=new Array(g),c=0;cc;)u=v[m[c++]],a=m[c++],s=m[c++],a?(a.scope?(l=e.$new(),M.$$addScopeInfo(jr(u),l)):l=e,d=a.transcludeOnThisElement?P(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?P(e,t):null,a(s,l,u,i,d)):s&&s(e,u.childNodes,n,o)}for(var u,l,c,f,p,d,h,m=[],v=0;v$;$++){var b=!1,x=!1;l=g[$],c=l.name,m=Qr(l.value),h=mt(c),(v=ve.test(h))&&(c=c.replace(qi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var E=h.match($e);E&&Q(E[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=mt(c.toLowerCase()),u[f]=c,(v||!n.hasOwnProperty(f))&&(n[f]=m,Ge(e,f)&&(n[f]=!0)),re(e,t,m,f,v),G(t,f,"A",r,i,b,x)}if(a=e.className,w(a)&&(a=a.animVal),C(a)&&""!==a)for(;o=d.exec(a);)f=mt(o[2]),G(t,f,"C",r,i)&&(n[f]=Qr(o[3])),a=a.substr(o.index+o[0].length);break;case ri:if(11===Ir)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ri;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ee(t,e.nodeValue);break;case ii:try{o=p.exec(e.nodeValue),o&&(f=mt(o[1]),G(t,f,"M",r,i)&&(n[f]=Qr(o[2])))}catch(k){}}return t.sort(X),t}function L(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ui("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ti&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return jr(r)}function V(e,t,n){return function(r,i,o,a,s){return i=L(i[0],t,n),e(r,i,o,a,s)}}function U(e,t,n,r,i,o){if(e)return M(t,n,r,i,o);var a;return function(){return a||(a=M(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function H(e,r,a,s,l,c,p,d,h){function m(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=b.require,e.directiveName=E,(I===b||b.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),p.push(e)),t&&(n&&(t=V(t,n,r)),t.require=b.require,t.directiveName=E,(I===b||b.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),d.push(t))}function v(e,t,n,r){var i;if(C(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():(i=r&&r[s],i=i&&i.instance),!i){var c="$"+s+"Controller";i=u?n.inheritedData(c):n.data(c)}if(!i&&!l)throw Ui("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){i=[];for(var f=0,p=t.length;p>f;f++)i[f]=v(e,t[f],n,r)}else w(t)&&(i={},o(t,function(t,o){i[o]=v(e,t,n,r)}));return i||null}function g(e,t,n,r,i,o){var a=ge();for(var s in r){var l=r[s],c={$scope:l===I||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var p=u(f,c,!0,l.controllerAs);a[l.name]=p,H||e.data("$"+l.name+"Controller",p.instance)}return a}function $(e,t,i,s,u){function l(e,t,r,i){var o;if(D(e)||(i=r,r=t,t=e,e=n),H&&(o=x),r||(r=H?E.parent():E),!i)return u(e,t,o,r,z);var a=u.$$slots[i];if(a)return a(e,t,o,r,z);if(y(a))throw Ui("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,K(E))}var c,h,m,$,b,x,C,E,k,A,T;r===i?(k=a,E=a.$$element):(E=jr(i),k=new fe(E,a)),b=t,I?$=t.$new(!0):F&&(b=t.$parent),u&&(C=l,C.$$boundTransclude=u,C.isSlotFilled=function(e){return!!u.$$slots[e]}),N&&(x=g(E,k,C,N,$,t)),I&&(M.$$addScopeInfo(E,$,!0,!(j&&(j===I||j===I.$$originalDirective))),M.$$addScopeClass(E,!0),$.$$isolateBindings=I.$$isolateBindings,A=se(t,k,$,$.$$isolateBindings,I),A&&$.$on("$destroy",A));for(var O in x){var P=N[O],_=x[O],L=P.$$bindings.bindToController;_.identifier&&L&&(T=se(b,k,_.instance,L,P));var R=_();R!==_.instance&&(_.instance=R,E.data("$"+P.name+"Controller",R),T&&T(),T=se(b,k,_.instance,L,P))}for(o(N,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&w(n)&&f(x[t].instance,v(t,n,E,x))}),o(x,function(e){S(e.instance.$onInit)&&e.instance.$onInit()}),c=0,h=p.length;h>c;c++)m=p[c],ae(m,m.isolateScope?$:t,E,k,m.require&&v(m.directiveName,m.require,E,x),C);var z=t;for(I&&(I.template||null===I.templateUrl)&&(z=$),e&&e(z,i.childNodes,n,u),c=d.length-1;c>=0;c--)m=d[c],ae(m,m.isolateScope?$:t,E,k,m.require&&v(m.directiveName,m.require,E,x),C)}h=h||{};for(var b,E,k,A,T,O=-Number.MAX_VALUE,F=h.newScopeDirective,N=h.controllerDirectives,I=h.newIsolateScopeDirective,j=h.templateDirective,P=h.nonTlbTranscludeDirective,z=!1,q=!1,H=h.hasElementTranscludeDirective,G=a.$$element=jr(r),Q=c,X=s,ee=!1,ne=!1,re=0,ue=e.length;ue>re;re++){b=e[re];var le=b.$$start,ce=b.$$end;if(le&&(G=L(r,le,ce)),k=n,O>b.priority)break;if((T=b.scope)&&(b.templateUrl||(w(T)?(J("new/isolated scope",I||F,b,G),I=b):J("new/isolated scope",I,b,G)),F=F||b),E=b.name,!ee&&(b.replace&&(b.templateUrl||b.template)||b.transclude&&!b.$$tlb)){for(var pe,de=re+1;pe=e[de++];)if(pe.transclude&&!pe.$$tlb||pe.replace&&(pe.templateUrl||pe.template)){ne=!0;break}ee=!0}if(!b.templateUrl&&b.controller&&(T=b.controller,N=N||ge(),J("'"+E+"' controller",N[E],b,G),N[E]=b),T=b.transclude)if(z=!0,b.$$tlb||(J("transclusion",P,b,G),P=b),"element"==T)H=!0,O=b.priority,k=G,G=a.$$element=jr(t.createComment(" "+E+": "+a[E]+" ")),r=G[0],ie(l,B(k),r),X=U(ne,k,s,O,Q&&Q.name,{nonTlbTranscludeDirective:P});else{var he=ge();if(k=jr(Me(r)).contents(),w(T)){k=[];var ve=ge(),$e=ge();o(T,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,ve[e]=t,he[t]=null,$e[t]=n}),o(G.contents(),function(e){var t=ve[mt(R(e))];t?($e[t]=!0,he[t]=he[t]||[],he[t].push(e)):k.push(e)}),o($e,function(e,t){if(!e)throw Ui("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ye in he)he[ye]&&(he[ye]=U(ne,he[ye],s))}G.empty(),X=U(ne,k,s,n,n,{needsNewScope:b.$$isolateScope||b.$$newScope}),X.$$slots=he}if(b.template)if(q=!0,J("template",j,b,G),j=b,T=S(b.template)?b.template(G,a):b.template,T=me(T),b.replace){if(Q=b,k=Ee(T)?[]:gt(te(b.templateNamespace,Qr(T))),r=k[0],1!=k.length||r.nodeType!==ti)throw Ui("tplrt","Template for directive '{0}' must have exactly one root element. {1}",E,"");ie(l,G,r);var be={$attr:{}},we=_(r,[],be),xe=e.splice(re+1,e.length-(re+1));(I||F)&&W(we,I,F),e=e.concat(we).concat(xe),Y(a,be),ue=e.length}else G.html(T);if(b.templateUrl)q=!0,J("template",j,b,G),j=b,b.replace&&(Q=b),$=Z(e.splice(re,e.length-re),G,a,l,z&&X,p,d,{controllerDirectives:N,newScopeDirective:F!==b&&F,newIsolateScopeDirective:I,templateDirective:j,nonTlbTranscludeDirective:P}),ue=e.length;else if(b.compile)try{A=b.compile(G,a,X),S(A)?m(null,A,le,ce):A&&m(A.pre,A.post,le,ce)}catch(Ce){i(Ce,K(G))}b.terminal&&($.terminal=!0,O=Math.max(O,b.priority))}return $.scope=F&&F.scope===!0,$.transcludeOnThisElement=z,$.templateOnThisElement=q,$.transclude=X,h.hasElementTranscludeDirective=H,$}function W(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=h(e[r],{$$isolateScope:t,$$newScope:n})}function G(t,n,r,o,a,s,u){if(n===a)return null;var f=null;if(l.hasOwnProperty(n))for(var p,d=e.get(n+c),m=0,v=d.length;v>m;m++)try{p=d[m],(y(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)&&(s&&(p=h(p,{$$start:s,$$end:u})),t.push(p),f=p)}catch(g){i(g)}return f}function Q(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function Y(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(F(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function Z(e,t,n,r,i,s,u,l){var c,f,p=[],d=t[0],m=e.shift(),v=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),g=S(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),a(g).then(function(a){var h,y,b,x;if(a=me(a),m.replace){if(b=Ee(a)?[]:gt(te($,Qr(a))),h=b[0],1!=b.length||h.nodeType!==ti)throw Ui("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);y={$attr:{}},ie(r,t,h);var C=_(h,[],y);w(m.scope)&&W(C,!0),e=C.concat(e),Y(n,y)}else h=d,t.html(a);for(e.unshift(v),c=H(e,h,n,i,t,m,s,u,l),o(r,function(e,n){e==h&&(r[n]=t[0])}),f=j(t[0].childNodes,i);p.length;){var E=p.shift(),k=p.shift(),S=p.shift(),A=p.shift(),T=t[0];if(!E.$$destroyed){if(k!==d){var D=k.className;l.hasElementTranscludeDirective&&m.replace||(T=Me(h)),ie(S,jr(k),T),F(jr(T),D)}x=c.transcludeOnThisElement?P(E,c.transclude,A):A,c(f,E,T,r,x)}}p=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(c.transcludeOnThisElement&&(o=P(t,c.transclude,i)),c(f,t,n,r,o)))}}function X(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function ne(e,t){if("srcdoc"==t)return b.HTML;var n=R(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?b.RESOURCE_URL:void 0}function re(e,t,n,i,o){var a=ne(e,i);o=$[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===R(e))throw Ui("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=ge());if(E.test(i))throw Ui("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!==n&&(s=c&&r(c,!0,a,o),n=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 ie(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var l=i,c=l+s-1,f=e.length;f>l;l++,c++)f>c?e[l]=e[c]:delete e[l];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();for(i=0;s>i;i++)p.appendChild(n[i]);for(jr.hasData(a)&&(jr.data(r,jr.data(a)),jr(a).off("$destroy")),jr.cleanData(p.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function oe(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function ae(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,K(n))}}function se(e,t,n,i,a){var u=[];return o(i,function(i,o){var l,c,f,p,d=i.attrName,h=i.optional,v=i.mode;switch(v){case"@":h||Dr.call(t,d)||(n[o]=t[d]=void 0),t.$observe(d,function(e){C(e)&&(n[o]=e)}),t.$$observers[d].$$scope=e,l=t[d],C(l)?n[o]=r(l)(e):N(l)&&(n[o]=l);break;case"=":if(!Dr.call(t,d)){if(h)break;t[d]=void 0}if(h&&!t[d])break;c=s(t[d]),p=c.literal?q:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw l=n[o]=c(e),Ui("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[d],d,a.name)},l=n[o]=c(e);var g=function(t){return p(t,n[o])||(p(t,l)?f(e,t=n[o]):n[o]=t),l=t};g.$stateful=!0;var $;$=i.collection?e.$watchCollection(t[d],g):e.$watch(s(t[d],g),null,c.literal),u.push($);break;case"&":if(c=t.hasOwnProperty(d)?s(t[d]):m,c===m&&h)break;n[o]=function(t){return c(e,t)}}}),u.length&&function(){for(var e=0,t=u.length;t>e;++e)u[e]()}}var ue=/^\w/,le=t.createElement("div"),fe=function(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};fe.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&A.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&A.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&A.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&A.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Ge(s,e),l=Qe(e),c=e;if(u?(this.$$element.prop(e,t),r=u):l&&(this[l]=t,c=l),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=ce(e,"-"))),a=R(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="",p=Qr(t),d=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(p)?d:/(,)/,m=p.split(h),v=Math.floor(m.length/2),g=0;v>g;g++){var $=2*g;f+=T(Qr(m[$]),!0),f+=" "+Qr(m[$+1])}var b=Qr(m[2*g]).split(/\s/);f+=T(Qr(b[0]),!0),2===b.length&&(f+=" "+Qr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ue.test(r)?this.$$element.attr(r,t):O(this.$$element[0],r,t));var w=this.$$observers;w&&o(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ge()),i=r[e]||(r[e]=[]);return i.push(t),g.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){z(i,t)}}};var de=r.startSymbol(),he=r.endSymbol(),me="{{"==de&&"}}"==he?v:function(e){return e.replace(/\{\{/g,de).replace(/}}/g,he)},ve=/^ngAttr[A-Z]/,$e=/^(.+)Start$/;return M.$$addBindingInfo=k?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,M.$$addBindingClass=k?function(e){F(e,"ng-binding")}:m,M.$$addScopeInfo=k?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,M.$$addScopeClass=k?function(e,t){F(e,t?"ng-isolate-scope":"ng-scope")}:m,M}]}function mt(e){return Ce(e.replace(qi,""))}function vt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function gt(e){e=jr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ii&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&C(t))return t;if(C(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},t=!1;this.register=function(t,n){he(t,"controller"),w(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,o){function a(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,s,u,l){var c,p,d,h;if(u=u===!0,l&&C(l)&&(h=l),C(r)){if(p=r.match(Bi),!p)throw Hi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);d=p[1],h=h||p[3],r=e.hasOwnProperty(d)?e[d]:me(s.$scope,d,!0)||(t?me(o,d,!0):n),de(r,d,!0)}if(u){var m=(Wr(r)?r[r.length-1]:r).prototype;c=Object.create(m||null),h&&a(s,h,c,d||r.name);var v;return v=f(function(){var e=i.invoke(r,c,s,d);return e!==c&&(w(e)||S(e))&&(c=e,h&&a(s,h,c,d||r.name)),c},{instance:c,identifier:h})}return c=i.instantiate(r,s,d),h&&a(s,h,c,d||r.name),c}}]}function bt(){this.$get=["$window",function(e){return jr(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return w(e)?k(e)?e.toISOString():Q(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Wr(e)?o(e,function(e,r){t.push(ie(n)+"="+ie(xt(e)))}):t.push(ie(n)+"="+ie(xt(e))))}),t.join("&")}}}function Et(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Wr(e)?o(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!k(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(ie(r)+"="+ie(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function kt(e,t){if(C(e)){var n=e.replace(Xi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Gi)||St(n))&&(e=Y(n))}}return e}function St(e){var t=e.match(Yi);return t&&Zi[t[0]].test(e)}function At(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ge();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Or(Qr(e.substr(0,n))),Qr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Or(n),Qr(e))}),r}function Tt(e){var t;return function(n){if(t||(t=At(e)),n){var r=t[Or(n)];return void 0===r&&(r=null),r}return t}}function Dt(e,t,n,r){return S(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Ot(e){return e>=200&&300>e}function Ft(){var e=this.defaults={transformResponse:[kt],transformRequest:[function(e){return!w(e)||O(e)||M(e)||F(e)?e:Q(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"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return b(e)?(i=!!e,this):i};var a=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,u,l,c,p,d){function h(t){function a(e){var t=f({},e);return t.data=Dt(e.data,e.headers,e.status,l.transformResponse),Ot(e.status)?t:p.reject(t)}function s(e,t){var n,r={};return o(e,function(e,i){S(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function u(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[Or(t.method)]);e:for(n in o){r=Or(n);for(i in a)if(Or(i)===r)continue e;a[n]=o[n]}return s(a,U(t))}if(!w(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);if(!C(t.url))throw r("$http")("badreq","Http request configuration url must be a string. Received: {0}",t.url);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=u(t),l.method=Fr(l.method),l.paramSerializer=C(l.paramSerializer)?d.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=Dt(t.data,Tt(r),n,t.transformRequest);return y(i)&&o(r,function(e,t){"content-type"===Or(t)&&delete r[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(a,a)},h=[c,n],m=p.when(l);for(o(E,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 v=h.shift(),$=h.shift();m=m.then(v,$)}return i?(m.success=function(e){return de(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return de(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=Ki("success"),m.error=Ki("error")),m}function m(e){o(arguments,function(e){h[e]=function(t,n){return h(f({},n||{},{method:e,url:t}))}})}function v(e){o(arguments,function(e){h[e]=function(t,n,r){return h(f({},r||{},{method:e,url:t,data:n}))}})}function g(r,i){function o(e,n,r,i){function o(){a(n,e,r,i)}d&&(Ot(e)?d.put(E,[e,n,At(r),i]):d.remove(E)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function a(e,t,n,i){t=t>=-1?t:0,(Ot(t)?v.resolve:v.reject)({data:e,status:t,headers:Tt(n),config:r,statusText:i})}function l(e){a(e.data,e.status,U(e.headers()),e.statusText)}function f(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var d,m,v=p.defer(),g=v.promise,C=r.headers,E=$(r.url,r.paramSerializer(r.params));if(h.pendingRequests.push(r),g.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(d=w(r.cache)?r.cache:w(e.cache)?e.cache:x),d&&(m=d.get(E),b(m)?I(m)?m.then(l,l):Wr(m)?a(m[1],m[0],U(m[2]),m[3]):a(m,200,{},"OK"):d.put(E,g)),y(m)){var k=Nn(r.url)?u()[r.xsrfCookieName||e.xsrfCookieName]:n;k&&(C[r.xsrfHeaderName||e.xsrfHeaderName]=k),s(r.method,E,i,o,C,r.timeout,r.withCredentials,r.responseType)}return g}function $(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=l("$http");e.paramSerializer=C(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var E=[];return o(a,function(e){E.unshift(C(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],m("get","delete","head","jsonp"),v("post","put","patch"),h.defaults=e,h}]}function Mt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Nt(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return It(e,r,e.defer,t.angular.callbacks,n[0])}]}function It(e,t,n,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){fi(o,"load",a),fi(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},ci(o,"load",a),ci(o,"error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,f,p,d){function h(){$&&$(),w&&w.abort()}function v(t,r,i,o,a){b(E)&&n.cancel(E),$=w=null,t(r,i,o,a),e.$$completeOutstandingRequest(m)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Or(i)){var g="_"+(r.counter++).toString(36);r[g]=function(e){r[g].data=e,r[g].called=!0};var $=a(s.replace("JSON_CALLBACK","angular.callbacks."+g),g,function(e,t){v(l,e,r[g].data,"",t),r[g]=m})}else{var w=t(i,s);w.open(i,s,!0),o(c,function(e,t){b(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"==Mn(s).protocol?404:0),v(l,n,t,w.getAllResponseHeaders(),e)};var x=function(){v(l,-1,null,null,"")};if(w.onerror=x,w.onabort=x,p&&(w.withCredentials=!0),d)try{w.responseType=d}catch(C){if("json"!==d)throw C}w.send(y(u)?null:u)}if(f>0)var E=n(h,f);else I(f)&&f.then(h)}}function jt(){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(d,e).replace(h,t)}function s(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=Q(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function l(o,l,d,h){function m(e){try{return e=M(e),h&&!b(e)?e:s(e)}catch(t){r(eo.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var v;if(!l){var $=a(o);v=g($),v.exp=o,v.expressions=[],v.$$watchDelegate=u}return v}h=!!h;for(var w,x,C,E=0,k=[],A=[],T=o.length,D=[],O=[];T>E;){if(-1==(w=o.indexOf(e,E))||-1==(x=o.indexOf(t,w+c))){E!==T&&D.push(a(o.substring(E)));break}E!==w&&D.push(a(o.substring(E,w))),C=o.substring(w+c,x),k.push(C),A.push(n(C,m)),E=x+p,O.push(D.length),D.push("")}if(d&&D.length>1&&eo.throwNoconcat(o),!l||k.length){var F=function(e){for(var t=0,n=k.length;n>t;t++){if(h&&y(e[t]))return;D[O[t]]=e[t]}return D.join("")},M=function(e){return d?i.getTrusted(d,e):i.valueOf(e)};return f(function(e){var t=0,n=k.length,i=new Array(n);try{for(;n>t;t++)i[t]=A[t](e);return F(i)}catch(a){r(eo.interr(o,a))}},{exp:o,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(A,function(r,i){var o=F(r);S(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,p=t.length,d=new RegExp(e.replace(/./g,o),"g"),h=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}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,p):o(m)}var f=arguments.length>4,p=f?B(arguments,4):[],d=t.setInterval,h=t.clearInterval,m=0,v=b(l)&&!l,g=(v?r:n).defer(),$=g.promise;return u=b(u)?u:0,$.$$intervalId=d(function(){v?i.defer(c):e.$evalAsync(c),g.notify(m++),u>0&&m>=u&&(g.resolve(m),h($.$$intervalId),delete a[$.$$intervalId]),v||e.$apply()},s),a[$.$$intervalId]=g,$}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 _t(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=re(t[n]);return t.join("/")}function Lt(e,t){var n=Mn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||no[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=Mn(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=te(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function zt(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 Ut(e){return e.replace(/(#.+)|#$/,"$1")}function qt(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function Ht(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!C(n))throw ro("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ne(this.$$search),n=this.$$hash?"#"+re(this.$$hash):"";this.$$url=_t(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 b(o=zt(e,r))?(a=o,s=b(o=zt(n,o))?t+(zt("/",o)||o):e+a):b(o=zt(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=zt(e,r)||zt(t,r);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=zt(n,a),y(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=_t(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 Gt(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=zt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=_t(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Yt(e,t){return function(n){return y(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Zt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return N(e)?(t.enabled=e,this):w(e)?(N(e.enabled)&&(t.enabled=e.enabled),N(e.requireBase)&&(t.requireBase=e.requireBase),N(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,p=r.baseHref(),d=r.url();if(t.enabled){if(!p&&t.requireBase)throw ro("nobase","$location in HTML5 mode requires a tag to be present!");f=Ht(d)+(p||"/"),c=i.history?Bt:Gt}else f=Vt(d),c=Wt;var h=qt(f);l=new c(f,h,"#"+e),l.$$parseLinkUrl(d,d),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=jr(e.target);"a"!==R(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");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Mn(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))}}),Ut(l.absUrl())!=Ut(d)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){return y(zt(h,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Ut(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)):(v=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=Ut(r.url()),t=Ut(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(v||c)&&(v=!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 Xt(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(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 i(e){var t=n.console||{},i=t[e]||t.log||m,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"), -error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Jt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw oo("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 oo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw oo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw oo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw oo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw oo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ao||e===so||e===uo)throw oo("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 oo("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,r;switch(e.type){case po.Program:n=!0,o(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case po.Literal:e.constant=!0,e.toWatch=[];break;case po.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case po.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 po.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case po.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 po.Identifier:e.constant=!1,e.toWatch=[e];break;case po.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 po.CallExpression:n=e.filter?an(t,e.callee.name):!1,r=[],o(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?r:[e];break;case po.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case po.ArrayExpression:n=!0,r=[],o(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case po.ObjectExpression:n=!0,r=[],o(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case po.ThisExpression:e.constant=!1,e.toWatch=[];break;case po.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function ln(e){return e.type===po.Identifier||e.type===po.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:po.AssignmentExpression,left:e.body[0].expression,right:{type:po.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===po.Literal||e.body[0].expression.type===po.ArrayExpression||e.body[0].expression.type===po.ObjectExpression)}function pn(e){return e.constant}function dn(e,t){this.astBuilder=e,this.$filter=t}function hn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function vn(e){return S(e.valueOf)?e.valueOf():mo.call(e)}function gn(){var e=ge(),t=ge();this.$get=["$filter",function(r){function i(n,i,o){var s,d,$;switch(o=o||g,typeof n){case"string":n=n.trim(),$=n;var y=o?t:e;if(s=y[$],!s){":"===n.charAt(0)&&":"===n.charAt(1)&&(d=!0,n=n.substring(2));var b=o?v:h,w=new fo(b),x=new ho(w,r,b);s=x.parse(n),s.constant?s.$$watchDelegate=f:d?s.$$watchDelegate=s.literal?c:l:s.inputs&&(s.$$watchDelegate=u),o&&(s=a(s)),y[$]=s}return p(s,i);case"function":return p(n,i);default:return p(m,i)}}function a(e){function t(t,n,r,i){var o=g;g=!0;try{return e(t,n,r,i)}finally{g=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=a(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&np;p++)c[p]=s,f[p]=null;return e.$watch(function(e){for(var t=!1,r=0,o=u.length;o>r;r++){var l=u[r](e);(t||(t=!s(l,c[r])))&&(f[r]=l,c[r]=l&&vn(l))}return t&&(a=i(e,n,n,f)),a},t,r,o)}function l(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,S(t)&&t.apply(this,arguments),b(e)&&r.$$postDigest(function(){b(o)&&i()})},n)}function c(e,t,n,r){function i(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,S(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function f(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function p(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==c&&n!==l,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 b(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==u?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=u,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var d=Zr().noUnsafeEval,h={csp:d,expensiveChecks:!1},v={csp:d,expensiveChecks:!0},g=!1;return i.$$runningExpensiveChecks=function(){return g},i}]}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,t){function i(){this.$$state={status:0}}function a(e,t){return function(n){t.call(e,n)}}function s(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{S(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){s(t)}))}function l(){this.promise=new i}function c(e){var t=new l,n=0,r=Wr(e)?[]:{};return o(e,function(e,i){n++,g(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var p=r("$q",TypeError),d=function(){var e=new l;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e};f(i.prototype,{then:function(e,t,n){if(y(e)&&y(t)&&y(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return v(t,!0,e)},function(t){return v(t,!1,e)},t)}}),f(l.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(p("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function n(e){s||(s=!0,o.$$resolve(e))}function r(e){s||(s=!0,o.$$reject(e))}var i,o=this,s=!1;try{(w(e)||S(e))&&(i=e&&e.then),S(i)?(this.promise.$$state.status=-1,i.call(e,n,r,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(l){r(l),t(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){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(S(e)?e(n):n)}catch(s){t(s)}}})}});var h=function(e){var t=new l;return t.reject(e),t.promise},m=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},v=function(e,t,n){var r=null;try{S(n)&&(r=n())}catch(i){return m(i,!1)}return I(r)?r.then(function(){return m(e,t)},function(e){return m(e,!1)}):m(e,t)},g=function(e,t,n,r){var i=new l;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(!S(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);var r=new l;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=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,l,c){function f(e){e.currentScope.$$destroyed=!0}function p(e){9===Ir&&(e.$$childHead&&p(e.$$childHead),e.$$nextSibling&&p(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function d(){this.$id=u(),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 h(e){if(E.$$phase)throw n("inprog","{0} already in progress",E.$$phase);E.$$phase=e}function v(){E.$$phase=null}function g(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function $(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function b(){}function x(){for(;T.length;)try{T.shift()()}catch(e){r(e)}s=null}function C(){null===s&&(s=c.defer(function(){E.$apply(x)}))}d.prototype={constructor:d,$new:function(t,n){var r;return n=n||this,t?(r=new d,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,s=o.$$watchers,u={fn:t,last:b,get:i,exp:r||e,eq:!!n};return a=null,S(t)||(u.fn=m),s||(s=o.$$watchers=[]),s.unshift(u),g(this,1),function(){z(s,u)>=0&&g(o,-1),a=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,u;if(!y(o)){if(w(o))if(i(o)){a!==d&&(a=d,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var l=0;t>l;l++)u=a[l],s=o[l],r=u!==u&&s!==s,r||u===s||(f++,a[l]=s)}else{a!==h&&(a=h={},v=0,f++),t=0;for(n in o)Dr.call(o,n)&&(t++,s=o[n],u=a[n],n in a?(r=u!==u&&s!==s,r||u===s||(f++,a[n]=s)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)Dr.call(o,n)||(v--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(w(o))if(i(o)){s=new Array(o.length);for(var e=0;e1,f=0,p=l(e,n),d=[],h={},m=!0,v=0;return this.$watch(p,r)},$digest:function(){var e,i,o,u,l,f,p,d,m,g,$=t,y=this,w=[];h("$digest"),c.$$checkUrlChange(),this===E&&null!==s&&(c.defer.cancel(s),x()),a=null;do{for(f=!1,d=y;k.length;){try{g=k.shift(),g.scope.$eval(g.expression,g.locals)}catch(C){r(C)}a=null}e:do{if(u=d.$$watchers)for(l=u.length;l--;)try{if(e=u[l])if((i=e.get(d))===(o=e.last)||(e.eq?q(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(e===a){f=!1;break e}}else f=!0,a=e,e.last=e.eq?V(i,null):i,e.fn(i,o===b?i:o,d),5>$&&(m=4-$,w[m]||(w[m]=[]),w[m].push({msg:S(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(C){r(C)}if(!(p=d.$$watchersCount&&d.$$childHead||d!==y&&d.$$nextSibling))for(;d!==y&&!(p=d.$$nextSibling);)d=d.$parent}while(d=p);if((f||k.length)&&!$--)throw v(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,w)}while(f||k.length);for(v();A.length;)try{A.shift()()}catch(C){r(C)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===E&&c.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(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=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,p(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){E.$$phase||k.length||c.defer(function(){k.length&&E.$digest()}),k.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){A.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{v()}}catch(t){r(t)}finally{try{E.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&T.push(t),e=l(e),C()},$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,$(i,1,e))}},$emit:function(e,t){var n,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=H([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,i=0,o=n.length;o>i;i++)if(n[i])try{n[i].apply(null,c)}catch(f){r(f)}else n.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,t){var n=this,i=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,u,l,c=H([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){r(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var E=new d,k=E.$$asyncQueue=[],A=E.$$postDigestQueue=[],T=E.$$applyAsyncQueue=[];return E}]}function Cn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=Mn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function En(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw vo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Yr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(A(e))return new RegExp("^"+e.source+"$");throw vo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function kn(e){var t=[];return b(e)&&o(e,function(e){t.push(En(e))}),t}function Sn(){this.SCE_CONTEXTS=go;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=kn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=kn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Nn(t):!!e.exec(t.href)}function i(n){var i,o,a=Mn(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 vo("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||y(t)||""===t)return t;if("string"!=typeof t)throw vo("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||y(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===go.RESOURCE_URL){if(i(t))return t;throw vo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===go.HTML)return l(t);throw vo("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw vo("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[go.HTML]=o(c),f[go.CSS]=o(c),f[go.URL]=o(c),f[go.JS]=o(c),f[go.RESOURCE_URL]=o(f[go.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function An(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Ir)throw vo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=U(go);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=v),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(go,function(e,t){var n=Or(t);r[Ce("parse_as_"+n)]=function(t){return i(e,t)},r[Ce("get_trusted_"+n)]=function(t){return a(e,t)},r[Ce("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/android (\d+)/.exec(Or((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,l=s.body&&s.body.style,c=!1,f=!1;if(l){for(var p in l)if(r=u.exec(p)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),c=!!("transition"in l||n+"Transition"in l),f=!!("animation"in l||n+"Animation"in l),!o||c&&f||(c=C(l.webkitTransition),f=C(l.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=Ir)return!1;if(y(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:Zr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}function Dn(){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 Ui("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,C(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var l=n.defaults&&n.defaults.transformResponse;return Wr(l)?l=l.filter(function(e){return e!==kt}):l===kt&&(l=null),n.get(a,f({cache:t,transformResponse:l},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=Hr.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Yr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),y(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=jn}function _n(e){function t(r,i){if(w(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Un),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",So),t("number",qn),t("orderBy",ar),t("uppercase",Ao)}function Ln(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=q:S(t)||(t=function(e,t){return y(e)?!1:null===e||null===t?e===t:w(t)||w(e)&&!$(e)?!1:(e=Or(""+e),t=Or(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!w(r)?zn(r,e.$,t,!1):zn(r,e,t,n)}}function zn(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return zn(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&zn(e[s],t,n,!0))return!0;return i?!1:zn(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!S(u)&&!y(u)){var l="$"===s,c=l?e:e[s];if(!zn(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 Un(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return y(n)&&(n=t.CURRENCY_SYM),y(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 qn(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 Hn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(wo))>-1&&(e=e.replace(wo,"")),(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)==xo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==xo;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>bo&&(t=t.splice(0,bo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Bn(e,t,n,r){var i=e.d,o=i.length-e.i;t=y(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0)i.splice(a);else{e.i=1,i.length=a=t+1;for(var u=0;a>u;u++)i[u]=0}for(s>=5&&i[a-1]++;t>o;o++)i.push(0);var l=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);l&&(i.unshift(l),e.i++)}function Wn(e,t,n,r,i){if(!C(e)&&!E(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=Hn(u),Bn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,p=o.e,d=[];for(s=c.reduce(function(e,t){return e&&!t},!0);0>f;)c.unshift(0),f++;f>0?d=c.splice(f):(d=c,c=[0]);var h=[];for(c.length>t.lgSize&&h.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)h.unshift(c.splice(-t.gSize).join(""));c.length&&h.unshift(c.join("")),l=h.join(n),d.length&&(l+=r+d.join("")),p&&(l+="e+"+p)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Gn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Gn(o,t,r)}}function Yn(e,t){return function(n,r){var i=n["get"+e](),o=Fr(t?"SHORT"+e:e);return r[o][i]}}function Zn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Gn(Math[r>0?"floor":"ceil"](r/60),2)+Gn(Math.abs(r%60),2)}function Xn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Jn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Xn(t.getFullYear()),r=Jn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Gn(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=d(t[9]+t[10]),o=d(t[9]+t[11])),a.call(r,d(t[1]),d(t[2])-1,d(t[3]));var u=d(t[4]||0)-i,l=d(t[5]||0)-o,c=d(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,f),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,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,C(n)&&(n=ko.test(n)?d(n):t(n)),E(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=Eo.exec(r),s?(l=H(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=Z(i,n.getTimezoneOffset()),n=J(n,i,!0)),o(l,function(t){a=Co[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return y(t)&&(t=2),Q(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):d(t),isNaN(t)?e:(E(e)&&(e=e.toString()),Wr(e)||C(e)?(n=!n||isNaN(n)?0:d(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 t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=v;if(S(t))i=t;else if(C(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 n(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(),n(e))?e:$(e)&&(e=e.toString(),n(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.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);Wr(n)||(n=[n]),0===n.length&&(n=["+"]);var c=t(n,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 S(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function ur(e,t){e.$name=t}function lr(e,t,r,i,a){var s=this,u=[];s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,s.$$parentForm=Oo,s.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},s.$addControl=function(e){he(e.$name,"input"),u.push(e),e.$name&&(s[e.$name]=e),e.$$parentForm=s},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),z(u,e),e.$$parentForm=Oo},Er({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&&(z(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,pa),i.addClass(e,da),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,pa,da+" "+Fo),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(u,function(e){e.$setPristine()})},s.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,Fo),s.$submitted=!0,s.$$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){pr(e,t,n,r,i,o),cr(r)}function pr(e,t,n,r,i,o){var a=Or(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,u()})}var u=function(e){if(l&&(o.defer.cancel(l),l=null),!s){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Qr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var l,c=function(e,t,n){l||(l=o.defer(function(){l=null,t&&t.value===n||u(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",u),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue; -t.val()!==e&&t.val(e)}}function dr(e,t){if(k(e))return e;if(C(e)){Vo.lastIndex=0;var n=Vo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Xn(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 hr(e,t){return function(n,r){var i,a;if(k(n))return n;if(C(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),jo.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n=v},s.$observe("min",function(e){v=d(e),u.$validate()})}if(b(s.max)||s.ngMax){var g;u.$validators.max=function(e){return!p(e)||y(g)||r(e)<=g},s.$observe("max",function(e){g=d(e),u.$validate()})}}}function vr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Tr)||{};return r.badInput||r.typeMismatch?n:e})}function gr(e,t,r,i,o,a){if(vr(e,t,r,i),pr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Lo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!E(e))throw ya("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),b(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||y(s)||e>=s},r.$observe("min",function(e){b(e)&&!E(e)&&(e=parseFloat(e,10)),s=E(e)&&!isNaN(e)?e:n,i.$validate()})}if(b(r.max)||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||y(u)||u>=e},r.$observe("max",function(e){b(e)&&!E(e)&&(e=parseFloat(e,10)),u=E(e)&&!isNaN(e)?e:n,i.$validate()})}}function $r(e,t,n,r,i,o){pr(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)||Po.test(n)}}function yr(e,t,n,r,i,o){pr(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)||_o.test(n)}}function br(e,t,n,r){y(n.name)&&t.attr("name",u());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(b(r)){if(o=e(r),!o.constant)throw ya("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 q(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Cr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function d(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!q(e,h)){var r=i(h);p(r,n)}}else l(n)}h=U(e)}var h;a.$watch(u[e],d,!0),u.$observe("class",function(t){d(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,u){y(t)?r("$pending",e,u):i("$pending",e,u),N(t)?t?(f(s.$error,e,u),c(s.$$success,e,u)):(c(s.$error,e,u),f(s.$$success,e,u)):(f(s.$error,e,u),f(s.$$success,e,u)),s.$pending?(o(va,!0),s.$valid=s.$invalid=n,a("",null)):(o(va,!1),s.$valid=kr(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var l;l=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,l),s.$$parentForm.$setValidity(e,l,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),kr(s[e])&&(s[e]=n)}function o(e,t){t&&!l[e]?(p.addClass(u,e),l[e]=!0):!t&&l[e]&&(p.removeClass(u,e),l[e]=!1)}function a(e,t){e=e?"-"+ce(e,"-"):"",o(ca+e,t===!0),o(fa+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,p=e.$animate;l[fa]=!(l[ca]=u.hasClass(ca)),s.$setValidity=t}function kr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Sr(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Ar=/^\/(.+)\/([a-z]*)$/,Tr="validity",Dr=Object.prototype.hasOwnProperty,Or=function(e){return C(e)?e.toLowerCase():e},Fr=function(e){return C(e)?e.toUpperCase():e},Mr=function(e){return C(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Nr=function(e){return C(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Or=Mr,Fr=Nr);var Ir,jr,Pr,_r,Lr=[].slice,Rr=[].splice,zr=[].push,Vr=Object.prototype.toString,Ur=Object.getPrototypeOf,qr=r("ng"),Hr=e.angular||(e.angular={}),Br=0;Ir=t.documentMode,m.$inject=[],v.$inject=[];var Wr=Array.isArray,Gr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Qr=function(e){return C(e)?e.trim():e},Yr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Jr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Xr.name_=i},Jr=["ng-","data-ng-","ng:","x-ng-"],Kr=/[A-Z]/g,ei=!1,ti=1,ni=2,ri=3,ii=8,oi=9,ai=11,si={full:"1.5.0-rc.2",major:1,minor:5,dot:0,codeName:"controller-requisition"};Fe.expando="ng339";var ui=Fe.cache={},li=1,ci=function(e,t,n){e.addEventListener(t,n,!1)},fi=function(e,t,n){e.removeEventListener(t,n,!1)};Fe._data=function(e){return this.cache[e[this.expando]]||{}};var pi=/([\:\-\_]+(.))/g,di=/^moz([A-Z])/,hi={mouseleave:"mouseout",mouseenter:"mouseover"},mi=r("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,gi=/<|&#?\w+;/,$i=/<([\w:-]+)/,yi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,bi={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};bi.optgroup=bi.option,bi.tbody=bi.tfoot=bi.colgroup=bi.caption=bi.thead,bi.th=bi.td;var wi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},xi=Fe.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Fe(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return jr(e>=0?this[e]:this[this.length+e])},length:0,push:zr,sort:[].sort,splice:[].splice},Ci={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Or(e)]=e});var Ei={};o("input,select,option,textarea,button,form,details".split(","),function(e){Ei[e]=!0});var ki={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:_e,removeData:je,hasData:Se,cleanData:Ae},function(e,t){Fe[t]=e}),o({data:_e,inheritedData:qe,scope:function(e){return jr.data(e,"$scope")||qe(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return jr.data(e,"$isolateScope")||jr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return qe(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Le,css:function(e,t,n){return t=Ce(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ri&&i!==ni&&i!==ii){var o=Or(t);if(Ci[o]){if(!b(r))return e[t]||(e.attributes.getNamedItem(t)||m).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(b(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(y(t)){var n=e.nodeType;return n===ti||n===ri?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===R(e)){var n=[];return o(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 y(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:He},function(e,t){Fe.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==He&&y(2==e.length&&e!==Le&&e!==Ue?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===_e)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=y(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}}),o({removeData:je,on:function(e,t,r,i){if(b(i))throw mi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var o=Pe(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ye(e,a));for(var u=t.indexOf(" ")>=0?t.split(" "):[t],l=u.length,c=function(t,n,i){var o=a[t];o||(o=a[t]=[],o.specialHandlerWrapper=n,"$destroy"===t||i||ci(e,t,s)),o.push(r)};l--;)t=u[l],hi[t]?(c(hi[t],Xe),c(t,n,!0)):c(t)}},off:Ie,one:function(e,t,n){e=jr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;Ne(e),o(new Fe(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===ti&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ti||n===ai){t=new Fe(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===ti){var n=e.firstChild;o(new Fe(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Oe(e,jr(t).eq(0).clone()[0])},remove:Be,detach:function(e){Be(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Fe(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:ze,removeClass:Re,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!Le(e,t)),(r?ze:Re)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ai?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 r,i,a,s=t.type||t,u=Pe(e),l=u&&u.events,c=l&&l[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:m,type:s,target:e},t.type&&(r=f(r,t)),i=U(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Fe.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)y(i)?(i=e(this[o],t,n,r),b(i)&&(i=jr(i))):Ve(i,e(this[o],t,n,r));return b(i)?i:this},Fe.prototype.bind=Fe.prototype.on,Fe.prototype.unbind=Fe.prototype.off}),et.prototype={put:function(e,t){this[Ke(e,this.nextUid)]=t},get:function(e){return this[Ke(e,this.nextUid)]},remove:function(e){var t=this[e=Ke(e,this.nextUid)];return delete this[e],t}};var Si=[function(){this.$get=[function(){return et}]}],Ai=/^([^\(]+?)=>/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Di=/,/,Oi=/^\s*(_?)(\S+?)\1\s*$/,Fi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Mi=r("$injector");it.$$annotate=rt;var Ni=r("$animate"),Ii=1,ji="ng-animate",Pi=function(){this.$get=function(){}},_i=function(){var e=new et,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=C(t)?t.split(" "):Wr(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=ut(t.attr("class")),i="",a="";o(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&ze(e,i),a&&Re(e,a)}),e.remove(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&r.$$postDigest(a))}return{enabled:m,on:m,off:m,pin:m,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}}}]},Li=["$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+|\\/)"+ji+"(\\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.',ji)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=st(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&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",lt(o))},move:function(n,r,i,o){return r=r&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",lt(o))},leave:function(t,n){return e.push(t,"leave",lt(n),function(){t.remove()})},addClass:function(t,n,r){return r=lt(r),r.addClass=at(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=lt(r),r.removeClass=at(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=lt(i),i.addClass=at(i.addClass,n),i.removeClass=at(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=lt(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=at(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ri=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){lo[e]=!0});var co={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},fo=function(e){this.options=e};fo.prototype={constructor:fo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw oo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:po.Program,body:e}},expressionStatement:function(){return{type:po.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:po.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:po.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:po.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:po.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:po.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:po.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:po.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:po.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:po.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.constants.hasOwnProperty(this.peek().text)?e=V(this.constants[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:po.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:po.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:po.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:po.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:po.Identifier,name:e.text}},constant:function(){return{type:po.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:po.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:po.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:po.ObjectExpression,properties:t}},throwError:function(e,t){throw oo("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 oo("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 oo("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},constants:{"true":{type:po.Literal,value:!0},"false":{type:po.Literal,value:!1},"null":{type:po.Literal,value:null},undefined:{type:po.Literal,value:n},"this":{type:po.ThisExpression},$locals:{type:po.LocalsExpression}}},dn.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,r.$filter);var a,s="";if(this.stage="assign",a=cn(i)){this.state.computing="assign";var u=this.nextId();this.recurse(a,u),this.return_(u),s="fn.assign="+this.generateFunction("assign","s,v,l")}var l=un(i.body);r.stage="inputs",o(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",f=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Jt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=n,f.literal=fn(i),f.constant=pn(i),f},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(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 o(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,r,i,a,s){var u,l,c,f,p=this;if(i=i||m,!s&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,a,!0));switch(e.type){case po.Program:o(e.body,function(t,r){p.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?p.current().body.push(l,";"):p.return_(l)});break;case po.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case po.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),f=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,f),i(f);break;case po.BinaryExpression:this.recurse(e.left,n,n,function(e){u=e}),this.recurse(e.right,n,n,function(e){l=e}),f="+"===e.operator?this.plus(u,l):"-"===e.operator?this.ifDefined(u,0)+e.operator+this.ifDefined(l,0):"("+u+")"+e.operator+"("+l+")",this.assign(t,f),i(f);break;case po.LogicalExpression:t=t||this.nextId(),p.recurse(e.left,t),p.if_("&&"===e.operator?t:p.not(t),p.lazyRecurse(e.right,t)),i(t);break;case po.ConditionalExpression:t=t||this.nextId(),p.recurse(e.test,t),p.if_(t,p.lazyRecurse(e.alternate,t),p.lazyRecurse(e.consequent,t)),i(t);break;case po.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===p.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Jt(e.name),p.if_("inputs"===p.stage||p.not(p.getHasOwnProperty("l",e.name)),function(){p.if_("inputs"===p.stage||"s",function(){a&&1!==a&&p.if_(p.not(p.nonComputedMember("s",e.name)),p.lazyAssign(p.nonComputedMember("s",e.name),"{}")),p.assign(t,p.nonComputedMember("s",e.name))})},t&&p.lazyAssign(t,p.nonComputedMember("l",e.name))), -(p.state.expensiveChecks||mn(e.name))&&p.addEnsureSafeObject(t),i(t);break;case po.MemberExpression:u=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),p.recurse(e.object,u,n,function(){p.if_(p.notNull(u),function(){a&&1!==a&&p.addEnsureSafeAssignContext(u),e.computed?(l=p.nextId(),p.recurse(e.property,l),p.getStringValue(l),p.addEnsureSafeMemberName(l),a&&1!==a&&p.if_(p.not(p.computedMember(u,l)),p.lazyAssign(p.computedMember(u,l),"{}")),f=p.ensureSafeObject(p.computedMember(u,l)),p.assign(t,f),r&&(r.computed=!0,r.name=l)):(Jt(e.property.name),a&&1!==a&&p.if_(p.not(p.nonComputedMember(u,e.property.name)),p.lazyAssign(p.nonComputedMember(u,e.property.name),"{}")),f=p.nonComputedMember(u,e.property.name),(p.state.expensiveChecks||mn(e.property.name))&&(f=p.ensureSafeObject(f)),p.assign(t,f),r&&(r.computed=!1,r.name=e.property.name))},function(){p.assign(t,"undefined")}),i(t)},!!a);break;case po.CallExpression:t=t||this.nextId(),e.filter?(l=p.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=p.nextId();p.recurse(e,t),c.push(t)}),f=l+"("+c.join(",")+")",p.assign(t,f),i(t)):(l=p.nextId(),u={},c=[],p.recurse(e.callee,l,u,function(){p.if_(p.notNull(l),function(){p.addEnsureSafeFunction(l),o(e.arguments,function(e){p.recurse(e,p.nextId(),n,function(e){c.push(p.ensureSafeObject(e))})}),u.name?(p.state.expensiveChecks||p.addEnsureSafeObject(u.context),f=p.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):f=l+"("+c.join(",")+")",f=p.ensureSafeObject(f),p.assign(t,f)},function(){p.assign(t,"undefined")}),i(t)}));break;case po.AssignmentExpression:if(l=this.nextId(),u={},!ln(e.left))throw oo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,n,u,function(){p.if_(p.notNull(u.context),function(){p.recurse(e.right,l),p.addEnsureSafeObject(p.member(u.context,u.name,u.computed)),p.addEnsureSafeAssignContext(u.context),f=p.member(u.context,u.name,u.computed)+e.operator+l,p.assign(t,f),i(t||f)})},1);break;case po.ArrayExpression:c=[],o(e.elements,function(e){p.recurse(e,p.nextId(),n,function(e){c.push(e)})}),f="["+c.join(",")+"]",this.assign(t,f),i(f);break;case po.ObjectExpression:c=[],o(e.properties,function(e){p.recurse(e.value,p.nextId(),n,function(t){c.push(p.escape(e.key.type===po.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case po.ThisExpression:this.assign(t,"s"),i("s");break;case po.LocalsExpression:this.assign(t,"l"),i("l");break;case po.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){return e+"."+t},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(C(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(E(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 oo("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]}},hn.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(r,n.$filter);var i,a;(i=cn(r))&&(a=this.recurse(i));var s,u=un(r.body);u&&(s=[],o(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];o(r.body,function(e){l.push(n.recurse(e.expression))});var c=0===r.body.length?function(){}:1===r.body.length?l[0]:function(e,t){var n;return o(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(r),c.constant=pn(r),c},recurse:function(e,t,r){var i,a,s,u=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case po.Literal:return this.value(e.value,t);case po.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case po.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case po.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case po.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case po.Identifier:return Jt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||mn(e.name),t,r,u.expression);case po.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Jt(e.property.name,u.expression),a=e.property.name),e.computed&&(a=this.recurse(e.property)),e.computed?this.computedMember(i,a,t,r,u.expression):this.nonComputedMember(i,a,u.expensiveChecks,t,r,u.expression);case po.CallExpression:return s=[],o(e.arguments,function(e){s.push(u.recurse(e))}),e.filter&&(a=this.$filter(e.callee.name)),e.filter||(a=this.recurse(e.callee,!0)),e.filter?function(e,r,i,o){for(var u=[],l=0;l":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:n,name:n,value:e}:e}},identifier:function(e,t,r,i,o){return function(a,s,u,l){var c=s&&e in s?s:a;i&&1!==i&&c&&!c[e]&&(c[e]={});var f=c?c[e]:n;return t&&en(f,o),r?{context:c,name:e,value:f}:f}},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),Jt(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,r,i,o,a){return function(s,u,l,c){var f=e(s,u,l,c);o&&1!==o&&(nn(f),f&&!f[t]&&(f[t]={}));var p=null!=f?f[t]:n;return(r||mn(t))&&en(p,a),i?{context:f,name:t,value:p}:p}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var ho=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new po(this.lexer),this.astCompiler=n.csp?new hn(this.ast,t):new dn(this.ast,t)};ho.prototype={constructor:ho,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var mo=Object.prototype.valueOf,vo=r("$sce"),go={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ui=r("$compile"),$o=t.createElement("a"),yo=Mn(e.location.href);jn.$inject=["$document"],_n.$inject=["$provide"];var bo=22,wo=".",xo="0";Un.$inject=["$locale"],qn.$inject=["$locale"];var Co={yyyy:Qn("FullYear",4),yy:Qn("FullYear",2,0,!0),y:Qn("FullYear",1),MMMM:Yn("Month"),MMM:Yn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),dd:Qn("Date",2),d:Qn("Date",1),HH:Qn("Hours",2),H:Qn("Hours",1),hh:Qn("Hours",2,-12),h:Qn("Hours",1,-12),mm:Qn("Minutes",2),m:Qn("Minutes",1),ss:Qn("Seconds",2),s:Qn("Seconds",1),sss:Qn("Milliseconds",3),EEEE:Yn("Day"),EEE:Yn("Day",!0),a:er,Z:Zn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,ko=/^\-?\d+$/;rr.$inject=["$locale"];var So=g(Or),Ao=g(Fr);ar.$inject=["$parse"];var To=g({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()})}}}}),Do={};o(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)}),Do[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(ki,function(e,t){Do[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Ar);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=mt("ng-"+e);Do[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(Ir&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Oo={$addControl:m,$$renameControl:ur,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},Fo="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Mo=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||m}var o={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(r,o){r.addClass(pa).addClass(ca);var a=o.name?"name":e&&o.ngForm?"ngForm":!1;return{pre:function(e,r,o,s){var u=s[0];if(!("action"in o)){var l=function(t){e.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),t.preventDefault()};ci(r[0],"submit",l),r.on("$destroy",function(){t(function(){fi(r[0],"submit",l)},0,!1)})}var c=s[1]||u.$$parentForm;c.$addControl(u);var p=a?i(u.$name):m;a&&(p(e,u),o.$observe(a,function(t){u.$name!==t&&(p(e,n),u.$$parentForm.$$renameControl(u,t),(p=i(u.$name))(e,u))})),r.on("$destroy",function(){u.$$parentForm.$removeControl(u),p(e,n),f(u,Oo)})}}}};return o}]},No=Mo(),Io=Mo(!0),jo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Po=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,_o=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Lo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ro=/^(\d{4})-(\d{2})-(\d{2})$/,zo=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo=/^(\d{4})-W(\d\d)$/,Uo=/^(\d{4})-(\d\d)$/,qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ho={text:fr,date:mr("date",Ro,hr(Ro,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",zo,hr(zo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",qo,hr(qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",Vo,dr,"yyyy-Www"),month:mr("month",Uo,hr(Uo,["yyyy","MM"]),"yyyy-MM"),number:gr,url:$r,email:yr,radio:br,checkbox:xr,hidden:m,button:m,submit:m,reset:m,file:m},Bo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ho[Or(a.type)]||Ho.text)(i,o,a,s[0],t,e,n,r)}}}}],Wo=/^(true|false|\d+)$/,Go=function(){return{restrict:"A",priority:100,compile:function(e,t){return Wo.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)})}}}},Qo=["$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=y(e)?"":e})}}}}],Yo=["$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=y(e)?"":e})}}}}],Zo=["$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))||"")})}}}}],Xo=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Jo=Cr("",!0),Ko=Cr("Odd",0),ea=Cr("Even",1),ta=sr({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),na=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ra={},ia={blur:!0,focus:!0};o("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);ra[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})};ia[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var oa=["$animate",function(e){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=ve(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],aa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Hr.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,p,d,h=0,m=function(){p&&(p.remove(),p=null),f&&(f.$destroy(),f=null),d&&(n.leave(d).then(function(){p=null}),p=d,d=null)};r.$watch(o,function(o){var u=function(){!b(s)||s&&!r.$eval(s)||t()},p=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&p===h){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,d=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||p===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],sa=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void e(Te(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],ua=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),la=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,u=s?Qr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Qr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Wr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ca="ng-valid",fa="ng-invalid",pa="ng-pristine",da="ng-dirty",ha="ng-untouched",ma="ng-touched",va="ng-pending",ga="ng-empty",$a="ng-not-empty",ya=r("ngModel"),ba=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,u,l,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,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=n,this.$name=f(r.name||"",!1)(e),this.$$parentForm=Oo;var p,d=a(r.ngModel),h=d.assign,v=d,g=h,$=null,w=this;this.$$setOptions=function(e){if(w.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");v=function(e){var n=d(e);return S(n)&&(n=t(e)),n},g=function(e,t){S(d(e))?n(e,{$$$p:w.$modelValue}):h(e,w.$modelValue)}}else if(!d.assign)throw ya("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,K(i))},this.$render=m,this.$isEmpty=function(e){return y(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){w.$isEmpty(e)?(s.removeClass(i,$a),s.addClass(i,ga)):(s.removeClass(i,ga),s.addClass(i,$a))};var x=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,da),s.addClass(i,pa)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,pa),s.addClass(i,da),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,ha,ma)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,ma,ha)},this.$rollbackViewValue=function(){u.cancel($),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!E(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$lastCommittedViewValue,t=w.$$rawModelValue,r=w.$valid,i=w.$modelValue,o=w.$options&&w.$options.allowInvalid;w.$$runValidators(t,e,function(e){o||r===e||(w.$modelValue=e?t:n,w.$modelValue!==i&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=w.$$parserName||"parse";return y(p)?(u(e,null),!0):(p||(o(w.$validators,function(e,t){u(t,null)}),o(w.$asyncValidators,function(e,t){u(t,null)})),u(e,p),p)}function a(){var n=!0;return o(w.$validators,function(r,i){var o=r(e,t);n=n&&o,u(i,o)}),n?!0:(o(w.$asyncValidators,function(e,t){u(t,null)}),!1)}function s(){var r=[],i=!0;o(w.$asyncValidators,function(o,a){var s=o(e,t);if(!I(s))throw ya("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);u(a,n),r.push(s.then(function(){u(a,!0)},function(e){i=!1,u(a,!1)}))}),r.length?c.all(r).then(function(){l(i)},m):l(!0)}function u(e,t){f===x&&w.$setValidity(e,t)}function l(e){f===x&&r(e)}x++;var f=x;return i()&&a()?void s():void l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;u.cancel($),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$updateEmptyClasses(e),w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){w.$modelValue!==a&&w.$$writeModelToScope()}var r=w.$$lastCommittedViewValue,i=r;if(p=y(i)?n:!0)for(var o=0;oo;o++){var u=e===n?o:n[o],l=(e[u],C(e[u],u)),c=v(e[u],l);if(t.push(c),s[2]||s[1]){var f=$(r,l);t.push(f)}if(s[4]){var p=b(r,l);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],i=a(n),s=i.length,u=0;s>u;u++){var l=n===i?u:i[u],c=n[l],p=C(c,l),d=h(r,p),m=v(d,p),x=$(r,p),E=y(r,p),k=b(r,p),S=new o(m,d,x,E,k);e.push(S),t[m]=S}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return f?Hr.copy(e.viewValue):e.viewValue}}}}}function a(t,n,i,a){function l(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 c(e,t,n,r){var i;return t&&Or(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function f(e){for(var t;e;)t=e.nextSibling,Be(e),e=t}function p(e){var t=h&&h[0],n=C&&C[0];if(t||n)for(;e&&(e===t||e===n||e.nodeType===ii||"option"===R(e)&&""===e.value);)e=e.nextSibling;return e}function d(){var e=E&&m.readValue();E=k.getOptions();var t={},r=n[0].firstChild;if(x&&n.prepend(h),r=p(r),E.items.forEach(function(e){var i,o,a;b(e.group)?(i=t[e.group],i||(o=c(n[0],r,"optgroup",u),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",s),l(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",s),l(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){f(t[e].currentOptionElement)}),f(r),v.$render(),!v.$isEmpty(e)){var i=m.readValue(),o=k.trackBy||g;(o?q(e,i):e===i)||(v.$setViewValue(i),v.$render())}}for(var h,m=a[0],v=a[1],g=i.multiple,$=0,y=n.children(),w=y.length;w>$;$++)if(""===y[$].value){h=y.eq($);break}var x=!!h,C=jr(s.cloneNode(!1));C.val("?");var E,k=r(i.ngOptions,n,t),S=function(){x||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},A=function(){x||h.remove()},T=function(){n.prepend(C),n.val("?"),C.prop("selected",!0),C.attr("selected",!0)},D=function(){C.remove()};g?(v.$isEmpty=function(e){return!e||0===e.length},m.writeValue=function(e){E.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=E.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},m.readValue=function(){var e=n.val()||[],t=[];return o(e,function(e){var n=E.selectValueMap[e];n&&!n.disabled&&t.push(E.getViewValueFromOption(n))}),t},k.trackBy&&t.$watchCollection(function(){return Wr(v.$viewValue)?v.$viewValue.map(function(e){return k.getTrackByValue(e)}):void 0},function(){v.$render()})):(m.writeValue=function(e){var t=E.getOptionFromViewValue(e);t&&!t.disabled?n[0].value!==t.selectValue&&(D(),A(),n[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||x?(D(),S()):(A(),T())},m.readValue=function(){var e=E.selectValueMap[n.val()];return e&&!e.disabled?(A(),D(),E.getViewValueFromOption(e)):null},k.trackBy&&t.$watch(function(){return k.getTrackByValue(v.$viewValue)},function(){v.$render()})),x?(h.remove(),e(h)(t),h.removeClass("ng-scope")):h=jr(s.cloneNode(!1)),d(),t.$watchCollection(k.getWatchables,d)}var s=t.createElement("option"),u=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:a}}}],Ta=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,p=u.$attr.when&&s.attr(u.$attr.when),d=u.offset||0,h=a.$eval(p)||{},v={},g=t.startSymbol(),$=t.endSymbol(),b=g+f+"-"+d+$,w=Hr.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Or(n[2]);h[r]=s.attr(u.$attr[t])}}),o(h,function(e,n){v[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in h||(r=e.pluralCat(r-d)),r!==c&&!(i&&E(c)&&isNaN(c))){w();var o=v[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+p),w=m,l()):w=a.$watch(o,l),c=r}})}}}],Da=["$parse","$animate",function(e,a){var s="$$NG_REMOVED",u=r("ngRepeat"),l=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))},c=function(e){return e.clone[0]},f=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,p){var d=p.ngRepeat,h=t.createComment(" end ngRepeat: "+d+" "),m=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var v=m[1],g=m[2],$=m[3],y=m[4];if(m=v.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!m)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",v);var b=m[3]||m[1],w=m[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var x,C,E,k,S={$id:Ke};return y?x=e(y):(E=function(e,t){return Ke(t)},k=function(e){return e}),function(e,t,r,p,m){x&&(C=function(t,n,r){return w&&(S[w]=t),S[b]=n,S.$index=r,x(e,S)});var v=ge();e.$watchCollection(g,function(r){var p,g,y,x,S,A,T,D,O,F,M,N,I=t[0],j=ge();if($&&(e[$]=r),i(r))O=r,D=C||E;else{D=C||k,O=[];for(var P in r)Dr.call(r,P)&&"$"!==P.charAt(0)&&O.push(P)}for(x=O.length,M=new Array(x),p=0;x>p;p++)if(S=r===O?p:O[p],A=r[S],T=D(S,A,p),v[T])F=v[T],delete v[T],j[T]=F,M[p]=F;else{if(j[T])throw o(M,function(e){e&&e.scope&&(v[e.id]=e)}),u("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,T,A);M[p]={id:T,scope:n,clone:n},j[T]=!0}for(var _ in v){if(F=v[_],N=ve(F.clone),a.leave(N),N[0].parentNode)for(p=0,g=N.length;g>p;p++)N[p][s]=!0;F.scope.$destroy()}for(p=0;x>p;p++)if(S=r===O?p:O[p],A=r[S],F=M[p],F.scope){y=I;do y=y.nextSibling;while(y&&y[s]);c(F)!=y&&a.move(ve(F.clone),null,jr(I)),I=f(F),l(F.scope,p,b,A,w,S,x)}else m(function(e,t){F.scope=t;var n=h.cloneNode(!1);e[e.length++]=n, -a.enter(e,null,jr(I)),I=n,F.clone=e,j[F.id]=F,l(F.scope,p,b,A,w,S,x)});v=j})}}}}],Oa="ng-hide",Fa="ng-hide-animate",Ma=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Oa,{tempClasses:Fa})})}}}],Na=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Oa,{tempClasses:Fa})})}}}],Ia=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),ja=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],l=[],c=[],f=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=ve(l[r].clone);f[r].$destroy();var d=c[r]=e.leave(s);d.then(p(c,r))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(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)})})})}}}],Pa=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})}}),_a=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})}}),La=r("ngTransclude"),Ra=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 La("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),za=["$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)}}}}],Va={$setViewValue:m,$render:m},Ua=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new et;o.ngModelCtrl=Va,o.unknownOption=jr(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Ke(t)+" ?";o.unknownOption.val(n),e.prepend(o.unknownOption),e.val(n)},r.$on("$destroy",function(){o.renderUnknownOption=m}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),e.val()},o.writeValue=function(t){o.hasOption(t)?(o.removeUnknownOption(),e.val(t),""===t&&o.emptyOption.prop("selected",!0)):null==t&&o.emptyOption?(o.removeUnknownOption(),e.val("")):o.renderUnknownOption(t)},o.addOption=function(e,t){he(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),Sr(t)},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a.remove(e),""===e&&(o.emptyOption=n)):a.put(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.registerOption=function(e,t,n,r,i){if(r){var a;n.$observe("value",function(e){b(a)&&o.removeOption(a),a=e,o.addOption(e,t)})}else i?e.$watch(i,function(e,r){n.$set("value",e),r!==e&&o.removeOption(r),o.addOption(e,t)}):o.addOption(n.value,t);t.on("$destroy",function(){o.removeOption(n.value),o.ngModelCtrl.$render()})}}],qa=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,t.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new et(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||q(s,i.$viewValue)||(s=U(i.$viewValue),i.$render()),u=i.$viewValue}),i.$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:Ua,priority:1,link:{pre:e,post:t}}},Ha=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(b(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)}}}}],Ba=g({restrict:"E",terminal:!1}),Wa=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()}))}}},Ga=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(C(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,K(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Qa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=d(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Ya=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(fe(),we(Hr),Hr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function r(e,r){var i=r;n===i&&(i=Math.min(t(e),3));var o=Math.pow(10,i),a=(e*o|0)%o;return{v:i,f:a}}var i={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 n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void jr(t).ready(function(){ae(t,se)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],8:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":7}],9:[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,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('
'),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.heightr?(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,p,d,h;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=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=p.length;l>a;a++)n=p[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),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),d=e.previewElement.querySelectorAll("[data-dz-remove]"),h=[],s=0,c=d.length;c>s;s++)i=d[s],h.push(i.addEventListener("click",r));return h}},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:'
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
'},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('
'+this.options.dictDefaultMessage+"
")),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.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
',this.options.dictFallbackText&&(r+="

"+this.options.dictFallbackText+"

"),r+='
',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('
'),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""+r+" "+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;return n=e.createReader(),r=function(e){return function(n){var r,i,o;for(i=0,o=n.length;o>i;i++)r=n[i],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)}}(this),n.readEntries(r,function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0})},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,p;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!=(p=s.trgY)?p: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,p,d,h,m,v,g,$,y,b,w,x,C,E,k,S,A,T,D,O,F,M,N,I,j,P,_;for(x=new XMLHttpRequest,C=0,A=e.length;A>C;C++)n=e[C],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,p;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(p=[],u=0,f=e.length;f>u;u++)n=e[u],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(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),g=null!=(M=x.upload)?M:x,g.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){N=this.options.params;for(h in N)w=N[h],o.append(h,w)}for(E=0,T=e.length;T>E;E++)n=e[E],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(I=this.element.querySelectorAll("input, textarea, select, button"),k=0,D=I.length;D>k;k++)if(f=I[k],p=f.getAttribute("name"),d=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(j=f.options,S=0,O=j.length;O>S;S++)v=j[S],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(P=d.toLowerCase())&&"radio"!==P||f.checked)&&o.append(p,f.value);for(c=F=0,_=e.length-1;_>=0?_>=F:F>=_;c=_>=0?++F:--F)o.append(this._getParamName(c),e[c],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.2.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)},{}],10:[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,p=a.clearInterval,d=a.getComputedStyle,h=a.encodeURIComponent,m=a.ActiveXObject,v=a.Error,g=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,C=a.Object.prototype.hasOwnProperty,E=a.Array.prototype.slice,k=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}(),S=function(e){return E.call(e,0)},A=function(){var e,t,r,i,o,a,s=S(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)C.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},T=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++)C.call(e,n)&&(t[n]=T(e[n]));else{t={};for(i in e)C.call(e,i)&&(t[i]=T(e[i]))}return t},D=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},O=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},F=function(e){if(e)for(var t in e)C.call(e,t)&&delete e[t];return e},M=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},N=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},I=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},j=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||I(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=j())?e:n},_=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=N(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=N(P())||_()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),z={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",U={},q={},H=null,B=0,W=0,G={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"}},Q=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Y=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Z=new RegExp("^flash-("+Y.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X=new RegExp("^flash-("+Y.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={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(C.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==z.bridge)if("containerId"===t||"swfObjectId"===t){if(!he(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");J[t]=e[t]}else J[t]=e[t];{if("string"!=typeof e||!e)return T(J);if(C.call(J,e))return J[e]}},ee=function(){return We(),{browser:D(u,["userAgent","platform","appName"]),flash:O(z,["bridge"]),zeroclipboard:{version:Qe.version,config:Qe.config()}}},te=function(){return!!(z.disabled||z.outdated||z.sandboxed||z.unavailable||z.degraded||z.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)C.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Qe.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,U[e]||(U[e]=[]),U[e].push(t);if(s.ready&&z.ready&&Qe.emit({type:"ready"}),s.error){for(i=0,o=Y.length;o>i;i++)if(z[Y[i].replace(/^flash-/,"")]===!0){Qe.emit({type:"error",name:Y[i]});break}r!==n&&Qe.version!==r&&Qe.emit({type:"error",name:"version-mismatch",jsVersion:Qe.version,swfVersion:r})}}return Qe},re=function(e,t){var n,r,i,o,a;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)C.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Qe.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 Qe},ie=function(e){var t;return t="string"==typeof e&&e?T(U[e])||null:T(U)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&z.overdue===!0?Qe.emit({type:"error",name:"flash-overdue"}):(t=A({},e),be.call(this,t),"copy"===e.type&&(r=Oe(q),n=r.data,H=r.formatMap),n):void 0},ae=function(){var e=z.sandboxed;if(We(),"boolean"!=typeof z.ready&&(z.ready=!1),z.sandboxed!==e&&z.sandboxed===!0)z.ready=!1,Qe.emit({type:"error",name:"flash-sandboxed"});else if(!Qe.isFlashUnusable()&&null===z.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(B=l(function(){"boolean"!=typeof z.deactivated&&(z.deactivated=!0),z.deactivated===!0&&Qe.emit({type:"error",name:"flash-deactivated"})},t)),z.overdue=!1,Te()}},se=function(){Qe.clearData(),Qe.blur(),Qe.emit("destroy"),De(),Qe.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Qe.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&C.call(n,r)&&"string"==typeof n[r]&&n[r]&&(q[r]=n[r])},le=function(e){"undefined"==typeof e?(F(q),H=null):"string"==typeof e&&C.call(q,e)&&delete q[e]},ce=function(e){return"undefined"==typeof e?T(q):"string"==typeof e&&C.call(q,e)?q[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,J.activeClass),i!==e&&Le(i,J.hoverClass)),i=e,_e(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(z.bridge);n&&n.setAttribute("title",t)}var r=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");He(r),qe()}},pe=function(){var e=Ae(z.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,J.hoverClass),Le(i,J.activeClass),i=null)},de=function(){return i||null},he=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),A(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:z&&z.bridge||null,timeStamp:e.timeStamp||b()||null});var n=G[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&A(e,{target:null,version:z.version}),"error"===e.type&&(Z.test(e.name)&&A(e,{target:null,minimumVersion:V}),X.test(e.name)&&A(e,{version:z.version})),"copy"===e.type&&(e.clipboardData={setData:Qe.setData,clearData:Qe.clearData}),"aftercopy"===e.type&&(e=Fe(e,H)),e.target&&!e.relatedTarget&&(e.relatedTarget=ve(e.target)),ge(e)}},ve=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ge=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=ze(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,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),h=p-c,m=d-f,v=u+h,g=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:r,toElement:i,screenX:v,screenY:g,pageX:p,pageY:d,clientX:h,clientY:m,x:h,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=U["*"]||[],r=U[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=A({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Q.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&&(z.sandboxed=a),-1!==Y.indexOf(e.name)?A(z,{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,A(z,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Ue();break;case"ready":r=e.swfVersion;var s=z.deactivated===!0;A(z,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),Ue();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!q["text/html"]&&!q["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)):!q["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":Ce(e),Qe.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Qe.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!M(e.relatedTarget,t)&&Ee(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ee(A({},e,{type:"mouseover"})));break;case"_mouseout":Qe.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!M(e.relatedTarget,t)&&Ee(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ee(A({},e,{type:"mouseout"})));break;case"_mousedown":_e(t,J.activeClass),J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ce=function(e){if(e.errors&&e.errors.length>0){var t=T(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Qe.emit(t)},0)}},Ee=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=A(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)))}},ke=function(){var e=J.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=J.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(Ue(),z.deactivated=null,Qe.emit({type:"error",name:"swf-not-found"}))},t)}},Se=function(){var e=s.createElement("div");return e.id=J.containerId,e.className=J.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Be(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Te=function(){var e,t=z.bridge,n=Ae(t);if(!t){var r=je(a.location.host,J),i="never"===r?"none":"all",o=Ne(A({jsVersion:Qe.version},J)),u=J.swfPath+Me(J.swfPath,J);n=Se();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===z.pluginType;c.innerHTML='"+(f?'':"")+'
 
',t=c.firstChild,c=null,k(t).ZeroClipboard=Qe,n.replaceChild(t,l),ke()}return t||(t=s[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),z.bridge=t||null,t},De=function(){var e=z.bridge;if(e){var t=Ae(e);t&&("activex"===z.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))),Ue(),z.ready=null,z.bridge=null,z.deactivated=null,r=n}},Oe=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&C.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}}},Fe=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(C.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&&C.call(a,s)&&C.call(t,s)&&(n[r][t[s]]=a[s])}return n},Me=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Ne=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(C.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ie(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="+h(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+h(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+h(e.jsVersion)),o},Ie=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},je=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(C.call(e,t)&&(r=Ie(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=Ie(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}},_e=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=d(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},ze=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(),p=s.documentElement.getBoundingClientRect();l=f.left-p.left||0,c=f.top-p.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=d(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:ze(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},Ue=function(){c(B),B=0,p(W),W=0},qe=function(){var e;if(i&&(e=Ae(z.bridge))){var t=ze(i);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Be(J.zIndex)})}},He=function(e){z.ready===!0&&(z.bridge&&"function"==typeof z.bridge.setHandCursor?z.bridge.setHandCursor(e):z.ready=!1)},Be=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Be(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=z.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 z.sandboxed=a,o===a||t||Ge(m),a},Ge=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(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(h){l=!1}}}}z.disabled=s!==!0,z.outdated=f&&$(f)<$(V),z.version=f||"0.0.0",z.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Ge(m),We(!0);var Qe=function(){return this instanceof Qe?void("function"==typeof Qe._createClient&&Qe._createClient.apply(this,S(arguments))):new Qe};x(Qe,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Qe.config=function(){return K.apply(this,S(arguments))},Qe.state=function(){return ee.apply(this,S(arguments))},Qe.isFlashUnusable=function(){return te.apply(this,S(arguments))},Qe.on=function(){return ne.apply(this,S(arguments))},Qe.off=function(){return re.apply(this,S(arguments))},Qe.handlers=function(){return ie.apply(this,S(arguments))},Qe.emit=function(){return oe.apply(this,S(arguments))},Qe.create=function(){return ae.apply(this,S(arguments))},Qe.destroy=function(){return se.apply(this,S(arguments))},Qe.setData=function(){return ue.apply(this,S(arguments)); -},Qe.clearData=function(){return le.apply(this,S(arguments))},Qe.getData=function(){return ce.apply(this,S(arguments))},Qe.focus=Qe.activate=function(){return fe.apply(this,S(arguments))},Qe.blur=Qe.deactivate=function(){return pe.apply(this,S(arguments))},Qe.activeElement=function(){return de.apply(this,S(arguments))};var Ye=0,Ze={},Xe=0,Je={},Ke={};A(J,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ye++,Ze[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Qe.on("*",function(e){return t.emit(e)}),Qe.on("destroy",function(){t.destroy()}),Qe.create()},tt=function(e,t){var i,o,a,s={},u=Ze[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)C.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&&z.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Y.length;o>i;i++)if(z[Y[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Y[i],client:this});break}r!==n&&Qe.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Qe.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Ze[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)C.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=Ze[this.id]&&Ze[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:T(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Ze[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;t0,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)?!0:!1},ct=function(e){var t=Ze[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,p=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=p,"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=A({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},pt=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),Qe.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}}},dt=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]}}};Qe._createClient=function(){et.apply(this,S(arguments))},Qe.prototype.on=function(){return tt.apply(this,S(arguments))},Qe.prototype.off=function(){return nt.apply(this,S(arguments))},Qe.prototype.handlers=function(){return rt.apply(this,S(arguments))},Qe.prototype.emit=function(){return it.apply(this,S(arguments))},Qe.prototype.clip=function(){return ot.apply(this,S(arguments))},Qe.prototype.unclip=function(){return at.apply(this,S(arguments))},Qe.prototype.elements=function(){return st.apply(this,S(arguments))},Qe.prototype.destroy=function(){return ut.apply(this,S(arguments))},Qe.prototype.setText=function(e){if(!Ze[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.setData("text/plain",e),this},Qe.prototype.setHtml=function(e){if(!Ze[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.setData("text/html",e),this},Qe.prototype.setRichText=function(e){if(!Ze[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.setData("application/rtf",e),this},Qe.prototype.setData=function(){if(!Ze[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.setData.apply(this,S(arguments)),this},Qe.prototype.clearData=function(){if(!Ze[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.clearData.apply(this,S(arguments)),this},Qe.prototype.getData=function(){if(!Ze[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Qe.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Qe}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Qe:e.ZeroClipboard=Qe}(function(){return this||window}())},{}],11:[function(e,t,n){t.exports='
\n
Drop files or click here to upload
\n
'},{}],12:[function(e,t,n){t.exports='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n\n \n |\n \n\n \n
'},{}],13:[function(e,t,n){t.exports='
\n \n
\n
'},{}],14:[function(e,t,n){"use strict";t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(t){p&&p(t),e.showing=!1}function s(t){p=t,e.showing=!0,f||(u(),f=!0)}function u(){var t="/images/"+e.imageType+"/all/"+l;r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,l++})}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;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},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-c;n>i?a(t):(e.selectedImage=t,e.dependantPages=!1),c=r},e.selectButtonClick=function(){a(e.selectedImage)},o.show=s,o.showExternal=function(t){e.$apply(function(){s(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1},e.fetchData=u,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",function(t,r,i,o,a){function s(){d.title=$("#name").val(),d.html=t.editorHtml,p=o(function(){var e=$("#name").val(),n=t.editorHtml;(e!==d.title||n!==d.html)&&(d.html=n,d.title=e,u(e,n))},1e3*f)}function u(e,n){r.put("/ajax/page/"+l+"/save-draft",{name:e,html:n}).then(function(e){t.draftText=e.data.message,t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editorHtml="",t.draftText="";var l=Number(i.pageId),c=0!==l,f=30;t.isUpdateDraft=1===Number(i.pageUpdateDraft),t.isNewPageDraft=1===Number(i.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var p=!1,d={title:!1,html:!1};c&&setTimeout(function(){s()},1e3),t.editorChange=function(){},t.forceDraftSave=function(){var e=$("#name").val(),n=t.editorHtml;u(e,n)},t.discardDraft=function(){r.get("/ajax/page/"+l).then(function(e){p&&o.cancel(p),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),$("#name").val(e.data.name),a(function(){s()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}])}},{"./pages/page-form":17}],15:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("./components/toggle-switch.html"),o=e("./components/image-picker.html"),a=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"E",template:i,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:o,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:a,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.init(t.tinymce)}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";var r=e("angular"),i=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),r.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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';i+=''+t.name+'',i+="",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('';n+=''+t.name+'',n+="",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');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)}}})}}},{}],18:[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"),h=!0}function i(){f.css("width","auto"),f.removeClass("fixed"),h=!1}function o(e){var t=c.scrollTop()>d;!t||h&&!e?t||!h&&!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"),p=$(document).height()>c.height()&&f.height()<$(".page-content").height(),d=$("#header").height()+$(".toolbar").height(),h=c.scrollTop()>d,m=f.width();p&&c.width()>1e3&&(c.scroll(function(){o(!1)}),o(!0))}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ 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;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function s(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function u(e){if(e instanceof V)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Q)return e;break;default:return V(l(e))}return e.nodeType===Q?V(e):void 0}function l(e){if(!e[0])return e;for(var t=0;t=0)&&(n=T(n)),0===n&&(n=null),r[t]=n}}),r}function T(e){var t=0,n=e.split(/\s*,\s*/);return z(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 A(e){return 0===e||null!=e}function M(e,t){var n=N,r=e+"s";return t?n+=oe:r+=" linear all",[n,r]}function O(){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 F(e,t,n){z(n,function(n){e[n]=B(e[n])?e[n]:t.style.getPropertyValue(n)})}var N,I,j,P,L=t.noop,R=t.copy,U=t.extend,V=t.element,z=t.forEach,H=t.isArray,q=t.isString,Y=t.isObject,W=t.isUndefined,B=t.isDefined,G=t.isFunction,Z=t.isElement,Q=1,X="-add",J="-remove",K="ng-",ee="-active",te="-prepare",ne="ng-animate",re="$$ngAnimateChildren",ie="";W(e.ontransitionend)&&B(e.onwebkittransitionend)?(ie="-webkit-",N="WebkitTransition",I="webkitTransitionEnd transitionend"):(N="transition",I="transitionend"),W(e.onanimationend)&&B(e.onwebkitanimationend)?(ie="-webkit-",j="WebkitAnimation",P="webkitAnimationEnd animationend"):(j="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,de=j+se,he=j+oe,pe=N+se,me=N+oe,ge=t.$$minErr("ng"),ve=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=a(o,"-stagger");r.addClass(i,c),l=D(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 S(e){V.push(e),f.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Z=!0,d())}function V(){function t(){if(!B){if(b(!1),z(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),O(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(ke=W.className+" "+$e,De=$(W,ke),Pe=T(W,ke,De),Le=Pe.maxDelay,ne=Math.max(Le,0),ie=Pe.maxDuration,0===ie)return void d();Re.hasTransitions=Pe.transitionDuration>0,Re.hasAnimations=Pe.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),Pe.animationDelay=Le,Ue=E(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*be,oe=ie*be,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=N+ue,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=j+ue,le.push([t,i]),W.style[t]=i)}Pe.transitionDuration&&he.push(I),Pe.animationDuration&&he.push(P),se=Date.now();var o=re+xe*oe,a=se+o,s=e.data(ye)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(d)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(d),e.data(ye,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&F(Y,W,Object.keys(q.to)),g(e,q))}}function n(){var t=e.data(ye);if(t){for(var n=1;n0&&(Pe.transitionDuration&&0===Te.transitionDuration||Pe.animationDuration&&0===Te.animationDuration)&&Math.max(Te.animationDelay,Te.transitionDelay);o?u(t,Math.floor(o*Ie*be),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=h(R(q)));var Y={},W=y(e);if(!W||!W.parentNode||!v.enabled())return D();var B,G,Z,Q,te,ne,re,ie,oe,se,le=[],ce=e.attr("class"),de=o(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return D();var pe=q.event&&H(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=a(pe,K,!0):pe&&(ge=pe),q.addClass&&(ve+=a(q.addClass,X)),q.removeClass&&(ve.length&&(ve+=" "),ve+=a(q.removeClass,J)),q.applyClassesEarly&&ve.length&&O(e,q);var $e=[ge,ve].join(" ").trim(),ke=ce+" "+$e,Se=a($e,ee),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!$e)return D();var De,Te;if(q.stagger>0){var Ae=parseFloat(q.stagger);Te={transitionDelay:Ae,animationDelay:Ae,transitionDuration:0,animationDuration:0}}else De=$(W,ke),Te=w(W,$e,De,Ce);q.$$skipPreparationClasses||r.addClass(e,$e);var Me;if(q.transitionStyle){var Oe=[N,q.transitionStyle];C(W,Oe),le.push(Oe)}if(q.duration>=0){Me=W.style[N].length>0;var Fe=M(q.duration,Me);C(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[j,q.keyframeStyle];C(W,Ne),le.push(Ne)}var Ie=Te?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,je=0===Ie;je&&!q.skipBlocking&&x(W,fe);var Pe=T(W,ke,De),Le=Pe.maxDelay;ne=Math.max(Le,0),ie=Pe.maxDuration;var Re={};if(Re.hasTransitions=Pe.transitionDuration>0,Re.hasAnimations=Pe.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==Pe.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=A(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=A(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,Pe.transitionDuration=ie,Me=W.style[N+ae].length>0,le.push(M(ie,Me))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Pe.animationDuration=ie,le.push(_(ie)))),0===ie&&!Re.recalculateTimingStyles)return D();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(E(Ue)),Re.applyAnimationDelay&&le.push(E(Ue,!0))}return null==q.duration&&Pe.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||je),re=ne*be,oe=ie*be,q.skipBlocking||(Re.blockTransition=Pe.transitionDuration>0,Re.blockKeyframeAnimation=Pe.animationDuration>0&&Te.animationDelay>0&&0===Te.animationDuration),q.from&&(q.cleanupStyles&&F(Y,W,Object.keys(q.from)),m(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||x(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},Q=new i(te),S(V),Q)}}}}]}],_e=["$$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,f){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return q(e)&&(e=e.split(" ")),q(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=y(e).getBoundingClientRect();return z(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=$.scrollTop;break;case"left":r+=$.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=V(y(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,L),o=v(t,L),a=[];return z(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(){z(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),z(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=S(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return L;var $=f[0].body,b=y(u),w=V(t(b)||$.contains(b)?b:$);d(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],Ee=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=H(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var a=1,s=2,c=" ",f=this.rules={skip:[],cancel:[],join:[]};f.join.push(function(e,t,n){return!t.structural&&o(t)}),f.skip.push(function(e,t,n){return!t.structural&&!o(t)}),f.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),f.skip.push(function(e,t,n){return n.structural&&n.state===s&&!t.structural}),f.cancel.push(function(e,t,n){return n.structural&&t.structural}),f.cancel.push(function(e,t,n){return n.state===s&&t.structural}),f.cancel.push(function(e,t,r){var i=t.addClass,o=t.removeClass,a=r.addClass,s=r.removeClass;return W(i)&&W(o)||W(a)&&W(s)?!1:n(i,s)||n(o,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(t,n,c,f,m,g,$,x,k,C){function S(){var e=!1;return function(t){e?t():n.$$postDigest(function(){e=!0,t()})}}function _(e,t){return v(e,t,{})}function E(e,t,n){var r=y(t),i=y(e),o=[],a=L[n];return a&&z(a,function(e){K.call(e.node,r)?o.push(e.callback):"leave"===n&&K.call(e.node,i)&&o.push(e.callback)}),o}function D(e,r,l){function c(n,r,i,o){D(function(){var n=E(x,e,r);n.length&&t(function(){z(n,function(t){t(e,i,o)})})}),n.progress(r,i,o)}function d(t){w(e,k),J(e,k),p(e,k),k.domOperation(),C.complete(!t)}var m,x,k=R(l);e=u(e),e&&(m=y(e),x=e.parent()),k=h(k);var C=new $,D=S();if(H(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!q(k.addClass)&&(k.addClass=null),H(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!q(k.removeClass)&&(k.removeClass=null),k.from&&!Y(k.from)&&(k.from=null),k.to&&!Y(k.to)&&(k.to=null),!m)return d(),C;var M=[m.className,k.addClass,k.removeClass].join(" ");if(!X(M))return d(),C;var P=["enter","move","leave"].indexOf(r)>=0,L=!j||f[0].hidden||I.get(m),U=!L&&N.get(m)||{},V=!!U.state;if(L||V&&U.state==a||(L=!O(e,x,r)),L)return d(),C;P&&T(e);var W={structural:P,element:e,event:r,addClass:k.addClass,removeClass:k.removeClass,close:d,options:k,runner:C};if(V){var B=i("skip",e,W,U);if(B)return U.state===s?(d(),C):(v(e,U,W),U.runner);var G=i("cancel",e,W,U);if(G)if(U.state===s)U.runner.end();else{if(!U.structural)return v(e,U,W),U.runner;U.close()}else{var Z=i("join",e,W,U);if(Z){if(U.state!==s)return b(e,P?r:null,k),r=W.event=U.event,k=v(e,U,W),U.runner;_(e,W)}}}else _(e,W);var Q=W.structural;if(Q||(Q="animate"===W.event&&Object.keys(W.options.to||{}).length>0||o(W)),!Q)return d(),A(e),C;var K=(U.counter||0)+1;return W.counter=K,F(e,a,W),n.$$postDigest(function(){var t=N.get(m),n=!t;t=t||{};var i=e.parent()||[],a=i.length>0&&("animate"===t.event||t.structural||o(t));if(n||t.counter!==K||!a)return n&&(J(e,k),p(e,k)),(n||P&&t.event!==r)&&(k.domOperation(),C.end()),void(a||A(e));r=!t.structural&&o(t,!0)?"setClass":t.event,F(e,s);var u=g(e,r,t.options);u.done(function(t){d(!t);var n=N.get(m);n&&n.counter===K&&A(y(e)),c(C,r,"close",{})}),C.setHost(u),c(C,r,"start",{})}),C}function T(e){var t=y(e),n=t.querySelectorAll("["+Te+"]");z(n,function(e){var t=parseInt(e.getAttribute(Te)),n=N.get(e);if(n)switch(t){case s:n.runner.end();case a:N.remove(e)}})}function A(e){var t=y(e);t.removeAttribute(Te),N.remove(t)}function M(e,t){return y(e)===y(t)}function O(e,t,n){var r,i=V(f[0].body),o=M(e,i)||"HTML"===e[0].nodeName,a=M(e,c),s=!1,u=I.get(y(e)),l=e.data(Ae);for(l&&(t=l);t&&t.length;){a||(a=M(t,c));var d=t[0];if(d.nodeType!==Q)break;var h=N.get(d)||{};if(!s){var p=I.get(d);if(p===!0&&u!==!1){u=!0;break}p===!1&&(u=!1),s=h.structural}if(W(r)||r===!0){var m=t.data(re);B(m)&&(r=m)}if(s&&r===!1)break;if(o||(o=M(t,i)),o&&a)break;t=a||!(l=t.data(Ae))?t.parent():l}var g=(!s||r)&&u!==!0;return g&&a&&o}function F(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(Te,t);var i=N.get(r),o=i?U(i,n):n;N.put(r,o)}var N=new m,I=new m,j=null,P=n.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),n.$$postDigest(function(){n.$$postDigest(function(){null===j&&(j=!0)})}))}),L={},G=e.classNameFilter(),X=G?function(e){return G.test(e)}:function(){return!0},J=d(k),K=Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))};return{on:function(e,t,n){var r=l(t);L[e]=L[e]||[],L[e].push({node:r,callback:n})},off:function(e,t,n){function r(e,t,n){var r=l(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}var i=L[e];i&&(L[e]=1===arguments.length?null:r(i,t,n))},pin:function(e,t){r(Z(e),"element","not an element"),r(Z(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,D(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!j;else{var r=Z(e);if(r){var i=y(e),o=I.get(i);1===n?t=!o:I.put(i,!t)}else t=j=!!e}return t}}}]}],Oe=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function r(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,f){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=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=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";z(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:V(e)}})}else t.push(e)});var r={},i={};return z(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=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(ne),M&&e.addClass(c,M),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){r(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=r(c);!e||"leave"===d&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,$),p(c,$),$.domOperation(),M&&e.removeClass(c,M),c.removeClass(ne),T.complete(!t)}$=h($);var D=["enter","move","leave"].indexOf(d)>=0,T=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),T;t(c,T);var A=i(c.attr("class"),i($.addClass,$.removeClass)),M=$.tempClasses;M&&(A+=" "+M,$.tempClasses=null);var O;return D&&(O="ng-"+d+te,e.addClass(c,O)),g.push({element:c,classes:A,event:d,structural:D,options:$,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?T:(s.$$postDigest(function(){var e=[];z(g,function(t){r(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];z(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,i=e.anchors?e.from.element||e.to.element:e.element;if(r(i)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),f(m(n))}),T)}}]}],Fe=["$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",Fe).directive("ngAnimateChildren",$e).factory("$$rAFScheduler",ve).provider("$$animateQueue",Me).provider("$$animation",Oe).provider("$animateCss",Se).provider("$$animateCssDriver",_e).provider("$$animateJs",Ee).provider("$$animateJsDriver",De)}(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,n){"use strict";function r(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&s.test("."+e)}function i(e,i){if(!r(i))throw a("badmember",'Dotted member path "@{0}" is invalid.',i);for(var o=i.split("."),s=0,u=o.length;u>s&&t.isDefined(e);s++){var l=o[s];e=null!==e?e[l]:n}return e}function o(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 a=t.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,r=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(s,u,l,c){function f(e){return d(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function d(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function h(e,t){this.template=e,this.defaults=v({},r.defaults,t),this.urlParams={}}function p(e,f,d,b){function w(e,t){var n={};return t=v({},f,t),g(t,function(t,r){y(t)&&(t=t()),n[r]=t&&t.charAt&&"@"==t.charAt(0)?i(e,t.substr(1)):t}),n}function x(e){return e.resource}function k(e){o(e||{},this)}var C=new h(e,b);return d=v({},r.defaults.actions,d),k.prototype.toJSON=function(){var e=v({},this);return delete e.$promise,delete e.$resolved,e},g(d,function(e,i){var f=/^(POST|PUT|PATCH)$/i.test(e.method),d=e.timeout,h=t.isDefined(e.cancellable)?e.cancellable:b&&t.isDefined(b.cancellable)?b.cancellable:r.defaults.cancellable;d&&!t.isNumber(d)&&(u.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,d=null),k[i]=function(r,u,p,b){var S,_,E,D={};switch(arguments.length){case 4:E=b,_=p;case 3:case 2:if(!y(u)){D=r,S=u,_=p;break}if(y(r)){_=r,E=u;break}_=u,E=p;case 1:y(r)?_=r:f?S=r:D=r;break;case 0:break;default:throw a("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var T,A,M=this instanceof k,O=M?S:e.isArray?[]:new k(S),F={},N=e.interceptor&&e.interceptor.response||x,I=e.interceptor&&e.interceptor.responseError||n;g(e,function(e,t){switch(t){default:F[t]=$(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!M&&h&&(T=l.defer(),F.timeout=T.promise,d&&(A=c(T.resolve,d))),f&&(F.data=S),C.setUrlParams(F,v({},w(S,e.params||{}),D),e.url);var j=s(F).then(function(n){var r=n.data;if(r){if(t.isArray(r)!==!!e.isArray)throw a("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",i,e.isArray?"array":"object",t.isArray(r)?"array":"object",F.method,F.url);if(e.isArray)O.length=0,g(r,function(e){"object"==typeof e?O.push(new k(e)):O.push(e)});else{var s=O.$promise;o(r,O),O.$promise=s}}return n.resource=O,n},function(e){return(E||m)(e),l.reject(e)});return j["finally"](function(){O.$resolved=!0,!M&&h&&(O.$cancelRequest=t.noop,c.cancel(A),T=A=F.timeout=null)}),j=j.then(function(e){var t=N(e);return(_||m)(t,e.headers),t},I),M?j:(O.$promise=j,O.$resolved=!1,h&&(O.$cancelRequest=T.resolve),O)},k.prototype["$"+i]=function(e,t,n){y(e)&&(n=t,t=e,e={});var r=k[i].call(this,e,this,t,n);return r.$promise||r}}),k.bind=function(t){return p(e,v({},f,t),d)},k}var m=t.noop,g=t.forEach,v=t.extend,$=t.copy,y=t.isFunction;return h.prototype={setUrlParams:function(n,r,i){var o,s,u=this,l=i||u.template,c="",h=u.urlParams={};g(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw a("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 c=e,""}),r=r||{},g(u.urlParams,function(e,n){o=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(o)&&null!==o?(s=e.isQueryParamValue?d(o,!0):f(o),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=c+l.replace(/\/\\\./,"/."),g(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},p}]})}(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,n){"use strict";function r(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(k,w),function(e){var t=[];return a(e,l(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 i(e){var n=[],r=l(n,t.noop);return r.chars(e),n.join("")}function o(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function u(e){return e.replace(/&/g,"&").replace(h,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(p,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function l(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&x[e]&&(r=e),r||k[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),s="img"===e&&"src"===a||"background"===a;E[a]!==!0||C[a]===!0&&!n(r,s)||(i(" "),i(o),i('="'),i(u(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||k[e]!==!0||m[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(u(e))}}}function c(e){if(e.nodeType===Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;r>n;n++){var i=t[n],o=i.name.toLowerCase();("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&(e.removeAttributeNode(i),n--,r--)}var a=e.firstChild;a&&c(a),a=e.nextSibling,a&&c(a)}var f,d=t.$$minErr("$sanitize"),h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=/([^\#-~ |!])/g,m=o("area,br,col,hr,img,wbr"),g=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),v=o("rp,rt"),$=t.extend({},v,g),y=t.extend({},g,o("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")),b=t.extend({},v,o("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")),w=o("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"),x=o("script,style"),k=t.extend({},m,y,b,$),C=o("background,cite,href,longdesc,src,xlink:href"),S=o("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"),_=o("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),E=t.extend({},C,_,S);!function(e){var t;if(!e.document||!e.document.implementation)throw d("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)f=r[0];else{var i=t.createElement("html");f=t.createElement("body"),i.appendChild(f),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",r),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(i(e))}function f(e,n){var r;if(g.push("'),c(n),g.push("")}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(r,"")),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){!function(e,t,n){"use strict";function r(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=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(_(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(Wr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Tr.call(e,r)&&t.call(n,e[r],r,e);return e}function a(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(w(a)||_(a))for(var s=Object.keys(a),u=0,f=s.length;f>u;u++){var d=s[u],h=a[d];n&&w(h)?S(h)?e[d]=new Date(h.valueOf()):E(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):P(h)?e[d]=h.clone():(w(e[d])||(e[d]=Wr(h)?[]:{}),c(e[d],[h],!0)):e[d]=h}}return l(e,r),e}function f(e){return c(e,Lr.call(arguments,1),!1)}function d(e){return c(e,Lr.call(arguments,1),!0)}function h(e){return parseInt(e,10)}function p(e,t){return f(Object.create(e),t)}function m(){}function g(e){return e}function v(e){return function(){return e}}function $(e){return _(e.toString)&&e.toString!==Vr}function y(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!zr(e)}function k(e){return"string"==typeof e}function C(e){return"number"==typeof e}function S(e){return"[object Date]"===Vr.call(e)}function _(e){return"function"==typeof e}function E(e){return"[object RegExp]"===Vr.call(e)}function D(e){return e&&e.window===e}function T(e){return e&&e.$evalAsync&&e.$watch}function A(e){return"[object File]"===Vr.call(e)}function M(e){return"[object FormData]"===Vr.call(e)}function O(e){return"[object Blob]"===Vr.call(e)}function F(e){return"boolean"==typeof e}function N(e){return e&&_(e.then)}function I(e){return e&&C(e.length)&&Br.test(Vr.call(e))}function j(e){return"[object ArrayBuffer]"===Vr.call(e)}function P(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function L(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function V(e,t){function r(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(x(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 l(t,r),t}function i(e){if(!w(e))return e;var t=s.indexOf(e);if(-1!==t)return u[t];if(D(e)||T(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=a(e);return o===n&&(o=Wr(e)?[]:Object.create(zr(e)),i=!0),s.push(e),u.push(o),i?r(e,o):o}function a(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}return _(e.cloneNode)?e.cloneNode(!0):void 0}var s=[],u=[];if(t){if(I(t)||j(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:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),s.push(e),u.push(t),r(e,t)}return i(e)}function z(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(w(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function H(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(S(e))return S(t)?H(e.getTime(),t.getTime()):!1;if(E(e))return E(t)?e.toString()==t.toString():!1;if(T(e)||T(t)||D(e)||D(t)||Wr(t)||S(t)||E(t))return!1;i=ve();for(r in e)if("$"!==r.charAt(0)&&!_(e[r])){if(!H(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&b(t[r])&&!_(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!H(e[r],t[r]))return!1;return!0}}return!1}function q(e,t,n){return e.concat(Lr.call(t,n))}function Y(e,t){return Lr.call(e,t||0)}function W(e,t){var n=arguments.length>2?Y(arguments,2):[];return!_(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,q(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function B(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:D(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":T(r)&&(i="$SCOPE"),i}function G(e,t){return"undefined"==typeof e?n:(C(t)||(t=t?2:null),JSON.stringify(e,B,t))}function Z(e){return k(e)?JSON.parse(e):e}function Q(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function X(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function J(e,t,n){n=n?-1:1;var r=Q(t,e.getTimezoneOffset());return X(e,n*(r-e.getTimezoneOffset()))}function K(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("
").append(e).html();try{return e[0].nodeType===ri?Ar(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ar(t)})}catch(t){return Ar(n)}}function ee(e){try{return decodeURIComponent(e)}catch(t){}}function te(e){var t={};return o((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=ee(r),b(r)&&(i=b(i)?ee(i):!0,Tr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ne(e){var t=[];return o(e,function(e,n){Wr(e)?o(e,function(e){t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}):t.push(ie(n,!0)+(e===!0?"":"="+ie(e,!0)))}),t.length?t.join("&"):""}function re(e){return ie(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ie(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 oe(e,t){var n,r,i=Jr.length;for(r=0;i>r;++r)if(n=Jr[r]+t,k(n=e.getAttribute(n)))return n;return null}function ae(e,t){var n,r,i={};o(Jr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Jr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==oe(n,"strict-di"),t(n,r?[r]:[],i))}function se(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Ir(n),n.injector()){var e=n[0]===t?"document":K(n);throw Hr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=it(r,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},u=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),qr.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(_(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ue(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function le(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 ce(e,t){return t=t||"_",e.replace(Kr,function(e,n){return(n?t:"")+e.toLowerCase()})}function fe(){var t;if(!ei){var r=Xr();jr=y(r)?e.jQuery:r?e[r]:n,jr&&jr.fn.on?(Ir=jr,f(jr.fn,{scope:xi.scope,isolateScope:xi.isolateScope,controller:xi.controller,injector:xi.injector,inheritedData:xi.inheritedData}),t=jr.cleanData,jr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=jr._data(r,"events"),n&&n.$destroy&&jr(r).triggerHandler("$destroy");t(e)}):Ir=Me,qr.element=Ir,ei=!0}}function de(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function he(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),de(_(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function pe(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function me(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&&_(e)?W(o,e):e}function ge(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 ve(){return Object.create(null)}function $e(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,o){return o&&_(o)&&(o.$$moduleName=r),i.push([e,t,arguments]),c}}if(!o)throw n("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.",r);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ye(e){var t=[];return JSON.stringify(e,function(e,n){if(n=B(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?ye(e):e}function we(t){f(t,{bootstrap:se,copy:V,extend:f,merge:d,equals:H,element:Ir,forEach:o,injector:it,noop:m,bind:W,toJson:G,fromJson:Z,identity:g,isUndefined:y,isDefined:b,isString:k,isFunction:_,isObject:w,isNumber:C,isElement:P,isArray:Wr,version:si,isDate:S,lowercase:Ar,uppercase:Mr,callbacks:{counter:0},getTestability:le,$$minErr:r,$$csp:Qr,reloadWithDebugInfo:ue}),(Pr=$e(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",pt).directive({a:Do,input:Yo,textarea:Yo,form:Fo,script:Ua,select:Ha,style:Ya,option:qa,ngBind:Go,ngBindHtml:Qo,ngBindTemplate:Zo,ngClass:Jo,ngClassEven:ea,ngClassOdd:Ko,ngCloak:ta,ngController:na,ngForm:No,ngHide:Fa,ngIf:oa,ngInclude:aa,ngInit:ua,ngNonBindable:Ca,ngPluralize:Da,ngRepeat:Ta,ngShow:Oa,ngStyle:Na,ngSwitch:Ia,ngSwitchWhen:ja,ngSwitchDefault:Pa,ngOptions:Ea,ngTransclude:Ra,ngModel:wa,ngList:la,ngChange:Xo,pattern:Ba,ngPattern:Ba,required:Wa,ngRequired:Wa,minlength:Za,ngMinlength:Za,maxlength:Ga,ngMaxlength:Ga,ngValue:Bo,ngModelOptions:ka}).directive({ngInclude:sa}).directive(To).directive(ra),e.provider({$anchorScroll:ot,$animate:Li,$animateCss:Vi,$$animateJs:ji,$$animateQueue:Pi,$$AnimateRunner:Ui,$$animateAsyncRun:Ri,$browser:ft,$cacheFactory:dt,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:Pn,$$forceReflow:Wi,$interpolate:It,$interval:jt,$http:Mt,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Xt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ht,$templateRequest:Tn,$$testability:An,$timeout:Mn,$window:Nn,$$rAF:wn,$$jqLite:Je,$$HashMap:_i,$$cookieReader:jn})}])}function xe(){return++li}function ke(e){return e.replace(di,function(e,t,n,r){return r?n.toUpperCase():n}).replace(hi,"Moz$1")}function Ce(e){return!vi.test(e)}function Se(e){var t=e.nodeType;return t===ti||!t||t===oi}function _e(e){for(var t in ui[e.ng339])return!0;return!1}function Ee(e){for(var t=0,n=e.length;n>t;t++)Ie(e[t])}function De(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(Ce(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=($i.exec(e)||["",""])[1].toLowerCase(),i=bi[r]||bi._default,n.innerHTML=i[1]+e.replace(yi,"<$1>")+i[2],a=i[0];a--;)n=n.lastChild;u=q(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function Te(e,n){n=n||t;var r;return(r=gi.exec(e))?[n.createElement(r[1])]:(r=De(e,n))?r.childNodes:[]}function Ae(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(k(e)&&(e=Gr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw mi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Ve(this,Te(e)):Ve(this,e)}function Oe(e){return e.cloneNode(!0)}function Fe(e,t){if(t||Ie(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ie(n[r])}function Ne(e,t,n,r){if(b(r))throw mi("offargs","jqLite#off() does not support the `selector` argument");var i=je(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&U(r||[],n),b(n)&&r&&r.length>0||(fi(e,t,s),delete a[t])};o(t.split(" "),function(e){u(e),pi[e]&&u(pi[e])})}else for(t in a)"$destroy"!==t&&fi(e,t,s),delete a[t]}function Ie(e,t){var r=e.ng339,i=r&&ui[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Ne(e)),delete ui[r],e.ng339=n}}function je(e,t){var r=e.ng339,i=r&&ui[r];return t&&!i&&(e.ng339=r=xe(),i=ui[r]={events:{},data:{},handle:n}),i}function Pe(e,t,n){if(Se(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=je(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Le(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Re(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Ue(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Ve(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 ze(e,t){return He(e,"$"+(t||"ngController")+"Controller")}function He(e,t,n){e.nodeType==oi&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ai&&e.host}}function qe(e){for(Fe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ye(e,t){t||Fe(e);var n=e.parentNode;n&&n.removeChild(e)}function We(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Be(e,t){var n=ki[t.toLowerCase()];return n&&Ci[R(e)]&&n}function Ge(e){return Si[e]}function Ze(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(y(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||Qe;o>1&&(i=z(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Qe(e,t,n){n.call(e,t)}function Xe(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!wi.call(e,r))&&n.call(e,t)}function Je(){this.$get=function(){return f(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ue(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Re(e,t)}})}}function Ke(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||u)():r+":"+e}function et(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function tt(e){var t=e.toString().replace(Mi,""),n=t.match(Ei)||t.match(Di);return n}function nt(e){var t=tt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function rt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw k(n)&&n||(n=e.name||nt(e)),Oi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=tt(e),o(i[1].split(Ti),function(e){e.replace(Ai,function(e,t,n){r.push(n)})})}e.$inject=r}}else Wr(e)?(a=e.length-1,he(e[a],"fn"),r=e.slice(0,a)):he(e,"fn",!0);return r}function it(e,t){function r(e){return function(t,n){return w(t)?void o(t,s(e)):e(t,n)}}function i(e,t){if(pe(e,"service"),(_(t)||Wr(t))&&(t=C.instantiate(t)),!t.$get)throw Oi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=D.invoke(t,this);if(y(n))throw Oi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function u(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function l(e,t){return u(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return u(e,v(t),!1)}function f(e,t){pe(e,"constant"),x[e]=t,S[e]=t}function d(e,t){var n=C.get(e+g),r=n.$get;n.$get=function(){var e=D.invoke(r,n);return D.invoke(t,null,{$delegate:e})}}function h(e){de(y(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=C.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{k(e)?(t=Pr(e),n=n.concat(h(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):_(e)?n.push(C.invoke(e)):Wr(e)?n.push(C.invoke(e)):he(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),Oi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function p(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===m)throw Oi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=m,e[t]=n(t,r)}catch(i){throw e[t]===m&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=it.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Oi("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:it.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var m={},g="Provider",$=[],b=new et([],!0),x={$provide:{provider:r(i),factory:r(u),service:r(l),value:r(c),constant:r(f),decorator:d}},C=x.$injector=p(x,function(e,t){throw qr.isString(t)&&$.push(t),Oi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},E=p(S,function(e,t){var r=C.get(e+g,t);return D.invoke(r.$get,r,n,e)}),D=E;x["$injector"+g]={$get:v(E)};var T=h(e);return D=E.get("$injector"),D.strictDi=t,o(T,function(e){e&&D.invoke(e)}),D}function ot(){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"===R(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(_(e))e=e();else if(P(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else C(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=k(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)&&We(function(){r.$evalAsync(s)})}),s}]}function at(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function st(e){for(var t=0;tl&&this.remove(h.key),t}},get:function(e){if(l";var r=le.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function M(e,t){try{e.addClass(t)}catch(n){}}function O(e,n,r,i,o){e instanceof Ir||(e=Ir(e));for(var a=/\S+/,s=0,u=e.length;u>s;s++){var l=e[s];l.nodeType===ri&&l.nodeValue.match(a)&&Ae(l,e[s]=t.createElement("span"))}var c=I(e,n,e,r,i,o);O.$$addScopeClass(e);var f=null;return function(t,n,r){de(t,"scope"),o&&o.needsNewScope&&(t=t.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=N(s));var u;if(u="html"!==f?Ir(te(f,Ir("
").append(e).html())):n?xi.clone.call(e):e,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return O.$$addScopeInfo(u,t),n&&n(u,t),c&&c(t,u,u,i),u}}function N(e){var t=e&&e[0];return t&&"foreignobject"!==R(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function I(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,l,c,f,d,h,g;if(p){var v=r.length;for(g=new Array(v),c=0;cc;)u=g[m[c++]],a=m[c++],s=m[c++],a?(a.scope?(l=e.$new(),O.$$addScopeInfo(Ir(u),l)):l=e,h=a.transcludeOnThisElement?j(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?j(e,t):null,a(s,l,u,i,h)):s&&s(e,u.childNodes,n,o)}for(var u,l,c,f,d,h,p,m=[],g=0;g$;$++){var b=!1,x=!1;l=v[$],c=l.name,m=Gr(l.value),p=mt(c),(g=ge.test(p))&&(c=c.replace(Hi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=p.match($e);C&&G(C[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=mt(c.toLowerCase()),u[f]=c,(g||!n.hasOwnProperty(f))&&(n[f]=m,Be(e,f)&&(n[f]=!0)),re(e,t,m,f,g),B(t,f,"A",r,i,b,x)}if(a=e.className,w(a)&&(a=a.animVal),k(a)&&""!==a)for(;o=h.exec(a);)f=mt(o[2]),B(t,f,"C",r,i)&&(n[f]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ri:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ri;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ee(t,e.nodeValue);break;case ii:try{o=d.exec(e.nodeValue),o&&(f=mt(o[1]),B(t,f,"M",r,i)&&(n[f]=Gr(o[2])))}catch(S){}}return t.sort(X),t}function L(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw zi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ti&&(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 V(e,t,n){return function(r,i,o,a,s){return i=L(i[0],t,n),e(r,i,o,a,s)}}function z(e,t,n,r,i,o){if(e)return O(t,n,r,i,o);var a;return function(){return a||(a=O(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function q(e,r,a,s,l,c,d,h,p){function m(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=b.require,e.directiveName=C,(N===b||b.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),d.push(e)),t&&(n&&(t=V(t,n,r)),t.require=b.require,t.directiveName=C,(N===b||b.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),h.push(t))}function g(e,t,n,r){var i;if(k(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():(i=r&&r[s],i=i&&i.instance),!i){var c="$"+s+"Controller";i=u?n.inheritedData(c):n.data(c)}if(!i&&!l)throw zi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){i=[];for(var f=0,d=t.length;d>f;f++)i[f]=g(e,t[f],n,r)}else w(t)&&(i={},o(t,function(t,o){i[o]=g(e,t,n,r)}));return i||null}function v(e,t,n,r,i,o){var a=ve();for(var s in r){var l=r[s],c={$scope:l===N||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=u(f,c,!0,l.controllerAs);a[l.name]=d,q||e.data("$"+l.name+"Controller",d.instance)}return a}function $(e,t,i,s,u){function l(e,t,r,i){var o;if(T(e)||(i=r,r=t,t=e,e=n),q&&(o=x),r||(r=q?C.parent():C),!i)return u(e,t,o,r,U);var a=u.$$slots[i];if(a)return a(e,t,o,r,U);if(y(a))throw zi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,K(C))}var c,p,m,$,b,x,k,C,S,E,D;r===i?(S=a,C=a.$$element):(C=Ir(i),S=new fe(C,a)),b=t,N?$=t.$new(!0):M&&(b=t.$parent),u&&(k=l,k.$$boundTransclude=u,k.isSlotFilled=function(e){return!!u.$$slots[e]}),F&&(x=v(C,S,k,F,$,t)),N&&(O.$$addScopeInfo(C,$,!0,!(I&&(I===N||I===N.$$originalDirective))),O.$$addScopeClass(C,!0),$.$$isolateBindings=N.$$isolateBindings,E=se(t,S,$,$.$$isolateBindings,N),E&&$.$on("$destroy",E));for(var A in x){var j=F[A],P=x[A],L=j.$$bindings.bindToController;P.identifier&&L&&(D=se(b,S,P.instance,L,j));var R=P();R!==P.instance&&(P.instance=R,C.data("$"+j.name+"Controller",R),D&&D(),D=se(b,S,P.instance,L,j))}for(o(F,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&w(n)&&f(x[t].instance,g(t,n,C,x))}),o(x,function(e){_(e.instance.$onInit)&&e.instance.$onInit()}),c=0,p=d.length;p>c;c++)m=d[c],ae(m,m.isolateScope?$:t,C,S,m.require&&g(m.directiveName,m.require,C,x),k);var U=t;for(N&&(N.template||null===N.templateUrl)&&(U=$),e&&e(U,i.childNodes,n,u),c=h.length-1;c>=0;c--)m=h[c],ae(m,m.isolateScope?$:t,C,S,m.require&&g(m.directiveName,m.require,C,x),k)}p=p||{};for(var b,C,S,E,D,A=-Number.MAX_VALUE,M=p.newScopeDirective,F=p.controllerDirectives,N=p.newIsolateScopeDirective,I=p.templateDirective,j=p.nonTlbTranscludeDirective,U=!1,H=!1,q=p.hasElementTranscludeDirective,B=a.$$element=Ir(r),G=c,X=s,ee=!1,ne=!1,re=0,ue=e.length;ue>re;re++){b=e[re];var le=b.$$start,ce=b.$$end;if(le&&(B=L(r,le,ce)),S=n,A>b.priority)break;if((D=b.scope)&&(b.templateUrl||(w(D)?(J("new/isolated scope",N||M,b,B),N=b):J("new/isolated scope",N,b,B)),M=M||b),C=b.name,!ee&&(b.replace&&(b.templateUrl||b.template)||b.transclude&&!b.$$tlb)){for(var de,he=re+1;de=e[he++];)if(de.transclude&&!de.$$tlb||de.replace&&(de.templateUrl||de.template)){ne=!0;break}ee=!0}if(!b.templateUrl&&b.controller&&(D=b.controller,F=F||ve(),J("'"+C+"' controller",F[C],b,B),F[C]=b),D=b.transclude)if(U=!0,b.$$tlb||(J("transclusion",j,b,B),j=b),"element"==D)q=!0,A=b.priority,S=B,B=a.$$element=Ir(t.createComment(" "+C+": "+a[C]+" ")),r=B[0],ie(l,Y(S),r),X=z(ne,S,s,A,G&&G.name,{nonTlbTranscludeDirective:j});else{var pe=ve();if(S=Ir(Oe(r)).contents(),w(D)){S=[];var ge=ve(),$e=ve();o(D,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,ge[e]=t,pe[t]=null,$e[t]=n}),o(B.contents(),function(e){var t=ge[mt(R(e))];t?($e[t]=!0,pe[t]=pe[t]||[],pe[t].push(e)):S.push(e)}),o($e,function(e,t){if(!e)throw zi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ye in pe)pe[ye]&&(pe[ye]=z(ne,pe[ye],s))}B.empty(),X=z(ne,S,s,n,n,{needsNewScope:b.$$isolateScope||b.$$newScope}),X.$$slots=pe}if(b.template)if(H=!0,J("template",I,b,B),I=b,D=_(b.template)?b.template(B,a):b.template,D=me(D),b.replace){if(G=b,S=Ce(D)?[]:vt(te(b.templateNamespace,Gr(D))),r=S[0],1!=S.length||r.nodeType!==ti)throw zi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",C,"");ie(l,B,r);var be={$attr:{}},we=P(r,[],be),xe=e.splice(re+1,e.length-(re+1));(N||M)&&W(we,N,M),e=e.concat(we).concat(xe),Z(a,be),ue=e.length}else B.html(D);if(b.templateUrl)H=!0,J("template",I,b,B),I=b,b.replace&&(G=b),$=Q(e.splice(re,e.length-re),B,a,l,U&&X,d,h,{controllerDirectives:F,newScopeDirective:M!==b&&M,newIsolateScopeDirective:N,templateDirective:I,nonTlbTranscludeDirective:j}),ue=e.length;else if(b.compile)try{E=b.compile(B,a,X),_(E)?m(null,E,le,ce):E&&m(E.pre,E.post,le,ce)}catch(ke){i(ke,K(B))}b.terminal&&($.terminal=!0,A=Math.max(A,b.priority))}return $.scope=M&&M.scope===!0,$.transcludeOnThisElement=U,$.templateOnThisElement=H,$.transclude=X,p.hasElementTranscludeDirective=q,$}function W(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=p(e[r],{$$isolateScope:t,$$newScope:n})}function B(t,n,r,o,a,s,u){if(n===a)return null;var f=null;if(l.hasOwnProperty(n))for(var d,h=e.get(n+c),m=0,g=h.length;g>m;m++)try{d=h[m],(y(o)||o>d.priority)&&-1!=d.restrict.indexOf(r)&&(s&&(d=p(d,{$$start:s,$$end:u})),t.push(d),f=d)}catch(v){i(v)}return f}function G(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function Z(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(M(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function Q(e,t,n,r,i,s,u,l){var c,f,d=[],h=t[0],m=e.shift(),g=p(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=_(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),a(v).then(function(a){var p,y,b,x;if(a=me(a),m.replace){if(b=Ce(a)?[]:vt(te($,Gr(a))),p=b[0],1!=b.length||p.nodeType!==ti)throw zi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);y={$attr:{}},ie(r,t,p);var k=P(p,[],y);w(m.scope)&&W(k,!0),e=k.concat(e),Z(n,y)}else p=h,t.html(a);for(e.unshift(g),c=q(e,p,n,i,t,m,s,u,l),o(r,function(e,n){e==p&&(r[n]=t[0])}),f=I(t[0].childNodes,i);d.length;){var C=d.shift(),S=d.shift(),_=d.shift(),E=d.shift(),D=t[0];if(!C.$$destroyed){if(S!==h){var T=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Oe(p)),ie(_,Ir(S),D),M(Ir(D),T)}x=c.transcludeOnThisElement?j(C,c.transclude,E):E,c(f,C,D,r,x)}}d=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=j(t,c.transclude,i)),c(f,t,n,r,o)))}}function X(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function ne(e,t){if("srcdoc"==t)return b.HTML;var n=R(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?b.RESOURCE_URL:void 0}function re(e,t,n,i,o){var a=ne(e,i);o=$[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===R(e))throw zi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=ve());if(C.test(i))throw zi("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!==n&&(s=c&&r(c,!0,a,o),n=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 ie(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var l=i,c=l+s-1,f=e.length;f>l;l++,c++)f>c?e[l]=e[c]:delete e[l];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var d=t.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 oe(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function ae(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,K(n))}}function se(e,t,n,i,a){var u=[];return o(i,function(i,o){var l,c,f,d,h=i.attrName,p=i.optional,g=i.mode;switch(g){case"@":p||Tr.call(t,h)||(n[o]=t[h]=void 0),t.$observe(h,function(e){k(e)&&(n[o]=e)}),t.$$observers[h].$$scope=e,l=t[h],k(l)?n[o]=r(l)(e):F(l)&&(n[o]=l);break;case"=":if(!Tr.call(t,h)){if(p)break;t[h]=void 0}if(p&&!t[h])break;c=s(t[h]),d=c.literal?H:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw l=n[o]=c(e),zi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[h],h,a.name)},l=n[o]=c(e);var v=function(t){return d(t,n[o])||(d(t,l)?f(e,t=n[o]):n[o]=t),l=t};v.$stateful=!0;var $;$=i.collection?e.$watchCollection(t[h],v):e.$watch(s(t[h],v),null,c.literal),u.push($);break;case"&":if(c=t.hasOwnProperty(h)?s(t[h]):m,c===m&&p)break;n[o]=function(t){return c(e,t)}}}),u.length&&function(){for(var e=0,t=u.length;t>e;++e)u[e]()}}var ue=/^\w/,le=t.createElement("div"),fe=function(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};fe.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&E.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&E.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&E.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&E.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Be(s,e),l=Ge(e),c=e;if(u?(this.$$element.prop(e,t),r=u):l&&(this[l]=t,c=l),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=ce(e,"-"))),a=R(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=D(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),v=0;g>v;v++){var $=2*v;f+=D(Gr(m[$]),!0),f+=" "+Gr(m[$+1])}var b=Gr(m[2*v]).split(/\s/);f+=D(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ue.test(r)?this.$$element.attr(r,t):A(this.$$element[0],r,t));var w=this.$$observers;w&&o(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ve()),i=r[e]||(r[e]=[]);return i.push(t),v.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){U(i,t)}}};var he=r.startSymbol(),pe=r.endSymbol(),me="{{"==he&&"}}"==pe?g:function(e){return e.replace(/\{\{/g,he).replace(/}}/g,pe)},ge=/^ngAttr[A-Z]/,$e=/^(.+)Start$/;return O.$$addBindingInfo=S?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,O.$$addBindingClass=S?function(e){M(e,"ng-binding")}:m,O.$$addScopeInfo=S?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,O.$$addScopeClass=S?function(e,t){M(e,t?"ng-isolate-scope":"ng-scope")}:m,O}]}function mt(e){return ke(e.replace(Hi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+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===ii&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&k(t))return t;if(k(e)){var n=Yi.exec(e);if(n)return n[3]}}function yt(){var e={},t=!1;this.register=function(t,n){pe(t,"controller"),w(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,o){function a(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,s,u,l){var c,d,h,p;if(u=u===!0,l&&k(l)&&(p=l),k(r)){if(d=r.match(Yi),!d)throw qi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);h=d[1],p=p||d[3],r=e.hasOwnProperty(h)?e[h]:me(s.$scope,h,!0)||(t?me(o,h,!0):n),he(r,h,!0)}if(u){var m=(Wr(r)?r[r.length-1]:r).prototype;c=Object.create(m||null),p&&a(s,p,c,h||r.name);var g;return g=f(function(){var e=i.invoke(r,c,s,h);return e!==c&&(w(e)||_(e))&&(c=e,p&&a(s,p,c,h||r.name)),c},{instance:c,identifier:p})}return c=i.instantiate(r,s,h),p&&a(s,p,c,h||r.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 w(e)?S(e)?e.toISOString():G(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Wr(e)?o(e,function(e,r){t.push(ie(n)+"="+ie(xt(e)))}):t.push(ie(n)+"="+ie(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Wr(e)?o(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!S(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(ie(r)+"="+ie(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(k(e)){var n=e.replace(Xi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Bi)||_t(n))&&(e=Z(n))}}return e}function _t(e){var t=e.match(Zi);return t&&Qi[t[0]].test(e)}function Et(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ve();return k(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Ar(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Ar(n),Gr(e))}),r}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Ar(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,r){return _(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function At(e){return e>=200&&300>e}function Mt(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!w(e)||A(e)||O(e)||M(e)?e:G(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:z(Gi),put:z(Gi),patch:z(Gi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return b(e)?(i=!!e,this):i};var a=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,u,l,c,d,h){function p(t){function a(e){var t=f({},e);return t.data=Tt(e.data,e.headers,e.status,l.transformResponse),At(e.status)?t:d.reject(t)}function s(e,t){var n,r={};return o(e,function(e,i){_(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function u(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[Ar(t.method)]);e:for(n in o){r=Ar(n);for(i in a)if(Ar(i)===r)continue e;a[n]=o[n]}return s(a,z(t))}if(!w(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);if(!k(t.url))throw r("$http")("badreq","Http request configuration url must be a string. Received: {0}",t.url);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=u(t),l.method=Mr(l.method),l.paramSerializer=k(l.paramSerializer)?h.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=Tt(t.data,Dt(r),n,t.transformRequest);return y(i)&&o(r,function(e,t){"content-type"===Ar(t)&&delete r[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,i).then(a,a)},p=[c,n],m=d.when(l);for(o(C,function(e){(e.request||e.requestError)&&p.unshift(e.request,e.requestError),(e.response||e.responseError)&&p.push(e.response,e.responseError)});p.length;){var g=p.shift(),$=p.shift();m=m.then(g,$)}return i?(m.success=function(e){return he(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return he(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=Ki("success"),m.error=Ki("error")),m}function m(e){o(arguments,function(e){p[e]=function(t,n){return p(f({},n||{},{method:e,url:t}))}})}function g(e){o(arguments,function(e){p[e]=function(t,n,r){return p(f({},r||{},{method:e,url:t,data:n}))}})}function v(r,i){function o(e,n,r,i){function o(){a(n,e,r,i)}h&&(At(e)?h.put(C,[e,n,Et(r),i]):h.remove(C)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function a(e,t,n,i){t=t>=-1?t:0,(At(t)?g.resolve:g.reject)({data:e,status:t,headers:Dt(n),config:r,statusText:i})}function l(e){a(e.data,e.status,z(e.headers()),e.statusText)}function f(){var e=p.pendingRequests.indexOf(r);-1!==e&&p.pendingRequests.splice(e,1)}var h,m,g=d.defer(),v=g.promise,k=r.headers,C=$(r.url,r.paramSerializer(r.params));if(p.pendingRequests.push(r),v.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=w(r.cache)?r.cache:w(e.cache)?e.cache:x),h&&(m=h.get(C),b(m)?N(m)?m.then(l,l):Wr(m)?a(m[1],m[0],z(m[2]),m[3]):a(m,200,{},"OK"):h.put(C,v)),y(m)){var S=Fn(r.url)?u()[r.xsrfCookieName||e.xsrfCookieName]:n;S&&(k[r.xsrfHeaderName||e.xsrfHeaderName]=S),s(r.method,C,i,o,k,r.timeout,r.withCredentials,r.responseType)}return v}function $(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=l("$http");e.paramSerializer=k(e.paramSerializer)?h.get(e.paramSerializer):e.paramSerializer;var C=[];return o(a,function(e){C.unshift(k(e)?h.get(e):h.invoke(e))}),p.pendingRequests=[],m("get","delete","head","jsonp"),g("post","put","patch"),p.defaults=e,p}]}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,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){fi(o,"load",a),fi(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},ci(o,"load",a),ci(o,"error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,f,d,h){function p(){$&&$(),w&&w.abort()}function g(t,r,i,o,a){b(C)&&n.cancel(C),$=w=null,t(r,i,o,a),e.$$completeOutstandingRequest(m)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Ar(i)){var v="_"+(r.counter++).toString(36);r[v]=function(e){r[v].data=e,r[v].called=!0};var $=a(s.replace("JSON_CALLBACK","angular.callbacks."+v),v,function(e,t){g(l,e,r[v].data,"",t),r[v]=m})}else{var w=t(i,s);w.open(i,s,!0),o(c,function(e,t){b(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),g(l,n,t,w.getAllResponseHeaders(),e)};var x=function(){g(l,-1,null,null,"")};if(w.onerror=x,w.onabort=x,d&&(w.withCredentials=!0),h)try{w.responseType=h}catch(k){if("json"!==h)throw k}w.send(y(u)?null:u)}if(f>0)var C=n(p,f);else N(f)&&f.then(p)}}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=G(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function l(o,l,h,p){function m(e){try{return e=O(e),p&&!b(e)?e:s(e)}catch(t){r(eo.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var g;if(!l){var $=a(o);g=v($),g.exp=o,g.expressions=[],g.$$watchDelegate=u}return g}p=!!p;for(var w,x,k,C=0,S=[],E=[],D=o.length,T=[],A=[];D>C;){if(-1==(w=o.indexOf(e,C))||-1==(x=o.indexOf(t,w+c))){C!==D&&T.push(a(o.substring(C)));break}C!==w&&T.push(a(o.substring(C,w))),k=o.substring(w+c,x),S.push(k),E.push(n(k,m)),C=x+d,A.push(T.length),T.push("")}if(h&&T.length>1&&eo.throwNoconcat(o),!l||S.length){var M=function(e){for(var t=0,n=S.length;n>t;t++){if(p&&y(e[t]))return;T[A[t]]=e[t]}return T.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return f(function(e){var t=0,n=S.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return M(i)}catch(a){r(eo.interr(o,a))}},{exp:o,expressions:S,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=M(r);_(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function jt(){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?Y(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=b(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=b(u)?u:0,$.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p($.$$intervalId),delete a[$.$$intervalId]),g||e.$apply()},s),a[$.$$intervalId]=v,$}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 Pt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=re(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=h(n.port)||no[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=te(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(!k(n))throw ro("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ne(this.$$search),n=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Pt(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 b(o=Ut(e,r))?(a=o,s=b(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):b(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);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=Ut(n,a),y(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Pt(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=ne(this.$$search),r=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Pt(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 y(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 b(t)?(e=t,this):e},this.html5Mode=function(e){return F(e)?(t.enabled=e,this):w(e)?(F(e.enabled)&&(t.enabled=e.enabled),F(e.requireBase)&&(t.requireBase=e.requireBase),F(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 ro("nobase","$location in HTML5 mode requires a 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"!==R(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");w(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 y(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 Xt(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(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 i(e){var t=n.console||{},i=t[e]||t.log||m,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"), +error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Jt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw oo("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 oo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw oo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw oo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw oo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw oo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ao||e===so||e===uo)throw oo("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 oo("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,r;switch(e.type){case ho.Program:n=!0,o(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case ho.Literal:e.constant=!0,e.toWatch=[];break;case ho.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ho.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 ho.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ho.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 ho.Identifier:e.constant=!1,e.toWatch=[e];break;case ho.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 ho.CallExpression:n=e.filter?an(t,e.callee.name):!1,r=[],o(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?r:[e];break;case ho.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ho.ArrayExpression:n=!0,r=[],o(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case ho.ObjectExpression:n=!0,r=[],o(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case ho.ThisExpression:e.constant=!1,e.toWatch=[];break;case ho.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function ln(e){return e.type===ho.Identifier||e.type===ho.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:ho.AssignmentExpression,left:e.body[0].expression,right:{type:ho.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===ho.Literal||e.body[0].expression.type===ho.ArrayExpression||e.body[0].expression.type===ho.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 _(e.valueOf)?e.valueOf():mo.call(e)}function vn(){var e=ve(),t=ve();this.$get=["$filter",function(r){function i(n,i,o){var s,h,$;switch(o=o||v,typeof n){case"string":n=n.trim(),$=n;var y=o?t:e;if(s=y[$],!s){":"===n.charAt(0)&&":"===n.charAt(1)&&(h=!0,n=n.substring(2));var b=o?g:p,w=new fo(b),x=new po(w,r,b);s=x.parse(n),s.constant?s.$$watchDelegate=f:h?s.$$watchDelegate=s.literal?c:l:s.inputs&&(s.$$watchDelegate=u),o&&(s=a(s)),y[$]=s}return d(s,i);case"function":return d(n,i);default:return d(m,i)}}function a(e){function t(t,n,r,i){var o=v;v=!0;try{return e(t,n,r,i)}finally{v=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=a(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nd;d++)c[d]=s,f[d]=null;return e.$watch(function(e){for(var t=!1,r=0,o=u.length;o>r;r++){var l=u[r](e);(t||(t=!s(l,c[r])))&&(f[r]=l,c[r]=l&&gn(l))}return t&&(a=i(e,n,n,f)),a},t,r,o)}function l(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,_(t)&&t.apply(this,arguments),b(e)&&r.$$postDigest(function(){b(o)&&i()})},n)}function c(e,t,n,r){function i(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,_(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function f(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==c&&n!==l,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 b(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==u?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=u,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var h=Qr().noUnsafeEval,p={csp:h,expensiveChecks:!1},g={csp:h,expensiveChecks:!0},v=!1;return i.$$runningExpensiveChecks=function(){return v},i}]}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,t){function i(){this.$$state={status:0}}function a(e,t){return function(n){t.call(e,n)}}function s(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{_(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){s(t)}))}function l(){this.promise=new i}function c(e){var t=new l,n=0,r=Wr(e)?[]:{};return o(e,function(e,i){n++,v(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var d=r("$q",TypeError),h=function(){var e=new l;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e};f(i.prototype,{then:function(e,t,n){if(y(e)&&y(t)&&y(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return g(t,!0,e)},function(t){return g(t,!1,e)},t)}}),f(l.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(d("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function n(e){s||(s=!0,o.$$resolve(e))}function r(e){s||(s=!0,o.$$reject(e))}var i,o=this,s=!1;try{(w(e)||_(e))&&(i=e&&e.then),_(i)?(this.promise.$$state.status=-1,i.call(e,n,r,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(l){r(l),t(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){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(_(e)?e(n):n)}catch(s){t(s)}}})}});var p=function(e){var t=new l;return t.reject(e),t.promise},m=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},g=function(e,t,n){var r=null;try{_(n)&&(r=n())}catch(i){return m(i,!1)}return N(r)?r.then(function(){return m(e,t)},function(e){return m(e,!1)}):m(e,t)},v=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},$=v,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!_(e))throw d("norslvr","Expected resolverFn, got '{0}'",e);var r=new l;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=h,b.reject=p,b.when=v,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=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,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 h(){this.$id=u(),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 p(e){if(C.$$phase)throw n("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function g(){C.$$phase=null}function v(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function $(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function b(){}function x(){for(;D.length;)try{D.shift()()}catch(e){r(e)}s=null}function k(){null===s&&(s=c.defer(function(){C.$apply(x)}))}h.prototype={constructor:h,$new:function(t,n){var r;return n=n||this,t?(r=new h,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,s=o.$$watchers,u={fn:t,last:b,get:i,exp:r||e,eq:!!n};return a=null,_(t)||(u.fn=m),s||(s=o.$$watchers=[]),s.unshift(u),v(this,1),function(){U(s,u)>=0&&v(o,-1),a=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,u;if(!y(o)){if(w(o))if(i(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],r=u!==u&&s!==s,r||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(n in o)Tr.call(o,n)&&(t++,s=o[n],u=a[n],n in a?(r=u!==u&&s!==s,r||u===s||(f++,a[n]=s)):(g++,a[n]=s,f++));if(g>t){f++;for(n in a)Tr.call(o,n)||(g--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(w(o))if(i(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,n),h=[],p={},m=!0,g=0;return this.$watch(d,r)},$digest:function(){var e,i,o,u,l,f,d,h,m,v,$=t,y=this,w=[];p("$digest"),c.$$checkUrlChange(),this===C&&null!==s&&(c.defer.cancel(s),x()),a=null;do{for(f=!1,h=y;S.length;){try{v=S.shift(),v.scope.$eval(v.expression,v.locals)}catch(k){r(k)}a=null}e:do{if(u=h.$$watchers)for(l=u.length;l--;)try{if(e=u[l])if((i=e.get(h))===(o=e.last)||(e.eq?H(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(e===a){f=!1;break e}}else f=!0,a=e,e.last=e.eq?V(i,null):i,e.fn(i,o===b?i:o,h),5>$&&(m=4-$,w[m]||(w[m]=[]),w[m].push({msg:_(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(k){r(k)}if(!(d=h.$$watchersCount&&h.$$childHead||h!==y&&h.$$nextSibling))for(;h!==y&&!(d=h.$$nextSibling);)h=h.$parent}while(h=d);if((f||S.length)&&!$--)throw g(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,w)}while(f||S.length);for(g();E.length;)try{E.shift()()}catch(k){r(k)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===C&&c.$$applicationDestroyed(),v(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(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=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){C.$$phase||S.length||c.defer(function(){S.length&&C.$digest()}),S.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{p("$apply");try{return this.$eval(e)}finally{g()}}catch(t){r(t)}finally{try{C.$digest()}catch(t){throw r(t),t}}},$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,$(i,1,e))}},$emit:function(e,t){var n,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=q([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,i=0,o=n.length;o>i;i++)if(n[i])try{n[i].apply(null,c)}catch(f){r(f)}else n.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,t){var n=this,i=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,u,l,c=q([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){r(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var C=new h,S=C.$$asyncQueue=[],E=C.$$postDigestQueue=[],D=C.$$applyAsyncQueue=[];return C}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(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(k(e)){if(e.indexOf("***")>-1)throw go("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(E(e))return new RegExp("^"+e.source+"$");throw go("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return b(e)&&o(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=vo;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 go("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||y(t)||""===t)return t;if("string"!=typeof t)throw go("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||y(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===vo.RESOURCE_URL){if(i(t))return t;throw go("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===vo.HTML)return l(t);throw go("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw go("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[vo.HTML]=o(c),f[vo.CSS]=o(c),f[vo.URL]=o(c),f[vo.JS]=o(c),f[vo.RESOURCE_URL]=o(f[vo.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 go("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=z(vo);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(vo,function(e,t){var n=Ar(t);r[ke("parse_as_"+n)]=function(t){return i(e,t)},r[ke("get_trusted_"+n)]=function(t){return a(e,t)},r[ke("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=h((/android (\d+)/.exec(Ar((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,l=s.body&&s.body.style,c=!1,f=!1;if(l){for(var d in l)if(r=u.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),c=!!("transition"in l||n+"Transition"in l),f=!!("animation"in l||n+"Animation"in l),!o||c&&f||(c=k(l.webkitTransition),f=k(l.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(y(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}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 zi("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,k(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var l=n.defaults&&n.defaults.transformResponse;return Wr(l)?l=l.filter(function(e){return e!==St}):l===St&&(l=null),n.get(a,f({cache:t,transformResponse:l},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function An(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=qr.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),y(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function jn(){this.$get=In}function Pn(e){function t(r,i){if(w(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}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",_o),t("number",Hn),t("orderBy",ar),t("uppercase",Eo)}function Ln(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=H:_(t)||(t=function(e,t){return y(e)?!1:null===e||null===t?e===t:w(t)||w(e)&&!$(e)?!1:(e=Ar(""+e),t=Ar(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!w(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(!_(u)&&!y(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 y(n)&&(n=t.CURRENCY_SYM),y(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(wo))>-1&&(e=e.replace(wo,"")),(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)==xo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==xo;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>bo&&(t=t.splice(0,bo-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=y(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0)i.splice(a);else{e.i=1,i.length=a=t+1;for(var u=0;a>u;u++)i[u]=0}for(s>=5&&i[a-1]++;t>o;o++)i.push(0);var l=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);l&&(i.unshift(l),e.i++)}function Wn(e,t,n,r,i){if(!k(e)&&!C(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){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Bn(o,t,r)}}function Zn(e,t){return function(n,r){var i=n["get"+e](),o=Mr(t?"SHORT"+e:e);return r[o][i]}}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 Xn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Jn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Xn(t.getFullYear()),r=Jn(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=h(t[9]+t[10]),o=h(t[9]+t[11])),a.call(r,h(t[1]),h(t[2])-1,h(t[3]));var u=h(t[4]||0)-i,l=h(t[5]||0)-o,c=h(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,f),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,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,k(n)&&(n=So.test(n)?h(n):t(n)),C(n)&&(n=new Date(n)),!S(n)||!isFinite(n.getTime()))return n;for(;r;)s=Co.exec(r),s?(l=q(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=Q(i,n.getTimezoneOffset()),n=J(n,i,!0)),o(l,function(t){a=ko[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return y(t)&&(t=2),G(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):h(t),isNaN(t)?e:(C(e)&&(e=e.toString()),Wr(e)||k(e)?(n=!n||isNaN(n)?0:h(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 t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=g;if(_(t))i=t;else if(k(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 n(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(),n(e))?e:$(e)&&(e=e.toString(),n(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.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);Wr(n)||(n=[n]),0===n.length&&(n=["+"]);var c=t(n,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 _(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function ur(e,t){e.$name=t}function lr(e,t,r,i,a){var s=this,u=[];s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,s.$$parentForm=Ao,s.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},s.$addControl=function(e){pe(e.$name,"input"),u.push(e),e.$name&&(s[e.$name]=e),e.$$parentForm=s},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),U(u,e),e.$$parentForm=Ao},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&&(U(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,da),i.addClass(e,ha),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,da,ha+" "+Mo),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(u,function(e){e.$setPristine()})},s.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,Mo),s.$submitted=!0,s.$$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=Ar(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,u()})}var u=function(e){if(l&&(o.defer.cancel(l),l=null),!s){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var l,c=function(e,t,n){l||(l=o.defer(function(){l=null,t&&t.value===n||u(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",u),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue; +t.val()!==e&&t.val(e)}}function hr(e,t){if(S(e))return e;if(k(e)){Vo.lastIndex=0;var n=Vo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Xn(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,r){var i,a;if(S(n))return n;if(k(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Io.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n=g},s.$observe("min",function(e){g=h(e),u.$validate()})}if(b(s.max)||s.ngMax){var v;u.$validators.max=function(e){return!d(e)||y(v)||r(e)<=v},s.$observe("max",function(e){v=h(e),u.$validate()})}}}function gr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Dr)||{};return r.badInput||r.typeMismatch?n:e})}function vr(e,t,r,i,o,a){if(gr(e,t,r,i),dr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Lo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!C(e))throw ya("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),b(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||y(s)||e>=s},r.$observe("min",function(e){b(e)&&!C(e)&&(e=parseFloat(e,10)),s=C(e)&&!isNaN(e)?e:n,i.$validate()})}if(b(r.max)||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||y(u)||u>=e},r.$observe("max",function(e){b(e)&&!C(e)&&(e=parseFloat(e,10)),u=C(e)&&!isNaN(e)?e:n,i.$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)||jo.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)||Po.test(n)}}function br(e,t,n,r){y(n.name)&&t.attr("name",u());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(b(r)){if(o=e(r),!o.constant)throw ya("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 H(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function d(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(p){if(!H(e,p)){var r=i(p);d(r,n)}}else l(n)}p=z(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 o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,u){y(t)?r("$pending",e,u):i("$pending",e,u),F(t)?t?(f(s.$error,e,u),c(s.$$success,e,u)):(c(s.$error,e,u),f(s.$$success,e,u)):(f(s.$error,e,u),f(s.$$success,e,u)),s.$pending?(o(ga,!0),s.$valid=s.$invalid=n,a("",null)):(o(ga,!1),s.$valid=Sr(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var l;l=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,l),s.$$parentForm.$setValidity(e,l,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),Sr(s[e])&&(s[e]=n)}function o(e,t){t&&!l[e]?(d.addClass(u,e),l[e]=!0):!t&&l[e]&&(d.removeClass(u,e),l[e]=!1)}function a(e,t){e=e?"-"+ce(e,"-"):"",o(ca+e,t===!0),o(fa+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,d=e.$animate;l[fa]=!(l[ca]=u.hasClass(ca)),s.$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,Ar=function(e){return k(e)?e.toLowerCase():e},Mr=function(e){return k(e)?e.toUpperCase():e},Or=function(e){return k(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return k(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ar=Or,Mr=Fr);var Nr,Ir,jr,Pr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=r("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=t.documentMode,m.$inject=[],g.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return k(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Jr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Xr.name_=i},Jr=["ng-","data-ng-","ng:","x-ng-"],Kr=/[A-Z]/g,ei=!1,ti=1,ni=2,ri=3,ii=8,oi=9,ai=11,si={full:"1.5.0-rc.2",major:1,minor:5,dot:0,codeName:"controller-requisition"};Me.expando="ng339";var ui=Me.cache={},li=1,ci=function(e,t,n){e.addEventListener(t,n,!1)},fi=function(e,t,n){e.removeEventListener(t,n,!1)};Me._data=function(e){return this.cache[e[this.expando]]||{}};var di=/([\:\-\_]+(.))/g,hi=/^moz([A-Z])/,pi={mouseleave:"mouseout",mouseenter:"mouseover"},mi=r("jqLite"),gi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,vi=/<|&#?\w+;/,$i=/<([\w:-]+)/,yi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,bi={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};bi.optgroup=bi.option,bi.tbody=bi.tfoot=bi.colgroup=bi.caption=bi.thead,bi.th=bi.td;var wi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},xi=Me.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Me(e).on("load",r))},toString:function(){var e=[];return o(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},ki={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){ki[Ar(e)]=e});var Ci={};o("input,select,option,textarea,button,form,details".split(","),function(e){Ci[e]=!0});var Si={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Pe,removeData:Ie,hasData:_e,cleanData:Ee},function(e,t){Me[t]=e}),o({data:Pe,inheritedData:He,scope:function(e){return Ir.data(e,"$scope")||He(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return He(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Le,css:function(e,t,n){return t=ke(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ri&&i!==ni&&i!==ii){var o=Ar(t);if(ki[o]){if(!b(r))return e[t]||(e.attributes.getNamedItem(t)||m).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(b(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(y(t)){var n=e.nodeType;return n===ti||n===ri?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===R(e)){var n=[];return o(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 y(t)?e.innerHTML:(Fe(e,!0),void(e.innerHTML=t))},empty:qe},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==qe&&y(2==e.length&&e!==Le&&e!==ze?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===Pe)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=y(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}}),o({removeData:Ie,on:function(e,t,r,i){if(b(i))throw mi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Se(e)){var o=je(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ze(e,a));for(var u=t.indexOf(" ")>=0?t.split(" "):[t],l=u.length,c=function(t,n,i){var o=a[t];o||(o=a[t]=[],o.specialHandlerWrapper=n,"$destroy"===t||i||ci(e,t,s)),o.push(r)};l--;)t=u[l],pi[t]?(c(pi[t],Xe),c(t,n,!0)):c(t)}},off:Ne,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,r=e.parentNode;Fe(e),o(new Me(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===ti&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ti||n===ai){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===ti){var n=e.firstChild;o(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){Ae(e,Ir(t).eq(0).clone()[0])},remove:Ye,detach:function(e){Ye(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:Ue,removeClass:Re,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!Le(e,t)),(r?Ue:Re)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ai?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Oe,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=je(e),l=u&&u.events,c=l&&l[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:m,type:s,target:e},t.type&&(r=f(r,t)),i=z(c),a=n?[r].concat(n):[r],o(i,function(t){r.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++)y(i)?(i=e(this[o],t,n,r),b(i)&&(i=Ir(i))):Ve(i,e(this[o],t,n,r));return b(i)?i:this},Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off}),et.prototype={put:function(e,t){this[Ke(e,this.nextUid)]=t},get:function(e){return this[Ke(e,this.nextUid)]},remove:function(e){var t=this[e=Ke(e,this.nextUid)];return delete this[e],t}};var _i=[function(){this.$get=[function(){return et}]}],Ei=/^([^\(]+?)=>/,Di=/^[^\(]*\(\s*([^\)]*)\)/m,Ti=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Mi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Oi=r("$injector");it.$$annotate=rt;var Fi=r("$animate"),Ni=1,Ii="ng-animate",ji=function(){this.$get=function(){}},Pi=function(){var e=new et,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=k(t)?t.split(" "):Wr(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=ut(t.attr("class")),i="",a="";o(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&Ue(e,i),a&&Re(e,a)}),e.remove(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&r.$$postDigest(a))}return{enabled:m,on:m,off:m,pin:m,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}}}]},Li=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Fi("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+|\\/)"+Ii+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Fi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ii)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=st(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",lt(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",lt(o))},leave:function(t,n){return e.push(t,"leave",lt(n),function(){t.remove()})},addClass:function(t,n,r){return r=lt(r),r.addClass=at(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=lt(r),r.removeClass=at(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=lt(i),i.addClass=at(i.addClass,n),i.removeClass=at(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=lt(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=at(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ri=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){lo[e]=!0});var co={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},fo=function(e){this.options=e};fo.prototype={constructor:fo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw oo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:ho.Program,body:e}},expressionStatement:function(){return{type:ho.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:ho.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:ho.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ho.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ho.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:ho.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ho.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.constants.hasOwnProperty(this.peek().text)?e=V(this.constants[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:ho.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:ho.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:ho.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ho.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:ho.Identifier,name:e.text}},constant:function(){return{type:ho.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:ho.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ho.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:ho.ObjectExpression,properties:t}},throwError:function(e,t){throw oo("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 oo("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 oo("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},constants:{"true":{type:ho.Literal,value:!0},"false":{type:ho.Literal,value:!1},"null":{type:ho.Literal,value:null},undefined:{type:ho.Literal,value:n},"this":{type:ho.ThisExpression},$locals:{type:ho.LocalsExpression}}},hn.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,r.$filter);var a,s="";if(this.stage="assign",a=cn(i)){this.state.computing="assign";var u=this.nextId();this.recurse(a,u),this.return_(u),s="fn.assign="+this.generateFunction("assign","s,v,l")}var l=un(i.body);r.stage="inputs",o(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",f=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Jt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=n,f.literal=fn(i),f.constant=dn(i),f},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(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 o(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,r,i,a,s){var u,l,c,f,d=this;if(i=i||m,!s&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,a,!0));switch(e.type){case ho.Program:o(e.body,function(t,r){d.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?d.current().body.push(l,";"):d.return_(l)});break;case ho.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case ho.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),f=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,f),i(f);break;case ho.BinaryExpression:this.recurse(e.left,n,n,function(e){u=e}),this.recurse(e.right,n,n,function(e){l=e}),f="+"===e.operator?this.plus(u,l):"-"===e.operator?this.ifDefined(u,0)+e.operator+this.ifDefined(l,0):"("+u+")"+e.operator+"("+l+")",this.assign(t,f),i(f);break;case ho.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case ho.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case ho.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Jt(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){a&&1!==a&&d.if_(d.not(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))), +(d.state.expensiveChecks||mn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case ho.MemberExpression:u=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,u,n,function(){d.if_(d.notNull(u),function(){a&&1!==a&&d.addEnsureSafeAssignContext(u),e.computed?(l=d.nextId(),d.recurse(e.property,l),d.getStringValue(l),d.addEnsureSafeMemberName(l),a&&1!==a&&d.if_(d.not(d.computedMember(u,l)),d.lazyAssign(d.computedMember(u,l),"{}")),f=d.ensureSafeObject(d.computedMember(u,l)),d.assign(t,f),r&&(r.computed=!0,r.name=l)):(Jt(e.property.name),a&&1!==a&&d.if_(d.not(d.nonComputedMember(u,e.property.name)),d.lazyAssign(d.nonComputedMember(u,e.property.name),"{}")),f=d.nonComputedMember(u,e.property.name),(d.state.expensiveChecks||mn(e.property.name))&&(f=d.ensureSafeObject(f)),d.assign(t,f),r&&(r.computed=!1,r.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!a);break;case ho.CallExpression:t=t||this.nextId(),e.filter?(l=d.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),f=l+"("+c.join(",")+")",d.assign(t,f),i(t)):(l=d.nextId(),u={},c=[],d.recurse(e.callee,l,u,function(){d.if_(d.notNull(l),function(){d.addEnsureSafeFunction(l),o(e.arguments,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(d.ensureSafeObject(e))})}),u.name?(d.state.expensiveChecks||d.addEnsureSafeObject(u.context),f=d.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):f=l+"("+c.join(",")+")",f=d.ensureSafeObject(f),d.assign(t,f)},function(){d.assign(t,"undefined")}),i(t)}));break;case ho.AssignmentExpression:if(l=this.nextId(),u={},!ln(e.left))throw oo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,n,u,function(){d.if_(d.notNull(u.context),function(){d.recurse(e.right,l),d.addEnsureSafeObject(d.member(u.context,u.name,u.computed)),d.addEnsureSafeAssignContext(u.context),f=d.member(u.context,u.name,u.computed)+e.operator+l,d.assign(t,f),i(t||f)})},1);break;case ho.ArrayExpression:c=[],o(e.elements,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(e)})}),f="["+c.join(",")+"]",this.assign(t,f),i(f);break;case ho.ObjectExpression:c=[],o(e.properties,function(e){d.recurse(e.value,d.nextId(),n,function(t){c.push(d.escape(e.key.type===ho.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case ho.ThisExpression:this.assign(t,"s"),i("s");break;case ho.LocalsExpression:this.assign(t,"l"),i("l");break;case ho.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){return e+"."+t},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(k(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(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 oo("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,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(r,n.$filter);var i,a;(i=cn(r))&&(a=this.recurse(i));var s,u=un(r.body);u&&(s=[],o(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];o(r.body,function(e){l.push(n.recurse(e.expression))});var c=0===r.body.length?function(){}:1===r.body.length?l[0]:function(e,t){var n;return o(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(r),c.constant=dn(r),c},recurse:function(e,t,r){var i,a,s,u=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case ho.Literal:return this.value(e.value,t);case ho.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case ho.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case ho.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case ho.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ho.Identifier:return Jt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||mn(e.name),t,r,u.expression);case ho.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Jt(e.property.name,u.expression),a=e.property.name),e.computed&&(a=this.recurse(e.property)),e.computed?this.computedMember(i,a,t,r,u.expression):this.nonComputedMember(i,a,u.expensiveChecks,t,r,u.expression);case ho.CallExpression:return s=[],o(e.arguments,function(e){s.push(u.recurse(e))}),e.filter&&(a=this.$filter(e.callee.name)),e.filter||(a=this.recurse(e.callee,!0)),e.filter?function(e,r,i,o){for(var u=[],l=0;l":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:n,name:n,value:e}:e}},identifier:function(e,t,r,i,o){return function(a,s,u,l){var c=s&&e in s?s:a;i&&1!==i&&c&&!c[e]&&(c[e]={});var f=c?c[e]:n;return t&&en(f,o),r?{context:c,name:e,value:f}:f}},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),Jt(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,r,i,o,a){return function(s,u,l,c){var f=e(s,u,l,c);o&&1!==o&&(nn(f),f&&!f[t]&&(f[t]={}));var d=null!=f?f[t]:n;return(r||mn(t))&&en(d,a),i?{context:f,name:t,value:d}:d}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var po=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new ho(this.lexer),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};po.prototype={constructor:po,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var mo=Object.prototype.valueOf,go=r("$sce"),vo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},zi=r("$compile"),$o=t.createElement("a"),yo=On(e.location.href);In.$inject=["$document"],Pn.$inject=["$provide"];var bo=22,wo=".",xo="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var ko={yyyy:Gn("FullYear",4),yy:Gn("FullYear",2,0,!0),y:Gn("FullYear",1),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),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},Co=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,So=/^\-?\d+$/;rr.$inject=["$locale"];var _o=v(Ar),Eo=v(Mr);ar.$inject=["$parse"];var Do=v({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()})}}}}),To={};o(ki,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)}),To[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Si,function(e,t){To[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)})}}}}),o(["src","srcset","href"],function(e){var t=mt("ng-"+e);To[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 Ao={$addControl:m,$$renameControl:ur,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},Mo="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Oo=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||m}var o={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(r,o){r.addClass(da).addClass(ca);var a=o.name?"name":e&&o.ngForm?"ngForm":!1;return{pre:function(e,r,o,s){var u=s[0];if(!("action"in o)){var l=function(t){e.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),t.preventDefault()};ci(r[0],"submit",l),r.on("$destroy",function(){t(function(){fi(r[0],"submit",l)},0,!1)})}var c=s[1]||u.$$parentForm;c.$addControl(u);var d=a?i(u.$name):m;a&&(d(e,u),o.$observe(a,function(t){u.$name!==t&&(d(e,n),u.$$parentForm.$$renameControl(u,t),(d=i(u.$name))(e,u))})),r.on("$destroy",function(){u.$$parentForm.$removeControl(u),d(e,n),f(u,Ao)})}}}};return o}]},Fo=Oo(),No=Oo(!0),Io=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,jo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Po=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Lo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ro=/^(\d{4})-(\d{2})-(\d{2})$/,Uo=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo=/^(\d{4})-W(\d\d)$/,zo=/^(\d{4})-(\d\d)$/,Ho=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo={text:fr,date:mr("date",Ro,pr(Ro,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Uo,pr(Uo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Ho,pr(Ho,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",Vo,hr,"yyyy-Www"),month:mr("month",zo,pr(zo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:m,button:m,submit:m,reset:m,file:m},Yo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(qo[Ar(a.type)]||qo.text)(i,o,a,s[0],t,e,n,r)}}}}],Wo=/^(true|false|\d+)$/,Bo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Wo.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)})}}}},Go=["$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=y(e)?"":e})}}}}],Zo=["$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=y(e)?"":e})}}}}],Qo=["$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))||"")})}}}}],Xo=v({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Jo=kr("",!0),Ko=kr("Odd",0),ea=kr("Even",1),ta=sr({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),na=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ra={},ia={blur:!0,focus:!0};o("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);ra[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})};ia[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var oa=["$animate",function(e){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=ge(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],aa=["$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(){!b(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)})}}}}],sa=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void e(De(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],ua=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),la=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,u=s?Gr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Gr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Wr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ca="ng-valid",fa="ng-invalid",da="ng-pristine",ha="ng-dirty",pa="ng-untouched",ma="ng-touched",ga="ng-pending",va="ng-empty",$a="ng-not-empty",ya=r("ngModel"),ba=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,u,l,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,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=n,this.$name=f(r.name||"",!1)(e),this.$$parentForm=Ao;var d,h=a(r.ngModel),p=h.assign,g=h,v=p,$=null,w=this;this.$$setOptions=function(e){if(w.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");g=function(e){var n=h(e);return _(n)&&(n=t(e)),n},v=function(e,t){_(h(e))?n(e,{$$$p:w.$modelValue}):p(e,w.$modelValue)}}else if(!h.assign)throw ya("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,K(i))},this.$render=m,this.$isEmpty=function(e){return y(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){w.$isEmpty(e)?(s.removeClass(i,$a),s.addClass(i,va)):(s.removeClass(i,va),s.addClass(i,$a))};var x=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,ha),s.addClass(i,da)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,da),s.addClass(i,ha),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,pa,ma)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,ma,pa)},this.$rollbackViewValue=function(){u.cancel($),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!C(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$lastCommittedViewValue,t=w.$$rawModelValue,r=w.$valid,i=w.$modelValue,o=w.$options&&w.$options.allowInvalid;w.$$runValidators(t,e,function(e){o||r===e||(w.$modelValue=e?t:n,w.$modelValue!==i&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=w.$$parserName||"parse";return y(d)?(u(e,null),!0):(d||(o(w.$validators,function(e,t){u(t,null)}),o(w.$asyncValidators,function(e,t){u(t,null)})),u(e,d),d)}function a(){var n=!0;return o(w.$validators,function(r,i){var o=r(e,t);n=n&&o,u(i,o)}),n?!0:(o(w.$asyncValidators,function(e,t){u(t,null)}),!1)}function s(){var r=[],i=!0;o(w.$asyncValidators,function(o,a){var s=o(e,t);if(!N(s))throw ya("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);u(a,n),r.push(s.then(function(){u(a,!0)},function(e){i=!1,u(a,!1)}))}),r.length?c.all(r).then(function(){l(i)},m):l(!0)}function u(e,t){f===x&&w.$setValidity(e,t)}function l(e){f===x&&r(e)}x++;var f=x;return i()&&a()?void s():void l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;u.cancel($),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$updateEmptyClasses(e),w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){w.$modelValue!==a&&w.$$writeModelToScope()}var r=w.$$lastCommittedViewValue,i=r;if(d=y(i)?n:!0)for(var o=0;oo;o++){var u=e===n?o:n[o],l=(e[u],k(e[u],u)),c=g(e[u],l);if(t.push(c),s[2]||s[1]){var f=$(r,l);t.push(f)}if(s[4]){var d=b(r,l);t.push(d)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],i=a(n),s=i.length,u=0;s>u;u++){var l=n===i?u:i[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 o(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 a(t,n,i,a){function l(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 c(e,t,n,r){var i;return t&&Ar(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function f(e){for(var t;e;)t=e.nextSibling,Ye(e),e=t}function d(e){var t=p&&p[0],n=k&&k[0];if(t||n)for(;e&&(e===t||e===n||e.nodeType===ii||"option"===R(e)&&""===e.value);)e=e.nextSibling;return e}function h(){var e=C&&m.readValue();C=S.getOptions();var t={},r=n[0].firstChild;if(x&&n.prepend(p),r=d(r),C.items.forEach(function(e){var i,o,a;b(e.group)?(i=t[e.group],i||(o=c(n[0],r,"optgroup",u),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",s),l(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",s),l(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){f(t[e].currentOptionElement)}),f(r),g.$render(),!g.$isEmpty(e)){var i=m.readValue(),o=S.trackBy||v;(o?H(e,i):e===i)||(g.$setViewValue(i),g.$render())}}for(var p,m=a[0],g=a[1],v=i.multiple,$=0,y=n.children(),w=y.length;w>$;$++)if(""===y[$].value){p=y.eq($);break}var x=!!p,k=Ir(s.cloneNode(!1));k.val("?");var C,S=r(i.ngOptions,n,t),_=function(){x||n.prepend(p),n.val(""),p.prop("selected",!0),p.attr("selected",!0)},E=function(){x||p.remove()},D=function(){n.prepend(k),n.val("?"),k.prop("selected",!0),k.attr("selected",!0)},T=function(){k.remove()};v?(g.$isEmpty=function(e){return!e||0===e.length},m.writeValue=function(e){C.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=C.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},m.readValue=function(){var e=n.val()||[],t=[];return o(e,function(e){var n=C.selectValueMap[e];n&&!n.disabled&&t.push(C.getViewValueFromOption(n))}),t},S.trackBy&&t.$watchCollection(function(){return Wr(g.$viewValue)?g.$viewValue.map(function(e){return S.getTrackByValue(e)}):void 0},function(){g.$render()})):(m.writeValue=function(e){var t=C.getOptionFromViewValue(e);t&&!t.disabled?n[0].value!==t.selectValue&&(T(),E(),n[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||x?(T(),_()):(E(),D())},m.readValue=function(){var e=C.selectValueMap[n.val()];return e&&!e.disabled?(E(),T(),C.getViewValueFromOption(e)):null},S.trackBy&&t.$watch(function(){return S.getTrackByValue(g.$viewValue)},function(){g.$render()})),x?(p.remove(),e(p)(t),p.removeClass("ng-scope")):p=Ir(s.cloneNode(!1)),h(),t.$watchCollection(S.getWatchables,h)}var s=t.createElement("option"),u=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:a}}}],Da=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^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),h=u.offset||0,p=a.$eval(d)||{},g={},v=t.startSymbol(),$=t.endSymbol(),b=v+f+"-"+h+$,w=qr.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ar(n[2]);p[r]=s.attr(u.$attr[t])}}),o(p,function(e,n){g[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in p||(r=e.pluralCat(r-h)),r!==c&&!(i&&C(c)&&isNaN(c))){w();var o=g[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=m,l()):w=a.$watch(o,l),c=r}})}}}],Ta=["$parse","$animate",function(e,a){var s="$$NG_REMOVED",u=r("ngRepeat"),l=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))},c=function(e){return e.clone[0]},f=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,d){var h=d.ngRepeat,p=t.createComment(" end ngRepeat: "+h+" "),m=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);var g=m[1],v=m[2],$=m[3],y=m[4];if(m=g.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!m)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",g);var b=m[3]||m[1],w=m[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var x,k,C,S,_={$id:Ke};return y?x=e(y):(C=function(e,t){return Ke(t)},S=function(e){return e}),function(e,t,r,d,m){x&&(k=function(t,n,r){return w&&(_[w]=t),_[b]=n,_.$index=r,x(e,_)});var g=ve();e.$watchCollection(v,function(r){var d,v,y,x,_,E,D,T,A,M,O,F,N=t[0],I=ve();if($&&(e[$]=r),i(r))A=r,T=k||C;else{T=k||S,A=[];for(var j in r)Tr.call(r,j)&&"$"!==j.charAt(0)&&A.push(j)}for(x=A.length,O=new Array(x),d=0;x>d;d++)if(_=r===A?d:A[d],E=r[_],D=T(_,E,d),g[D])M=g[D],delete g[D],I[D]=M,O[d]=M;else{if(I[D])throw o(O,function(e){e&&e.scope&&(g[e.id]=e)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",h,D,E);O[d]={id:D,scope:n,clone:n},I[D]=!0}for(var P in g){if(M=g[P],F=ge(M.clone),a.leave(F),F[0].parentNode)for(d=0,v=F.length;v>d;d++)F[d][s]=!0;M.scope.$destroy()}for(d=0;x>d;d++)if(_=r===A?d:A[d],E=r[_],M=O[d],M.scope){y=N;do y=y.nextSibling;while(y&&y[s]);c(M)!=y&&a.move(ge(M.clone),null,Ir(N)),N=f(M),l(M.scope,d,b,E,w,_,x)}else m(function(e,t){M.scope=t;var n=p.cloneNode(!1);e[e.length++]=n, +a.enter(e,null,Ir(N)),N=n,M.clone=e,I[M.id]=M,l(M.scope,d,b,E,w,_,x)});g=I})}}}}],Aa="ng-hide",Ma="ng-hide-animate",Oa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Aa,{tempClasses:Ma})})}}}],Fa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Aa,{tempClasses:Ma})})}}}],Na=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ia=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=ge(l[r].clone);f[r].$destroy();var h=c[r]=e.leave(s);h.then(d(c,r))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(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)})})})}}}],ja=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})}}),Pa=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})}}),La=r("ngTransclude"),Ra=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 La("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ua=["$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)}}}}],Va={$setViewValue:m,$render:m},za=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new et;o.ngModelCtrl=Va,o.unknownOption=Ir(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Ke(t)+" ?";o.unknownOption.val(n),e.prepend(o.unknownOption),e.val(n)},r.$on("$destroy",function(){o.renderUnknownOption=m}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),e.val()},o.writeValue=function(t){o.hasOption(t)?(o.removeUnknownOption(),e.val(t),""===t&&o.emptyOption.prop("selected",!0)):null==t&&o.emptyOption?(o.removeUnknownOption(),e.val("")):o.renderUnknownOption(t)},o.addOption=function(e,t){pe(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),_r(t)},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a.remove(e),""===e&&(o.emptyOption=n)):a.put(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.registerOption=function(e,t,n,r,i){if(r){var a;n.$observe("value",function(e){b(a)&&o.removeOption(a),a=e,o.addOption(e,t)})}else i?e.$watch(i,function(e,r){n.$set("value",e),r!==e&&o.removeOption(r),o.addOption(e,t)}):o.addOption(n.value,t);t.on("$destroy",function(){o.removeOption(n.value),o.ngModelCtrl.$render()})}}],Ha=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,t.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new et(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||H(s,i.$viewValue)||(s=z(i.$viewValue),i.$render()),u=i.$viewValue}),i.$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:za,priority:1,link:{pre:e,post:t}}},qa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(b(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)}}}}],Ya=v({restrict:"E",terminal:!1}),Wa=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()}))}}},Ba=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(k(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,K(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Ga=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=h(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Za=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=h(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(fe(),we(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function r(e,r){var i=r;n===i&&(i=Math.min(t(e),3));var o=Math.pow(10,i),a=(e*o|0)%o;return{v:i,f:a}}var i={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 n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Ir(t).ready(function(){ae(t,se)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],8:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":7}],9:[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,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('
'),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.heightr?(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=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(''+this.options.dictRemoveFile+""),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:'
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
'},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('
'+this.options.dictDefaultMessage+"
")),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.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
',this.options.dictFallbackText&&(r+="

"+this.options.dictFallbackText+"

"),r+='
',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('
'),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""+r+" "+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;return n=e.createReader(),r=function(e){return function(n){var r,i,o;for(i=0,o=n.length;o>i;i++)r=n[i],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)}}(this),n.readEntries(r,function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0})},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,A,M,O,F,N,I,j,P;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,A=I.length;A>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(j=h.toLowerCase())&&"radio"!==j||f.checked)&&o.append(d,f.value);for(c=M=0,P=e.length-1;P>=0?P>=M:M>=P;c=P>=0?++M:--M)o.append(this._getParamName(c),e[c],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.2.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)},{}],10:[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,"'")}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;rAn error occured:

"+a(d.message+"",!0)+"
";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:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\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",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/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 ?/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])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^|^<\/?\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]+?(?=[\\?(?:\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&&/^/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?'
'+(n?e:a(e,!0))+"\n
\n":"
"+(n?e:a(e,!0))+"\n
"},i.prototype.blockquote=function(e){return"
\n"+e+"
\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\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"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},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='
    "},i.prototype.image=function(e,t,n){var r=''+n+'":">"},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;e0)for(n in tr)r=tr[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),nr===!1&&(nr=!0,n.updateOffset(this),nr=!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 n=!0;return u(function(){return n&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}function k(e,t){rr[e]||(w(t),rr[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 A(e){for(var t,n,r,i,o=0;o0;){if(r=M(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function M(n){var r=null;if(!or[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=ir._abbr,e("./locale/"+n),O(r)}catch(i){}return or[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(ir=n)),ir._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=or[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(or[e]._config,t)):null!=t.parentLocale&&(null!=or[t.parentLocale]?t=E(or[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),or[e]=new D(t),O(e),or[e]):(delete or[e],null)}function N(e,t){if(null!=t){var n;null!=or[e]&&(t=E(or[e]._config,t)),n=new D(t),n.parentLocale=or[e],or[e]=n,O(e)}else null!=or[e]&&(null!=or[e].parentLocale?or[e]=or[e].parentLocale:null!=or[e]&&delete or[e]);return or[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ir;if(!i(e)){if(t=M(e))return t;e=[e]}return A(e)}function j(){return Object.keys(or)}function P(e,t){var n=e.toLowerCase();ar[n]=ar[n+"s"]=ar[t]=e}function L(e){return"string"==typeof e?ar[e]||ar[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&&(cr[e]=i),t&&(cr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(cr[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(sr);for(t=0,n=r.length;n>t;t++)cr[r[t]]?r[t]=cr[r[t]]:r[t]=W(r[t]);return function(i){var o="";for(t=0;n>t;t++)o+=r[t]instanceof Function?r[t].call(i,e):r[t];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),lr[t]=lr[t]||B(t),lr[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(ur.lastIndex=0;r>=0&&ur.test(e);)e=e.replace(ur,n),ur.lastIndex=0,r-=1;return e}function Q(e,t,n){Dr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return s(Dr,e)?Dr[e](t._strict,t._locale):new RegExp(J(e))}function J(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;nr;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 se(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 ue(e){return null!=e?(se(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function le(){return re(this.year(),this.month())}function ce(e){return this._monthsParseExact?(s(this,"_monthsRegex")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){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 he(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[Mr]<0||n[Mr]>11?Mr:n[Or]<1||n[Or]>re(n[Ar],n[Mr])?Or:n[Fr]<0||n[Fr]>24||24===n[Fr]&&(0!==n[Nr]||0!==n[Ir]||0!==n[jr])?Fr:n[Nr]<0||n[Nr]>59?Nr:n[Ir]<0||n[Ir]>59?Ir:n[jr]<0||n[jr]>999?jr:-1,f(e)._overflowDayOfYear&&(Ar>t||t>Or)&&(t=Or),f(e)._overflowWeeks&&-1===t&&(t=Pr),f(e)._overflowWeekday&&-1===t&&(t=Lr),f(e).overflow=t),e}function pe(e){var t,n,r,i,o,a,s=e._i,u=qr.exec(s)||Yr.exec(s);if(u){for(f(e).iso=!0,t=0,n=Br.length;n>t;t++)if(Br[t][1].exec(u[1])){i=Br[t][0],r=Br[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Gr.length;n>t;t++)if(Gr[t][1].exec(u[3])){o=(u[2]||" ")+Gr[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Wr.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Te(e)}else e._isValid=!1}function me(e){var t=Zr.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(pe(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(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 ve(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function $e(e){return ye(e)?366:365}function ye(e){return e%4===0&&e%100!==0||e%400===0}function be(){return ye(this.year())}function we(e,t,n){var r=7+t-n,i=(7+ve(e,0,r).getUTCDay()-t)%7;return-i+r-1}function xe(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=we(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=$e(o)+l):l>$e(e)?(o=e+1,a=l-$e(e)):(o=e,a=l),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Ce(i,t,n)):a>Ce(e.year(),t,n)?(r=a-Ce(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ce(e,t,n){var r=we(e,t,n),i=we(e+1,t,n);return($e(e)-r+i)/7}function Se(e,t,n){return null!=e?e:null!=t?t:n}function _e(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ee(e){var t,n,r,i,o=[];if(!e._d){for(r=_e(e),e._w&&null==e._a[Or]&&null==e._a[Mr]&&De(e),e._dayOfYear&&(i=Se(e._a[Ar],r[Ar]),e._dayOfYear>$e(i)&&(f(e)._overflowDayOfYear=!0),n=ve(i,0,e._dayOfYear),e._a[Mr]=n.getUTCMonth(),e._a[Or]=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[Fr]&&0===e._a[Nr]&&0===e._a[Ir]&&0===e._a[jr]&&(e._nextDay=!0,e._a[Fr]=0),e._d=(e._useUTC?ve:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Fr]=24)}}function De(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=Se(t.GG,e._a[Ar],ke(Pe(),1,4).year),r=Se(t.W,1),i=Se(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Se(t.gg,e._a[Ar],ke(Pe(),o,a).year),r=Se(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>Ce(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Ar]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void pe(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(sr)||[],t=0;t0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),cr[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[Fr]<=12&&e._a[Fr]>0&&(f(e).bigHour=void 0),e._a[Fr]=Ae(e._locale,e._a[Fr],e._meridiem),Ee(e),he(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 Me(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;io)&&(r=o,n=t));u(e,n||t)}function Oe(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)}),Ee(e)}}function Fe(e){var t=new g(he(Ne(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ne(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(he(t)):(i(n)?Me(e):n?Te(e):o(t)?e._d=t:Ie(e),d(e)||(e._d=null),e))}function Ie(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(+t):"string"==typeof t?me(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ee(e)):"object"==typeof t?Oe(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,Fe(o)}function Pe(e,t,n,r){return je(e,t,n,r,!1)}function Le(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Pe();for(n=t[0],r=1;re&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function qe(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(ei)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function Ye(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?+e:+Pe(e))-+r,r._d.setTime(+r._d+i),n.updateOffset(r,!1),r):Pe(e).local()}function We(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Be(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=qe(Sr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=We(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ct(this,it(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:We(this):null!=e?this:NaN}function Ge(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ze(e){return this.utcOffset(0,e)}function Qe(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(We(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(qe(Cr,this._i)),this}function Je(e){return this.isValid()?(e=e?Pe(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ke(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function et(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ne(e),e._a){var t=e._isUTC?l(e._a):Pe(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function tt(){return this.isValid()?!this._isUTC:!1}function nt(){return this.isValid()?this._isUTC:!1}function rt(){return this.isValid()?this._isUTC&&0===this._offset:!1}function it(e,t){var n,r,i,o=e,a=null;return ze(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=ti.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Or])*n,h:y(a[Fr])*n,m:y(a[Nr])*n,s:y(a[Ir])*n,ms:y(a[jr])*n}):(a=ni.exec(e))?(n="-"===a[1]?-1:1,o={y:ot(a[2],n),M:ot(a[3],n),w:ot(a[4],n),d:ot(a[5],n),h:ot(a[6],n),m:ot(a[7],n),s:ot(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=st(Pe(o.from),Pe(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ve(o),ze(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function ot(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function at(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 st(e,t){var n;return e.isValid()&&t.isValid()?(t=Ye(t,e),e.isBefore(t)?n=at(e,t):(n=at(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function lt(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=it(n,r),ct(this,i,e),this}}function ct(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(+e._d+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&se(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||Pe(),r=Ye(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,Pe(n)))}function dt(){return new g(this)}function ht(e,t){var n=v(e)?e:Pe(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?+this>+n:+n<+this.clone().startOf(t)):!1}function pt(e,t){var n=v(e)?e:Pe(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?+n>+this:+this.clone().endOf(t)<+n):!1}function mt(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function gt(e,t){var n,r=v(e)?e:Pe(e);return this.isValid()&&r.isValid()?(t=L(t||"millisecond"),"millisecond"===t?+this===+r:(n=+r,+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))):!1}function vt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $t(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function yt(e,t,n){var r,i,o,a;return this.isValid()?(r=Ye(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t),"year"===t||"month"===t||"quarter"===t?(a=bt(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 bt(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)}function wt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xt(){var e=this.clone().utc();return 0o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=xe(e,t,n,r,i),a=ve(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Zt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Qt(e){return ke(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Jt(){return this._week.doy}function Kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function en(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function tn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function nn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function rn(e){return this._weekdaysShort[e.day()]}function on(e){return this._weekdaysMin[e.day()]}function an(e,t,n){var r,i,o;for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=Pe([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 sn(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=tn(e,this.localeData()),this.add(e-t,"d")):t}function un(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 ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function cn(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 fn(){return this.hours()%12||12}function dn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function hn(e,t){return t._meridiemParse}function pn(e){return"p"===(e+"").toLowerCase().charAt(0)}function mn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function gn(e,t){t[jr]=y(1e3*("0."+e))}function vn(){return this._isUTC?"UTC":""}function $n(){return this._isUTC?"Coordinated Universal Time":""}function yn(e){return Pe(1e3*e)}function bn(){return Pe.apply(null,arguments).parseZone()}function wn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function xn(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 kn(){return this._invalidDate}function Cn(e){return this._ordinal.replace("%d",e)}function Sn(e){return e}function _n(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function En(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function Dn(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Tn(e,t,n,r,i){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Dn(e,t,n,i);var o,a=[];for(o=0;r>o;o++)a[o]=Dn(e,o,n,i);return a}function An(e,t){return Tn(e,t,"months",12,"month")}function Mn(e,t){return Tn(e,t,"monthsShort",12,"month")}function On(e,t){return Tn(e,t,"weekdays",7,"day")}function Fn(e,t){return Tn(e,t,"weekdaysShort",7,"day")}function Nn(e,t){return Tn(e,t,"weekdaysMin",7,"day")}function In(){var e=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),e.milliseconds=_i(e.milliseconds),e.seconds=_i(e.seconds),e.minutes=_i(e.minutes),e.hours=_i(e.hours),e.months=_i(e.months),e.years=_i(e.years),this}function jn(e,t,n,r){var i=it(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Pn(e,t){return jn(this,e,t,1)}function Ln(e,t){return jn(this,e,t,-1)}function Rn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Un(){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*Rn(zn(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=$(Vn(a)),s+=i,a-=Rn(zn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Vn(e){return 4800*e/146097}function zn(e){return 146097*e/4800}function Hn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Vn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(zn(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 qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Yn(e){return function(){return this.as(e)}}function Wn(e){return e=L(e),this[e+"s"]()}function Bn(e){return function(){return this._data[e]}}function Gn(){return $(this.days()/7)}function Zn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Qn(e,t,n){var r=it(e).abs(),i=zi(r.as("s")),o=zi(r.as("m")),a=zi(r.as("h")),s=zi(r.as("d")),u=zi(r.as("M")),l=zi(r.as("y")),c=i=o&&["m"]||o=a&&["h"]||a=s&&["d"]||s=u&&["M"]||u=l&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Zn.apply(null,c)}function Xn(e,t){return void 0===Hi[e]?!1:void 0===t?Hi[e]:(Hi[e]=t,!0)}function Jn(e){var t=this.localeData(),n=Qn(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Kn(){var e,t,n,r=qi(this._milliseconds)/1e3,i=qi(this._days),o=qi(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 er,tr=n.momentProperties=[],nr=!1,rr={};n.suppressDeprecationWarnings=!1;var ir,or={},ar={},sr=/(\[[^\[]*\])|(\\)?([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?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ur=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,lr={},cr={},fr=/\d/,dr=/\d\d/,hr=/\d{3}/,pr=/\d{4}/,mr=/[+-]?\d{6}/,gr=/\d\d?/,vr=/\d\d\d\d?/,$r=/\d\d\d\d\d\d?/,yr=/\d{1,3}/,br=/\d{1,4}/,wr=/[+-]?\d{1,6}/,xr=/\d+/,kr=/[+-]?\d+/,Cr=/Z|[+-]\d\d:?\d\d/gi,Sr=/Z|[+-]\d\d(?::?\d\d)?/gi,_r=/[+-]?\d+(\.\d{1,3})?/,Er=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Dr={},Tr={},Ar=0,Mr=1,Or=2,Fr=3,Nr=4,Ir=5,jr=6,Pr=7,Lr=8;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)}),P("month","M"),Q("M",gr),Q("MM",gr,dr),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[Mr]=y(e)-1}),ee(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Mr]=i:f(n).invalidMonth=e});var Rr=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Ur="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zr=Er,Hr=Er,qr=/^\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)?)?/,Yr=/^\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)?)?/,Wr=/Z|[+-]\d\d(?::?\d\d)?/,Br=[["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}/]],Gr=[["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/]],Zr=/^\/?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"),P("year","y"),Q("Y",kr),Q("YY",gr,dr),Q("YYYY",br,pr),Q("YYYYY",wr,mr),Q("YYYYYY",wr,mr),ee(["YYYYY","YYYYYY"],Ar),ee("YYYY",function(e,t){t[Ar]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Ar]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Ar]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var Qr=U("FullYear",!1);n.ISO_8601=function(){};var Xr=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Pe.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),Jr=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Pe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),Kr=function(){return Date.now?Date.now():+new Date};He("Z",":"),He("ZZ",""),Q("Z",Sr),Q("ZZ",Sr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=qe(Sr,e)});var ei=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var ti=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ni=/^(-)?P(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)W)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?$/;it.fn=Ve.prototype;var ri=lt(1,"add"),ii=lt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var oi=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}),zt("gggg","weekYear"),zt("ggggg","weekYear"),zt("GGGG","isoWeekYear"),zt("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),Q("G",kr),Q("g",kr),Q("GG",gr,dr),Q("gg",gr,dr),Q("GGGG",br,pr),Q("gggg",br,pr),Q("GGGGG",wr,mr),Q("ggggg",wr,mr),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"),P("quarter","Q"),Q("Q",fr),ee("Q",function(e,t){t[Mr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),Q("w",gr),Q("ww",gr,dr),Q("W",gr),Q("WW",gr,dr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var ai={dow:0,doy:6};Y("D",["DD",2],"Do","date"),P("date","D"),Q("D",gr),Q("DD",gr,dr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Or),ee("Do",function(e,t){t[Or]=y(e.match(gr)[0],10)});var si=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"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),Q("d",gr),Q("e",gr),Q("E",gr),Q("dd",Er),Q("ddd",Er),Q("dddd",Er),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 ui="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),li="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ci="Su_Mo_Tu_We_Th_Fr_Sa".split("_");Y("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),Q("DDD",yr),Q("DDDD",hr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,fn),Y("hmm",0,0,function(){return""+fn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+fn.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)}),dn("a",!0),dn("A",!1),P("hour","h"),Q("a",hn),Q("A",hn),Q("H",gr),Q("h",gr),Q("HH",gr,dr),Q("hh",gr,dr),Q("hmm",vr),Q("hmmss",$r),Q("Hmm",vr),Q("Hmmss",$r),ee(["H","HH"],Fr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[Fr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[Fr]=y(e.substr(0,r)),t[Nr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Fr]=y(e.substr(0,r)),t[Nr]=y(e.substr(r,2)),t[Ir]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[Fr]=y(e.substr(0,r)),t[Nr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Fr]=y(e.substr(0,r)),t[Nr]=y(e.substr(r,2)),t[Ir]=y(e.substr(i))});var fi=/[ap]\.?m?\.?/i,di=U("Hours",!0);Y("m",["mm",2],0,"minute"),P("minute","m"),Q("m",gr),Q("mm",gr,dr),ee(["m","mm"],Nr);var hi=U("Minutes",!1);Y("s",["ss",2],0,"second"),P("second","s"),Q("s",gr),Q("ss",gr,dr),ee(["s","ss"],Ir);var pi=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()}),P("millisecond","ms"),Q("S",yr,fr),Q("SS",yr,dr),Q("SSS",yr,hr);var mi;for(mi="SSSS";mi.length<=9;mi+="S")Q(mi,xr);for(mi="S";mi.length<=9;mi+="S")ee(mi,gn);var gi=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var vi=g.prototype;vi.add=ri,vi.calendar=ft,vi.clone=dt,vi.diff=yt,vi.endOf=Mt,vi.format=kt,vi.from=Ct,vi.fromNow=St,vi.to=_t,vi.toNow=Et,vi.get=H,vi.invalidAt=Ut,vi.isAfter=ht,vi.isBefore=pt,vi.isBetween=mt,vi.isSame=gt,vi.isSameOrAfter=vt,vi.isSameOrBefore=$t,vi.isValid=Lt,vi.lang=oi,vi.locale=Dt,vi.localeData=Tt,vi.max=Jr,vi.min=Xr,vi.parsingFlags=Rt,vi.set=H,vi.startOf=At,vi.subtract=ii,vi.toArray=It,vi.toObject=jt,vi.toDate=Nt,vi.toISOString=xt,vi.toJSON=Pt,vi.toString=wt,vi.unix=Ft,vi.valueOf=Ot,vi.creationData=Vt,vi.year=Qr,vi.isLeapYear=be,vi.weekYear=Ht,vi.isoWeekYear=qt,vi.quarter=vi.quarters=Zt,vi.month=ue,vi.daysInMonth=le,vi.week=vi.weeks=Kt,vi.isoWeek=vi.isoWeeks=en,vi.weeksInYear=Wt,vi.isoWeeksInYear=Yt,vi.date=si,vi.day=vi.days=sn,vi.weekday=un,vi.isoWeekday=ln,vi.dayOfYear=cn,vi.hour=vi.hours=di,vi.minute=vi.minutes=hi,vi.second=vi.seconds=pi,vi.millisecond=vi.milliseconds=gi,vi.utcOffset=Be,vi.utc=Ze,vi.local=Qe,vi.parseZone=Xe,vi.hasAlignedHourOffset=Je,vi.isDST=Ke,vi.isDSTShifted=et,vi.isLocal=tt,vi.isUtcOffset=nt,vi.isUtc=rt,vi.isUTC=rt,vi.zoneAbbr=vn,vi.zoneName=$n,vi.dates=x("dates accessor is deprecated. Use date instead.",si),vi.months=x("months accessor is deprecated. Use month instead",ue),vi.years=x("years accessor is deprecated. Use year instead",Qr),vi.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ge); +var $i=vi,yi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},bi={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"},wi="Invalid date",xi="%d",ki=/\d{1,2}/,Ci={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"},Si=D.prototype;Si._calendar=yi,Si.calendar=wn,Si._longDateFormat=bi,Si.longDateFormat=xn,Si._invalidDate=wi,Si.invalidDate=kn,Si._ordinal=xi,Si.ordinal=Cn,Si._ordinalParse=ki,Si.preparse=Sn,Si.postformat=Sn,Si._relativeTime=Ci,Si.relativeTime=_n,Si.pastFuture=En,Si.set=_,Si.months=ie,Si._months=Ur,Si.monthsShort=oe,Si._monthsShort=Vr,Si.monthsParse=ae,Si._monthsRegex=Hr,Si.monthsRegex=fe,Si._monthsShortRegex=zr,Si.monthsShortRegex=ce,Si.week=Qt,Si._week=ai,Si.firstDayOfYear=Jt,Si.firstDayOfWeek=Xt,Si.weekdays=nn,Si._weekdays=ui,Si.weekdaysMin=on,Si._weekdaysMin=ci,Si.weekdaysShort=rn,Si._weekdaysShort=li,Si.weekdaysParse=an,Si.isPM=pn,Si._meridiemParse=fi,Si.meridiem=mn,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 _i=Math.abs,Ei=Yn("ms"),Di=Yn("s"),Ti=Yn("m"),Ai=Yn("h"),Mi=Yn("d"),Oi=Yn("w"),Fi=Yn("M"),Ni=Yn("y"),Ii=Bn("milliseconds"),ji=Bn("seconds"),Pi=Bn("minutes"),Li=Bn("hours"),Ri=Bn("days"),Ui=Bn("months"),Vi=Bn("years"),zi=Math.round,Hi={s:45,m:45,h:22,d:26,M:11},qi=Math.abs,Yi=Ve.prototype;Yi.abs=In,Yi.add=Pn,Yi.subtract=Ln,Yi.as=Hn,Yi.asMilliseconds=Ei,Yi.asSeconds=Di,Yi.asMinutes=Ti,Yi.asHours=Ai,Yi.asDays=Mi,Yi.asWeeks=Oi,Yi.asMonths=Fi,Yi.asYears=Ni,Yi.valueOf=qn,Yi._bubble=Un,Yi.get=Wn,Yi.milliseconds=Ii,Yi.seconds=ji,Yi.minutes=Pi,Yi.hours=Li,Yi.days=Ri,Yi.weeks=Gn,Yi.months=Ui,Yi.years=Vi,Yi.humanize=Jn,Yi.toISOString=Kn,Yi.toString=Kn,Yi.toJSON=Kn,Yi.locale=Dt,Yi.localeData=Tt,Yi.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Yi.lang=oi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",kr),Q("X",_r),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.12.0",r(Pe),n.fn=$i,n.min=Re,n.max=Ue,n.now=Kr,n.utc=l,n.unix=yn,n.months=An,n.isDate=o,n.locale=O,n.invalid=h,n.duration=it,n.isMoment=v,n.weekdays=On,n.parseZone=bn,n.localeData=I,n.isDuration=ze,n.monthsShort=Mn,n.weekdaysMin=Nn,n.defineLocale=F,n.updateLocale=N,n.locales=j,n.weekdaysShort=Fn,n.normalizeUnits=L,n.relativeTimeThreshold=Xn,n.prototype=$i;var Wi=n;return Wi})},{}],12:[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},A=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},M=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},j=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},P=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(j())||P()||"";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("|")+")$"),X=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={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))J[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");J[t]=e[t]}else J[t]=e[t];{if("string"!=typeof e||!e)return D(J);if(k.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(u,["userAgent","platform","appName"]),flash:A(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=Ae(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=J.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?(M(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,J.activeClass),i!==e&&Le(i,J.hoverClass)),i=e,Pe(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=J.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,J.hoverClass),Le(i,J.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}),X.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Me(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!==je()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),J.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(),J.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":Pe(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.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=J.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=J.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=J.containerId,e.className=J.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(J.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,J),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},J)),u=J.swfPath+Oe(J.swfPath,J);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='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[J.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}},Ae=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}}},Me=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"}}(),je=function(){try{return s.activeElement}catch(e){return null}},Pe=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(J.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={},Xe=0,Je={},Ke={};E(J,{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;t0,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)?!0:!1},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}())},{}],13:[function(e,t,n){t.exports='
    \n
    Drop files or click here to upload
    \n
    '},{}],14:[function(e,t,n){t.exports='\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],15:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],16:[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")})}}])}},{"./pages/page-form":19,moment:11}],17:[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:"E",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.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="![](http://)";r.val(n.substring(0,t)+i+n.substring(t)),r.focus(),r[0].selectionStart=t+"![](".length,r[0].selectionEnd=t+"![](http://".length}}),i.click(function(e){window.ImageManager.showExternal(function(e){var t=o,n=r.val(),i="!["+e.name+"]("+e.url+")";r.val(n.substring(0,t)+i+n.substring(t)),r.change()})})}}}])}},{"./components/drop-zone.html":13,"./components/image-picker.html":14,"./components/toggle-switch.html":15,dropzone:9,marked:10}],18:[function(e,t,n){"use strict";var r=e("angular"),i=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),r.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('';n+=''+t.name+'',n+="",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');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)}}})}}},{}],20:[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:12}],21:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[18]); \ No newline at end of file